:root {
    --bg-dark: #0a0a0f;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #f5f5f7;
    --text-muted: #a1a1a6;
    --primary: #2997ff; /* Apple Blue */
    --primary-hover: #147ce5;
    
    /* Feature Colors */
    --orange: #ff9f0a;
    --blue: #64d2ff;
    --purple: #bf5af2;
    --green: #30d158;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Ambient Background (Soft glowing orbs) */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}
.blob-1 {
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(41,151,255,0.3) 0%, rgba(0,0,0,0) 70%);
}
.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(191,90,242,0.2) 0%, rgba(0,0,0,0) 70%);
}

.container {
    width: 90%;
    max-width: 1000px; /* Thinner, sleeker width */
    margin: 0 auto;
}

/* APPLE GLASSMORPHISM PANEL */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    padding: 15px 30px;
    z-index: 100;
    border-radius: 100px; /* Pill shape */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.nav-logo-container {
    height: 50px;
    width: 190px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-logo {
    position: absolute;
    width: 130%;
    height: auto;
    mix-blend-mode: screen;
}
.navbar nav {
    display: flex;
    gap: 30px;
    align-items: center;
}
.navbar a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}
.navbar a:hover {
    color: var(--primary);
}

/* BUTTONS */
.btn {
    padding: 10px 20px;
    border-radius: 100px; /* Pill buttons */
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--primary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(41, 151, 255, 0.3);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 151, 255, 0.4);
}
.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: white;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.12);
}
.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0;
}
.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

/* HERO MOCKUP (macOS Timeline Window) */
.hero-mockup {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.scanner {
    position: absolute;
    top: -5px;
    bottom: -5px;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 15px 2px #fff, 0 0 30px 5px var(--primary);
    left: 0;
    z-index: 10;
    animation: scanTimeline 4s ease-in-out infinite;
}
@keyframes scanTimeline {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    40% { left: 100%; opacity: 1; }
    50% { left: 100%; opacity: 0; }
    100% { left: 100%; opacity: 0; }
}
.silence-clip {
    animation: blinkSilence 4s ease-in-out infinite;
}
@keyframes blinkSilence {
    0%, 15% { background: rgba(255,255,255,0.2); }
    30%, 100% { background: rgba(255,255,255,0.02); border-color: rgba(255, 95, 86, 0.3); }
}

/* SECTIONS COMMON */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 60px auto;
}

/* FEATURES SECTION (Interactive Animations) */
.features {
    padding: 40px 0 100px 0;
}
.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 120px;
}
.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
}
.feature-row.reverse {
    flex-direction: row-reverse;
}
.f-animation {
    flex: 1;
    height: 350px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.f-text {
    flex: 1;
}

/* Mac Header */
.mac-header {
    background: rgba(255,255,255,0.03);
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    gap: 8px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

/* F1: Silence Timeline */
.f-anim-body {
    flex: 1;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.tl-track {
    width: 100%;
    height: 60px;
    background: rgba(0,0,0,0.4);
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    display: flex;
    padding: 4px;
    gap: 4px;
    position: relative;
}
.tl-clip { background: linear-gradient(90deg, var(--primary), var(--primary-hover)); border-radius: 4px; opacity: 0.8; }
.tl-clip.silence-anim {
    background: rgba(255,255,255,0.05);
    border: 1px dashed rgba(255, 95, 86, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5f56;
    font-size: 11px;
    font-weight: bold;
    animation: blinkSilence 3s infinite;
}
.tl-scanner {
    position: absolute;
    top: 0; bottom: 0; left: 0; width: 2px; background: #fff;
    box-shadow: 0 0 15px #fff, 0 0 30px var(--primary);
    animation: scanTimeline 3s infinite;
}

/* F2: Zoom Container */
.zoom-video {
    width: 250px; height: 150px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
}
.face-box {
    width: 60px; height: 60px;
    background: rgba(100, 210, 255, 0.3);
    border: 2px solid #64d2ff;
    border-radius: 8px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: faceZoom 4s infinite;
}
.audio-peak-anim {
    position: absolute; bottom: 20px;
    display: flex; gap: 4px; align-items: flex-end; height: 30px;
}
.audio-peak-anim span {
    width: 6px; background: #64d2ff; border-radius: 3px; height: 10px;
}
.audio-peak-anim span.peak { animation: audioPeak 4s infinite; }

@keyframes faceZoom {
    0%, 45% { transform: translate(-50%, -50%) scale(1); }
    50%, 95% { transform: translate(-50%, -50%) scale(2); background: rgba(100, 210, 255, 0.5); }
    100% { transform: translate(-50%, -50%) scale(1); }
}
@keyframes audioPeak {
    0%, 45% { height: 10px; }
    50% { height: 30px; background: #fff; box-shadow: 0 0 10px #64d2ff; }
    55%, 100% { height: 10px; }
}

/* F3: Captions Reels */
.reels-container {
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.reels-video {
    width: 160px; height: 280px;
    background: #111;
    border-radius: 20px;
    border: 4px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.captions-anim {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; position: relative;
}
.cap-word {
    font-size: 1.4rem; font-weight: 800; color: #000;
    background: #ffcc00;
    padding: 4px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.8);
    position: absolute;
    opacity: 0; transform: scale(0.5) rotate(-5deg);
}
.cap-word.w1 { animation: popWord 4s infinite 0s; }
.cap-word.w2 { animation: popWord 4s infinite 1s; }
.cap-word.w3 { animation: popWord 4s infinite 2s; }
.cap-word.w4 { animation: popWord 4s infinite 3s; }

@keyframes popWord {
    0% { opacity: 0; transform: scale(0.5) rotate(-5deg); }
    5% { opacity: 1; transform: scale(1.1) rotate(3deg); }
    10% { opacity: 1; transform: scale(1) rotate(0deg); }
    25% { opacity: 1; transform: scale(1) rotate(0deg); }
    30%, 100% { opacity: 0; transform: scale(0.8) rotate(0deg); }
}

/* F4: Podcast Cams */
.podcast-cams {
    display: flex; gap: 20px; width: 100%;
}
.cam-box {
    flex: 1; height: 140px;
    background: rgba(0,0,0,0.5);
    border-radius: 12px;
    position: relative;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}
.cam-box.cam1 { animation: activeCam1 6s infinite; }
.cam-box.cam2 { animation: activeCam2 6s infinite; }

.cam-label {
    font-size: 12px; font-weight: bold; color: #fff; opacity: 0.5;
    margin-bottom: 20px;
}
.cam-audio { display: flex; gap: 4px; height: 20px; align-items: center; }
.cam-audio span { width: 4px; height: 4px; background: #30d158; border-radius: 2px; }
.a1 span { animation: talking 6s infinite; }
.a2 span { animation: talking2 6s infinite; }

@keyframes activeCam1 {
    0%, 45% { border-color: #30d158; box-shadow: 0 0 20px rgba(48,209,88,0.3); background: rgba(48,209,88,0.1); }
    50%, 100% { border-color: transparent; box-shadow: none; }
}
@keyframes activeCam2 {
    0%, 45% { border-color: transparent; box-shadow: none; }
    50%, 95% { border-color: #30d158; box-shadow: 0 0 20px rgba(48,209,88,0.3); background: rgba(48,209,88,0.1); }
    100% { border-color: transparent; }
}
@keyframes talking {
    0%, 45% { height: 16px; }
    50%, 100% { height: 4px; }
}
@keyframes talking2 {
    0%, 45% { height: 4px; }
    50%, 95% { height: 16px; }
    100% { height: 4px; }
}

/* INSTALLATION SECTION */
.installation {
    padding: 100px 0;
}
.install-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.install-card {
    padding: 40px;
}
.os-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.install-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 24px;
}
.install-card ol {
    list-style-position: inside;
    color: var(--text-muted);
}
.install-card li {
    margin-bottom: 12px;
    font-size: 1rem;
}
.install-card li strong {
    color: var(--text-main);
    font-weight: 500;
}

/* SVG ICON STYLING */
.icon-wrapper svg {
    color: var(--text-main);
    opacity: 0.9;
}

/* CTA SECTION */
.cta-section {
    padding: 50px 0 100px 0;
}
.cta-box {
    text-align: center;
    padding: 60px 40px;
}
.cta-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.cta-box p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* FOOTER */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    .features-grid, .install-grid {
        grid-template-columns: 1fr;
    }
    .feature-row, .feature-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .f-animation {
        width: 100%;
        height: 250px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .navbar {
        width: 95%;
        padding: 15px 20px;
    }
    .navbar nav {
        display: none;
    }
}
