* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3b82f6;
    --primary-dark: #1e40af;
    --secondary: #8b5cf6;
    --background: #0f172a;
    --surface: #0f172a;
    --surface-light: #1e293b;
    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --success: #10b981;
    --error: #ef4444;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.gradient-blur {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.gradient-blur.top {
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    animation-delay: 0s;
}

.gradient-blur.bottom {
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(30px) translateX(15px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content-wrapper {
    width: 100%;
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

/* Logo */
.logo-section {
    margin-bottom: 3rem;
    animation: slideInDown 0.6s ease-out 0.2s both;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: lowercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'IBM Plex Serif', serif;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Hero Section */
.hero-section {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.main-heading {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    font-family: 'IBM Plex Serif', serif;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    background-size: 200% 100%;
}

.subheading {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 400;
}

/* Email Section */
.email-section {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.email-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#emailInput {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--surface-light);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

#emailInput::placeholder {
    color: var(--text-secondary);
}

#emailInput:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    font-family: 'IBM Plex Sans', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    transition: var(--transition);
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.form-message {
    font-size: 0.875rem;
    min-height: 20px;
    opacity: 0;
    transition: var(--transition);
}

.form-message.success {
    color: var(--success);
    opacity: 1;
}

.form-message.error {
    color: var(--error);
    opacity: 1;
}

/* Stats Section */
.stats-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    margin-bottom: 3rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'IBM Plex Sans', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(148, 163, 184, 0.2);
}

/* Social Section */
.social-section {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.social-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    color: var(--text-secondary);
    font-size: 0.875rem;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .main-heading {
        font-size: clamp(1.875rem, 6vw, 3rem);
    }

    .subheading {
        font-size: 1rem;
    }

    .input-wrapper {
        flex-direction: column;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .stats-section {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-divider:nth-of-type(1) {
        display: block;
    }

    .stat-divider:nth-of-type(2) {
        order: 3;
        width: 100%;
        height: 1px;
    }

    .social-links {
        gap: 1rem;
    }

    .social-links a {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .logo-section {
        margin-bottom: 2rem;
    }

    .hero-section {
        margin-bottom: 2rem;
    }

    .main-heading {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        line-height: 1.15;
    }

    .stats-section {
        padding: 1.5rem;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .input-wrapper {
        gap: 0.25rem;
    }

    #emailInput,
    .submit-btn {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .social-links svg {
        width: 16px;
        height: 16px;
    }
}
