/* ===== StoryPrompting Landing Page Styles ===== */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Colors — synced to the StoryPrompting app theme (obsidian) */
    --bg-dark: #07081a;
    --bg-surface: #0e0f20;
    --bg-card: #161730;
    --bg-card-hover: #1e1f3c;
    --border-color: #20223f;
    --border-light: #2a2c4d;

    --text-primary: #f0f0ff;
    --text-secondary: #9898c0;
    --text-muted: #60607a;

    --brand-indigo: #6366f1;
    --brand-indigo-light: #818cf8;
    --brand-purple: #8b5cf6;
    --brand-cyan: #22d3ee;
    --brand-amber: #f59e0b;
    --brand-emerald: #22c55e;

    --gradient-brand: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-warm: linear-gradient(135deg, #8b5cf6, #22d3ee);
    --gradient-bg: radial-gradient(ellipse at 50% 0%, #1a1740 0%, #07081a 60%);

    /* Typography — app fonts: Space Grotesk (display) + Inter (body) */
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    
    /* Animations */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

html { font-size: 16px; scroll-behavior: smooth; }

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

a { color: var(--brand-indigo-light); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--brand-purple); }

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-base);
}

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

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

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-brand);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav-links { display: flex; gap: 32px; }
.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}
.nav-links a:hover { color: var(--text-primary); }

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

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-secondary); border-radius: 2px; transition: var(--transition-fast); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    z-index: 99;
    flex-direction: column;
    gap: 16px;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-brand);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    font-family: var(--font-sans);
    padding: 12px 24px;
    font-size: 0.95rem;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    font-family: var(--font-sans);
    padding: 12px 24px;
    font-size: 0.95rem;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    color: white;
}

.btn-ghost {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    text-decoration: none;
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 12px; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: var(--gradient-bg);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: var(--brand-indigo-light);
    margin-bottom: 24px;
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-emerald);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

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

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

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

.hero-trust {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Hero Visual — Pipeline Preview */
.hero-visual {
    margin-top: 64px;
    position: relative;
    z-index: 2;
}

.pipeline-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow-x: auto;
    padding: 24px 0;
}

.pipeline-stage {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    min-width: 200px;
    flex-shrink: 0;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pipeline-stage:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.2);
}

.stage-icon { font-size: 1.5rem; margin-bottom: 4px; }
.stage-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; color: var(--text-primary); }

.stage-preview { font-size: 0.8rem; color: var(--text-secondary); }

.preview-text {
    background: var(--bg-surface);
    padding: 10px;
    border-radius: 8px;
    font-style: italic;
    line-height: 1.5;
}

.preview-chars { display: flex; flex-direction: column; gap: 6px; }

.char-chip {
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.3);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    color: var(--brand-indigo-light);
}

.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.grid-cell {
    border-radius: 8px;
    padding: 16px 8px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.preview-video { text-align: center; }

.video-frame {
    background: var(--bg-surface);
    border-radius: 10px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.video-frame:hover { background: var(--bg-card-hover); }

.video-play {
    width: 48px;
    height: 48px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.lang-pills {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.lang-pills span {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

.pipeline-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ===== Trust Bar ===== */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.trust-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.logo-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.logo-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.logo-pill:hover {
    border-color: var(--brand-indigo);
    color: var(--text-primary);
}

/* ===== Sections ===== */
.section {
    padding: var(--section-padding) 0;
}

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

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(79, 70, 229, 0.15);
    color: var(--brand-indigo-light);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== How It Works ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all var(--transition-base);
    position: relative;
}

.step-card:hover {
    border-color: var(--brand-indigo);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(79, 70, 229, 0.15);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(79, 70, 229, 0.1);
    position: absolute;
    top: 16px;
    right: 20px;
    line-height: 1;
}

.step-icon { font-size: 2rem; margin-bottom: 12px; }

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.detail-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--brand-emerald);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ===== Features ===== */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.feature-tag {
    display: inline-block;
    background: rgba(79, 70, 229, 0.15);
    color: var(--brand-indigo-light);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.feature-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-emerald);
    font-weight: 700;
}

/* Language Showcase */
.lang-showcase { display: flex; flex-direction: column; gap: 12px; }

.lang-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    transition: all var(--transition-fast);
}

.lang-card:hover { border-color: var(--brand-indigo); transform: translateX(4px); }

.lang-thumb {
    width: 56px;
    height: 36px;
    border-radius: 6px;
    background: var(--gradient-brand);
    flex-shrink: 0;
}

.lang-en .lang-thumb { background: linear-gradient(135deg, #312e81, #4f46e5); }
.lang-hi .lang-thumb { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.lang-ta .lang-thumb { background: linear-gradient(135deg, #134e4a, #0d9488); }
.lang-kn .lang-thumb { background: linear-gradient(135deg, #4a1d96, #9333ea); }
.lang-more .lang-thumb { background: var(--bg-surface); }
.lang-more .lang-thumb.more-langs {
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--text-muted);
}

.lang-meta { display: flex; flex-direction: column; }
.lang-name { font-weight: 600; font-size: 0.95rem; }
.lang-status { font-size: 0.8rem; color: var(--text-muted); }
.lang-status.ready { color: var(--brand-emerald); }

/* Provider Grid */
.provider-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.provider-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.provider-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.provider-logo { font-weight: 800; font-size: 1.3rem; margin-bottom: 6px; }
.provider-info { font-size: 0.8rem; color: var(--text-muted); }

.provider-card.openai { border-color: rgba(16, 163, 127, 0.4); }
.provider-card.openai .provider-logo { color: #10a37f; }
.provider-card.anthropic { border-color: rgba(204, 120, 50, 0.4); }
.provider-card.anthropic .provider-logo { color: #cc7832; }
.provider-card.groq { border-color: rgba(244, 63, 94, 0.4); }
.provider-card.groq .provider-logo { color: #f43f5e; }
.provider-card.ollama { border-color: rgba(148, 163, 184, 0.4); }
.provider-card.ollama .provider-logo { color: #94a3b8; }

/* Review Flow */
.review-flow { display: flex; flex-direction: column; gap: 0; }

.review-gate {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    transition: all var(--transition-fast);
}

.review-gate:hover { border-color: var(--brand-indigo); }
.review-gate.gate-final { border-color: var(--brand-emerald); background: rgba(16, 185, 129, 0.08); }

.gate-icon { font-size: 1.5rem; }
.gate-label { font-weight: 600; flex: 1; }
.gate-action { display: flex; gap: 8px; }

.gate-approve { background: rgba(16, 185, 129, 0.15); color: var(--brand-emerald); padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }
.gate-edit { background: rgba(79, 70, 229, 0.15); color: var(--brand-indigo-light); padding: 4px 10px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; }

.gate-connector {
    width: 2px;
    height: 20px;
    background: var(--border-color);
    margin-left: 32px;
}

.spin { animation: spin 2s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Batch List */
.batch-list { display: flex; flex-direction: column; gap: 8px; }

.batch-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    transition: all var(--transition-fast);
}

.batch-item:hover { border-color: var(--brand-indigo); }
.batch-item.complete { opacity: 0.7; }

.batch-icon { font-size: 1.2rem; width: 28px; text-align: center; }
.batch-info { flex: 1; }
.batch-title { font-weight: 600; font-size: 0.9rem; display: block; }
.batch-meta { font-size: 0.8rem; color: var(--text-muted); }

.batch-status { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 100px; }
.batch-status.done { background: rgba(16, 185, 129, 0.15); color: var(--brand-emerald); }
.batch-status.processing { background: rgba(245, 158, 11, 0.15); color: var(--brand-amber); }
.batch-status.review { background: rgba(79, 70, 229, 0.15); color: var(--brand-indigo-light); }
.batch-status.queued { background: rgba(100, 116, 139, 0.15); color: var(--text-muted); }

/* ===== Demo Section ===== */
.demo-video {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.video-placeholder:hover {
    border-color: var(--brand-indigo);
    background: var(--bg-card-hover);
}

.play-button {
    width: 72px;
    height: 72px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(79, 70, 229, 0.5);
}

.video-caption { font-size: 0.9rem; color: var(--text-muted); }

/* ===== Pricing ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    border-color: var(--brand-indigo);
    background: linear-gradient(180deg, rgba(79, 70, 229, 0.1) 0%, var(--bg-card) 40%);
}

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

.pricing-header { margin-bottom: 24px; }

.pricing-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.price-amount { font-size: 2.5rem; font-weight: 800; }
.price-period { font-size: 0.95rem; color: var(--text-muted); }
.pricing-desc { font-size: 0.9rem; color: var(--text-secondary); }

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    flex: 1;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li strong { color: var(--text-primary); }

.pricing-footer {
    text-align: center;
    margin-top: 32px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== Comparison Table ===== */
.comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

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

.comparison-table th {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
}

.comparison-table th.us {
    background: rgba(79, 70, 229, 0.15);
    color: var(--brand-indigo-light);
    border-radius: 8px 0 0 8px;
}

.comparison-table td { color: var(--text-secondary); }
.comparison-table td:first-child { text-align: left; font-weight: 500; color: var(--text-primary); }
.comparison-table td.us { background: rgba(79, 70, 229, 0.08); font-weight: 600; }

.check { color: var(--brand-emerald); font-weight: 700; font-size: 1.1rem; }
.cross { color: var(--text-muted); font-size: 1.1rem; }

/* ===== Code Block ===== */
.code-block {
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.code-dot { width: 10px; height: 10px; border-radius: 50%; }
.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-filename { margin-left: 8px; font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }

.code-content {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.7;
    overflow-x: auto;
    color: #e6edf3;
}

.code-keyword { color: #ff7b72; }
.code-string { color: #a5d6ff; }
.code-comment { color: #8b949e; }

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    background: var(--gradient-bg);
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-actions { margin-bottom: 24px; }
.cta-footer { font-size: 0.9rem; color: var(--text-muted); }

/* ===== Footer ===== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
}

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

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 4px 0;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-row { grid-template-columns: 1fr; gap: 40px; }
    .feature-row.reverse .feature-visual { order: 0; }
    .feature-row.reverse .feature-text { order: 0; }
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    :root { --section-padding: 80px; }
    
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu.open { display: flex; }
    
    .hero { padding: 120px 0 60px; }
    .hero-title { font-size: 2.75rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-trust { flex-direction: column; align-items: center; }
    
    .pipeline-preview { flex-direction: column; align-items: stretch; }
    .pipeline-arrow { transform: rotate(90deg); align-self: center; }
    .pipeline-stage { min-width: 100%; }
    
    .steps-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    
    .section-title { font-size: 2rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-links { grid-template-columns: 1fr; }
    
    .comparison-table { font-size: 0.8rem; }
    
    .cta-title { font-size: 2rem; }
}

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

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

/* Scroll-triggered animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.pipeline-stage:nth-child(1) { animation: float 4s ease-in-out infinite 0s; }
.pipeline-stage:nth-child(3) { animation: float 4s ease-in-out infinite 0.5s; }
.pipeline-stage:nth-child(5) { animation: float 4s ease-in-out infinite 1s; }
.pipeline-stage:nth-child(7) { animation: float 4s ease-in-out infinite 1.5s; }
/* ===== Theme sync: display font on headings (matches app) ===== */
.hero-title, .section-title, .feature-title, .step-title,
.pricing-name, .cta-title, .logo-text, h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}
.hero-subtitle, .section-subtitle, body { font-family: var(--font-sans); }
