:root {
    --bg-dark: #0A0118;
    --bg-light: #1E1B4B;
    --text-primary: #FFFFFF;
    --text-secondary: #A5B4FC;
    --brand-primary: #8B5CF6; /* Violet */
    --brand-secondary: #EC4899; /* Pink */
    --brand-tertiary: #FDBA74; /* Peach */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 100%);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, .logo, .badge {
    font-family: 'Outfit', sans-serif;
}

/* Background Effects */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: overlay;
    z-index: 2;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.8;
}

.blob {
    position: absolute;
    filter: blur(90px);
    border-radius: 50%;
    opacity: 0.3; /* Subtle glow to complement video */
    animation: float 20s infinite ease-in-out alternate;
    z-index: 1;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 70vw;
    height: 70vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 60%);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 60%);
    animation-delay: -5s;
    animation-direction: alternate-reverse;
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    background: radial-gradient(circle, rgba(253, 186, 116, 0.2) 0%, transparent 50%);
    animation-delay: -10s;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 3;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(30px, -50px) scale(1.1) rotate(10deg); }
    66% { transform: translate(-20px, 20px) scale(0.9) rotate(-5deg); }
    100% { transform: translate(-40px, -30px) scale(1.05) rotate(15deg); }
}

/* Navigation */
nav {
    padding: 2rem 5%;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #A5B4FC 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-logo-svg {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero {
    text-align: center;
    max-width: 850px;
    margin: 5rem 0 4rem;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #E0E7FF;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #34D399; /* Emerald for "active/free" */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #34D399;
}

h1 {
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    padding-bottom: 0.1em;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #C7D2FE 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-email-form {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 550px;
    position: relative;
    padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-email-form:focus-within {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.hero-email-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1.1rem;
    outline: none;
    font-family: inherit;
}

.hero-email-form input::placeholder {
    color: rgba(165, 180, 252, 0.6);
}

.hero-email-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--brand-primary), #6D28D9);
    color: white;
    border: none;
    padding: 0 1.75rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-email-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-email-form button:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(109, 40, 217, 0.6);
}

.hero-email-form button:hover::before {
    left: 100%;
}

.hero-email-form button svg {
    transition: transform 0.3s ease;
}

.hero-email-form button:hover svg {
    transform: translateX(4px);
}

.hero-note {
    font-size: 0.85rem;
    color: rgba(165, 180, 252, 0.7);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-note::before {
    content: '🔒';
    font-size: 0.8rem;
}

/* Features Glassmorphism */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 5rem;
    padding-bottom: 2rem;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card {
    padding: 2.5rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--glass-border);
    border-top-color: rgba(255, 255, 255, 0.15); /* Slight top highlight */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--glass-shadow);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
    border-top-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(139, 92, 246, 0.15);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon {
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 6rem 5% 5rem;
    color: #1E293B;
    font-size: 1.1rem;
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: 10rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.footer-logo span {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: #64748B;
}

.footer-img {
    height: 100px;
    width: auto;
    filter: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-logo:hover .footer-img {
    transform: scale(1.08);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .blob { filter: blur(60px); }
    
    .hero {
        margin: 3rem 0 2rem;
    }

    .features {
        margin-top: 3rem;
        gap: 1.5rem;
    }

    .hero-email-form {
        flex-direction: column;
        background: transparent;
        border: none;
        box-shadow: none;
        gap: 1rem;
        padding: 0;
    }

    .hero-email-form input {
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--glass-border);
        border-radius: 30px;
    }

    .hero-email-form button {
        width: 100%;
        padding: 1.1rem;
        justify-content: center;
    }
}