@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@300;500;700;900&display=swap');

:root {
    --primary: #0070c0;
    --secondary: #28a745;
    --accent: #1e1b4b;
    --bg-light: #f8f9fa;
    --text-dark: #1e1b4b;
    --text-muted: rgba(30, 27, 75, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Light Mesh Background */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 10% 10%, rgba(0, 112, 192, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(40, 167, 69, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(30, 27, 75, 0.05) 0%, transparent 40%),
        #ffffff;
    filter: blur(60px);
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 0;
    z-index: 1;
}

header {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s forwards;
}

.logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 112, 192, 0.2));
}

main {
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: scale(0.95);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--text-dark) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Countdown Styles */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(0, 112, 192, 0.3);
}

.label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Signup Form */
.signup-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0.5rem;
    background: #fff;
    padding: 0.5rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.signup-form:focus-within {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 112, 192, 0.1);
}

input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 1.5rem;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
}

input::placeholder {
    color: rgba(30, 27, 75, 0.3);
}

button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

button:hover {
    background: #0081dd;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 112, 192, 0.3);
}

button:active {
    transform: scale(0.95);
}

/* Footer & Socials */
footer {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeIn 1s forwards 1s;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
}

.copyright {
    font-size: 0.875rem;
    color: rgba(30, 27, 75, 0.4);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    main {
        padding: 3rem 1.5rem;
    }

    .countdown {
        gap: 1rem;
    }

    .signup-form {
        flex-direction: column;
        border-radius: 20px;
        background: transparent;
        border: none;
        padding: 0;
    }

    input[type="email"] {
        background: var(--glass-bg);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        padding: 1.25rem;
        margin-bottom: 0.75rem;
    }

    button {
        width: 100%;
        padding: 1.25rem;
        border-radius: 12px;
    }
}