:root {
    --bg-dark: #0B0B0B;
    --bg-surface: #121212;
    --bg-surface-light: #181818;
    --text-main: #FFFFFF;
    --text-muted: #8E8E93;
    --accent-neon: #D4F34A;
    --accent-neon-dim: rgba(212, 243, 74, 0.2);
    --accent-cyan: #C4F4E2;
    --glass-bg: rgba(24, 24, 24, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: var(--bg-dark);
}

.glow-orb {
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    top: -30%;
    left: -20%;
    background: var(--accent-neon);
}

.orb-2 {
    bottom: -30%;
    right: -20%;
    background: var(--accent-cyan);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(11,11,11,0.9) 0%, rgba(11,11,11,0) 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-icon svg {
    stroke: var(--accent-neon);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: slideUp 0.6s ease-out;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-neon);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-neon);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    animation: slideUp 0.8s ease-out;
}

.accent-text {
    color: var(--accent-neon);
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 90%;
    font-weight: 400;
    line-height: 1.7;
    animation: slideUp 1s ease-out;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
    animation: slideUp 1.4s ease-out;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

/* Form */
.waitlist-form {
    display: flex;
    gap: 0.75rem;
    position: relative;
    max-width: 500px;
    animation: slideUp 1.2s ease-out;
}

.waitlist-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
}

.waitlist-form input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 243, 74, 0.5);
    box-shadow: 0 0 15px rgba(212, 243, 74, 0.1);
}

.waitlist-btn {
    padding: 1rem 1.75rem;
    background: var(--text-main);
    color: var(--bg-dark);
    border: none;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.waitlist-btn:hover {
    background: var(--accent-neon);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 243, 74, 0.2);
}

.waitlist-btn svg {
    transition: transform 0.3s ease;
}

.waitlist-btn:hover svg {
    transform: translateX(4px);
}

.success-msg {
    margin-top: 1rem;
    color: var(--accent-neon);
    font-weight: 500;
    animation: fadeIn 0.5s ease-out;
}

/* Hero Visual & Mockup Card */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    perspective: 1000px;
    animation: fadeScale 1s ease-out;
}

.mockup-card {
    width: 420px;
    padding: 2rem;
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,0.05);
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 2.5rem;
}

.dot-gray {
    width: 8px; height: 8px; border-radius: 50%;
    background: #333;
}

.ai-match-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--accent-neon-dim);
    border-radius: 16px;
    border: 1px solid rgba(212, 243, 74, 0.2);
    margin-bottom: 2rem;
}

.pulse-ring {
    width: 12px; height: 12px;
    background: var(--accent-neon);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--accent-neon);
}

.pulse-ring::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--accent-neon);
    animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.match-text {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--accent-neon);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #222;
    border: 1px solid #333;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.line {
    height: 6px; border-radius: 3px;
    background: #333;
}
.w-long { width: 140px; }
.w-short { width: 80px; }

.sound-wave-mock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    margin-bottom: 2.5rem;
}

.bar {
    width: 8%;
    background: var(--text-muted);
    border-radius: 4px;
    animation: wave 1.5s ease-in-out infinite alternate;
}

.h-1 { height: 30%; animation-delay: 0.1s; }
.h-2 { height: 50%; animation-delay: 0.2s; }
.h-3 { height: 80%; animation-delay: 0.3s; background: var(--text-main); }
.h-4 { height: 100%; animation-delay: 0.4s; background: var(--accent-neon); box-shadow: 0 0 10px rgba(212, 243, 74, 0.5); }
.h-5 { height: 60%; animation-delay: 0.5s; }

@keyframes wave {
    0% { transform: scaleY(0.7); }
    100% { transform: scaleY(1.3); }
}

.tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}
.tag-highlight {
    background: rgba(255, 255, 255, 1);
    color: var(--bg-dark);
    border-color: transparent;
}

/* Features */
.features {
    padding: 8rem 5%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem 2.5rem;
    background: var(--bg-surface);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
}

.feature-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--accent-neon);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Animations that trigger on class add */
.invisible-hide { opacity: 0; transform: translateY(30px); }
.visible-show { 
    opacity: 1; 
    transform: translateY(0); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 5rem;
        padding-top: 140px;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .stats-row {
        justify-content: center;
    }
    .waitlist-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    .waitlist-form input {
        width: 100%;
    }
    .waitlist-btn {
        justify-content: center;
    }
    .hero-visual {
        justify-content: center;
    }
}
