/* ==================== CSS Variables & Reset ==================== */
:root {
    --green-50: #f0fdf4; --green-100: #dcfce7; --green-200: #bbf7d0;
    --green-300: #86efac; --green-400: #4ade80; --green-500: #22c55e;
    --green-600: #16a34a; --green-700: #15803d; --green-800: #166534;
    --green-900: #14532d;
    --slate-50: #f8fafc; --slate-100: #f1f5f9; --slate-200: #e2e8f0;
    --slate-300: #cbd5e1; --slate-400: #94a3b8; --slate-500: #64748b;
    --slate-600: #475569; --slate-700: #334155; --slate-800: #1e293b;
    --slate-900: #0f172a;
    /* Theme tokens */
    --bg-primary: #f0fdf4; --bg-secondary: white; --bg-card: white;
    --text-primary: #1e293b; --text-secondary: #475569; --text-muted: #94a3b8;
    --border-light: rgba(22, 163, 74, 0.06);
    --nav-bg: rgba(240, 253, 244, 0.72);
    --hero-gradient: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 40%, #f0fdf4 100%);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

html.dark {
    --bg-primary: #0c1a0e; --bg-secondary: #0f172a; --bg-card: #1a2e1e;
    --text-primary: #e2e8f0; --text-secondary: #94a3b8; --text-muted: #64748b;
    --border-light: rgba(74, 222, 128, 0.08);
    --nav-bg: rgba(12, 26, 14, 0.85);
    --hero-gradient: linear-gradient(180deg, #0c1a0e 0%, #132a17 40%, #0c1a0e 100%);
    --card-shadow: 0 1px 3px rgba(0,0,0,0.3);
    color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 80px; }

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary); color: var(--text-primary);
    overflow-x: hidden; line-height: 1.6;
    transition: background-color 0.5s ease, color 0.4s ease;
}

/* Skip to content for a11y */
.skip-link {
    position: absolute; top: -100px; left: 0; z-index: 9999;
    padding: 12px 24px; background: var(--green-600); color: white;
    font-weight: 700; text-decoration: none;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ==================== Page Preloader ==================== */
.preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg-primary);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-deer {
    font-size: 64px; animation: preloaderBounce 0.8s ease-in-out infinite alternate;
}
.preloader-bar-track {
    width: 160px; height: 4px; background: var(--green-100);
    border-radius: 2px; margin-top: 24px; overflow: hidden;
}
html.dark .preloader-bar-track { background: #1a3a1e; }
.preloader-bar {
    height: 100%; width: 0; background: linear-gradient(90deg, var(--green-400), var(--green-600));
    border-radius: 2px; animation: preloaderProgress 1.2s ease-out forwards;
}
@keyframes preloaderBounce {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(-12px) scale(1.05); }
}
@keyframes preloaderProgress {
    0% { width: 0; } 60% { width: 75%; } 100% { width: 100%; }
}

/* ==================== Reading Progress (scaleX, from index.html) ==================== */
.reading-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 3px; z-index: 101; pointer-events: none;
}
.reading-progress-bar {
    display: block; width: 100%; height: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--green-400), var(--green-600), #5de5a5);
    box-shadow: 0 0 16px rgba(22, 163, 74, 0.35);
}

/* ==================== Scroll-driven Animations ==================== */
@supports (animation-timeline: scroll()) {
    .scroll-reveal {
        animation: scrollFadeUp linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 35%;
    }
    @keyframes scrollFadeUp {
        from { opacity: 0; transform: translateY(60px) scale(0.96); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }
}
@supports not (animation-timeline: scroll()) {
    .scroll-reveal {
        opacity: 0; transform: translateY(50px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .scroll-reveal.visible { opacity: 1; transform: translateY(0); }
}

/* ==================== Navigation ==================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 clamp(16px, 3vw, 48px); height: 72px;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--nav-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav.scrolled { box-shadow: 0 1px 40px rgba(22, 163, 74, 0.08); }
html.dark .nav.scrolled { box-shadow: 0 1px 40px rgba(0,0,0,0.3); }
/* Auto-hide nav on scroll down (from index.html) */
.nav.is-hidden { transform: translateY(-100%); }

.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-weight: 900; font-size: 20px; color: var(--green-800);
    text-decoration: none; transition: color 0.3s;
}
html.dark .nav-brand { color: var(--green-400); }
.nav-brand span { font-size: 28px; }

.nav-center { display: flex; gap: 8px; align-items: center; }
.nav-center a {
    text-decoration: none; color: var(--text-secondary);
    font-weight: 500; font-size: 14px; padding: 8px 16px;
    border-radius: 10px; transition: all 0.3s; position: relative;
}
.nav-center a:hover, .nav-center a.active {
    color: var(--green-700); background: rgba(22, 163, 74, 0.06);
}
html.dark .nav-center a:hover, html.dark .nav-center a.active {
    color: var(--green-400); background: rgba(74, 222, 128, 0.08);
}

.nav-right { display: flex; gap: 12px; align-items: center; }

.theme-toggle {
    width: 40px; height: 40px; border-radius: 12px; border: none;
    background: rgba(22, 163, 74, 0.06); color: var(--green-700);
    cursor: pointer; font-size: 16px; display: flex; align-items: center;
    justify-content: center; transition: all 0.3s;
}
.theme-toggle:hover { background: rgba(22, 163, 74, 0.12); transform: rotate(20deg); }
html.dark .theme-toggle { background: rgba(74, 222, 128, 0.1); color: var(--green-400); }

.nav-download-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 12px;
    background: var(--green-600); color: white;
    font-weight: 700; font-size: 13px; border: none; cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 12px rgba(22, 163, 74, 0.25);
}
.nav-download-btn:hover {
    background: var(--green-700); transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(22, 163, 74, 0.35);
}

.mobile-menu-btn {
    display: none; background: none; border: none;
    font-size: 22px; color: var(--green-800); cursor: pointer; padding: 8px;
}
html.dark .mobile-menu-btn { color: var(--green-400); }

/* ==================== Hero Section ==================== */
.hero {
    min-height: 100svh; display: flex; align-items: center;
    justify-content: center; text-align: center;
    padding: 120px 24px 80px;
    position: relative; overflow: hidden;
    background: var(--hero-gradient);
    background-size: 180% 180%;
    animation: bgFlow 18s ease-in-out infinite alternate;
    transition: background-color 0.5s ease;
}
@keyframes bgFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* Ambient floating particles (from index.html) */
.ambient {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 0; overflow: hidden;
}
.ambient span {
    position: absolute; border-radius: 50%;
    filter: blur(2px); opacity: 0.15;
    animation: ambientFloat linear infinite;
    background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.7), rgba(34, 197, 94, 0.05));
}
.ambient span:nth-child(1) { width: 140px; height: 140px; left: 8%; top: 78%; animation-duration: 20s; }
.ambient span:nth-child(2) { width: 90px; height: 90px; left: 75%; top: 84%; animation-duration: 16s; animation-delay: -5s; }
.ambient span:nth-child(3) { width: 110px; height: 110px; left: 44%; top: 88%; animation-duration: 22s; animation-delay: -8s; }
.ambient span:nth-child(4) { width: 68px; height: 68px; left: 62%; top: 76%; animation-duration: 18s; animation-delay: -2s; }
html.dark .ambient span {
    background: radial-gradient(circle at 30% 30%, rgba(74, 222, 128, 0.5), rgba(74, 222, 128, 0.03));
}
@keyframes ambientFloat {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    100% { transform: translate3d(0, -95vh, 0) scale(1.28); }
}

.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(80px);
    opacity: 0.3; pointer-events: none;
    animation: orbFloat 20s ease-in-out infinite;
    --parallax-y: 0px; --parallax-x: 0px;
    translate: var(--parallax-x) var(--parallax-y);
}
html.dark .hero-orb { opacity: 0.12; }
.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--green-300), transparent 70%);
    top: -10%; right: -5%;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #a7f3d0, transparent 70%);
    bottom: -5%; left: -5%; animation-delay: -7s;
}
.hero-orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #bbf7d0, transparent 70%);
    top: 40%; left: 50%; animation-delay: -14s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.9); }
}

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 88px; height: 88px; border-radius: 24px;
    background: var(--bg-card);
    box-shadow: 0 16px 48px rgba(22, 163, 74, 0.12), 0 2px 6px rgba(22, 163, 74, 0.06);
    font-size: 48px; margin-bottom: 16px;
    animation: iconEntrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
    position: relative; transition: background 0.4s;
}
.hero-icon::after {
    content: ''; position: absolute; inset: -3px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--green-300), transparent, var(--green-200));
    z-index: -1; opacity: 0.6;
}
@keyframes iconEntrance {
    from { opacity: 0; transform: scale(0.3) rotate(-20deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}
.hero-icon-ring {
    position: absolute; inset: -16px;
    border: 2px solid var(--green-300);
    border-radius: 36px; opacity: 0;
    animation: pulseRing 3s ease-out infinite 1.2s;
}
@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 100px;
    background: rgba(22, 163, 74, 0.08);
    border: 1px solid rgba(22, 163, 74, 0.15);
    font-size: 13px; font-weight: 600; color: var(--green-700);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
html.dark .hero-badge { color: var(--green-400); background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.15); }
.hero-badge i { font-size: 12px; }

.hero-title {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 900; line-height: 1.1;
    color: var(--green-900); margin-bottom: 20px;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
html.dark .hero-title { color: var(--green-100); }
.hero-title .highlight {
    background: linear-gradient(135deg, var(--green-500), #10b981);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Typewriter cursor (#17) */
.typewriter-cursor {
    display: inline-block; width: 3px; height: 0.9em;
    background: var(--green-500); margin-left: 4px;
    vertical-align: baseline; position: relative; top: 0.05em;
    animation: blink 0.7s step-end infinite;
}
html.dark .typewriter-cursor { background: var(--green-400); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-subtitle {
    font-size: clamp(15px, 2.5vw, 19px);
    color: var(--text-secondary); max-width: 560px;
    margin: 0 auto 40px; font-weight: 400; line-height: 1.8;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

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

.hero-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

/* Button with sweep shine (from index.html) */
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 16px;
    background: linear-gradient(135deg, var(--green-600), var(--green-500));
    color: white; font-weight: 700; font-size: 15px;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 24px rgba(22, 163, 74, 0.3);
    position: relative; overflow: hidden;
}
.btn-primary::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,0.35) 46%, transparent 70%);
    transform: translateX(-130%);
    animation: btnSweep 3.8s ease-in-out infinite;
}
@keyframes btnSweep {
    0%, 45% { transform: translateX(-130%); }
    60%, 100% { transform: translateX(140%); }
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(22, 163, 74, 0.4);
}
.btn-primary:active { transform: translateY(0) scale(0.97); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px; border-radius: 16px;
    background: var(--bg-card); backdrop-filter: blur(10px);
    border: 1.5px solid var(--green-200);
    color: var(--green-800); font-weight: 700; font-size: 15px;
    text-decoration: none; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
html.dark .btn-secondary { border-color: rgba(74,222,128,0.2); color: var(--green-400); }
.btn-secondary:hover {
    border-color: var(--green-400); transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.hero-meta {
    display: flex; gap: 32px; justify-content: center;
    margin-top: 48px; padding-top: 32px;
    border-top: 1px solid var(--border-light);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
}
.hero-meta-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-meta-value {
    font-size: 24px; font-weight: 900; color: var(--green-700);
    font-variant-numeric: tabular-nums;
}
html.dark .hero-meta-value { color: var(--green-400); }
.hero-meta-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ==================== Hero Phone Carousel ==================== */
.hero-phone-wrapper {
    margin-top: 64px;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 1.3s both;
    perspective: 1200px;
}
.phone-mockup {
    position: relative; display: inline-block;
    width: 260px; height: 520px;
    background: #0f172a; border-radius: 38px; padding: 10px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.15), 0 20px 60px rgba(0, 0, 0, 0.1),
                inset 0 0 0 2px rgba(255,255,255,0.1);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.phone-mockup:hover { transform: rotateY(-4deg) rotateX(2deg) scale(1.02); }
.phone-screen {
    width: 100%; height: 100%; border-radius: 30px; overflow: hidden;
    background: var(--green-50); position: relative;
}
.phone-screen img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: top;
    opacity: 0; transition: opacity 0.6s ease;
}
.phone-screen img.active { opacity: 1; }
.phone-notch {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 90px; height: 26px;
    background: #0f172a; border-radius: 0 0 16px 16px; z-index: 2;
}
.phone-dots {
    display: flex; gap: 8px; justify-content: center; margin-top: 16px;
}
.phone-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green-200); cursor: pointer; transition: all 0.3s; border: none;
}
.phone-dot.active { background: var(--green-500); width: 24px; border-radius: 4px; }
html.dark .phone-dot { background: rgba(74,222,128,0.15); }
html.dark .phone-dot.active { background: var(--green-500); }

/* ==================== Glow Surface (from index.html) ==================== */
.glow-surface { --mx: 50%; --my: 50%; }
.glow-surface::after {
    content: ''; position: absolute; inset: -1px;
    border-radius: inherit; pointer-events: none;
    opacity: 0; transition: opacity 0.26s ease;
    background: radial-gradient(220px circle at var(--mx) var(--my),
        rgba(74, 222, 128, 0.2), rgba(74, 222, 128, 0.08) 28%, transparent 58%);
}
.glow-surface:hover::after { opacity: 1; }
html.dark .glow-surface::after {
    background: radial-gradient(220px circle at var(--mx) var(--my),
        rgba(89, 211, 152, 0.24), rgba(89, 211, 152, 0.1) 28%, transparent 58%);
}

/* ==================== Card Shimmer (from index.html) ==================== */
.shimmer-card { position: relative; overflow: hidden; }
.shimmer-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.18), rgba(255,255,255,0));
    transform: translateX(-120%);
    transition: transform 0.65s ease;
    pointer-events: none; z-index: 1;
}
.shimmer-card:hover::before { transform: translateX(120%); }

/* ==================== Section common ==================== */
.section { padding: 100px 24px; position: relative; transition: background 0.5s; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 100px;
    background: rgba(22, 163, 74, 0.06);
    border: 1px solid rgba(22, 163, 74, 0.12);
    font-size: 13px; font-weight: 600; color: var(--green-600);
    margin-bottom: 16px;
}
html.dark .section-label { background: rgba(74,222,128,0.06); border-color: rgba(74,222,128,0.12); color: var(--green-400); }
.section-title {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 900; line-height: 1.2;
    color: var(--green-900); margin-bottom: 14px;
    letter-spacing: -0.02em;
}
html.dark .section-title { color: var(--green-100); }
.section-desc {
    font-size: 16px; color: var(--text-secondary);
    max-width: 520px; margin: 0 auto; line-height: 1.7;
}

/* ==================== Features (with tilt support) ==================== */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
    background: var(--bg-card); border-radius: 24px; padding: 32px;
    border: 1px solid var(--border-light);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden;
    will-change: transform;
}
.feature-card:hover {
    box-shadow: 0 20px 60px rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.15);
}
html.dark .feature-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-5deg); }

.feature-icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 18px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-icon.green { background: rgba(22,163,74,0.08); color: var(--green-600); }
.feature-icon.purple { background: rgba(147,51,234,0.08); color: #9333ea; }
.feature-icon.blue { background: rgba(37,99,235,0.08); color: #2563eb; }
.feature-icon.amber { background: rgba(217,119,6,0.08); color: #d97706; }
.feature-icon.rose { background: rgba(225,29,72,0.08); color: #e11d48; }
.feature-icon.teal { background: rgba(13,148,136,0.08); color: #0d9488; }
.feature-title {
    font-size: 17px; font-weight: 700;
    color: var(--text-primary); margin-bottom: 6px;
}
.feature-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ==================== Screenshots — 3D Perspective Carousel (from index.html) ==================== */
.screenshots-section { background: var(--bg-primary); overflow: hidden; }

.screenshots-stage {
    position: relative;
    height: clamp(520px, 72vw, 660px);
    perspective: 1400px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--border-light);
    background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(240,253,244,0.3));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4);
}
html.dark .screenshots-stage {
    background: linear-gradient(180deg, rgba(26,46,30,0.5), rgba(12,26,14,0.3));
    border-color: rgba(74,222,128,0.1);
}

.screenshots-track {
    position: relative; width: 100%; height: 100%;
}

.screenshot-slide {
    position: absolute; left: 50%; top: 24px;
    width: min(260px, 62vw);
    transform-style: preserve-3d;
    transition: transform 0.62s cubic-bezier(0.2, 0.84, 0.2, 1),
                opacity 0.4s ease, filter 0.4s ease;
    pointer-events: none;
    will-change: transform, opacity;
}
.screenshot-slide.is-active { pointer-events: auto; }

.screenshot-phone {
    position: relative;
    aspect-ratio: 9 / 19.5;
    border-radius: 30px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 22px 50px rgba(0,0,0,0.15);
    background: #0f172a;
}
.screenshot-phone::before {
    content: ''; position: absolute;
    left: 50%; top: 10px; transform: translateX(-50%);
    width: 34%; height: 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.6); z-index: 2;
}
.screenshot-phone img {
    width: 100%; height: 100%; object-fit: cover;
    display: block; transition: transform 0.55s ease;
}
.screenshot-slide.is-active .screenshot-phone img { transform: scale(1.01); }

.screenshot-meta {
    margin-top: 12px; text-align: center;
    transition: opacity 0.3s ease;
}
.screenshot-meta h3 {
    margin: 0; font-size: 16px; font-weight: 700;
    color: var(--green-800); letter-spacing: -0.2px;
}
html.dark .screenshot-meta h3 { color: var(--green-400); }
.screenshot-meta p {
    margin: 4px 0 0; font-size: 13px;
    color: var(--text-muted); line-height: 1.5;
}
.screenshot-slide:not(.is-active) .screenshot-meta { opacity: 0.6; }

.screenshots-controls {
    margin-top: 18px;
    display: flex; align-items: center; justify-content: center; gap: 12px;
}
.screenshots-ctrl-btn {
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--green-800); width: 42px; height: 42px;
    border-radius: 12px; font-size: 18px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.24s ease;
}
html.dark .screenshots-ctrl-btn { color: var(--green-400); background: var(--bg-card); border-color: rgba(74,222,128,0.12); }
.screenshots-ctrl-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(22,163,74,0.1); }

.screenshots-dots {
    display: inline-flex; align-items: center; gap: 8px; padding: 0 6px;
}
.screenshots-dot {
    width: 9px; height: 9px; border-radius: 50%; border: 0;
    cursor: pointer;
    background: rgba(22, 163, 74, 0.2);
    transition: transform 0.22s ease, background 0.22s ease;
}
.screenshots-dot.is-active {
    background: linear-gradient(135deg, var(--green-500), var(--green-600));
    transform: scale(1.2);
}
html.dark .screenshots-dot { background: rgba(74,222,128,0.2); }
html.dark .screenshots-dot.is-active { background: linear-gradient(135deg, var(--green-400), var(--green-500)); }

/* ==================== Version Timeline ==================== */
.timeline-section { background: var(--bg-primary); }
.timeline {
    position: relative; max-width: 700px; margin: 0 auto; padding-left: 40px;
}
.timeline::before {
    content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--green-400), var(--green-200), transparent);
}
html.dark .timeline::before {
    background: linear-gradient(180deg, var(--green-600), rgba(74,222,128,0.1), transparent);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-dot {
    position: absolute; left: -33px; top: 4px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--green-500);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
    transition: background 0.3s;
}
.timeline-item:first-child .timeline-dot {
    width: 16px; height: 16px; left: -35px; top: 2px;
    background: var(--green-600);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2), 0 0 20px rgba(22, 163, 74, 0.15);
}
.timeline-version {
    font-size: 20px; font-weight: 900; color: var(--green-800);
    margin-bottom: 2px;
}
html.dark .timeline-version { color: var(--green-400); }
.timeline-date {
    font-size: 12px; color: var(--text-muted); margin-bottom: 10px; font-weight: 500;
}
.timeline-title {
    font-size: 15px; font-weight: 700; color: var(--text-primary);
    margin-bottom: 8px;
}
.timeline-changes { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.timeline-changes li {
    font-size: 12px; padding: 4px 12px; border-radius: 8px;
    background: rgba(22, 163, 74, 0.06); color: var(--green-700); font-weight: 500;
}
html.dark .timeline-changes li { background: rgba(74,222,128,0.06); color: var(--green-400); }

/* ==================== Tech Stack ==================== */
.tech-section { background: var(--slate-900); color: white; }
.tech-section .section-label {
    background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.2);
    color: var(--green-400);
}
.tech-section .section-title { color: white; }
.tech-section .section-desc { color: #94a3b8; }
.tech-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px;
}
.tech-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px; padding: 24px; text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.tech-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 222, 128, 0.2);
    transform: translateY(-6px);
}
.tech-card-icon { font-size: 32px; margin-bottom: 10px; display: block; }
.tech-card-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.tech-card-desc { font-size: 11px; color: #64748b; }

.changelog-ticker {
    background: var(--slate-900); padding: 14px 0; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.ticker-track {
    display: flex; gap: 48px;
    animation: tickerScroll 40s linear infinite;
    width: max-content;
}
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    font-size: 13px; color: #94a3b8;
    white-space: nowrap; display: flex; align-items: center; gap: 8px;
}
.ticker-item .dot {
    width: 5px; height: 5px; border-radius: 50%; background: var(--green-500);
}

/* ==================== Privacy ==================== */
.privacy-section { background: var(--bg-primary); }
.privacy-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.privacy-card {
    background: var(--bg-card); border-radius: 24px; padding: 28px;
    border: 1px solid var(--border-light);
    display: flex; gap: 18px; align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden;
}
.privacy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(22, 163, 74, 0.06);
}
html.dark .privacy-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.privacy-icon {
    width: 46px; height: 46px; border-radius: 14px;
    background: rgba(22,163,74,0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--green-600); flex-shrink: 0;
}
.privacy-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.privacy-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ==================== FAQ ==================== */
.faq-section { background: var(--bg-primary); }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
    width: 100%; padding: 20px 0; border: none; background: none;
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer; text-align: left;
    font-size: 15px; font-weight: 700; color: var(--text-primary);
    font-family: inherit; gap: 16px; transition: color 0.3s;
}
.faq-question:hover { color: var(--green-600); }
html.dark .faq-question:hover { color: var(--green-400); }
.faq-question i {
    font-size: 12px; color: var(--text-muted);
    transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
    padding-bottom: 20px;
    font-size: 14px; color: var(--text-secondary); line-height: 1.8;
}

/* ==================== CTA ==================== */
.cta-section { padding: 100px 24px; text-align: center; background: var(--bg-primary); }
.cta-card {
    max-width: 660px; margin: 0 auto;
    background: linear-gradient(135deg, var(--green-600), #10b981);
    border-radius: 32px; padding: 56px 40px;
    position: relative; overflow: hidden;
    box-shadow: 0 30px 80px rgba(22, 163, 74, 0.25);
}
.cta-card::before {
    content: ''; position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 70%);
    top: -100px; right: -100px;
}
.cta-card::after {
    content: ''; position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
    bottom: -80px; left: -80px;
}
.cta-content { position: relative; z-index: 2; }
.cta-emoji { font-size: 52px; display: block; margin-bottom: 20px; }
.cta-title {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 900; color: white; margin-bottom: 10px;
}
.cta-desc {
    font-size: 15px; color: rgba(255,255,255,0.85);
    margin-bottom: 32px; max-width: 400px; margin-left: auto; margin-right: auto;
}
.cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 40px; border-radius: 16px;
    background: white; color: var(--green-700);
    font-weight: 800; font-size: 16px;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.cta-btn:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 48px rgba(0,0,0,0.15); }
.cta-btn:active { transform: scale(0.97); }
.cta-version { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.6); }

/* ==================== Footer ==================== */
footer {
    padding: 60px 24px 32px; border-top: 1px solid var(--border-light);
    background: var(--bg-primary); transition: background 0.5s;
}
.footer-inner {
    max-width: 900px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
    margin-bottom: 40px;
}
.footer-brand-title {
    font-size: 18px; font-weight: 800; color: var(--green-800);
    margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
html.dark .footer-brand-title { color: var(--green-400); }
.footer-brand-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.footer-col-title {
    font-size: 13px; font-weight: 700; color: var(--text-primary);
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px;
}
.footer-col a {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-secondary);
    text-decoration: none; padding: 4px 0; transition: color 0.3s;
}
.footer-col a:hover { color: var(--green-600); }
html.dark .footer-col a:hover { color: var(--green-400); }
.footer-bottom {
    text-align: center; padding-top: 24px;
    border-top: 1px solid var(--border-light);
    font-size: 12px; color: var(--text-muted);
}

/* ==================== Cursor Deer Follower (#13) ==================== */
.cursor-deer {
    position: fixed; top: 0; left: 0; z-index: 9999;
    pointer-events: none; user-select: none;
    font-size: 22px; line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
    transition: opacity 0.3s;
    will-change: transform;
}
.cursor-deer.hidden { opacity: 0; }

/* Click text float effect (#3) */
.click-text {
    position: fixed; pointer-events: none; z-index: 9998;
    font-size: 14px; font-weight: 700; line-height: 1;
    color: var(--green-600);
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
    white-space: nowrap; user-select: none;
    animation: textFloat 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
html.dark .click-text {
    color: var(--green-400);
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
@keyframes textFloat {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    60%  { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-70px) scale(0.85); }
}

/* ==================== Back to top (#18 progress ring) ==================== */
.back-to-top {
    position: fixed; bottom: 28px; right: 28px; z-index: 90;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--bg-card); color: var(--green-600); border: none;
    cursor: pointer; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(22, 163, 74, 0.2);
    opacity: 0; transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    padding: 0;
}
html.dark .back-to-top { color: var(--green-400); }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { transform: translateY(-4px) scale(1.08); }
.back-to-top svg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    transform: rotate(-90deg);
}
.back-to-top .btt-ring-bg {
    fill: none; stroke: var(--border-light); stroke-width: 3;
}
.back-to-top .btt-ring {
    fill: none; stroke: var(--green-500); stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.15s ease;
}

/* ==================== Mobile Menu ==================== */
.mobile-nav {
    display: none; position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 99; padding: 24px;
    flex-direction: column; gap: 4px;
    animation: slideDown 0.3s ease-out;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
    display: block; padding: 16px 20px;
    font-size: 16px; font-weight: 600;
    color: var(--green-800); text-decoration: none;
    border-radius: 16px; transition: background 0.2s;
}
html.dark .mobile-nav a { color: var(--green-400); }
.mobile-nav a:hover { background: rgba(22, 163, 74, 0.05); }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== prefers-reduced-motion (from index.html) ==================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .ambient span,
    .btn-primary::after,
    .hero-orb,
    .preloader-deer,
    .preloader-bar {
        animation: none !important;
    }
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .cursor-deer { display: none !important; }
    .click-text { animation: none !important; display: none !important; }
    .typewriter-cursor { display: none !important; }
}

/* ==================== Section Divider Gradients (#16 varied colors) ==================== */
.section-divider {
    height: 80px; width: 100%; pointer-events: none;
    background: linear-gradient(180deg, var(--bg-primary) 0%, transparent 40%, transparent 60%, var(--bg-primary) 100%);
    position: relative; overflow: hidden;
}
.section-divider::before {
    content: ''; position: absolute; left: 10%; right: 10%; top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(22,163,74,0.15), rgba(22,163,74,0.25), rgba(22,163,74,0.15), transparent);
}
/* Varied divider colors: green → teal → blue → emerald → cyan → green */
.section-divider.divider-teal::before { background: linear-gradient(90deg, transparent, rgba(20,184,166,0.15), rgba(20,184,166,0.25), rgba(20,184,166,0.15), transparent); }
.section-divider.divider-blue::before { background: linear-gradient(90deg, transparent, rgba(59,130,246,0.12), rgba(59,130,246,0.22), rgba(59,130,246,0.12), transparent); }
.section-divider.divider-emerald::before { background: linear-gradient(90deg, transparent, rgba(16,185,129,0.15), rgba(16,185,129,0.25), rgba(16,185,129,0.15), transparent); }
.section-divider.divider-cyan::before { background: linear-gradient(90deg, transparent, rgba(6,182,212,0.12), rgba(6,182,212,0.22), rgba(6,182,212,0.12), transparent); }
html.dark .section-divider::before {
    background: linear-gradient(90deg, transparent, rgba(74,222,128,0.1), rgba(74,222,128,0.18), rgba(74,222,128,0.1), transparent);
}
html.dark .section-divider.divider-teal::before { background: linear-gradient(90deg, transparent, rgba(94,234,212,0.1), rgba(94,234,212,0.18), rgba(94,234,212,0.1), transparent); }
html.dark .section-divider.divider-blue::before { background: linear-gradient(90deg, transparent, rgba(96,165,250,0.08), rgba(96,165,250,0.15), rgba(96,165,250,0.08), transparent); }
html.dark .section-divider.divider-emerald::before { background: linear-gradient(90deg, transparent, rgba(52,211,153,0.1), rgba(52,211,153,0.18), rgba(52,211,153,0.1), transparent); }
html.dark .section-divider.divider-cyan::before { background: linear-gradient(90deg, transparent, rgba(34,211,238,0.08), rgba(34,211,238,0.15), rgba(34,211,238,0.08), transparent); }

/* ==================== Alternating Section Backgrounds ==================== */
.section:nth-of-type(even):not(.tech-section) {
    background: color-mix(in srgb, var(--bg-primary) 94%, var(--green-100));
}
html.dark .section:nth-of-type(even):not(.tech-section) {
    background: color-mix(in srgb, var(--bg-primary) 92%, var(--green-900));
}

/* ==================== Social Proof / Testimonials ==================== */
.testimonials-section { background: var(--bg-primary); overflow: hidden; }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.testimonial-card {
    background: var(--bg-card); border-radius: 20px; padding: 28px;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; display: flex; flex-direction: column; gap: 16px;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(22,163,74,0.08);
}
html.dark .testimonial-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.25); }
.testimonial-stars {
    color: #f59e0b; font-size: 14px; letter-spacing: 2px;
}
.testimonial-text {
    font-size: 14px; line-height: 1.8; color: var(--text-secondary);
    flex: 1;
}
.testimonial-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 16px; border-top: 1px solid var(--border-light);
}
.testimonial-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    background: rgba(22,163,74,0.06);
}
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--text-primary); }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* GitHub stats badge row */
.gh-stats-row {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
    margin-top: 32px;
}
.gh-stat-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: 100px;
    background: var(--bg-card); border: 1px solid var(--border-light);
    font-size: 13px; font-weight: 600; color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}
.gh-stat-badge:hover {
    border-color: rgba(22,163,74,0.3);
    color: var(--green-700); transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22,163,74,0.08);
}
html.dark .gh-stat-badge:hover { color: var(--green-400); }
.gh-stat-badge i { color: var(--green-600); font-size: 14px; }
html.dark .gh-stat-badge i { color: var(--green-400); }

/* ==================== CTA pulse attention ==================== */
.cta-btn {
    animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 0 0 6px rgba(255,255,255,0.15); }
}

/* ==================== Language Switcher ==================== */
.lang-toggle {
    width: 40px; height: 40px; border-radius: 12px; border: none;
    background: rgba(22, 163, 74, 0.06); color: var(--green-700);
    cursor: pointer; font-size: 13px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s; font-family: inherit;
}
.lang-toggle:hover { background: rgba(22, 163, 74, 0.12); }
html.dark .lang-toggle { background: rgba(74, 222, 128, 0.1); color: var(--green-400); }

/* ==================== Privacy Banner ==================== */
.privacy-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
    padding: 16px 24px;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.06);
    display: flex; align-items: center; justify-content: center; gap: 16px;
    flex-wrap: wrap;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.privacy-banner.show { transform: translateY(0); }
html.dark .privacy-banner { box-shadow: 0 -4px 24px rgba(0,0,0,0.3); }
.privacy-banner-text {
    font-size: 13px; color: var(--text-secondary); max-width: 480px; line-height: 1.6;
}
.privacy-banner-text i { color: var(--green-600); margin-right: 6px; }
.privacy-banner-btn {
    padding: 8px 20px; border-radius: 10px; border: none;
    background: var(--green-600); color: white;
    font-weight: 700; font-size: 13px; cursor: pointer;
    font-family: inherit; transition: all 0.3s;
    white-space: nowrap;
}
.privacy-banner-btn:hover { background: var(--green-700); }

/* ==================== Comparison Table ==================== */
.compare-section { background: var(--bg-primary); }
.compare-table-wrapper {
    overflow-x: auto; border-radius: 20px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
}
.compare-table {
    width: 100%; border-collapse: collapse;
    font-size: 14px; min-width: 560px;
}
.compare-table thead th {
    padding: 18px 20px; text-align: left;
    font-weight: 700; font-size: 13px;
    color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-light);
    background: rgba(22, 163, 74, 0.02);
}
html.dark .compare-table thead th { background: rgba(74, 222, 128, 0.02); }
.compare-table thead th:first-child { border-radius: 20px 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 20px 0 0; }
.compare-table thead th.highlight-col {
    color: var(--green-700); background: rgba(22, 163, 74, 0.06);
}
html.dark .compare-table thead th.highlight-col { color: var(--green-400); background: rgba(74, 222, 128, 0.06); }
.compare-table tbody td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}
.compare-table tbody td:first-child {
    font-weight: 600; color: var(--text-primary);
}
.compare-table tbody td.highlight-col {
    background: rgba(22, 163, 74, 0.03); color: var(--green-700); font-weight: 600;
}
html.dark .compare-table tbody td.highlight-col { background: rgba(74, 222, 128, 0.03); color: var(--green-400); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-check { color: var(--green-500); }
.compare-cross { color: var(--text-muted); opacity: 0.4; }

/* ==================== Demo Video Area ==================== */
.demo-section { background: var(--bg-primary); }
.demo-player {
    position: relative; max-width: 380px; margin: 0 auto;
    border-radius: 28px; overflow: hidden;
    border: 1px solid var(--border-light);
    background: #0f172a;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
    aspect-ratio: 9 / 19.5;
}
html.dark .demo-player { box-shadow: 0 30px 80px rgba(0,0,0,0.4); }
.demo-player video, .demo-player img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.demo-play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.3);
    cursor: pointer; transition: background 0.3s;
}
.demo-play-overlay:hover { background: rgba(0,0,0,0.15); }
.demo-play-btn {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(255,255,255,0.9); display: flex;
    align-items: center; justify-content: center;
    font-size: 28px; color: var(--green-700);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}
.demo-play-overlay:hover .demo-play-btn { transform: scale(1.1); }
.demo-hint {
    text-align: center; margin-top: 18px;
    font-size: 13px; color: var(--text-muted);
}

/* ==================== Image lazy placeholder ==================== */
.screenshot-phone img,
.phone-screen img {
    background: linear-gradient(135deg, var(--green-50), var(--green-100));
}
html.dark .screenshot-phone img,
html.dark .phone-screen img {
    background: linear-gradient(135deg, #1a2e1e, #0c1a0e);
}

/* ==================== Google Play style badge ==================== */
.store-badge {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 10px 24px 10px 16px; border-radius: 12px;
    background: #000; color: #fff; text-decoration: none;
    transition: all 0.3s ease; border: 1.5px solid #333;
    font-family: inherit;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); border-color: #555; }
.store-badge-icon { font-size: 28px; }
.store-badge-text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.store-badge-label { font-size: 10px; color: #ccc; font-weight: 400; }
.store-badge-title { font-size: 16px; font-weight: 700; letter-spacing: -0.2px; }

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-center, .nav-right .nav-download-btn { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-meta { gap: 16px; flex-wrap: wrap; }
    .section { padding: 72px 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .screenshots-stage { height: clamp(520px, 100vw, 640px); }
    .screenshot-slide { width: min(56vw, 240px); }
    .cta-card { padding: 40px 24px; }
    .phone-mockup { width: 220px; height: 440px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-col a { justify-content: center; }
    .timeline { padding-left: 32px; }
    .timeline::before { left: 11px; }
    .timeline-dot { left: -29px; }
    .timeline-item:first-child .timeline-dot { left: -31px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .store-badge-row { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .hero-meta { gap: 12px; }
    .hero-meta-value { font-size: 20px; }
}