/* Core Design System */
:root {
    --bg-main: #030712;
    --border-dim: #1f2937;
    --text-primary: #f9fafb;
    --text-muted: #9ca3af;
    
    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.15);
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.15);
    
    --amber: #f59e0b;
    --purple: #8b5cf6;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Grids and Glow Backdrops */
.grid-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    z-index: 1;
}

.glow-radial-cyan {
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    filter: blur(40px);
}

.glow-radial-emerald {
    position: absolute;
    top: 400px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    filter: blur(40px);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 64px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo .bolt {
    color: var(--cyan);
    filter: drop-shadow(0 0 8px var(--cyan));
}

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

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

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

.btn-github {
    background: #111827;
    border: 1px solid var(--border-dim);
    padding: 8px 16px;
    border-radius: 8px;
    transition: background 0.2s, border-color 0.2s !important;
}

.btn-github:hover {
    background: #1f2937;
    border-color: #374151;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 24px 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.title {
    font-size: 56px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 680px;
}

/* Install command widget */
.install-wrap {
    margin-bottom: 48px;
    width: 100%;
    max-width: 480px;
}

.cmd-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #090d16;
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 14px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.cmd-block:hover {
    border-color: #374151;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.05);
}

.cmd-prompt {
    color: var(--cyan);
    margin-right: 12px;
    user-select: none;
}

.cmd-text {
    flex-grow: 1;
    text-align: left;
    color: #e5e7eb;
}

.btn-copy {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.btn-copy:hover {
    color: var(--text-primary);
}

.copy-tooltip {
    position: absolute;
    bottom: 150%;
    right: 50%;
    transform: translateX(50%);
    background: #111827;
    border: 1px solid var(--border-dim);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
}

.cmd-block:active .copy-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Terminal Widget */
.terminal-container {
    width: 100%;
    max-width: 720px;
    background: #080c14;
    border: 1px solid var(--border-dim);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin-top: 24px;
    text-align: left;
}

.terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: #0f172a;
    border-bottom: 1px solid var(--border-dim);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
}

.btn-run {
    background: var(--cyan);
    color: #030712;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-run:hover {
    opacity: 0.9;
}

.terminal-body {
    padding: 20px;
    height: 280px;
    overflow-y: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
}

.terminal-body .line {
    margin-bottom: 6px;
}

.terminal-body .line.active-prompt {
    color: #e2e8f0;
}

.terminal-body .prompt {
    color: var(--cyan);
    margin-right: 8px;
}

.cursor-line::after {
    content: "█";
    animation: blink 1s infinite;
    color: var(--cyan);
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Dividers */
.container-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-dim) 15%, var(--border-dim) 85%, transparent);
    max-width: 1200px;
    margin: 64px auto;
}

/* Stats Section */
.stats-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 48px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.stat-card {
    background: #080c14;
    border: 1px solid var(--border-dim);
    border-radius: 12px;
    padding: 24px 16px;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-val {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emerald-text { color: var(--emerald); }
.cyan-text { color: var(--cyan); }
.amber-text { color: var(--amber); }
.purple-text { color: var(--purple); }

/* Architecture Section */
.architecture-section {
    max-width: 1100px;
    margin: 80px auto 120px;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.arch-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
}

.arch-card {
    flex: 1;
    background: #080c14;
    border: 1px solid var(--border-dim);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: left;
    min-height: 220px;
    position: relative;
    transition: border-color 0.2s;
}

.arch-card:hover {
    border-color: #374151;
}

.arch-card.highlight-card {
    border-color: var(--cyan-glow);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.05);
}

.step-num {
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 16px;
}

.arch-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.arch-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.arrow-right {
    font-size: 24px;
    color: var(--border-dim);
    user-select: none;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-dim);
    background: #02050c;
    padding: 32px 24px;
    position: relative;
    z-index: 10;
}

.footer-wrap {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #4b5563;
    font-size: 12px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .navbar {
        padding: 24px;
    }
    .title {
        font-size: 40px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .arch-flow {
        flex-direction: column;
    }
    .arrow-right {
        transform: rotate(90deg);
        margin: 8px 0;
    }
}

/* Single Day & Value Projection Layout Styles */
.session-divider-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 48px 0 24px;
    text-align: center;
}

.session-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.session-stat-item {
    background: #090d16;
    border: 1px solid var(--border-dim);
    border-radius: 10px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.session-stat-item .lbl {
    color: var(--text-muted);
}

.session-stat-item .val {
    font-weight: 700;
}

.projection-card {
    background: #080c14;
    border: 1px solid var(--border-dim);
    border-radius: 14px;
    padding: 40px 32px;
    text-align: left;
    max-width: 800px;
    margin: 64px auto 0;
}

.projection-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
}

.projection-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.projection-table {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-dim);
    border-radius: 10px;
    overflow: hidden;
}

.proj-row {
    display: grid;
    grid-template-columns: 1.2fr 1.5fr 1fr;
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-dim);
    align-items: center;
}

.proj-row:last-child {
    border-bottom: none;
}

.proj-row.header {
    background: #0f172a;
    font-weight: 600;
    color: var(--text-primary);
}

.proj-row .team-size {
    font-weight: 600;
    color: var(--text-primary);
}

.proj-row .savings-val {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-align: right;
}

.highlighted-savings {
    color: var(--purple);
}

.projection-note {
    font-size: 11px;
    color: #4b5563;
    margin-top: 12px;
    text-align: left;
}

/* Benchmarks Section */
.benchmarks-section {
    max-width: 1000px;
    margin: 80px auto 0;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.benchmarks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.bench-card {
    background: #080c14;
    border: 1px solid var(--border-dim);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: left;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.bench-card h3 {
    font-size: 18px;
    margin-bottom: 24px;
    font-weight: 700;
}

.bench-card.highlight-card {
    border-color: var(--cyan-glow);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.05);
}

.bench-metrics {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.bench-row-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.bench-row-detail .label {
    color: var(--text-muted);
}

.bench-row-detail .value {
    font-weight: 600;
    color: var(--text-primary);
}

.bench-row-detail .value.text-dim {
    color: #6b7280;
}

.bench-row-detail .value.text-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--cyan);
}

.bench-row-detail.line-divider {
    height: 1px;
    background: var(--border-dim);
    margin: 6px 0;
}

.bench-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 10px;
}

/* Contact / Get In Touch Section */
.contact-section {
    max-width: 1000px;
    margin: 100px auto 120px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: radial-gradient(circle at top left, #0b1329 0%, #030712 100%);
    border: 1px solid var(--border-dim);
    border-radius: 20px;
    padding: 60px 48px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.contact-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto 36px;
}

.btn-contact {
    display: inline-block;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--emerald) 100%);
    color: #030712;
    padding: 16px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.2);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.35);
}

@media (max-width: 900px) {
    .benchmarks-grid {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 40px 24px;
    }
    .contact-title {
        font-size: 28px;
    }
}

/* Behemoth Comparison Table Styles */
.comparison-container {
    max-width: 800px;
    margin: 64px auto 0;
    text-align: left;
}

.comparison-container h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: left;
}

.comparison-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

.comparison-table {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-dim);
    border-radius: 10px;
    overflow: hidden;
}

.comp-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-dim);
    align-items: center;
}

.comp-row:last-child {
    border-bottom: none;
}

.comp-row.header {
    background: #0f172a;
    font-weight: 600;
    color: var(--text-primary);
}

.comp-row .engine-name {
    font-weight: 600;
    color: var(--text-primary);
}

.comp-row.highlighted-row {
    background: rgba(16, 185, 129, 0.03);
    border-left: 2px solid var(--emerald);
}

.font-bold {
    font-weight: 700;
}

