:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --secondary-color: #ec4899;
    --bg-dark: #0f172a;
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Cairo', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #1e1b4b, transparent 40%),
                radial-gradient(circle at bottom left, #312e81, transparent 40%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

main {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
}

@media (max-width: 968px) {
    main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .input-group {
        justify-content: center;
    }
}

.badge {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid rgba(99, 102, 241, 0.3);
    display: inline-block;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--secondary-color);
    opacity: 0.3;
    z-index: -1;
    border-radius: 5px;
}

p {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
}
@media (max-width: 968px) {
    p { margin: 0 auto 2rem auto; }
}

/* Countdown */
.countdown {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
@media (max-width: 968px) {
    .countdown { justify-content: center; }
}

.time-box {
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    min-width: 80px;
    backdrop-filter: blur(10px);
}

.time-box span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
}

.time-box label {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Form */
.input-group {
    display: flex;
    gap: 0.5rem;
    max-width: 450px;
}
@media (max-width: 500px) {
    .input-group { flex-direction: column; }
}

input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

input[type="email"]:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

button {
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    background: var(--primary-color);
    color: white;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

button:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--primary-color);
}

/* Visuals */
.visuals {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite alternate;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary-color);
    bottom: 10%;
    left: 10%;
    animation-delay: -5s;
}

.card-glass {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    width: 300px;
    transform: rotate(-5deg);
    transition: transform 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-glass:hover {
    transform: rotate(0) scale(1.02);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-glass h3 {
    margin-bottom: 0.5rem;
}

.card-glass p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.socials a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--text-light);
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 40px); }
}
