:root {
    --bg-dark: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1; /* Made slightly brighter for better readability */
    --primary: #6366f1; /* Indigo */
    --secondary: #ec4899; /* Pink */
    --accent: #22d3ee; /* Cyan */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3 { font-family: 'Outfit', sans-serif; }

/* --- Ambient Background --- */
.ambient-background {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at top, #1e1b4b, #0f172a);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 15s infinite alternate ease-in-out;
}

.orb-1 { width: 500px; height: 500px; background: var(--primary); top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: var(--secondary); bottom: 10%; right: -50px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: var(--accent); top: 40%; left: 40%; opacity: 0.3; animation-delay: -8s; }

.noise-overlay {
    position: absolute; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnPjxmaWx0ZXIgaWQ9J24nPjxmZVR1cmJ1bGVuY2UgdHlwZT0nZnJhY3RhbE5vaXNlJyBiYXNlRnJlcXVlbmN5PScwLjYnIHN0aXRjaFRpbGVzPSdzdGl0Y2gnLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0nMTAwJScgaGVpZ2h0PScxMDAlJyBmaWxsPSd0cmFuc3BhcmVudCcvPjxyZWN0IHdpZHRoPScxMDAlJyBoZWlnaHQ9JzEwMCUnIGZpbHRlcj0idXJsKCNuKSIgb3BhY2l0eT0iMC4wNSIvPjwvc3ZnPg==');
    opacity: 0.4;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 60px); }
}

/* --- Nav --- */
.glass-nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.6);
}

.nav-content {
    max-width: 1200px; margin: 0 auto; padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.highlight { color: var(--accent); }

.nav-actions { display: flex; gap: 15px; align-items: center; }

.lang-pill {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    color: var(--text-muted); padding: 8px 16px; border-radius: 50px;
    cursor: pointer; transition: 0.3s;
}

.lang-pill:hover { color: white; border-color: var(--accent); }

.join-btn {
    background: var(--text-main); color: var(--bg-dark);
    padding: 8px 20px; border-radius: 50px; text-decoration: none;
    font-weight: 600; font-size: 0.9rem; transition: transform 0.2s;
}

.join-btn:hover { transform: scale(1.05); }

/* --- Hero --- */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 20px 80px 20px;
    position: relative;
}

.origin-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400; color: var(--text-muted);
    margin-bottom: 20px;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}

.word { position: relative; transition: all 1s ease; }
.key { font-weight: 800; color: white; transition: color 0.5s; }

/* The specific morphing logic classes */
.word.dimmed { opacity: 0.1; filter: blur(2px); }
.key.highlighted { color: var(--accent); text-shadow: 0 0 20px rgba(34, 211, 238, 0.5); }

/* Defy Rotator */
.defy-statement {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800; margin-bottom: 30px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    line-height: 1.1;
}

.rotating-words {
    height: 1.2em; overflow: hidden; position: relative;
    display: flex; flex-direction: column;
}

.rotate-item {
    display: block;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0; transform: translateY(20px); transition: all 0.5s ease;
    position: absolute; width: 100%; text-align: center;
}

.rotate-item.active { opacity: 1; transform: translateY(0); position: relative; }

/* Hero Subtext - Revised Layout for Aspiration */
.hero-sub {
    font-size: 1.15rem; 
    color: var(--text-muted); 
    max-width: 750px; /* Increased to allow better flow */
    margin: 0 auto 50px;
}

.hero-sub strong {
    color: var(--text-main);
    font-weight: 600;
}

/* --- Voice Interaction (Centered) --- */
.voice-interaction-container {
    position: relative;
    width: 100px; height: 100px;
    margin: 0 auto; /* Horizontal Center */
    display: flex; align-items: center; justify-content: center;
}

.mic-button {
    width: 70px; height: 70px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none; color: white; font-size: 1.8rem;
    z-index: 2; cursor: pointer;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
    transition: transform 0.2s;
    display: flex; align-items: center; justify-content: center;
}

.mic-button:hover { transform: scale(1.1); }
.mic-button:active { transform: scale(0.95); }

.pulse-ring {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary);
    animation: ripple 2.5s infinite linear;
    z-index: 1;
}

.pulse-ring.delay { animation-delay: 1.2s; }

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.voice-tooltip {
    position: absolute; top: 110%;
    font-size: 0.8rem; color: var(--text-muted);
    letter-spacing: 1px; text-transform: uppercase;
    width: 200px; text-align: center;
}

/* --- Features Grid --- */
.features-section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 10px; }
.header-line { width: 60px; height: 4px; background: var(--secondary); margin: 0 auto; border-radius: 2px; }

.grid-container {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}

.glass-card {
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    padding: 30px; border-radius: 24px;
    backdrop-filter: blur(10px); transition: 0.3s;
}

.glass-card:hover { background: var(--glass-highlight); transform: translateY(-5px); }

.feature-card { display: flex; flex-direction: column; align-items: flex-start; }

.icon-wrapper {
    width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 20px; color: white;
}

.gradient-1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.gradient-2 { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.gradient-3 { background: linear-gradient(135deg, #22d3ee, #3b82f6); }

.feature-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Highlight Card Special Styling */
.highlight-card { border-color: rgba(34, 211, 238, 0.3); position: relative; overflow: hidden; }
.highlight-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: var(--accent);
}

.badge-check {
    margin-top: 20px; font-size: 0.85rem; font-weight: 600; color: var(--accent);
    display: flex; align-items: center; gap: 8px;
}

/* --- Mobile Showcase --- */
.mobile-showcase {
    text-align: center; padding: 80px 20px;
    background: linear-gradient(to bottom, transparent, rgba(99, 102, 241, 0.05), transparent);
}

.showcase-content { max-width: 600px; margin: 0 auto; }
.showcase-content h2 { font-size: 2.2rem; margin-bottom: 20px; }
.tags { margin-top: 30px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.tags span {
    background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border);
    padding: 8px 16px; border-radius: 20px; font-size: 0.9rem;
}

/* --- Waitlist --- */
.waitlist-section { padding: 60px 20px; display: flex; justify-content: center; }

.waitlist-box {
    width: 100%; max-width: 600px; text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}

.waitlist-box h2 { font-size: 2rem; margin-bottom: 10px; }
.input-wrapper {
    display: flex; gap: 10px; margin-top: 30px; flex-direction: column;
}

.input-wrapper input {
    flex: 1; padding: 14px; border-radius: 12px; border: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.4); color: white; font-size: 1rem;
}

.input-wrapper button {
    padding: 14px 24px; border-radius: 12px; border: none;
    background: white; color: var(--bg-dark); font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: 0.2s;
}

.social-proof {
    margin-top: 25px; display: flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 0.9rem; color: var(--text-muted);
}

.avatars { display: flex; padding-left: 10px; }
.avatar {
    width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg-dark);
    margin-left: -10px; background-size: cover;
}

footer {
    text-align: center; padding: 40px; border-top: 1px solid var(--glass-border);
    font-size: 0.9rem; color: var(--text-muted);
}

@media (min-width: 768px) {
    .input-wrapper { flex-direction: row; }
    .defy-statement { flex-direction: row; gap: 15px; }
    .rotating-words { text-align: left; width: 450px; } /* Increased for longer words like "EXPECTATIONS" */
    .rotate-item { text-align: left; }
}