/* ===== CSS Variables / Theme ===== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --mark-bg: #fef3c7;
    --mark-color: #92400e;
}

[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border: #334155;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.4);
    --mark-bg: #422006;
    --mark-color: #fef3c7;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-primary);
    position: relative;
    padding: 80px 0 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stat-icon {
    font-size: 1rem;
}

/* Hero Showcase — Browser Frame */
.hero-showcase {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.browser-frame {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.browser-titlebar {
    background: var(--bg-secondary);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.browser-address {
    flex: 1;
    background: var(--bg-primary);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.browser-body {
    position: relative;
    overflow: hidden;
}

.hero-screenshots {
    position: relative;
    aspect-ratio: 16/10;
}

.hero-screenshot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-screenshot.active {
    opacity: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scroll-chevron {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
    line-height: 1;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* ===== Features Section — Alternating Layout ===== */
.features {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.feature-category {
    margin-bottom: 60px;
}

.category-label {
    display: inline-block;
    padding: 4px 16px;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
}

.feature-row.visible {
    animation: fadeInUp 0.8s ease both;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-visual {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feature-img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.feature-visual:hover .feature-img {
    transform: scale(1.02);
}

/* Architecture diagram (Engineering category) */
.architecture-diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
}
.arch-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.arch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.arch-icon { font-size: 28px; margin-bottom: 6px; }
.arch-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; color: var(--text-primary); }
.arch-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }

.feature-info {
    padding: 1rem 0;
}

.feature-icon-sm {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-info p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.feature-info kbd {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.kbd-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== Experience Section — Interactive Demos ===== */
.experience-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.demo-block {
    margin-bottom: 60px;
}

.demo-block-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.demo-block-content.reverse {
    grid-template-columns: 2fr 3fr;
    direction: rtl;
}

.demo-block-content.reverse > * {
    direction: ltr;
}

.demo-block-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.demo-bullets {
    list-style: none;
    padding: 0;
}

.demo-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.bullet-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.demo-bullets kbd {
    display: inline-block;
    padding: 1px 6px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
    font-size: 0.8rem;
}

/* ===== Search Simulator ===== */
.simulator-frame {
    animation: none;
}

.simulator {
    padding: 16px;
    background: var(--bg-primary);
}

.sim-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.sim-logo {
    width: 24px;
    height: 24px;
}

.sim-brand {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}

.sim-search-row {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.sim-input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--bg-card);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease;
}

.sim-input:focus {
    border-color: var(--accent);
}

.sim-input-sm {
    padding: 8px 10px;
    font-size: 13px;
}

.sim-sort {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
}

.sim-count {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    min-height: 18px;
}

.sim-results {
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.sim-results-sm {
    max-height: 180px;
}

.sim-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.sim-result:hover,
.sim-result.active {
    background: var(--bg-secondary);
    border-color: var(--border);
}

.sim-result.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

.sim-favicon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    background: var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-secondary);
}

.sim-result-details {
    flex: 1;
    min-width: 0;
}

.sim-result-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sim-result-url {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
}

.sim-result mark {
    background: var(--mark-bg);
    color: var(--mark-color);
    padding: 0 1px;
    border-radius: 2px;
}

.sim-footer {
    display: flex;
    gap: 16px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    margin-top: 10px;
    font-size: 11px;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.sim-footer-sm {
    gap: 12px;
}

.sim-footer kbd {
    display: inline-block;
    padding: 0 4px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
    font-size: 10px;
}

/* ===== Quick-Search Overlay Demo ===== */
.overlay-demo {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 350px;
    background: var(--bg-card);
}

.fake-page {
    padding: 24px;
    opacity: 0.3;
}

.fake-page-bar {
    height: 12px;
    background: var(--border);
    border-radius: 6px;
    margin-bottom: 20px;
    width: 40%;
}

.fake-page-line {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    margin-bottom: 12px;
}

.fake-page-line.w80 { width: 80%; }
.fake-page-line.w60 { width: 60%; }
.fake-page-line.w90 { width: 90%; }
.fake-page-line.w70 { width: 70%; }
.fake-page-line.w50 { width: 50%; }
.fake-page-line.w85 { width: 85%; }
.fake-page-line.w65 { width: 65%; }

.overlay-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 500px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translate(-50%, -55%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

/* ===== Comparison Slider ===== */
.comparison-slider {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    user-select: none;
}

.comparison-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.comparison-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-left {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.comparison-right {
    z-index: 0;
}

.comparison-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    width: 40px;
}

.handle-line {
    width: 2px;
    flex: 1;
    background: white;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.handle-grip {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #475569;
    flex-shrink: 0;
}

.comparison-labels {
    display: flex;
    justify-content: space-between;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-card);
}

/* ===== Tour Preview Strip ===== */
.tour-preview-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.tour-preview-header {
    text-align: center;
    margin-bottom: 2rem;
}

.tour-preview-header .btn {
    margin-top: 1rem;
}

.tour-strip {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 16px 0;
    scrollbar-width: thin;
    scroll-snap-type: x mandatory;
}

.tour-card {
    flex: 0 0 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.tour-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.tour-card-title {
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.tour-card-step {
    padding: 0 12px 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ===== Privacy Section ===== */
.privacy-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.privacy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.privacy-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-text p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.privacy-list {
    list-style: none;
    margin-bottom: 2rem;
}

.privacy-list li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.privacy-diagram {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.diagram-box {
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    min-width: 200px;
}

.diagram-box.disabled {
    border-color: var(--border);
    opacity: 0.5;
}

.box-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.box-label {
    font-weight: 600;
    color: var(--text-primary);
}

.diagram-arrow {
    font-size: 2rem;
    color: var(--accent);
}

.arrow-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.diagram-line {
    width: 2px;
    height: 40px;
    background: var(--border);
    position: relative;
}

.diagram-line.crossed::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #ef4444;
}

.line-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-note {
    margin-top: 1rem;
    color: var(--text-secondary);
}

.cta-note a {
    color: var(--accent);
    text-decoration: none;
}

/* ===== Screenshot Section ===== */
.screenshot-section {
    padding: 20px 0;
    background: var(--bg-primary);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

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

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

/* ===== Screenshot Film Strip ===== */
.screenshot-strip {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 12px 0;
}

.screenshot-track {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 24px;
    will-change: scroll-position;
}

.screenshot-item {
    height: 160px;
    max-height: 24vh;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    flex: 0 0 auto;
}

.screenshot-strip:hover { cursor: grab; }

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2200;
}

.lightbox.open { display: flex; }

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.lightbox-content {
    position: relative;
    max-width: 92%;
    max-height: 92%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    pointer-events: auto;
}

.lightbox-caption {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    max-width: 90%;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: white;
    font-size: 36px;
    width: 52px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
}

.lightbox-nav.prev { left: 8px; }
.lightbox-nav.next { right: 8px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .demo-block-content,
    .demo-block-content.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .privacy-content {
        grid-template-columns: 1fr;
    }

    .cta-section .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .screenshot-item { height: 110px; }

    .scroll-indicator { display: none; }

    .tour-card { flex: 0 0 180px; }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .nav-links a:not(:first-child):not(:last-child) {
        display: none;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 600px) {
    .lightbox-nav { display: none; }
    .lightbox-close { top: 8px; right: 8px; font-size: 22px; }
}
