/* ============================================
   FULSCENE | Dark Cinematic Theme
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f18;
    --bg-card: #13131f;
    --bg-card-hover: #1a1a2e;
    --text-primary: #f0f0f5;
    --text-secondary: #8888a0;
    --text-muted: #55556a;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-glow: rgba(108, 92, 231, 0.3);
    --gradient: linear-gradient(135deg, #6c5ce7, #a29bfe, #74b9ff);
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

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

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

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

.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 8px 20px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
    background: #5a4bd4 !important;
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

/* Vanta.js renders into #hero-bg directly */

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

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

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

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
    background: #5a4bd4;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.btn-full {
    width: 100%;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* ---- Sections ---- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 48px;
}

/* ---- Problem Cards ---- */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.problem-card:hover {
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-4px);
}

.problem-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.problem-unit {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

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

/* ---- Features ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.12);
    border-radius: 12px;
    margin-bottom: 20px;
    color: var(--accent-light);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---- Pipeline ---- */
.pipeline {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pipeline-step {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s, transform 0.3s;
}

.pipeline-step:hover {
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateX(8px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 80px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.pipeline-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin-left: 70px;
}

/* ---- Demo Video ---- */
.demo-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px var(--accent-glow);
}

.video-container video {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.3);
}

.video-overlay.hidden {
    display: none;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px var(--accent-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 48px var(--accent-glow);
}

.play-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

/* ---- Demo Section ---- */
.demo-prompt {
    max-width: 900px;
    margin: 0 auto 40px;
    background: rgba(108, 92, 231, 0.06);
    border: 1px solid rgba(108, 92, 231, 0.2);
    border-radius: var(--radius);
    padding: 24px 28px;
}

.prompt-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    margin-bottom: 10px;
}

.demo-prompt p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

.demo-callouts {
    max-width: 900px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.callout {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.3s, transform 0.3s;
}

.callout:hover {
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-4px);
}

.callout-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.12);
    border-radius: 10px;
    margin-bottom: 14px;
    color: var(--accent-light);
}

.callout-icon svg {
    width: 20px;
    height: 20px;
}

.callout h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.callout p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .demo-callouts {
        grid-template-columns: 1fr;
    }
}

/* ---- Comparison Demo (side-by-side) ---- */
.comparison-demo {
    margin: 16px auto 64px;
    max-width: 1200px;
}

.comparison-header {
    text-align: center;
    margin-bottom: 40px;
}

.comparison-header h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin: 8px 0 12px;
    letter-spacing: -0.01em;
}

.comparison-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.comparison-stage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.comparison-video {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comparison-picker {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 40px;
    align-items: center;
}

.comparison-picker-static {
    justify-content: flex-start;
}

.picker-btn {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    letter-spacing: 0.02em;
}

.picker-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.picker-btn.active {
    background: rgba(108, 92, 231, 0.18);
    color: var(--accent-light);
    border-color: rgba(108, 92, 231, 0.5);
}

.picker-btn-fulscene {
    background: var(--gradient);
    color: white;
    border-color: transparent;
    cursor: default;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.picker-btn-fulscene:hover {
    color: white;
    border-color: transparent;
}

.comparison-video .video-container {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.comparison-video video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}

.comparison-caption {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .comparison-stage {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .comparison-demo {
        margin-top: 56px;
    }
}

/* ---- Comparison Table ---- */
.table-wrapper {
    overflow-x: auto;
    margin-top: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
    background: var(--bg-card);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table tbody td {
    background: var(--bg-primary);
    color: var(--text-secondary);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.highlight-col {
    background: rgba(108, 92, 231, 0.08) !important;
    color: var(--text-primary) !important;
    font-weight: 600;
}

.comparison-table thead .highlight-col {
    color: var(--accent-light) !important;
}

.cell-yes {
    color: #00d2a0 !important;
}

.cell-no {
    color: #ff6b6b !important;
}

.cell-limited {
    color: #ffc078 !important;
}

/* ---- Competitive Landscape ---- */
.landscape-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.landscape-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color 0.3s;
}

.landscape-category:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.landscape-fulscene {
    grid-column: 1 / -1;
    border-color: rgba(108, 92, 231, 0.3);
    background: rgba(108, 92, 231, 0.06);
}

.landscape-fulscene:hover {
    border-color: rgba(108, 92, 231, 0.5);
}

.landscape-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.landscape-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

.landscape-tag {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 100px;
}

.tag-flat {
    background: rgba(255, 107, 107, 0.12);
    color: #ff6b6b;
}

.tag-partial {
    background: rgba(255, 192, 120, 0.12);
    color: #ffc078;
}

.tag-fulscene {
    background: rgba(108, 92, 231, 0.2);
    color: var(--accent-light);
}

.landscape-companies {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.company-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.company-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.company-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: nowrap;
    min-width: 110px;
}

.company-gap {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.fulscene-row .company-gap {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .landscape-grid {
        grid-template-columns: 1fr;
    }

    .company-row {
        flex-direction: column;
        gap: 4px;
    }

    .company-name {
        min-width: unset;
    }
}

/* ---- Market ---- */
.market-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    margin-bottom: 32px;
}

.market-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    text-align: center;
    transition: border-color 0.3s;
}

.market-card:hover {
    border-color: rgba(108, 92, 231, 0.3);
}

.market-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.market-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.competitors-note {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.competitors-note p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- Roadmap ---- */
.roadmap {
    margin-top: 48px;
    position: relative;
    padding-left: 40px;
}

.roadmap::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--border));
}

.roadmap-item {
    position: relative;
    margin-bottom: 32px;
}

.roadmap-item:last-child {
    margin-bottom: 0;
}

.roadmap-marker {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--text-muted);
    z-index: 1;
}

.roadmap-item.completed .roadmap-marker {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}

.roadmap-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.3s;
}

.roadmap-item:hover .roadmap-content {
    border-color: rgba(108, 92, 231, 0.3);
}

.roadmap-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.roadmap-content h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.roadmap-content ul {
    list-style: none;
    padding: 0;
}

.roadmap-content li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 2px 0;
    padding-left: 16px;
    position: relative;
}

.roadmap-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
}

.roadmap-item.completed li::before {
    background: var(--accent-light);
}

/* ---- Contact Form ---- */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color 0.2s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238888a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ---- Footer ---- */
.footer {
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

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

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
    }

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

    .mobile-toggle {
        display: flex;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pipeline-step {
        flex-direction: column;
        gap: 16px;
    }

    .pipeline-connector {
        margin-left: 40px;
    }

    .market-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}

/* ---- Gallery Page ---- */
.page-gallery {
    background: var(--bg-primary);
}

.gallery-hero {
    padding: 140px 24px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid var(--border);
}

.gallery-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 12px 0 16px;
    letter-spacing: -0.02em;
}

.gallery-hero-sub {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.gallery-section {
    padding-top: 60px;
}

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

.gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
}

.gallery-card:hover {
    border-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-4px);
}

.gallery-video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.gallery-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-meta {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-meta h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.gallery-meta p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.gallery-card-placeholder {
    opacity: 0.65;
}

.gallery-card-placeholder:hover {
    transform: none;
    border-color: var(--border);
}

.gallery-placeholder-art {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(108, 92, 231, 0.04) 0,
            rgba(108, 92, 231, 0.04) 12px,
            rgba(108, 92, 231, 0.08) 12px,
            rgba(108, 92, 231, 0.08) 24px
        );
}

.gallery-placeholder-art span {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

.gallery-cta {
    text-align: center;
}

.gallery-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.gallery-cta .section-sub {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 28px;
}

.nav-links a.active {
    color: var(--text-primary);
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-hero {
        padding: 110px 24px 40px;
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
