/* ============================================
   Insigt.ai — Global Styles
   Color Palette: White, Blue (#1a56db), Grey
   Font: Inter
   ============================================ */

:root {
    --primary: #1a56db;
    --primary-dark: #1442b0;
    --primary-light: #e8effc;
    --primary-50: #f0f5ff;
    --text-dark: #111827;
    --text: #374151;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-grey: #f3f4f6;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: all 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5 { color: var(--text-dark); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: 600; }

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(26,86,219,0.3);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); box-shadow: 0 4px 12px rgba(26,86,219,0.4); }

.btn-secondary {
    background: var(--primary-light);
    color: var(--primary);
}
.btn-secondary:hover { background: #dce5f9; }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-50); }

.btn-ghost {
    background: transparent;
    color: var(--text);
}
.btn-ghost:hover { color: var(--primary); background: var(--bg-light); }

.btn-white {
    background: white;
    color: var(--primary);
}
.btn-white:hover { background: var(--bg-light); }

.btn-outline-white {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 0 0;
}

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

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo img { height: 28px; display: block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-weight: 450;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }

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

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-only { display: none; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--text-dark); margin: 5px 0; transition: var(--transition); }

/* ============================================
   Hero
   ============================================ */

.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-50) 60%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}
.hero > .container {
    max-width: 1320px;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26,86,219,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    min-height: 500px;
}
.hero-slide {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(40px);
    transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
}
.hero-slide.exiting {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-40px);
    position: absolute;
}

/* Carousel Navigation */
.hero-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}
.hero-dot {
    width: 48px;
    height: 4px;
    background: var(--border);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.hero-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 2px;
}
.hero-dot.active::after {
    animation: heroProgress 8s linear forwards;
}
@keyframes heroProgress {
    from { width: 0%; }
    to { width: 100%; }
}

.hero-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e3a5f;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.hero h1 {
    margin-bottom: 24px;
    font-size: 3.75rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1875rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero-proof-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-proof-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}
.hero-proof-label {
    font-size: 0.75rem;
    color: var(--text-lighter);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hero-proof-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}


.hero-trust { border-top: 1px solid var(--border); padding-top: 24px; }
.trust-label { font-size: 0.8125rem; color: var(--text-lighter); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.trust-logos { display: flex; gap: 32px; margin-top: 12px; flex-wrap: wrap; }
.trust-logo { font-size: 0.9375rem; font-weight: 600; color: var(--text-lighter); }

/* Dashboard Mock */
.hero-visual { position: relative; min-width: 0; }

.dashboard-mock {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.mock-dots { display: flex; gap: 6px; }
.mock-dots span { width: 10px; height: 10px; border-radius: 50%; }
.mock-dots span:nth-child(1) { background: #ef4444; }
.mock-dots span:nth-child(2) { background: #f59e0b; }
.mock-dots span:nth-child(3) { background: #22c55e; }

.mock-title { font-size: 0.8125rem; color: var(--text-light); font-weight: 500; }

.mock-body { padding: 24px; }

.mock-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }

.mock-stat {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
}

.stat-value { display: block; font-size: 1.5rem; font-weight: 700; color: var(--text-dark); }
.stat-label { display: block; font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }
.stat-change { display: block; font-size: 0.75rem; font-weight: 600; margin-top: 4px; }
.stat-change.positive { color: #22c55e; }

.mock-chart { height: 180px; display: flex; align-items: flex-end; }

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 0 8px;
}

.bar {
    flex: 1;
    background: var(--primary-light);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    min-height: 8px;
}
.bar:hover, .bar.active { background: var(--primary); }

/* Product Mockups */
.product-mockup {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    background: #faf9f7;
    font-size: 0.8125rem;
}

.mockup-sidebar {
    width: 180px;
    background: #f5f3f0;
    border-right: 1px solid var(--border);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.mockup-sidebar-brand {
    padding: 0 16px 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}

.mockup-sidebar-brand strong { font-size: 0.875rem; color: var(--text-dark); }
.mockup-sidebar-brand small { font-size: 0.6875rem; color: var(--text-lighter); display: block; }

.mockup-sidebar-item {
    padding: 8px 16px;
    color: var(--text-light);
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mockup-sidebar-item.active { color: var(--primary); font-weight: 600; }
.mockup-sidebar-item .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.mockup-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mockup-layout {
    display: flex;
    width: 100%;
}

.mockup-search {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 12px 20px;
    width: 100%;
    max-width: 420px;
    color: var(--text-lighter);
    gap: 8px;
    margin-bottom: 16px;
}

.mockup-search .send-btn {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    margin-left: auto;
    opacity: 0.6;
}

.mockup-tabs {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    font-size: 0.8125rem;
    color: var(--text-lighter);
}
.mockup-tabs span { display: flex; align-items: center; gap: 4px; }
.mockup-tabs span.active { color: var(--primary); font-weight: 600; border-bottom: 2px solid var(--primary); padding-bottom: 4px; }

/* Metric cards in mockups */
.mockup-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
}

.mockup-metric {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
}

.mockup-metric-label { font-size: 0.6875rem; color: var(--text-lighter); margin-bottom: 4px; }
.mockup-metric-value { font-size: 1.125rem; font-weight: 700; color: var(--text-dark); }
.mockup-metric-sub { font-size: 0.625rem; color: var(--text-lighter); margin-top: 2px; }

.mockup-chart-area {
    width: 100%;
    height: 120px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.mockup-chart-line {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    opacity: 0.6;
}

.mockup-chart-label {
    font-size: 0.6875rem;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

/* Segment builder mockup */
.mockup-header-bar {
    padding: 12px 20px;
    background: white;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.875rem;
}

.mockup-subheader {
    padding: 12px 20px;
    font-size: 0.8125rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
}

.mockup-tab-bar {
    display: flex;
    gap: 24px;
    padding: 0 20px;
    border-bottom: 1px solid var(--border);
    background: white;
}

.mockup-tab {
    padding: 10px 0;
    font-size: 0.8125rem;
    color: var(--text-light);
}
.mockup-tab.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

.mockup-content-area {
    padding: 20px;
    flex: 1;
}

.mockup-list-item {
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text);
}

.mockup-list-item .arrow { color: var(--text-lighter); }

.mockup-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
}
.mockup-badge.green { background: #dcfce7; color: #16a34a; }
.mockup-badge.blue { background: var(--primary-light); color: var(--primary); }

.mockup-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .mockup-layout { flex-direction: column; }
    .mockup-sidebar { width: 100%; min-height: auto; flex-direction: row; overflow-x: auto; padding: 8px; }
    .mockup-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Section Shared Styles
   ============================================ */

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-top: 12px;
    line-height: 1.7;
}

/* ============================================
   Features Overview
   ============================================ */

.features-overview {
    padding: 100px 0;
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.features-grid.features-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.feature-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: white;
}
.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.9375rem; color: var(--text-light); line-height: 1.6; }

.features-cta { text-align: center; margin-top: 48px; }

/* ============================================
   Explainer Video
   ============================================ */

.explainer-video {
    padding: 80px 0 100px;
    background: #fff;
}

.video-wrapper {
    max-width: 860px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
}

.video-wrapper video {
    width: 100%;
    display: block;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .explainer-video { padding: 60px 0 70px; }
    .video-wrapper { border-radius: 12px; }
}

/* ============================================
   How It Works
   ============================================ */

.how-it-works {
    padding: 100px 0;
    background: var(--bg-light);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 32px;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 16px;
    line-height: 1;
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.9375rem; color: var(--text-light); }
.step-substeps {
    text-align: left;
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 8px auto 0;
    padding-left: 20px;
    display: inline-block;
    line-height: 1.8;
}

.step-line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin-top: 32px;
    flex-shrink: 0;
}

/* ============================================
   Social Proof
   ============================================ */

.social-proof {
    padding: 100px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: white;
}

.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.9375rem; color: var(--text); line-height: 1.7; margin-bottom: 20px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 700;
}

.testimonial-author strong { display: block; font-size: 0.875rem; color: var(--text-dark); }
.testimonial-author span { display: block; font-size: 0.8125rem; color: var(--text-light); }

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #2563eb 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 { color: white; margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.125rem; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; }

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 64px 0 32px;
    background: var(--text-dark);
    color: rgba(255,255,255,0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo { color: white; margin-bottom: 12px; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; max-width: 280px; }

.footer-links h4 { color: white; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: white; }

.footer-social { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-social a:hover { background: rgba(255,255,255,0.15); color: white; }
.footer-contact { margin-top: 12px; }
.footer-contact a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-contact a:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8125rem;
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { transition: var(--transition); }
.footer-legal a:hover { color: white; }

/* ============================================
   Page Header (inner pages)
   ============================================ */

.page-header {
    padding: 140px 0 60px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--primary-50) 100%);
    text-align: center;
}

.page-header h1 { font-size: 2.75rem; margin-bottom: 16px; }
.page-header p { font-size: 1.125rem; color: var(--text-light); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ============================================
   Content Sections (inner pages)
   ============================================ */

.content-section {
    padding: 80px 0;
}
.content-section:nth-child(even) { background: var(--bg-light); }


.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.content-row.reverse { direction: rtl; }
.content-row.reverse > * { direction: ltr; }

.content-text h2 { font-size: 1.75rem; margin-bottom: 16px; }
.content-text p { color: var(--text-light); margin-bottom: 16px; line-height: 1.7; }

.content-list { margin-top: 20px; }
.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: var(--text);
}
.content-list .check {
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.visual-placeholder {
    background: var(--bg-grey);
    border-radius: var(--radius-xl);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border: 1px solid var(--border);
}

.visual-placeholder-inner {
    text-align: center;
    color: var(--text-lighter);
}

/* Detail Grid */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.detail-card {
    padding: 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.detail-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.detail-card h4 { margin-bottom: 8px; color: var(--text-dark); }
.detail-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.faq-item {
    padding: 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.faq-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.faq-question {
    margin: 0 0 12px;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}
.faq-answer {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 60px 0;
}

.stat-block { text-align: center; }
.stat-block .stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary); display: block; }
.stat-block .stat-desc { font-size: 0.875rem; color: var(--text-light); margin-top: 4px; }

/* ============================================
   Pricing Page
   ============================================ */

.pricing-section { padding: 80px 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: white;
    position: relative;
    transition: var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin: 16px 0 4px; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.pricing-card .price-desc { font-size: 0.875rem; color: var(--text-light); margin-bottom: 24px; }

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}
.pricing-features li {
    padding: 8px 0;
    font-size: 0.9375rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
}

.pricing-card .btn { width: 100%; }

.pricing-note {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* ============================================
   Login Page
   ============================================ */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    padding-top: 72px;
}

.login-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    border: 1px solid var(--border);
}

.login-card .logo {
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.login-card .login-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 32px;
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
    color: var(--text-dark);
}
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-input::placeholder { color: var(--text-lighter); }
.form-hint { display: block; font-size: 0.8rem; color: var(--text-lighter); margin-top: 4px; }

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.form-row label { display: flex; align-items: center; gap: 8px; color: var(--text-light); cursor: pointer; }
.form-row a { color: var(--primary); font-weight: 500; }

.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    font-size: 0.8125rem;
    color: var(--text-lighter);
}
.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.btn-sso {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    color: var(--text);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.btn-sso:hover { background: var(--bg-light); border-color: var(--text-lighter); }

.login-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-light);
}
.login-footer a { color: var(--primary); font-weight: 500; }

/* ============================================
   Hero Cinema Animation
   ============================================ */

.hero-cinema {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    background: var(--bg-white);
    width: 100%;
}

.cinema-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.cinema-dots { display: flex; gap: 6px; }
.cinema-dots span { width: 10px; height: 10px; border-radius: 50%; }
.cinema-dots span:nth-child(1) { background: #ef4444; }
.cinema-dots span:nth-child(2) { background: #f59e0b; }
.cinema-dots span:nth-child(3) { background: #22c55e; }

.cinema-url {
    flex: 1;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--text-light);
    font-family: 'Inter', monospace;
    transition: color 0.3s ease;
}

.cinema-viewport {
    position: relative;
    height: 480px;
    overflow: hidden;
    width: 100%;
}

/* ============================================
   Cinema Mock — Platform UI replica (cm-* namespace)
   ============================================ */

.cm-layout {
    display: flex;
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    background: #ffffff;
    color: #374151;
    /* Cinematic zoom + pan — smoothly drifts toward the text input */
    transform-origin: 50% 50%;
    transition: transform 2s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}
.cm-layout.zoomed {
    transform: scale(1.13) translateX(-10%) translateY(-3%);
}

/* --- Sidebar --- */
.cm-sidebar {
    width: 180px;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
}

.cm-sidebar-header {
    padding: 14px 14px 10px;
    border-bottom: 1px solid #e5e7eb;
}

.cm-logo {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}
.cm-logo-icon { color: #1565C0; font-weight: 700; }
.cm-logo-dot { color: #1565C0; }
.cm-logo-sub { font-size: 10px; color: #9ca3af; font-weight: 400; margin-top: 1px; }

.cm-sidebar-nav {
    flex: 1;
    padding: 10px 10px 0;
}

.cm-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}
.cm-nav-new-chat { color: #2563eb; font-weight: 500; }
.cm-nav-icon { width: 14px; height: 14px; flex-shrink: 0; }

.cm-sidebar-footer {
    padding: 8px 10px;
    border-top: 1px solid #e5e7eb;
}
.cm-nav-bottom { font-size: 11px; padding: 5px 10px; }
.cm-nav-logout { color: #9ca3af; }

/* --- Main area --- */
.cm-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
}

.cm-header {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}
.cm-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #111827;
}
.cm-header-icon { width: 14px; height: 14px; color: #6b7280; }
.cm-header-link { color: #9ca3af; font-weight: 400; }

/* --- Content: centered input + tabs --- */
.cm-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.cm-input-area {
    width: 100%;
    max-width: 480px;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* After response, smoothly shift content up so response is visible */
.cm-content.has-response .cm-input-area {
    transform: translateY(-35px);
}

.cm-input-wrapper {
    position: relative;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 14px 50px 14px 18px;
    display: flex;
    align-items: center;
    min-height: 48px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cm-input-wrapper.focused {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cm-input-text {
    font-size: 15px;
    color: #111827;
    display: flex;
    align-items: center;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.cm-input-placeholder {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #9ca3af;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.cm-input-placeholder.hidden { opacity: 0; }

.cm-cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    background: #111827;
    margin-left: 1px;
    flex-shrink: 0;
    opacity: 0;
}
.cm-cursor.visible {
    animation: cmBlink 0.8s step-end infinite;
}
@keyframes cmBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cm-send-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.2s ease;
    cursor: default;
    padding: 0;
}
.cm-send-btn svg { width: 16px; height: 16px; }
.cm-send-btn.ready { opacity: 1; }
.cm-send-btn.pressed { transform: translateY(-50%) scale(0.85); }

/* --- Response card (appears after send) --- */
.cm-response {
    margin-top: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.cm-response.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cm-response-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}
.cm-response-icon { width: 14px; height: 14px; color: #2563eb; }

.cm-response-chart {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cm-chart-row {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 20px;
}
.cm-chart-label {
    width: 65px;
    font-size: 10px;
    color: #6b7280;
    text-align: right;
    flex-shrink: 0;
    font-family: 'Inter', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cm-chart-track {
    flex: 1;
    height: 16px;
    min-width: 0;
}
.cm-chart-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 3px;
}
.cm-chart-val {
    font-size: 10px;
    font-weight: 600;
    color: #111827;
    width: 52px;
    flex-shrink: 0;
    text-align: right;
    font-family: 'Inter', monospace;
}

.cm-response-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}
.cm-confidence {
    font-size: 10px;
    font-weight: 500;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 10px;
}
.cm-confidence-medium {
    color: #d97706;
    background: #fffbeb;
}
.cm-response-meta {
    font-size: 10px;
    color: #9ca3af;
}

/* --- Analyze cinema: Product-like response --- */
.cm-ar { display: flex; flex-direction: column; gap: 6px; }

.cm-ar-narrative {
    font-size: 11px; line-height: 1.5; color: #374151;
}
.cm-ar-narrative strong { color: #111827; font-weight: 600; }

.cm-ar-sorted {
    font-size: 9px; color: #9ca3af; font-style: italic;
}

.cm-ar-insights {
    background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px;
    padding: 8px 10px; margin-top: 2px;
}
.cm-ar-insights-header {
    display: flex; align-items: center; gap: 5px;
    font-size: 9px; font-weight: 600; color: #6b7280;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.cm-ar-insights-icon { width: 12px; height: 12px; color: #f59e0b; }

.cm-ar-insight-card {
    display: flex; align-items: flex-start; gap: 6px;
    padding: 4px 6px; margin-bottom: 3px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 6px;
    font-size: 9px; line-height: 1.4; color: #374151;
}
.cm-ar-insight-card:last-child { margin-bottom: 0; }
.cm-ar-insight-icon { width: 10px; height: 10px; flex-shrink: 0; color: #3b82f6; margin-top: 1px; }

.cm-ar-tabs {
    display: flex; gap: 0; border: 1px solid #e5e7eb; border-radius: 6px;
    overflow: hidden; margin-top: 2px;
}
.cm-ar-tab {
    flex: 1; text-align: center; font-size: 9px; font-weight: 500;
    padding: 4px 6px; color: #6b7280; background: #fff;
    border-right: 1px solid #e5e7eb; cursor: default;
    white-space: nowrap;
}
.cm-ar-tab:last-child { border-right: none; }
.cm-ar-tab-active { color: #2563eb; background: #eff6ff; font-weight: 600; }
.cm-ar-tab-badge {
    display: inline-block; font-size: 8px; font-weight: 600;
    background: #2563eb; color: #fff; padding: 0 4px;
    border-radius: 8px; margin-left: 2px; line-height: 1.4;
}

.cm-ar-footer {
    display: flex; align-items: center; gap: 8px;
    padding-top: 6px; border-top: 1px solid #f3f4f6;
    margin-top: 2px;
}
.cm-ar-footer-icon { width: 10px; height: 10px; flex-shrink: 0; }

.cm-ar-time {
    display: flex; align-items: center; gap: 3px;
    font-size: 9px; color: #9ca3af;
}
.cm-ar-conf {
    display: flex; align-items: center; gap: 3px;
    font-size: 9px; font-weight: 500; padding: 1px 6px;
    border-radius: 8px;
}
.cm-ar-conf-high { color: #059669; background: #ecfdf5; }
.cm-ar-conf-med { color: #d97706; background: #fffbeb; }

.cm-ar-sources {
    font-size: 9px; color: #9ca3af;
}
.cm-ar-actions {
    display: flex; align-items: center; gap: 4px; margin-left: auto;
}
.cm-ar-action-icon { width: 11px; height: 11px; color: #9ca3af; }

.cm-ar-related {
    display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px;
}
.cm-ar-related-pill {
    font-size: 8px; padding: 2px 8px; border-radius: 10px;
    background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb;
    white-space: nowrap;
}

/* --- Segment cinema: Visual Builder mockup --- */
.cm-vb { display: flex; flex-direction: column; gap: 8px; }

.cm-vb-details {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 10px;
}
.cm-vb-detail-label { font-size: 8px; font-weight: 500; color: #6b7280; margin-bottom: 2px; }
.cm-vb-detail-val { font-size: 11px; font-weight: 600; color: #111827; }

.cm-vb-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 0;
}
.cm-vb-bar-label { font-size: 9px; color: #6b7280; font-weight: 500; white-space: nowrap; }
.cm-vb-pill {
    font-size: 8px; font-weight: 500; padding: 2px 8px; border-radius: 10px;
    border: 1px solid #e5e7eb; color: #6b7280; background: #fff;
}
.cm-vb-pill-active {
    border-color: #3b82f6; color: #3b82f6; background: #eff6ff; font-weight: 600;
}

.cm-vb-group {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px 10px;
}
.cm-vb-group-header {
    display: flex; align-items: center; gap: 6px;
    font-size: 9px; font-weight: 600; color: #374151; margin-bottom: 6px;
}
.cm-vb-and-badge {
    font-size: 7px; font-weight: 700; color: #3b82f6; background: #dbeafe;
    padding: 1px 5px; border-radius: 3px; text-transform: uppercase;
}

.cm-vb-rule {
    display: flex; align-items: center; gap: 0;
    border: 1px solid #e5e7eb; border-radius: 6px; overflow: hidden;
    font-size: 9px; background: #f9fafb;
}
.cm-vb-field {
    padding: 4px 8px; font-weight: 600; color: #1e293b;
    background: #f3f4f6; border-right: 1px solid #e5e7eb; white-space: nowrap;
}
.cm-vb-op {
    padding: 4px 6px; color: #6b7280; font-weight: 500;
    border-right: 1px solid #e5e7eb; white-space: nowrap;
}
.cm-vb-val {
    padding: 4px 8px; color: #111827; font-weight: 500; flex: 1;
}

.cm-vb-rule-connector {
    display: flex; align-items: center; padding: 2px 0 2px 4px;
}

/* --- Category tabs --- */
.cm-category-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.cm-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: default;
    white-space: nowrap;
}
.cm-tab-active { color: #2563eb; border-bottom-color: #2563eb; }
.cm-tab-icon { width: 13px; height: 13px; }

/* --- Responsive mock --- */
@media (max-width: 768px) {
    .cm-sidebar { display: none; }
}
@media (max-width: 480px) {
    .cm-tab-icon { display: none; }
    .cm-tab { padding: 6px 8px; font-size: 10px; }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    .hero h1 { font-size: 3rem; }
    .hero-slide { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 560px; margin-left: 0; }
    .hero-proof { gap: 20px; }
    .hero-carousel { min-height: auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid.features-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
    .detail-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .content-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.25rem; }
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 1.75rem; }

    /* Mobile nav */
    .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); gap: 0; z-index: 999; }
    .nav-links.active { display: flex; }
    .nav-links li { padding: 12px 0; border-bottom: 1px solid var(--border-light); }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links .mobile-only { display: list-item; }
    .nav-actions { gap: 8px; }
    .nav-actions .btn-ghost { display: none; }
    .nav-actions .btn-primary { font-size: 0.8125rem; padding: 8px 14px; }
    .mobile-toggle { display: block; }

    /* Section spacing */
    .hero { padding: 120px 0 60px; }
    .page-header { padding: 100px 0 40px; }
    .page-header h1 { font-size: 2rem; }
    .content-section { padding: 48px 0; }
    .features-overview { padding: 60px 0; }
    .how-it-works { padding: 60px 0; }
    .social-proof { padding: 60px 0; }
    .cta-section { padding: 48px 0; }
    .demo-section { padding: 48px 0; }
    .section-header { margin-bottom: 32px; }

    /* Grids */
    .features-grid { grid-template-columns: 1fr; }
    .features-grid.features-grid-4 { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; margin-top: 32px; }
    .stats-row { grid-template-columns: 1fr; gap: 16px; padding: 32px 0; }
    .content-row { gap: 32px; }

    /* Steps */
    .steps-grid { flex-direction: column; gap: 32px; }
    .step-line { width: 2px; height: 40px; margin: 0 auto; }
    .step { padding: 0 16px; }

    /* Hero */
    .hero-ctas { flex-direction: column; }
    .hero-proof { gap: 16px; flex-wrap: wrap; }
    .hero-proof-number { font-size: 1.25rem; }
    .hero-proof-divider { height: 24px; }
    .hero-subtitle { font-size: 1rem; }

    /* Cinema mock */
    .cinema-viewport { height: 320px; }

    /* CTA + Footer */
    .cta-buttons { flex-direction: column; align-items: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .mock-stat-row { grid-template-columns: 1fr; }

    /* Login */
    .login-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    h1 { font-size: 1.875rem; }
    .hero h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .hero { padding: 100px 0 48px; }
    .page-header { padding: 88px 0 32px; }
    .page-header h1 { font-size: 1.75rem; }
    .content-section { padding: 36px 0; }
    .feature-card { padding: 24px; }
    .testimonial-card { padding: 24px; }
    .detail-card { padding: 20px; }
    .faq-item { padding: 20px; }
    .login-card { padding: 24px 16px; }
    .cinema-viewport { height: 260px; }
    .demo-content h2 { font-size: 1.5rem; }
    .cta-content h2 { font-size: 1.5rem; }
    .btn-lg { padding: 12px 20px; font-size: 0.9375rem; }
    .stat-block .stat-number { font-size: 2rem; }
}

/* ============================================
   Product Mockups (CSS-based UI previews)
   ============================================ */

.product-mockup {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    font-size: 13px;
    min-height: 320px;
}

.mockup-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}
.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}
.mockup-dots span:first-child { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:last-child { background: #22c55e; }

.mockup-url {
    flex: 1;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--text-light);
}

.mockup-layout {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 200px;
    background: #1e293b;
    padding: 16px 0;
    flex-shrink: 0;
    color: rgba(255,255,255,0.7);
}

.mockup-sidebar-logo {
    padding: 0 16px 16px;
    font-weight: 700;
    font-size: 14px;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 8px;
}

.mockup-nav-item {
    padding: 8px 16px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}
.mockup-nav-item.active {
    background: rgba(255,255,255,0.1);
    color: white;
    font-weight: 500;
}
.mockup-nav-icon {
    width: 16px;
    height: 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    flex-shrink: 0;
}
.mockup-nav-item.active .mockup-nav-icon {
    background: var(--primary);
}

.mockup-main {
    flex: 1;
    padding: 20px;
    background: var(--bg-light);
    overflow: hidden;
}

.mockup-page-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.mockup-page-desc {
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.mockup-search {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--border);
}
.mockup-tab {
    padding: 8px 14px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: default;
}
.mockup-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.mockup-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.mockup-metric {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
}
.mockup-metric-label {
    font-size: 10px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.mockup-metric-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}
.mockup-metric-change {
    font-size: 10px;
    margin-top: 2px;
}
.mockup-metric-change.up { color: #22c55e; }
.mockup-metric-change.down { color: #ef4444; }

.mockup-chart-area {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.mockup-chart-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.mockup-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 80px;
    padding-top: 8px;
}
.mockup-bar {
    flex: 1;
    background: var(--primary);
    border-radius: 3px 3px 0 0;
    min-width: 12px;
    opacity: 0.7;
}

.mockup-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
}

.mockup-list-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.mockup-list-content { flex: 1; }
.mockup-list-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}
.mockup-list-desc {
    font-size: 10px;
    color: var(--text-light);
}

.mockup-badge {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
}
.mockup-badge.green { background: #dcfce7; color: #16a34a; }
.mockup-badge.blue { background: #dbeafe; color: #2563eb; }
.mockup-badge.yellow { background: #fef3c7; color: #d97706; }

.mockup-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

.mockup-segment-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 8px;
}
.mockup-segment-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.mockup-segment-meta {
    font-size: 10px;
    color: var(--text-light);
    display: flex;
    gap: 12px;
}

.mockup-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.mockup-setting-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
}
.mockup-setting-value {
    font-size: 12px;
    color: var(--text-light);
}
.mockup-toggle {
    width: 36px;
    height: 20px;
    background: var(--primary);
    border-radius: 10px;
    position: relative;
}
.mockup-toggle::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
}

.mockup-table {
    width: 100%;
    border-collapse: collapse;
}
.mockup-table th {
    text-align: left;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    padding: 8px 10px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}
.mockup-table td {
    padding: 8px 10px;
    font-size: 12px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}

/* Hero animated mockup enhancements */
.mockup-sidebar-section {
    padding: 4px 16px;
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}
.mockup-sidebar-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 8px 16px;
}
.mockup-sidebar-label {
    padding: 4px 16px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.3);
    margin-top: 4px;
}
.mockup-nav-item.recent-item {
    font-size: 11px;
    padding: 6px 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(255,255,255,0.5);
}
.mockup-sidebar-spacer {
    flex: 1;
    min-height: 20px;
}
.mockup-nav-item.bottom-nav {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 0;
}
.hero-mockup-animated .mockup-sidebar {
    display: flex;
    flex-direction: column;
}
.hero-mockup-animated .mockup-layout {
    min-height: 420px;
}
.hero-mockup-animated {
    min-height: auto;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes countUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.hero-metric-anim {
    animation: countUp 0.4s ease forwards;
}

/* ============================================
   Live Product Embed (iframe with browser chrome)
   ============================================ */

.live-embed {
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: var(--bg-white);
}

.live-embed-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.live-embed-dots {
    display: flex;
    gap: 6px;
}
.live-embed-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.live-embed-dots span:nth-child(1) { background: #ef4444; }
.live-embed-dots span:nth-child(2) { background: #f59e0b; }
.live-embed-dots span:nth-child(3) { background: #22c55e; }

.live-embed-url {
    flex: 1;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--text-light);
    font-family: 'Inter', monospace;
}

.live-embed iframe {
    display: block;
    width: 100%;
    border: none;
    background: white;
}

/* Hero embed — taller with animation overlay option */
.live-embed.hero-embed iframe {
    height: 420px;
    width: calc(100% + 360px);
    transform: translateX(-255px);
    transform-origin: top left;
}

/* Standard content embed */
.live-embed.content-embed iframe {
    height: 380px;
}

/* Small embed for side-by-side layouts */
.live-embed.compact-embed iframe {
    height: 320px;
}

/* Pointer-events overlay to prevent iframe interaction on marketing site */
.live-embed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    cursor: default;
}

.live-embed-wrapper {
    position: relative;
    overflow: hidden;
}

/* Screenshot-based product preview (replaces iframe embeds) */
.live-embed img {
    display: block;
    width: 100%;
    height: auto;
    background: white;
}

.live-embed.content-embed img {
    max-height: 380px;
    object-fit: cover;
    object-position: top left;
}

.live-embed.hero-embed img {
    max-height: 420px;
    object-fit: cover;
    object-position: top left;
}

/* Mockup responsive */
@media (max-width: 1024px) {
    .mockup-sidebar { width: 160px; }
    .mockup-metrics { grid-template-columns: repeat(2, 1fr); }
    .live-embed.hero-embed iframe {
        height: 360px;
        width: calc(100% + 280px);
        transform: translateX(-195px);
    }
    .live-embed.content-embed iframe { height: 320px; }
}
@media (max-width: 768px) {
    .mockup-sidebar { display: none; }
    .mockup-metrics { grid-template-columns: 1fr; }
    .live-embed.hero-embed iframe {
        height: 300px;
        width: calc(100% + 170px);
        transform: translateX(-115px);
    }
    .live-embed.content-embed iframe { height: 280px; }
    .live-embed.compact-embed iframe { height: 240px; }

}

/* ============================================
   Demo Request Section
   ============================================ */

.demo-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.demo-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.demo-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.demo-content > p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-form-row {
    display: flex;
    gap: 16px;
}

.demo-form-row .form-input {
    flex: 1;
}

.demo-form .btn {
    margin-top: 8px;
    align-self: center;
    min-width: 200px;
}

.demo-thanks {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    padding: 24px 0;
}
.demo-nudge {
    margin-top: 16px;
    padding: 12px 20px;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    color: #92400e;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.demo-nudge.visible {
    opacity: 1;
    transform: translateY(0);
}
.demo-nudge-icon {
    margin-right: 4px;
}

@media (max-width: 600px) {
    .demo-form-row {
        flex-direction: column;
    }
}

/* ============================================
   Demo Page — Loom-Style Gated Viewer
   ============================================ */

.demo-page {
    background: #f8fafc;
    min-height: 100vh;
}
.demo-page.in-iframe,
html.in-iframe,
html.in-iframe body {
    background: transparent !important;
    min-height: 0 !important;
}
.demo-page.in-iframe .demo-gate,
html.in-iframe .demo-gate {
    background: transparent !important;
}
.demo-page.in-iframe .demo-gate-bg,
html.in-iframe .demo-gate-bg {
    display: none !important;
}

/* ---- Gate Overlay ---- */
.demo-gate {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.demo-gate-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8effc 50%, #f0f5ff 100%);
}

.demo-gate-card {
    position: relative;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
    animation: gateSlideUp 0.5s ease-out;
}

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

.demo-gate-logo {
    display: inline-block;
    margin-bottom: 28px;
}

.demo-gate-preview {
    position: relative;
    background: #f9fafb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    aspect-ratio: 16/10;
    border: 1px solid var(--border);
}

.demo-gate-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.demo-gate-thumb-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #f3f4f6;
    border-bottom: 1px solid var(--border);
}

.demo-gate-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
}
.demo-gate-dot:first-child { background: #ff5f57; }
.demo-gate-dot:nth-child(2) { background: #ffbd2e; }
.demo-gate-dot:nth-child(3) { background: #28c840; }

.demo-gate-url {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-lighter);
    font-family: 'Inter', monospace;
}

.demo-gate-thumb-body {
    flex: 1;
    display: flex;
    gap: 0;
}

.demo-gate-thumb-sidebar {
    width: 18%;
    background: var(--bg-white);
    border-right: 1px solid var(--border);
}

.demo-gate-thumb-main {
    flex: 1;
    padding: 12% 8%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--bg-light);
}

.demo-gate-thumb-input {
    height: 10%;
    background: var(--bg-white);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.demo-gate-thumb-line {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
}
.demo-gate-thumb-line.w80 { width: 80%; }
.demo-gate-thumb-line.w60 { width: 60%; }

.demo-gate-thumb-cards {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.demo-gate-thumb-card {
    flex: 1;
    height: 32px;
    background: var(--bg-white);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.demo-gate-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(26,86,219,0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.demo-gate-play svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}
.demo-gate-card:hover .demo-gate-play {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 12px 32px rgba(26,86,219,0.6);
}

.demo-gate-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 4px;
}

.demo-gate-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.demo-gate-desc {
    font-size: 0.925rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.5;
}

.demo-gate-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.demo-gate-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: border-color 0.2s ease;
}
.demo-gate-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.demo-gate-btn {
    width: 100%;
    margin-top: 4px;
}

.demo-gate-privacy {
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-top: 12px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.demo-gate.hidden {
    display: none;
}

/* ---- Demo Viewer ---- */
.demo-viewer {
    display: none;
    flex-direction: column;
    min-height: 100vh;
}

.demo-viewer.visible {
    display: flex;
}

/* Top bar */
.demo-topbar {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.demo-topbar-logo img {
    /* no filter needed on light bg */
}

.demo-topbar-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 24px;
}

.demo-topbar-badge {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-light);
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.demo-topbar-time {
    font-size: 0.8rem;
    color: var(--text-lighter);
}

.demo-topbar-actions {
    margin-left: auto;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8125rem;
}

/* Player wrap (player + chapters) */
.demo-player-wrap {
    display: flex;
    gap: 0;
    max-width: 1200px;
    width: 100%;
    margin: 32px auto 0;
    padding: 0 24px;
}

/* Main player */
.demo-player {
    flex: 1;
    background: var(--bg-white);
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    border: 1px solid var(--border);
    border-right: none;
    box-shadow: var(--shadow-lg);
}

/* Progress bar */
.demo-progress {
    height: 4px;
    background: var(--border);
    position: relative;
    cursor: pointer;
}

.demo-progress-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.3s linear;
}

.demo-progress-marker {
    position: absolute;
    top: -4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: 2px solid var(--bg-white);
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    transition: background 0.2s ease;
}
.demo-progress-marker.reached { background: var(--primary); }

/* Stage — chapter content */
.demo-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.demo-chapter-content {
    width: 100%;
    max-width: 640px;
    text-align: center;
    animation: chapterFadeIn 0.6s ease-out;
}

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

.demo-chapter-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(26,86,219,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.demo-chapter-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.demo-chapter-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Cinema embed inside demo stage — matches platform light theme */
.demo-cinema {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.demo-cinema-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.demo-cinema-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.demo-cinema-dot:nth-child(1) { background: #ff5f57; }
.demo-cinema-dot:nth-child(2) { background: #ffbd2e; }
.demo-cinema-dot:nth-child(3) { background: #28c840; }

.demo-cinema-url {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-lighter);
}

.demo-cinema-body {
    padding: 24px;
    min-height: 200px;
}

/* Typing animation in demo cinema */
.demo-cinema-query {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--text-dark);
    min-height: 40px;
}

.demo-cinema-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: var(--primary);
    animation: demoBlink 0.8s steps(2) infinite;
}

@keyframes demoBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.demo-cinema-send {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}
.demo-cinema-send.ready { opacity: 1; }
.demo-cinema-send svg {
    width: 14px;
    height: 14px;
    color: white;
}

.demo-cinema-response {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.demo-cinema-response.visible {
    opacity: 1;
    transform: translateY(0);
}

.demo-cinema-narrative {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 12px;
}

.demo-cinema-insight {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    margin-bottom: 6px;
    font-size: 0.8rem;
    color: var(--text);
}

.demo-cinema-insight-icon {
    width: 14px;
    height: 14px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.demo-cinema-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-lighter);
}

.demo-cinema-conf {
    color: #059669;
    font-weight: 500;
}

/* Segment builder response */
.demo-cinema-segment {
    font-size: 0.85rem;
}

.demo-cinema-seg-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.demo-cinema-seg-desc {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.demo-cinema-seg-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.demo-cinema-seg-label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.demo-cinema-seg-pill {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    background: var(--bg-grey);
    color: var(--text-light);
    border: 1px solid var(--border);
}
.demo-cinema-seg-pill.active {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(26,86,219,0.3);
}

.demo-cinema-seg-rule {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 4px;
    font-size: 0.8rem;
}

.demo-cinema-seg-field {
    color: var(--text-dark);
    font-weight: 500;
}
.demo-cinema-seg-op {
    color: var(--text-lighter);
    font-style: italic;
}
.demo-cinema-seg-val {
    color: var(--primary);
    font-weight: 500;
}

.demo-cinema-seg-and {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #d97706;
    padding: 2px 0;
}

/* Player controls */
.demo-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.demo-ctrl-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.demo-ctrl-btn:hover {
    background: var(--bg-grey);
    color: var(--text-dark);
}

.demo-ctrl-play {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
}
.demo-ctrl-play:hover {
    background: var(--primary-dark);
    color: white;
}

.demo-chapter-label {
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-left: auto;
}

/* Chapters sidebar */
.demo-chapters {
    width: 280px;
    background: var(--bg-white);
    border-radius: 0 16px 16px 0;
    border: 1px solid var(--border);
    border-left: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-lg);
}

.demo-chapters-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.demo-chapter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    border: 1px solid transparent;
}
.demo-chapter-item:hover {
    background: var(--bg-light);
}
.demo-chapter-item.active {
    background: var(--primary-light);
    border: 1px solid rgba(26,86,219,0.2);
}
.demo-chapter-item.completed .demo-chapter-num {
    background: var(--primary);
    color: white;
}

.demo-chapter-num {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg-grey);
    color: var(--text-lighter);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.demo-chapter-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.demo-chapter-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
}

.demo-chapter-dur {
    font-size: 0.75rem;
    color: var(--text-lighter);
}

/* Demo info section */
.demo-info {
    max-width: 1200px;
    width: 100%;
    margin: 32px auto 0;
    padding: 0 24px 32px;
}

.demo-info-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.demo-info-desc {
    font-size: 0.925rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 720px;
}

/* Bottom CTA */
.demo-cta {
    background: linear-gradient(135deg, #1a56db 0%, #1442b0 100%);
    margin: 32px 24px;
    border-radius: 16px;
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
}

.demo-cta-content {
    text-align: center;
    padding: 56px 40px;
}

.demo-cta-content h2 {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 12px;
}

.demo-cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.demo-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.demo-cta .btn-primary {
    background: white;
    color: var(--primary);
    border-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.demo-cta .btn-primary:hover {
    background: #f1f5f9;
}

.demo-cta .btn-outline {
    color: white;
    border-color: rgba(255,255,255,0.4);
}
.demo-cta .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Demo footer */
.demo-footer {
    text-align: center;
    padding: 24px;
    color: var(--text-lighter);
    font-size: 0.85rem;
}
.demo-footer a {
    color: var(--text-light);
    text-decoration: underline;
}
.demo-footer a:hover {
    color: var(--primary);
}

/* ---- Demo CTA Card Grid ---- */
.demo-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
    max-width: 520px;
    margin: 0 auto;
}
.demo-cta-card {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.demo-cta-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.08);
}
.demo-cta-card-icon {
    color: var(--primary);
    margin-bottom: 8px;
}
.demo-cta-card-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.demo-cta-card-desc {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* ---- Demo Replay Overlay ---- */
.demo-replay-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    border-radius: 12px;
}
.demo-replay-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease;
}
.demo-replay-overlay:hover .demo-replay-btn {
    transform: scale(1.05);
}

/* ---- Demo Mute Button ---- */
.demo-ctrl-mute {
    opacity: 0.6;
    transition: opacity 0.2s ease;
}
.demo-ctrl-mute:hover {
    opacity: 1;
}

/* ---- Demo Page Responsive ---- */
@media (max-width: 900px) {
    .demo-player-wrap {
        flex-direction: column;
    }
    .demo-player {
        border-radius: 16px 16px 0 0;
    }
    .demo-chapters {
        width: 100%;
        border-radius: 0 0 16px 16px;
        flex-direction: row;
        flex-wrap: wrap;
        padding: 12px;
    }
    .demo-chapters-title {
        width: 100%;
    }
    .demo-chapter-item {
        flex: 1;
        min-width: 140px;
    }
}

@media (max-width: 600px) {
    .demo-gate-card {
        padding: 28px 20px;
    }
    .demo-chapter-heading {
        font-size: 1.35rem;
    }
    .demo-stage {
        padding: 24px 16px;
    }
    .demo-cta-grid {
        grid-template-columns: 1fr;
    }
    .demo-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .demo-topbar-info {
        display: none;
    }
}

/* ============================================
   Demo Modal Overlay (index.html → iframe)
   ============================================ */
.demo-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.88);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.demo-modal-overlay.active {
    display: flex;
    animation: demoModalIn 0.3s ease;
}
@keyframes demoModalIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Wrapper so the close button stays anchored to the iframe box */
.demo-modal-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1200px;
    max-height: 90vh;
}
.demo-modal-close {
    position: absolute;
    top: -32px;
    right: -32px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.18);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}
.demo-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}
.demo-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    background: transparent;
}
@media (max-width: 768px) {
    .demo-modal-overlay {
        padding: 0;
    }
    .demo-modal-wrap {
        max-width: 100%;
        max-height: 100%;
    }
    .demo-modal-iframe {
        border-radius: 0;
    }
    .demo-modal-close {
        top: 8px;
        right: 8px;
    }
}

/* ============================================
   Demo Tour — Light Theme Player
   ============================================ */

.demo-tour-page {
    --dm-bg: #ffffff;
    --dm-bg-surface: #f8fafc;
    --dm-bg-elevated: #ffffff;
    --dm-bg-controls: rgba(255, 255, 255, 0.92);
    --dm-text: #1e293b;
    --dm-text-muted: #475569;
    --dm-text-dim: #94a3b8;
    --dm-border: rgba(0, 0, 0, 0.08);
    --dm-accent: #1a56db;
    --dm-accent-glow: rgba(26, 86, 219, 0.2);

    background: var(--dm-bg);
    min-height: 100vh;
    color: var(--dm-text);
    font-family: 'Inter', -apple-system, sans-serif;
}

/* ---- Gate ---- */
.demo-tour-page .demo-gate { background: var(--dm-bg); }
.demo-tour-page .demo-gate-bg { background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%); }
.demo-tour-page .demo-gate-card {
    background: #fff;
    border: 1px solid var(--dm-border);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
}
.demo-tour-page .demo-gate-preview {
    position: relative;
    background: var(--dm-bg-surface);
}
.demo-tour-page .demo-gate-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    border-radius: inherit;
    z-index: 1;
}
.demo-tour-page .demo-gate-play {
    width: 80px;
    height: 80px;
    z-index: 2;
    animation: tourGatePulse 2s ease-in-out infinite;
}
@keyframes tourGatePulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--dm-accent-glow); }
    50% { box-shadow: 0 0 0 18px rgba(26, 86, 219, 0); }
}
.demo-tour-page .demo-gate-thumb-bar {
    background: #f1f5f9;
    border-bottom: 1px solid var(--dm-border);
}
.demo-tour-page .demo-gate-thumb-body { background: #f8fafc; }
.demo-tour-page .demo-gate-thumb-sidebar { background: #f1f5f9; }
.demo-tour-page .demo-gate-thumb-main { background: transparent; }
.demo-tour-page .demo-gate-thumb-input { background: #e2e8f0; }
.demo-tour-page .demo-gate-thumb-line { background: #e2e8f0; }
.demo-tour-page .demo-gate-thumb-card { background: #e2e8f0; }
.demo-tour-page .demo-gate-title { color: var(--dm-text); }
.demo-tour-page .demo-gate-desc { color: var(--dm-text-muted); }
.demo-tour-page .demo-gate-input {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--dm-text);
}
.demo-tour-page .demo-gate-input::placeholder { color: var(--dm-text-dim); }
.demo-tour-page .demo-gate-input:focus {
    border-color: var(--dm-accent);
    box-shadow: 0 0 0 3px var(--dm-accent-glow);
    outline: none;
}
.demo-tour-page .demo-gate-privacy { color: var(--dm-text-dim); }
.demo-tour-page .demo-gate-duration { color: var(--dm-text-muted); }

/* ---- Viewer ---- */
.demo-tour-page .demo-viewer { background: var(--dm-bg); }

/* ---- Top bar ---- */
.demo-tour-page .demo-topbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dm-border);
}
.demo-tour-page .demo-topbar-title {
    font-size: 0.85rem;
    color: var(--dm-text-muted);
    margin-left: 16px;
    font-weight: 500;
}
.demo-tour-page .demo-topbar-badge {
    background: #f1f5f9;
    color: var(--dm-text-muted);
    border: 1px solid var(--dm-border);
}
.demo-tour-page .demo-topbar-time { color: var(--dm-text-dim); }

/* ---- Player ---- */
.demo-tour-page .demo-player-wrap {
    display: block;
    max-width: 1100px;
    margin: 16px auto;
    padding: 0 24px;
}
.demo-tour-page .demo-player {
    position: relative;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    min-height: 520px;
    width: 100%;
    overflow: hidden;
}

/* ---- Progress bar (bottom) ---- */
.demo-tour-page .demo-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #e2e8f0;
    z-index: 15;
    cursor: pointer;
    transition: height 0.2s ease;
    border-radius: 0;
    margin: 0;
}
.demo-tour-page .demo-player:hover .demo-progress { height: 5px; }
.demo-tour-page .demo-progress-fill {
    background: var(--dm-accent);
    transition: width 0.4s linear;
}
.demo-tour-page .demo-progress-marker {
    background: #cbd5e1;
    border: 2px solid #fff;
    width: 8px;
    height: 8px;
    top: -3px;
}
.demo-tour-page .demo-progress-marker.reached {
    background: var(--dm-accent);
}

/* ---- Floating controls ---- */
.demo-tour-page .demo-controls {
    position: absolute;
    bottom: 14px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}
.demo-tour-page .demo-player:hover .demo-controls,
.demo-tour-page .demo-player.paused .demo-controls {
    opacity: 1;
    transform: translateY(0);
}
.demo-tour-page .demo-ctrl-btn {
    color: #64748b;
    background: none;
    border: none;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.demo-tour-page .demo-ctrl-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}
.demo-tour-page .demo-ctrl-play {
    background: var(--dm-accent);
    color: #fff;
    padding: 8px;
    border-radius: 8px;
}
.demo-tour-page .demo-ctrl-play:hover {
    background: #1e40af;
}
.demo-tour-page .demo-chapter-label {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
}
.demo-tour-page .demo-controls-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---- Timestamp ---- */
.demo-tour-timestamp {
    font-size: 0.8rem;
    color: #64748b;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    margin-left: 4px;
}
.demo-tour-timestamp-sep {
    margin: 0 2px;
    color: #cbd5e1;
}

/* ---- Chapters toggle button ---- */
.demo-tour-page .demo-ctrl-chapters {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: #64748b;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}
.demo-tour-page .demo-ctrl-chapters:hover {
    background: #f1f5f9;
    color: #1e293b;
}

/* ---- Chapters overlay panel ---- */
.demo-tour-page .demo-chapters {
    display: none;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 16px;
    z-index: 20;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 6px;
    max-height: 400px;
    overflow-y: auto;
}
.demo-tour-page .demo-chapters.open { display: flex; }
.demo-tour-page .demo-chapters-title { color: var(--dm-text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }
.demo-tour-page .demo-chapter-item {
    border: 1px solid transparent;
    color: var(--dm-text);
    border-radius: 8px;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s;
}
.demo-tour-page .demo-chapter-item:hover { background: #f8fafc; }
.demo-tour-page .demo-chapter-item.active {
    background: rgba(26, 86, 219, 0.06);
    border: 1px solid rgba(26, 86, 219, 0.2);
}
.demo-tour-page .demo-chapter-item.completed .demo-chapter-num { background: var(--dm-accent); color: #fff; }
.demo-tour-page .demo-chapter-num { background: #f1f5f9; color: var(--dm-text-dim); }
.demo-tour-page .demo-chapter-name { color: var(--dm-text); }
.demo-tour-page .demo-chapter-dur { color: var(--dm-text-dim); }

/* ---- Stage ---- */
.demo-tour-page .demo-stage {
    padding: 32px 40px 72px;
    cursor: pointer;
    min-height: 420px;
    position: relative;
}
.demo-tour-page .demo-chapter-content {
    animation: tourChapterIn 0.5s ease-out;
    max-width: 100%;
}
@keyframes tourChapterIn {
    from { opacity: 0; transform: scale(0.97) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
.demo-tour-page .demo-chapter-badge {
    background: rgba(26, 86, 219, 0.08);
    color: var(--dm-accent);
}
.demo-tour-page .demo-chapter-heading { color: var(--dm-text); font-size: 1.4rem; }
.demo-tour-page .demo-chapter-text { color: var(--dm-text-muted); font-size: 0.925rem; margin-bottom: 24px; }

/* ---- Split layout (text + screenshot) ---- */
.demo-tour-split {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.demo-tour-text-col {
    flex: 0 0 340px;
    min-width: 0;
}
.demo-tour-visual-col {
    flex: 1;
    min-width: 0;
}

/* ---- Screenshot frame ---- */
.demo-tour-screenshot {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    animation: tourScreenshotIn 0.6s ease-out 0.15s both;
}
@keyframes tourScreenshotIn {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.demo-tour-screenshot-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.demo-tour-ss-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.demo-tour-ss-dot:nth-child(1) { background: #ff5f57; }
.demo-tour-ss-dot:nth-child(2) { background: #ffbd2e; }
.demo-tour-ss-dot:nth-child(3) { background: #28c840; }
.demo-tour-ss-url {
    font-size: 0.72rem;
    color: var(--dm-text-dim);
    margin-left: auto;
    font-family: 'SF Mono', 'Fira Code', monospace;
}
.demo-tour-ss-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Pain grid in narrow text column */
.demo-tour-text-col .demo-tour-pain-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}
.demo-tour-text-col .demo-tour-pain-card {
    padding: 14px;
}

@media (max-width: 768px) {
    .demo-tour-split {
        flex-direction: column;
    }
    .demo-tour-text-col {
        flex: none;
        width: 100%;
    }
    .demo-tour-visual-col {
        width: 100%;
    }
}

/* ---- Cinema panels (light) ---- */
.demo-tour-page .demo-cinema {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.demo-tour-page .demo-cinema-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.demo-tour-page .demo-cinema-dot:nth-child(1) { background: #ff5f57; }
.demo-tour-page .demo-cinema-dot:nth-child(2) { background: #ffbd2e; }
.demo-tour-page .demo-cinema-dot:nth-child(3) { background: #28c840; }
.demo-tour-page .demo-cinema-url { color: var(--dm-text-dim); }
.demo-tour-page .demo-cinema-body { background: transparent; }
.demo-tour-page .demo-cinema-query {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--dm-text);
}
.demo-tour-page .demo-cinema-cursor { background: var(--dm-accent); }
.demo-tour-page .demo-cinema-send { color: var(--dm-text-dim); }
.demo-tour-page .demo-cinema-send.ready { color: var(--dm-accent); }
.demo-tour-page .demo-cinema-response { border-top: 1px solid #e2e8f0; }
.demo-tour-page .demo-cinema-narrative { color: var(--dm-text-muted); }
.demo-tour-page .demo-cinema-insight {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--dm-accent);
    color: var(--dm-text-muted);
}
.demo-tour-page .demo-cinema-insight-icon { color: var(--dm-accent); }
.demo-tour-page .demo-cinema-footer {
    border-top: 1px solid #e2e8f0;
    color: var(--dm-text-dim);
}
.demo-tour-page .demo-cinema-conf { color: #059669; }
.demo-tour-page .demo-cinema-seg-name { color: var(--dm-text); }
.demo-tour-page .demo-cinema-seg-container,
.demo-tour-page .demo-cinema-seg-label { color: var(--dm-text-muted); }
.demo-tour-page .demo-cinema-seg-pill {
    background: #f1f5f9;
    color: var(--dm-text-muted);
    border: 1px solid #e2e8f0;
}
.demo-tour-page .demo-cinema-seg-pill.active {
    background: rgba(26, 86, 219, 0.08);
    color: var(--dm-accent);
    border: 1px solid rgba(26, 86, 219, 0.3);
}
.demo-tour-page .demo-cinema-seg-rule {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.demo-tour-page .demo-cinema-seg-field { color: var(--dm-text); }
.demo-tour-page .demo-cinema-seg-op { color: var(--dm-text-dim); }
.demo-tour-page .demo-cinema-seg-val { color: var(--dm-accent); }
.demo-tour-page .demo-cinema-seg-and { color: #d97706; }

/* ---- Problem chapter animation ---- */
.demo-tour-pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}
.demo-tour-pain-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.demo-tour-pain-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.demo-tour-pain-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #ef4444;
}
.demo-tour-pain-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dm-text);
    margin-bottom: 4px;
}
.demo-tour-pain-card-desc {
    font-size: 0.82rem;
    color: var(--dm-text-dim);
    line-height: 1.5;
}

/* ---- Presenter bubble ---- */
.demo-tour-presenter {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 8;
    transition: bottom 0.3s ease;
}
.demo-tour-page .demo-player:hover .demo-tour-presenter {
    bottom: 72px;
}
.demo-tour-page .demo-player.paused .demo-tour-presenter {
    bottom: 72px;
}
.demo-tour-presenter-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a56db, #4f6df5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
}
.demo-tour-presenter-avatar:hover { transform: scale(1.08); }
.demo-tour-presenter-name {
    font-size: 0.75rem;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}
.demo-tour-presenter:hover .demo-tour-presenter-name { opacity: 1; }

/* ---- CTA / info / footer (light) ---- */
.demo-tour-page .demo-info { color: var(--dm-text); }
.demo-tour-page .demo-info-title { color: var(--dm-text); }
.demo-tour-page .demo-info-desc { color: var(--dm-text-muted); }
.demo-tour-page .demo-cta-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.demo-tour-page .demo-cta-card:hover { border-color: var(--dm-accent); }
.demo-tour-page .demo-cta-card-icon { color: var(--dm-accent); }
.demo-tour-page .demo-cta-card-label { color: var(--dm-text); }
.demo-tour-page .demo-cta-card-desc { color: var(--dm-text-muted); }
.demo-tour-page .demo-footer { color: var(--dm-text-dim); }
.demo-tour-page .demo-footer a { color: var(--dm-text-muted); }
.demo-tour-page .demo-replay-overlay { background: rgba(255, 255, 255, 0.92); }
.demo-tour-page .demo-replay-btn { color: #1e293b; }
.demo-tour-page .demo-replay-btn:hover { color: var(--dm-accent); }

/* ---- Responsive ---- */
@media (hover: none) {
    .demo-tour-page .demo-controls {
        opacity: 1;
        transform: translateY(0);
    }
    .demo-tour-presenter { bottom: 72px; }
}

/* --- Fly With Blue: Cinematic opener (Chapter 0) --- */
.demo-tour-hook {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e27 0%, #0d1b3e 40%, #112240 70%, #0a1628 100%);
    overflow: hidden;
    animation: none !important; /* override tourChapterIn */
    border-radius: 12px;
}

/* Ambient glow behind the scene */
.demo-tour-hook::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: hookAmbientPulse 6s ease-in-out infinite;
}
@keyframes hookAmbientPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

/* Star-field dots for depth */
.demo-tour-hook::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(148, 163, 184, 0.4) 50%, transparent 100%),
        radial-gradient(1px 1px at 30% 70%, rgba(148, 163, 184, 0.3) 50%, transparent 100%),
        radial-gradient(1px 1px at 50% 40%, rgba(148, 163, 184, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 70% 15%, rgba(148, 163, 184, 0.3) 50%, transparent 100%),
        radial-gradient(1px 1px at 85% 60%, rgba(148, 163, 184, 0.4) 50%, transparent 100%),
        radial-gradient(1px 1px at 20% 85%, rgba(148, 163, 184, 0.3) 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 60% 90%, rgba(148, 163, 184, 0.5) 50%, transparent 100%),
        radial-gradient(1px 1px at 90% 35%, rgba(148, 163, 184, 0.3) 50%, transparent 100%);
    pointer-events: none;
}

/* 3D camera space */
.hook-space {
    position: absolute;
    inset: 0;
    perspective: 800px;
    transition: transform 2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.hook-space.fly-phase-1 {
    transform: scale(1.05);
}
.hook-space.fly-phase-2 {
    transform: scale(1.12);
    transition-duration: 2.5s;
}
.hook-space.fly-pullback {
    transform: scale(0.9);
    transition-duration: 1.5s;
}
.hook-space.frozen {
    filter: brightness(0.5);
    transition: filter 1s ease;
}
.hook-space.fly-to-light {
    transform: scale(1.3);
    filter: brightness(1.5);
    transition: transform 2s ease, filter 2s ease;
}

/* Floating questions — positioned like constellations */
.hook-question {
    position: absolute;
    font-size: 1.15rem;
    font-weight: 500;
    color: #e2e8f0;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s ease, transform 0.8s ease;
    white-space: nowrap;
    text-shadow: 0 0 30px rgba(26, 86, 219, 0.5), 0 0 60px rgba(26, 86, 219, 0.2);
    pointer-events: none;
}
.hook-question.visible {
    opacity: 1;
    transform: scale(1);
}
.hook-question.dissolve {
    opacity: 0;
    transform: scale(0.6);
    filter: blur(6px);
    transition: opacity 0.6s ease, transform 0.6s ease, filter 0.6s ease;
}

/* Question positions — spread like a constellation */
#hook-q-0 { top: 42%; left: 50%; transform: translateX(-50%) scale(0.85); font-size: 1.5rem; font-weight: 600; }
#hook-q-0.visible { transform: translateX(-50%) scale(1); }
#hook-q-0.dissolve { transform: translateX(-50%) scale(0.6); }
#hook-q-1 { top: 28%; left: 18%; }
#hook-q-2 { top: 55%; left: 62%; }
#hook-q-3 { top: 70%; left: 25%; }
#hook-q-4 { top: 32%; left: 72%; }

/* Dashboard cards — floating in space */
.hook-dash {
    position: absolute;
    width: 120px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 10px;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.4s ease, transform 0.4s ease;
    backdrop-filter: blur(4px);
}
.hook-dash.visible {
    opacity: 0.85;
    transform: scale(1);
}
.hook-dash.dissolve {
    opacity: 0;
    transform: scale(0.3) rotate(5deg);
    filter: blur(8px);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}
.hook-dash-title {
    font-size: 0.6rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.hook-dash-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 35px;
}
.hook-dash-bar {
    flex: 1;
    border-radius: 2px 2px 0 0;
    background: #3b82f6;
    opacity: 0.6;
}
/* Alternating colors for dashboard chart bars */
.hook-dash:nth-child(odd) .hook-dash-bar { background: #3b82f6; }
.hook-dash:nth-child(even) .hook-dash-bar { background: #6366f1; }
.hook-dash:nth-child(3n) .hook-dash-bar { background: #22c55e; }
.hook-dash:nth-child(4n) .hook-dash-bar { background: #f59e0b; }
.hook-dash:nth-child(5n) .hook-dash-bar { background: #ef4444; }

/* Dashboard card positions — scattered grid across the space */
#hook-dash-0  { top: 12%; left: 8%; }
#hook-dash-1  { top: 8%; left: 30%; }
#hook-dash-2  { top: 15%; left: 55%; }
#hook-dash-3  { top: 10%; left: 78%; }
#hook-dash-4  { top: 38%; left: 5%; }
#hook-dash-5  { top: 35%; left: 28%; }
#hook-dash-6  { top: 40%; left: 52%; }
#hook-dash-7  { top: 33%; left: 76%; }
#hook-dash-8  { top: 62%; left: 10%; }
#hook-dash-9  { top: 58%; left: 35%; }
#hook-dash-10 { top: 65%; left: 60%; }
#hook-dash-11 { top: 60%; left: 82%; }

/* Stats overlay — "17 dashboards / 64 KPIs / Still searching" */
.hook-stats {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
    transition: opacity 0.5s ease;
}
.hook-stats.dim {
    opacity: 0.4;
}
.hook-stats.hidden {
    opacity: 0;
    transition: opacity 0.6s ease;
}
.hook-stat {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
}
.hook-stat.visible {
    opacity: 1;
    transform: translateY(0);
}
.hook-stat:last-child {
    font-size: 1.3rem;
    font-weight: 500;
    color: #94a3b8;
}

/* Final line — "It's defined by how fast we get to answers." */
.hook-final {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    text-align: center;
    z-index: 15;
    font-size: 1.6rem;
    font-weight: 600;
    color: #e2e8f0;
    max-width: 600px;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    text-shadow: 0 2px 20px rgba(26, 86, 219, 0.4);
    pointer-events: none;
}
.hook-final.visible {
    opacity: 1;
}

/* Particle dissolve layer */
.hook-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 8;
}
.hook-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
    opacity: 0;
    animation: hookParticleFloat 2.5s ease-out forwards;
}
@keyframes hookParticleFloat {
    0% { opacity: 0.8; transform: scale(1) translateY(0); }
    50% { opacity: 0.5; }
    100% { opacity: 0; transform: scale(0.3) translateY(-60px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hook-question { font-size: 0.9rem; }
    #hook-q-0 { font-size: 1.1rem; }
    .hook-dash { width: 90px; padding: 8px; }
    .hook-stat { font-size: 1.5rem; }
    .hook-stat:last-child { font-size: 1rem; }
    .hook-final { font-size: 1.2rem; max-width: 90%; }
}

/* --- Scope pills (Intro chapter) --- */
.demo-tour-scope {
    margin-bottom: 16px;
}
.demo-tour-scope-label,
.demo-tour-maturity-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 600;
}
.demo-tour-scope-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.demo-tour-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(26, 86, 219, 0.06);
    border: 1px solid rgba(26, 86, 219, 0.2);
    color: var(--dm-accent);
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.demo-tour-pill.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Maturity bar (Intro chapter) --- */
.demo-tour-maturity {
    margin-top: 12px;
}
.demo-tour-maturity-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.demo-tour-mat-item {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.demo-tour-mat-item.now {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #059669;
}
.demo-tour-mat-item.later {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
}

/* --- Mini bar chart (Demo chapters) --- */
.demo-tour-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 80px;
    margin: 14px 0 10px;
    padding: 0 4px;
}
.demo-tour-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
}
.demo-tour-bar {
    width: 100%;
    max-width: 48px;
    border-radius: 4px 4px 0 0;
    transition: height 0.6s ease;
    min-height: 4px;
}
.demo-tour-bar-label {
    font-size: 0.65rem;
    color: #64748b;
    margin-top: 4px;
    text-align: center;
    white-space: nowrap;
}

/* --- Badges (Answer / Chart / Table / SQL pills) --- */
.demo-tour-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.demo-tour-badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* --- Toggle switch (Exclude null) --- */
.demo-tour-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.demo-tour-toggle-switch {
    display: inline-block;
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: #cbd5e1;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}
.demo-tour-toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.3s ease;
}
.demo-tour-toggle-switch.on {
    background: var(--dm-accent);
}
.demo-tour-toggle-switch.on::after {
    transform: translateX(16px);
}
.demo-tour-toggle-text {
    font-size: 0.78rem;
    color: #475569;
}

/* --- Clarification UI (Zero Hallucination chapter) --- */
.demo-tour-clarify {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(26, 86, 219, 0.04);
    border: 1px solid rgba(26, 86, 219, 0.15);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.demo-tour-clarify.visible {
    opacity: 1;
    transform: translateY(0);
}
.demo-tour-clarify-q {
    font-size: 0.85rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 500;
}
.demo-tour-clarify-opts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.demo-tour-clarify-btn {
    padding: 6px 16px;
    border-radius: 6px;
    border: 1px solid rgba(26, 86, 219, 0.25);
    background: rgba(26, 86, 219, 0.05);
    color: var(--dm-accent);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.demo-tour-clarify-btn:hover {
    background: rgba(26, 86, 219, 0.1);
    border-color: rgba(26, 86, 219, 0.4);
}
.demo-tour-clarify-btn.selected {
    background: var(--dm-accent);
    border-color: var(--dm-accent);
    color: #fff;
}

/* --- Timer badge (Maya's countdown) --- */
.demo-tour-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
    animation: timerPulse 2s ease-in-out infinite;
}
@keyframes timerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* --- Time compression split (CTA chapter) --- */
.demo-tour-time-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}
.demo-tour-time-box {
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    flex: 0 0 auto;
}
.demo-tour-time-box.traditional {
    background: #fef2f2;
    border: 1px solid #fecaca;
}
.demo-tour-time-box.insight {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}
.demo-tour-time-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 600;
}
.demo-tour-time-box.traditional .demo-tour-time-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #dc2626;
}
.demo-tour-time-box.insight .demo-tour-time-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #16a34a;
}
.demo-tour-time-vs {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
}

@media (max-width: 900px) {
    .demo-tour-page .demo-player { min-height: 400px; }
    .demo-tour-presenter-avatar { width: 40px; height: 40px; }
    .demo-tour-pain-grid { grid-template-columns: 1fr; }
    .demo-tour-mini-chart { height: 60px; }
}
@media (max-width: 600px) {
    .demo-tour-page .demo-player-wrap { padding: 0 8px; }
    .demo-tour-page .demo-controls { left: 8px; right: 8px; bottom: 8px; padding: 6px 10px; }
    .demo-tour-page .demo-stage { padding: 20px 16px 64px; }
    .demo-tour-presenter { left: 12px; }
    .demo-tour-page .demo-chapters.open { left: 8px; right: 8px; width: auto; top: 48px; }
    .demo-tour-scope-pills { gap: 6px; }
    .demo-tour-pill { padding: 4px 10px; font-size: 0.72rem; }
    .demo-tour-maturity-bar { gap: 4px; }
    .demo-tour-mini-chart { height: 50px; gap: 6px; }
    .demo-tour-clarify-opts { flex-direction: column; }
}

/* ============================================
   Request Demo Popup
   ============================================ */

.request-demo-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.request-demo-overlay.active {
    display: flex;
    animation: requestDemoIn 0.25s ease;
}
@keyframes requestDemoIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.request-demo-popup {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    text-align: center;
}
.request-demo-popup h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.request-demo-popup > p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.request-demo-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-lighter);
    font-size: 24px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}
.request-demo-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.request-demo-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.request-demo-form .btn {
    margin-top: 8px;
    width: 100%;
}

.request-demo-thanks {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    padding: 24px 0;
}
.request-demo-thanks span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 8px;
}

@media (max-width: 480px) {
    .request-demo-popup {
        padding: 32px 24px;
        margin: 16px;
    }
}

/* ============================================
   Explainer — Abstract Scene Styles
   ============================================ */

/* --- Abstract stage (dark cinematic) --- */
.exp-abstract-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Unified Chart SVG (line + bar in single SVG) --- */
.exp-unified-chart {
    position: absolute;
    bottom: 6%;
    left: 3%;
    right: 3%;
    height: 58%;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}
.exp-line-path {
    fill: none;
    stroke: rgba(255,255,255,0.85);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.2));
}
.exp-line-area {
    fill: rgba(255,255,255,0.04);
    stroke: none;
}
.exp-data-dot {
    transition: opacity 0.3s ease;
}
.exp-cursor-dot {
    filter: url(#dotGlow);
}
@keyframes cursorPulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.4; }
}
.exp-cursor-dot { animation: cursorPulse 0.8s ease-in-out infinite; }
.exp-bar {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.exp-bar-val {
    font-size: 10px;
    fill: rgba(255,255,255,0.7);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: opacity 0.3s ease;
}
.exp-date-label {
    font-size: 9px;
    fill: rgba(255,255,255,0.5);
    font-family: 'Inter', sans-serif;
    transition: opacity 0.3s ease;
}
.exp-yaxis-label {
    font-size: 9px;
    fill: rgba(255,255,255,0.3);
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .exp-unified-chart { height: 50%; bottom: 10%; left: 1%; right: 1%; }
}

/* --- Floating questions --- */
.exp-float-question {
    position: absolute;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.6s ease-out;
    z-index: 2;
    white-space: nowrap;
}
.exp-float-question.visible {
    opacity: 1;
    transform: translateY(0);
}
.exp-float-question.dissolve {
    opacity: 0;
    transform: scale(0.85);
    filter: blur(4px);
    transition: all 0.8s ease-out;
}

/* --- Dashboard cards --- */
.exp-dash-card {
    position: absolute;
    width: 100px;
    height: 70px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    opacity: 0;
    transform: scale(0.7);
    transition: all 0.5s ease-out;
    z-index: 2;
}
.exp-dash-card.visible {
    opacity: 1;
    transform: scale(1);
}
.exp-dash-card.frozen {
    filter: grayscale(0.8) brightness(0.4);
    transition: filter 1s ease;
}

/* --- Stats overlay --- */
.exp-stats-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    transition: opacity 0.5s ease;
}
.exp-stat-line {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin: 6px 0;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.5s ease-out;
}
.exp-stat-line.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Provocation text --- */
.exp-provoke-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    max-width: 520px;
    line-height: 1.5;
    opacity: 0;
    transition: opacity 1.2s ease;
    z-index: 5;
}
.exp-provoke-text.visible {
    opacity: 1;
}

/* --- Conversation shift questions (Ch1) --- */
.exp-conv-questions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 3;
}
.exp-conv-q {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-out;
    white-space: nowrap;
}
.exp-conv-q.visible {
    opacity: 1;
    transform: translateX(0);
}
.exp-conv-q-icon {
    margin-right: 8px;
}

/* --- Data sources ring (Ch1) --- */
.exp-sources-ring {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    z-index: 3;
}
.exp-sources-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 200px;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.exp-sources-center.visible {
    opacity: 1;
}
.exp-source-node {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    border: 2px solid rgba(59, 130, 246, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    opacity: 0;
    transition: all 0.5s ease-out;
}
.exp-source-node.visible {
    opacity: 1;
}

/* ============================================
   Explainer — Reveal Chapter (Ch2)
   ============================================ */
.exp-reveal-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 100%);
}
.exp-reveal-content {
    text-align: center;
    z-index: 2;
}
.exp-logo-reveal {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: scale(0.6);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.exp-logo-reveal.visible {
    opacity: 1;
    transform: scale(1);
}
.exp-logo-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease-out;
}
.exp-logo-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}
.exp-reveal-sources {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}
.exp-reveal-source {
    padding: 8px 20px;
    border-radius: 8px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease-out;
}
.exp-reveal-source.visible {
    opacity: 1;
    transform: translateY(0);
}
.exp-reveal-positioning {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.exp-reveal-positioning.visible {
    opacity: 1;
}

/* ============================================
   Explainer — Demo Sequence (Ch3)
   ============================================ */
.exp-demo-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    overflow: hidden;
}

.exp-maya-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease-out;
    flex-shrink: 0;
}
.exp-maya-card.visible { opacity: 1; transform: translateY(0); }
.exp-maya-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #eef2ff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.exp-maya-info { font-size: 0.85rem; color: #334155; }

.exp-notification {
    position: absolute;
    top: 12px;
    right: 16px;
    background: #1e293b;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease-out;
    z-index: 10;
}
.exp-notification.visible { opacity: 1; transform: translateX(0); }

.exp-cinema {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.exp-conversation {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
    padding: 12px;
    scroll-behavior: smooth;
}

.exp-query-block {
    opacity: 0;
    transform: translateY(14px);
    transition: all 0.5s ease-out;
}
.exp-query-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.exp-query-input {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    min-height: 36px;
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 8px;
}
.exp-query-text { flex: 1; }
.exp-query-input .demo-cinema-cursor {
    width: 2px;
    height: 16px;
    background: #3b82f6;
    animation: demoBlink 0.8s step-end infinite;
    opacity: 0;
    margin-left: 1px;
}
.exp-query-input .demo-cinema-cursor.visible { opacity: 1; }

/* Clarification */
.exp-clarify {
    padding: 10px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease-out;
}
.exp-clarify.visible { opacity: 1; transform: translateY(0); }
.exp-clarify-q { font-size: 0.82rem; color: #92400e; margin-bottom: 8px; }
.exp-clarify-options { display: flex; gap: 8px; }
.exp-clarify-opt {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #78350f;
    cursor: pointer;
}
.exp-clarify-opt.exp-clarify-active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

/* Response */
.exp-response {
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.5s ease-out;
}
.exp-response.visible { opacity: 1; transform: translateY(0); }

.exp-resp-narrative {
    font-size: 0.82rem;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Chart bars */
.exp-resp-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
    margin-bottom: 10px;
    padding: 4px 0;
}
.exp-chart-bar-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}
.exp-chart-bar {
    width: 100%;
    max-width: 32px;
    border-radius: 4px 4px 0 0;
    transition: height 0.6s ease-out;
}
.exp-chart-label {
    font-size: 0.65rem;
    color: #64748b;
    margin-top: 4px;
    text-align: center;
}

/* Insights + Drivers */
.exp-resp-insights,
.exp-resp-drivers {
    margin-top: 8px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.exp-resp-insights-header {
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.exp-resp-insight-item {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.78rem;
    color: #475569;
    padding: 4px 0;
    line-height: 1.4;
}

/* Refinement toggle */
.exp-refinement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.exp-query-block.visible .exp-refinement { opacity: 1; }
.exp-toggle {
    position: relative;
    width: 28px;
    height: 16px;
    display: inline-block;
}
.exp-toggle input { opacity: 0; width: 0; height: 0; }
.exp-toggle-slider {
    position: absolute; inset: 0;
    background: #cbd5e1;
    border-radius: 16px;
    transition: background 0.2s;
}
.exp-toggle-slider::before {
    content: '';
    position: absolute;
    width: 12px; height: 12px;
    bottom: 2px; left: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.exp-toggle input:checked + .exp-toggle-slider { background: #3b82f6; }
.exp-toggle input:checked + .exp-toggle-slider::before { transform: translateX(12px); }

/* Response footer */
.exp-resp-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.exp-badge {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
}
.exp-resp-time {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-left: auto;
}
.exp-resp-conf {
    font-size: 0.65rem;
    color: #22c55e;
    font-weight: 600;
}

/* ============================================
   Explainer — Product UI Mockup (Ch3)
   ============================================ */
.exp-product-ui {
    flex: 1;
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    min-height: 0;
}

.exp-ui-sidebar {
    width: 180px;
    background: #0f172a;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    padding: 14px 10px;
    gap: 2px;
    flex-shrink: 0;
}
.exp-ui-logo {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    padding: 0 6px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.exp-ui-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #94a3b8;
    cursor: default;
    transition: background 0.2s;
}
.exp-ui-nav-item svg { flex-shrink: 0; opacity: 0.6; }
.exp-ui-nav-active {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
}
.exp-ui-nav-active svg { opacity: 1; stroke: #60a5fa; }
.exp-ui-sidebar-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 8px;
}

.exp-ui-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f8fafc;
}
.exp-ui-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.exp-ui-workspace {
    font-weight: 600;
    color: #334155;
    padding: 2px 10px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 0.7rem;
}
.exp-ui-variables {
    color: #94a3b8;
    font-size: 0.7rem;
}

.exp-ui-query {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    min-height: 40px;
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.exp-ui-query .exp-query-text { flex: 1; }
.exp-ui-query .demo-cinema-cursor {
    width: 2px;
    height: 16px;
    background: #3b82f6;
    animation: demoBlink 0.8s step-end infinite;
    opacity: 0;
    margin-left: 1px;
}
.exp-ui-query .demo-cinema-cursor.visible { opacity: 1; }
.exp-ui-send {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    flex-shrink: 0;
}
.exp-ui-send svg { fill: #fff; }

.exp-ui-categories {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    border-top: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
    overflow-x: auto;
}
.exp-ui-cat {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    color: #64748b;
    background: #f1f5f9;
    white-space: nowrap;
    cursor: default;
}
.exp-ui-cat svg { opacity: 0.5; }

/* Response tabs */
.exp-resp-tabs {
    display: flex;
    gap: 4px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
}
.exp-tab {
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 4px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    cursor: default;
}
.exp-tab-active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

/* Response footer with time/confidence */
.exp-resp-footer .exp-resp-time,
.exp-resp-footer .exp-resp-conf {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .exp-ui-sidebar { width: 120px; padding: 10px 6px; }
    .exp-ui-logo { font-size: 0.8rem; }
    .exp-ui-nav-item { font-size: 0.65rem; padding: 5px 6px; }
    .exp-ui-categories { gap: 2px; padding: 6px 8px; }
    .exp-ui-cat { font-size: 0.6rem; padding: 4px 6px; }
}

/* ============================================
   Explainer — CTA Chapter (Ch4)
   ============================================ */
.exp-cta-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 32px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.exp-comparison {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 600px;
}
.exp-compare-box {
    flex: 1;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}
.exp-compare-box.visible { opacity: 1; transform: translateY(0); }

.exp-compare-old {
    background: #fff;
    border: 1px solid #e2e8f0;
}
.exp-compare-new {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    border: none;
    color: #fff;
}
.exp-compare-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 8px;
}
.exp-compare-time {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}
.exp-compare-old .exp-compare-time { color: #334155; }
.exp-compare-items {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
}
.exp-compare-old .exp-compare-items { color: #64748b; }
.exp-compare-new .exp-compare-items { color: rgba(255,255,255,0.8); }

/* Closing lines */
.exp-closing {
    text-align: center;
    max-width: 500px;
}
.exp-closing-line {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin: 8px 0;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.8s ease-out;
}
.exp-closing-line.visible { opacity: 1; transform: translateY(0); }
.exp-closing-line:nth-child(2) { color: #3b82f6; }
.exp-closing-line:nth-child(3) { color: #94a3b8; font-weight: 400; font-size: 1rem; }

/* CTA buttons */
.exp-cta-buttons {
    display: flex;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease-out;
}
.exp-cta-buttons.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Explainer — Responsive
   ============================================ */
@media (max-width: 768px) {
    .exp-float-question { font-size: 0.8rem; padding: 8px 12px; }
    .exp-dash-card { width: 70px; height: 50px; }
    .exp-stat-line { font-size: 1rem; }
    .exp-provoke-text { font-size: 1.1rem; max-width: 90%; }
    .exp-logo-reveal { font-size: 2.5rem; }
    .exp-comparison { flex-direction: column; gap: 16px; }
    .exp-closing-line { font-size: 1rem; }
    .exp-source-node { width: 55px; height: 55px; font-size: 0.55rem; }
    .exp-conv-q { font-size: 0.85rem; white-space: normal; }
    .exp-cta-buttons { flex-direction: column; align-items: center; }
}
