:root {
    --bg: #FFFFFF;
    --surface: #F6F8F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --border: #E2E8F0;
    --accent: #0FA3A8;
    --accent-hover: #0C8F93;
    --privacy-accent: #F59E0B;
    --zoom-accent: #0FA3A8;
    --focus-accent: #14B8A6;
    --shadow: rgba(15, 23, 42, 0.08);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Sora', 'Inter', sans-serif;
    --radius-sm: 0.5rem;
    --radius-md: 0.875rem;
    --radius-lg: 1.25rem;
    --transition-fast: 160ms ease;
    --transition-base: 260ms ease;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0B0F14;
        --surface: #0F172A;
        --text-primary: #E5E7EB;
        --text-secondary: #9CA3AF;
        --border: #1E293B;
        --shadow: rgba(0, 0, 0, 0.35);
    }
}

[data-theme="light"] {
    --bg: #FFFFFF;
    --surface: #F6F8F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --border: #E2E8F0;
    --shadow: rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] {
    --bg: #0B0F14;
    --surface: #0F172A;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --border: #1E293B;
    --shadow: rgba(0, 0, 0, 0.35);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.demo-overlay-open {
    overflow: hidden;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.section {
    padding: 5.5rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 0.75rem;
}

.eyebrow {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.7rem 1.25rem;
    border: 1px solid transparent;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
}

.cta-muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: transparent;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: not-allowed;
    opacity: 0.85;
}

.header {
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

[data-theme="dark"] .header {
    background: rgba(11, 15, 20, 0.92);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    min-height: 5.25rem;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
}

.nav {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.header-cta {
    margin-right: 0.25rem;
}

.theme-toggle {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.55rem;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--surface);
    color: var(--text-primary);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.theme-icon {
    width: 1.2rem;
    height: 1.2rem;
}

.theme-icon-sun,
.theme-icon-moon {
    transition: opacity var(--transition-base);
}

.theme-icon-sun {
    opacity: 0;
}

.theme-icon-moon {
    opacity: 1;
}

[data-theme="dark"] .theme-icon-sun {
    opacity: 1;
}

[data-theme="dark"] .theme-icon-moon {
    opacity: 0;
}

.menu-toggle {
    display: none;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    background: var(--bg);
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.24rem;
    cursor: pointer;
}

.menu-toggle-bar {
    width: 0.95rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.nav-mobile-cta {
    display: none;
}

.hero {
    padding-top: 3.25rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-copy {
    max-width: 36rem;
}

.hero-headline {
    margin-top: 0.8rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.hero-subline {
    margin-top: 1.25rem;
    font-size: clamp(1rem, 2.05vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 33rem;
}

.hero-product-line {
    margin-top: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-cta-row {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}

.trust-line {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.hero-media {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.55rem;
    box-shadow: 0 16px 40px var(--shadow);
}

.hero-video {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-lg) - 0.35rem);
    display: block;
}

.watch-demo-button {
    margin-top: 0.7rem;
    width: 100%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    border-radius: calc(var(--radius-lg) - 0.35rem);
    padding: 0.65rem 0.8rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.watch-demo-button:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: var(--surface);
}

.watch-demo-button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.problem-section .section-title {
    max-width: 52rem;
}

.problem-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.problem-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top-width: 3px;
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.problem-card-privacy {
    border-top-color: var(--privacy-accent);
}

.problem-card-zoom {
    border-top-color: var(--zoom-accent);
}

.problem-card-focus {
    border-top-color: var(--focus-accent);
}

.problem-card h3 {
    font-size: 1.16rem;
    margin-bottom: 0.6rem;
    font-family: var(--font-display);
}

.problem-card p {
    color: var(--text-secondary);
}

.problem-note {
    margin-top: 0.85rem;
    font-size: 0.87rem;
}

.lenses-section {
    background: var(--surface);
}

.lenses-section .section-title {
    max-width: 34rem;
}

.lens-switcher {
    margin-top: 1.4rem;
    display: inline-flex;
    padding: 0.3rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
}

.lens-tab {
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.lens-tab.is-active {
    background: var(--surface);
    color: var(--text-primary);
}

.lens-layout {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 1.2rem;
    align-items: stretch;
}

.lens-panels,
.lens-media {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
}

.lens-panel {
    padding: 1.25rem;
}

.lens-panel h3 {
    margin-top: 0.4rem;
    margin-bottom: 0.65rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.lens-panel p {
    color: var(--text-secondary);
}

.lens-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lens-kicker-privacy {
    color: var(--privacy-accent);
}

.lens-kicker-zoom {
    color: var(--zoom-accent);
}

.lens-kicker-focus {
    color: var(--focus-accent);
}

.lens-use-when {
    margin-top: 0.9rem;
    font-size: 0.94rem;
}

.lens-watch-demo {
    margin-top: 1rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.46rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.lens-watch-demo:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: var(--surface);
}

.lens-watch-demo:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.lens-panel[hidden] {
    display: none;
}

.lens-media {
    padding: 0.5rem;
}

.lens-video-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--radius-md) - 0.2rem);
    overflow: hidden;
    background: #000000;
}

.lens-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
}

.lens-video.is-active {
    opacity: 1;
    pointer-events: auto;
}

.how-it-works-section .section-title,
.not-section .section-title,
.bigger-picture-section .section-title,
.faq-section .section-title,
.final-cta-section .section-title {
    text-align: center;
}

.steps-grid {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.2rem;
}

.step-number {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--accent);
    color: #FFFFFF;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.step-card h3 {
    margin-top: 0.75rem;
    font-size: 1.14rem;
    font-family: var(--font-display);
}

.step-card p {
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

.trust-badges {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.trust-badges span {
    padding: 0.42rem 0.82rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 500;
}

.not-grid {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.not-card {
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.not-card h3 {
    font-size: 1.08rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.not-card p {
    color: var(--text-secondary);
}

.bigger-picture-wrap {
    max-width: 54rem;
}

.bigger-picture-wrap .section-title {
    text-align: left;
}

.bigger-picture-text {
    color: var(--text-secondary);
    font-size: 1.04rem;
}

.pattern-callout {
    margin-top: 1.2rem;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--surface);
    color: var(--text-secondary);
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

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

.faq-wrap {
    max-width: 54rem;
}

.faq-list {
    margin-top: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.faq-item + .faq-item {
    border-top: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    cursor: pointer;
}

.faq-icon {
    color: var(--text-secondary);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
    padding: 0 1.05rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 220px;
    padding: 0 1.05rem 1.05rem;
}

.faq-answer p {
    color: var(--text-secondary);
}

.final-cta-section {
    background: var(--surface);
}

.final-cta-wrap {
    text-align: center;
}

.final-contact {
    margin-top: 0.95rem;
    color: var(--text-secondary);
}

.final-contact a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.final-contact a:hover {
    color: var(--accent-hover);
}

.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0 1.4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.footer-text {
    max-width: 43rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    margin-top: 1.1rem;
    color: var(--text-secondary);
    font-size: 0.83rem;
}

.demo-overlay {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: rgba(5, 8, 14, 0.78);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.demo-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.demo-overlay[hidden] {
    display: none;
}

.demo-overlay-panel {
    width: min(1280px, calc(100vw - 2.4rem));
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.demo-overlay-lens-switcher {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(10, 14, 20, 0.72);
}

.demo-overlay-lens-tab {
    border: 0;
    background: transparent;
    color: #CBD5E1;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.demo-overlay-lens-tab.is-active {
    color: #F8FAFC;
    background: rgba(148, 163, 184, 0.2);
}

.demo-overlay-video-stack {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
    background: #000000;
}

.demo-overlay-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 180ms ease;
    pointer-events: none;
}

.demo-overlay-video.is-active {
    opacity: 1;
    pointer-events: auto;
}

.demo-overlay-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2.1rem;
    height: 2.1rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(3, 5, 8, 0.46);
    color: #E5E7EB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.demo-overlay-close:hover {
    background: rgba(3, 5, 8, 0.75);
    border-color: rgba(255, 255, 255, 0.45);
}

.demo-overlay-close:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 320ms ease, transform 320ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1024px) {
    .hero-grid,
    .lens-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .hero-media,
    .bigger-picture-wrap,
    .faq-wrap {
        max-width: none;
    }

    .steps-grid,
    .not-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav {
        position: absolute;
        right: 0;
        top: calc(100% + 0.45rem);
        display: none;
        width: min(18rem, calc(100vw - 2.5rem));
        padding: 0.6rem;
        border: 1px solid var(--border);
        border-radius: 0.75rem;
        background: var(--bg);
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        box-shadow: 0 12px 28px var(--shadow);
    }

    .nav.is-open {
        display: flex;
    }

    .nav-link {
        padding: 0.5rem 0.6rem;
        border-radius: 0.5rem;
    }

    .nav-link:hover {
        background: var(--surface);
    }

    .nav-mobile-cta {
        display: inline-flex;
        margin-top: 0.25rem;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 4.4rem 0;
    }

    .container {
        width: min(1120px, calc(100% - 1.35rem));
    }

    .problem-grid,
    .steps-grid,
    .not-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .cta-muted {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
    }

    .demo-overlay {
        padding: 0.7rem;
    }

    .demo-overlay-panel {
        width: 100%;
    }

    .demo-overlay-lens-switcher {
        width: 100%;
        justify-content: center;
    }

    .demo-overlay-video {
        border-radius: 0.7rem;
    }
}
