/* ================================================================
   Goltana — The Trading Gate
   Startup SaaS landing. Dark. Dense. Structural.
   ================================================================ */

/* ─── Reset ──────────────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; }

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #E8EDF2;
    background-color: #09090b;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Layout ─────────────────────────────────────────────────────── */

.gate { display: flex; flex-direction: column; min-height: 100vh; }

.section-container { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.section-container-wide { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ─── Shared Section Heading ─────────────────────────────────────── */

.section-heading {
    font-size: 28px;
    font-weight: 700;
    color: #E8EDF2;
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.section-sub {
    font-size: 15px;
    font-weight: 400;
    color: #6B7785;
    text-align: center;
    margin-bottom: 40px;
}

/* ─── Buttons ────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: #E8EDF2;
    color: #09090b;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 237, 242, 0.15);
}

.btn-ghost {
    background: transparent;
    color: #A8B3C0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #E8EDF2;
}

.btn-accent {
    background: #5CC6FF;
    color: #09090b;
}

.btn-accent:hover {
    background: #7dd3ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(92, 198, 255, 0.2);
}

.btn-full { width: 100%; }

/* ─── Navigation ─────────────────────────────────────────────────── */

.gate-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 32px;
    background: rgba(9, 9, 11, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-wordmark {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
    color: #E8EDF2;
}

.nav-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.12);
}

.nav-brand-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #5CC6FF;
    transition: color 0.15s ease;
}

.nav-brand-link:hover { color: #8DD8FF; }
.nav-brand-link.active { color: #5CC6FF; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: #6B7785;
    transition: color 0.15s ease;
}

.nav-link:hover { color: #A8B3C0; }
.nav-link.active { color: #E8EDF2; }

.nav-cta {
    font-size: 13px;
    font-weight: 600;
    color: #09090b;
    background: #E8EDF2;
    padding: 6px 16px;
    border-radius: 5px;
    transition: background 0.15s ease;
}

.nav-cta:hover { background: #fff; }

/* ─── Hero ───────────────────────────────────────────────────────── */

.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 80px 32px 0;
    position: relative;
    overflow: hidden;
    background: url('/img/hero-fade.png') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9,9,11,0.05) 0%, rgba(9,9,11,0.3) 60%, rgba(9,9,11,0.85) 100%);
    pointer-events: none;
}

.hero-inner {
    flex: 0 1 auto;
    max-width: 560px;
    margin-left: 8%;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #5CC6FF;
    padding: 4px 12px;
    border: 1px solid rgba(92, 198, 255, 0.2);
    border-radius: 20px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.1s forwards;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #E8EDF2;
    margin-bottom: 16px;
    letter-spacing: -1px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.2s forwards;
}

.hero-gradient {
    background: linear-gradient(135deg, #5CC6FF 0%, #F5A623 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 17px;
    font-weight: 400;
    color: #6B7785;
    line-height: 1.7;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.35s forwards;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.5s forwards;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.7s forwards;
}

.trust-item { display: flex; flex-direction: column; }

.trust-number {
    font-size: 20px;
    font-weight: 700;
    color: #E8EDF2;
    letter-spacing: -0.5px;
    min-width: 72px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.trust-compliments {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    color: #ff5f57;
    min-width: 100px;
}

.trust-label {
    font-size: 11px;
    font-weight: 500;
    color: #6B7785;
    letter-spacing: 0.5px;
}

.trust-sep {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
}



/* ─── How It Works ───────────────────────────────────────────────── */

.howitworks {
    padding: 0 24px 72px;
    position: relative;
    overflow: hidden;
}

.howitworks canvas.energy-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.howitworks::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(9,9,11,0.7) 70%, #09090b 100%);
    pointer-events: none;
    z-index: 0;
}

.howitworks .section-container-wide {
    position: relative;
    z-index: 1;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.step-card {
    padding: 28px 24px;
    background: rgba(9, 9, 11, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.step-card:hover {
    border-color: rgba(92, 198, 255, 0.18);
    background: rgba(9, 9, 11, 0.5);
}

.step-num {
    font-size: 12px;
    font-weight: 700;
    color: #5CC6FF;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #E8EDF2;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    font-weight: 400;
    color: #6B7785;
    line-height: 1.6;
}

/* ─── Arsenal Explorer ────────────────────────────────────────────── */

.features {
    padding: 72px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.arsenal-explorer {
    display: flex;
    gap: 20px;
    min-height: 420px;
}

/* ── Terminal Readout (left) ── */

.arsenal-readout {
    flex: 1;
    background: rgba(9, 9, 11, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.readout-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.readout-dot.red { background: #ff5f57; }
.readout-dot.yellow { background: #ffbd2e; }
.readout-dot.green { background: #27c93f; }

.readout-title {
    margin-left: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #6B7785;
}

.readout-body {
    flex: 1;
    padding: 16px 18px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
    font-size: 12.5px;
    line-height: 1.7;
    overflow-y: auto;
}

.readout-line {
    color: #E8EDF2;
    white-space: pre;
}

.readout-line.dim { color: #4A5568; }
.readout-line.cyan { color: #5CC6FF; }
.readout-line.orange { color: #F5A623; }
.readout-line.red { color: #FF6B6B; }

.readout-line.blink {
    color: #5CC6FF;
    animation: cursorBlink 1s step-end infinite;
}

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

/* ── Feature Tabs (right) ── */

.arsenal-tabs {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.arsenal-tab {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.arsenal-tab:hover {
    border-color: rgba(92, 198, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.arsenal-tab.active {
    border-color: rgba(92, 198, 255, 0.25);
    background: rgba(92, 198, 255, 0.04);
}

.tab-indicator {
    width: 3px;
    flex-shrink: 0;
    background: transparent;
    transition: background 0.2s ease;
}

.arsenal-tab.active .tab-indicator {
    background: linear-gradient(to bottom, #5CC6FF, #F5A623);
}

.tab-content {
    padding: 16px 18px;
}

.tab-label {
    font-size: 11px;
    font-weight: 700;
    color: #5CC6FF;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.tab-name {
    font-size: 14px;
    font-weight: 600;
    color: #E8EDF2;
    margin-bottom: 4px;
}

.tab-hint {
    font-size: 12px;
    font-weight: 400;
    color: #6B7785;
    line-height: 1.4;
}

/* ─── Samples ────────────────────────────────────────────────────── */

.samples {
    padding: 72px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.api-flow-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Scanline overlay for techy feel */
.samples::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(92, 198, 255, 0.008) 2px,
            rgba(92, 198, 255, 0.008) 4px
        );
}

/* ─── API Layout ─────────────────────────────────────────────────── */

.api-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* ─── Card Deck ──────────────────────────────────────────────────── */

.api-deck-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.api-deck {
    position: relative;
    height: 480px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.api-deck,
.api-card {
    min-height: 480px;
    max-height: 480px;
}

.api-deck.shuffling {
    transform: translateY(-8px);
}

.api-stack-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease;
}

.api-card {
    position: relative;
    z-index: 4;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.api-card-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.api-card-dots {
    display: flex;
    gap: 5px;
}

.api-card-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.api-card-dots .dot.red { background: #ff5f57; }
.api-card-dots .dot.yellow { background: #febc2e; }
.api-card-dots .dot.green { background: #28c840; }

.api-endpoint {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 11px;
    color: #A8B3C0;
    flex: 1;
}

.api-status {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 10px;
    color: #77D3A8;
    padding: 2px 8px;
    background: rgba(119, 211, 168, 0.08);
    border-radius: 4px;
    font-weight: 600;
}

.api-latency {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 10px;
    color: #6B7785;
    padding: 2px 6px;
}

.api-response {
    flex: 1;
    margin: 0;
    padding: 16px;
    overflow: auto;
}

.api-response-body {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 11.5px;
    line-height: 1.65;
    color: #C8D0DA;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ─── Deck Controls ──────────────────────────────────────────────── */

.api-deck-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.api-shuffle-btn {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 11px;
    color: #5CC6FF;
    background: rgba(92, 198, 255, 0.06);
    border: 1px solid rgba(92, 198, 255, 0.15);
    border-radius: 6px;
    padding: 6px 14px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.3px;
}

.api-shuffle-btn:hover {
    background: rgba(92, 198, 255, 0.12);
    border-color: rgba(92, 198, 255, 0.3);
}

.api-counter {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 11px;
    color: #6B7785;
    letter-spacing: 0.5px;
}

/* ─── SDK Panel ──────────────────────────────────────────────────── */

.api-sdk-panel {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.api-lang-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.api-lang-tab {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 11px;
    color: #6B7785;
    background: transparent;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
}

.api-lang-tab:hover {
    color: #A8B3C0;
}

.api-lang-tab.active {
    color: #5CC6FF;
}

.api-lang-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #5CC6FF, #F5A623);
    border-radius: 2px 2px 0 0;
}

.api-lang-tab[data-lang="php"] {
    color: #4a3a3a;
}

.api-lang-tab[data-lang="php"]:hover {
    color: #ff5f57;
}

.api-lang-tab[data-lang="php"].active {
    color: #ff5f57;
}

.api-lang-tab[data-lang="php"].active::after {
    background: linear-gradient(90deg, #ff5f57, #ff2d20);
}

.api-sdk-card {
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
    border-radius: 0 0 10px 10px;
    height: 440px;
    overflow: auto;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.api-sdk-card.php-shame {
    border-color: rgba(255, 95, 87, 0.15);
    background: rgba(40, 5, 5, 0.85);
}

.api-sdk {
    margin: 0;
    padding: 16px;
}

.api-sdk-body {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1.7;
    color: #A8B3C0;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ─── Pricing ────────────────────────────────────────────────────── */

.pricing {
    padding: 72px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.pricing-enterprise-row {
    max-width: 960px;
    margin: 24px auto 0;
}

.pricing-enterprise-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.pricing-enterprise-copy {
    flex: 0 0 200px;
}

.pricing-list-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 32px;
    flex: 1;
    margin-bottom: 0;
}

.pricing-enterprise-cta {
    flex: 0 0 auto;
}

.pricing-card {
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card-tourist {
    border-color: rgba(255, 255, 255, 0.04);
    opacity: 0.7;
}

.pricing-card-business {
    border-color: rgba(245, 166, 35, 0.25);
    background: rgba(245, 166, 35, 0.03);
}

.pricing-card-enterprise {
    border-color: rgba(92, 198, 255, 0.2);
    background: rgba(92, 198, 255, 0.03);
}

.price-amount-talk {
    font-size: 28px;
    letter-spacing: -0.5px;
}

.pricing-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #09090b;
    background: #5CC6FF;
    padding: 3px 10px;
    border-radius: 4px;
}

.pricing-tier {
    font-size: 13px;
    font-weight: 600;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.pricing-price { margin-bottom: 8px; }

.price-amount {
    font-size: 40px;
    font-weight: 800;
    color: #E8EDF2;
    letter-spacing: -1px;
}

.price-period {
    font-size: 15px;
    font-weight: 400;
    color: #6B7785;
}

.pricing-desc {
    font-size: 13px;
    color: #6B7785;
    margin-bottom: 20px;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    flex: 1;
}

.pricing-list li {
    font-size: 13px;
    font-weight: 400;
    color: #A8B3C0;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.pricing-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #77D3A8;
    font-size: 12px;
    font-weight: 700;
}

.pricing-footer {
    text-align: center;
    font-size: 12px;
    color: #6B7785;
    margin-top: 28px;
    font-style: italic;
}

/* ─── Testimonials ───────────────────────────────────────────────── */

.testimonials {
    padding: 72px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

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

.testimonial-card {
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-quote {
    font-size: 14px;
    font-weight: 400;
    color: #A8B3C0;
    line-height: 1.6;
    font-style: italic;
    flex: 1;
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 13px;
    font-weight: 600;
    color: #E8EDF2;
    margin-bottom: 4px;
}

.testimonial-retracted {
    color: #F5A623;
}

.testimonial-footnote {
    font-size: 11px;
    color: #6B7785;
    font-style: italic;
}

/* ─── Footer ─────────────────────────────────────────────────────── */

.gate-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 48px 24px 24px;
}

.footer-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    gap: 64px;
    margin-bottom: 40px;
}

.footer-philosophy {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.philosophy-pair {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.philosophy-dim {
    font-size: 14px;
    font-weight: 400;
    color: #6B7785;
}

.philosophy-bright {
    font-size: 14px;
    font-weight: 600;
    color: #E8EDF2;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    color: #E8EDF2;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.footer-link {
    font-size: 13px;
    color: #6B7785;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-link:hover {
    color: #A8B3C0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #6B7785;
    margin-right: 4px;
}

.footer-copy {
    font-size: 11px;
    color: #4a5260;
    font-weight: 300;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-bottom-link {
    font-size: 11px;
    color: #6B7785;
    text-decoration: none;
    transition: color 0.15s;
}

.footer-bottom-link:hover {
    color: #A8B3C0;
}

.footer-meta-sep {
    color: #333;
    font-size: 11px;
}

.footer-meta-muted {
    font-size: 11px;
    color: #4a5260;
    cursor: default;
}

.footer-signals-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-signal-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #77D3A8;
    display: inline-block;
    animation: signalPulse 2s ease-in-out infinite;
}

@keyframes signalPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(119, 211, 168, 0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(119, 211, 168, 0); }
}

/* ─── About Section (about page) ─────────────────────────────────── */

.about {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 100vh;
    padding: 0 32px 0;
    position: relative;
    overflow: hidden;
    background: url('/img/about.png') left top / 62% auto no-repeat;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(9,9,11,0.0) 0%, rgba(9,9,11,0.35) 50%, rgba(9,9,11,0.88) 100%),
                linear-gradient(to bottom, rgba(9,9,11,0.0) 0%, rgba(9,9,11,0.15) 60%, rgba(9,9,11,0.80) 100%);
    pointer-events: none;
}

.about-inner {
    max-width: 640px;
    width: 58%;
    margin-right: 5%;
    margin-left: auto;
    position: relative;
    z-index: 1;
    background: rgba(9, 9, 11, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 48px 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.about-hero {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.3s forwards;
}

.about-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #E8EDF2;
    margin-bottom: 16px;
    line-height: 1.2;
}

.about-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #A8B3C0;
    line-height: 1.7;
}

.about-tenets {
    display: flex;
    flex-direction: column;
    gap: 28px;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.7s forwards;
}

.about-tenet {
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
}

.tenet-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #5CC6FF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.tenet-text {
    font-size: 14px;
    font-weight: 400;
    color: #A8B3C0;
    line-height: 1.7;
}

.about-cta {
    margin-top: 36px;
    opacity: 0;
    animation: fadeIn 1.2s ease-out 0.9s forwards;
}

.about-cta-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #5CC6FF;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border: 1px solid rgba(92, 198, 255, 0.25);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.about-cta-link:hover {
    background: rgba(92, 198, 255, 0.08);
    border-color: rgba(92, 198, 255, 0.45);
    transform: translateY(-1px);
}

/* ─── Info Pages (shared base) ───────────────────────────────────── */

.info-page {
    padding: 120px 32px 80px;
    min-height: 100vh;
}

.info-container {
    max-width: 720px;
    margin: 0 auto;
}

.info-container-wide {
    max-width: 960px;
    margin: 0 auto;
}

.info-title {
    font-size: 28px;
    font-weight: 700;
    color: #E8EDF2;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.2s forwards;
}

.info-subtitle {
    font-size: 15px;
    color: #A8B3C0;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.35s forwards;
}

.info-footnote {
    font-size: 13px;
    color: #6B7785;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    line-height: 1.6;
}

.info-footnote a { color: #5CC6FF; text-decoration: none; }
.info-footnote a:hover { text-decoration: underline; }

/* ─── Dispatch Header ────────────────────────────────────────────── */

.dispatch-header {
    text-align: center;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.2s forwards;
}

.dispatch-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #5CC6FF;
    margin-bottom: 12px;
    font-family: 'Inter', monospace;
}

.dispatch-title {
    font-size: 40px;
    font-weight: 800;
    color: #E8EDF2;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.1;
}

.dispatch-rule {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #5CC6FF, rgba(92, 198, 255, 0.2));
    margin: 0 auto 20px;
    border-radius: 1px;
}

.dispatch-tagline {
    font-size: 14px;
    color: #6B7785;
    line-height: 1.8;
    letter-spacing: 0.2px;
    max-width: 480px;
    margin: 0 auto;
}

/* ─── Status Page ────────────────────────────────────────────────── */

.status-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.1s forwards;
}

.status-all-good {
    background: rgba(119, 211, 168, 0.08);
    border: 1px solid rgba(119, 211, 168, 0.2);
    color: #77D3A8;
}

.status-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #77D3A8;
    box-shadow: 0 0 6px rgba(119, 211, 168, 0.5);
}

.status-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 3px;
    transition: background 0.12s ease;
}

.status-row:hover { background: rgba(255, 255, 255, 0.035); }

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-operational { background: #77D3A8; box-shadow: 0 0 4px rgba(119, 211, 168, 0.4); }
.status-degraded { background: #F5A623; box-shadow: 0 0 4px rgba(245, 166, 35, 0.4); }

.status-name {
    font-size: 14px;
    font-weight: 500;
    color: #E8EDF2;
    flex: 1;
}

.status-uptime {
    font-size: 13px;
    font-weight: 400;
    color: #6B7785;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

/* ─── Changelog Page ─────────────────────────────────────────────── */

.changelog-entry {
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.changelog-entry:nth-child(1) { animation-delay: 0.4s; }
.changelog-entry:nth-child(2) { animation-delay: 0.5s; }
.changelog-entry:nth-child(3) { animation-delay: 0.6s; }
.changelog-entry:nth-child(4) { animation-delay: 0.7s; }
.changelog-entry:nth-child(5) { animation-delay: 0.8s; }

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

.changelog-version {
    font-size: 15px;
    font-weight: 700;
    color: #E8EDF2;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

.changelog-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 3px;
}

.changelog-tag-latest { background: rgba(92, 198, 255, 0.12); color: #5CC6FF; }
.changelog-tag-minor  { background: rgba(119, 211, 168, 0.1); color: #77D3A8; }
.changelog-tag-patch  { background: rgba(255, 255, 255, 0.06); color: #A8B3C0; }

.changelog-date {
    font-size: 13px;
    color: #6B7785;
    margin-left: auto;
}

.changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.changelog-list li {
    font-size: 14px;
    color: #A8B3C0;
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.changelog-list li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: #6B7785;
}

/* ─── Docs Page ──────────────────────────────────────────────────── */

.docs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.docs-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    transition: border-color 0.15s ease, transform 0.15s ease;
    cursor: default;
}

.docs-card:hover {
    border-color: rgba(92, 198, 255, 0.15);
    transform: translateY(-2px);
}

.docs-card-icon {
    font-size: 18px;
    display: block;
    margin-bottom: 12px;
    color: #5CC6FF;
}

.docs-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #E8EDF2;
    margin-bottom: 8px;
}

.docs-card-desc {
    font-size: 13px;
    color: #6B7785;
    line-height: 1.6;
}

/* ─── Careers Page ───────────────────────────────────────────────── */

.careers-notice {
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.careers-box {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.careers-role {
    font-size: 16px;
    font-weight: 600;
    color: #E8EDF2;
    margin-bottom: 10px;
}

.careers-desc {
    font-size: 14px;
    color: #A8B3C0;
    line-height: 1.7;
    margin-bottom: 8px;
}

.careers-desc:last-child { margin-bottom: 0; }

/* ─── Contact Page ───────────────────────────────────────────────── */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.contact-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #5CC6FF;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.contact-value {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #E8EDF2;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.15s ease;
}

.contact-value:hover { color: #5CC6FF; }

.contact-note {
    font-size: 13px;
    color: #6B7785;
    line-height: 1.5;
}

/* ─── Security Page ──────────────────────────────────────────────── */

.security-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.security-row {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 3px;
    transition: background 0.12s ease;
}

.security-row:hover { background: rgba(255, 255, 255, 0.035); }

.security-label {
    font-size: 14px;
    font-weight: 600;
    color: #E8EDF2;
    min-width: 140px;
    flex-shrink: 0;
}

.security-value {
    font-size: 14px;
    color: #A8B3C0;
    line-height: 1.6;
}

/* ─── Legal Pages ────────────────────────────────────────────────── */

.legal-content {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.legal-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #E8EDF2;
    margin-top: 32px;
    margin-bottom: 10px;
}

.legal-content h3:first-child { margin-top: 0; }

.legal-content p {
    font-size: 14px;
    color: #A8B3C0;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ─── Docs Section Pages ─────────────────────────────────────────── */

.doc-breadcrumb {
    font-size: 13px;
    color: #6B7785;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.1s forwards;
}

.doc-breadcrumb a {
    color: #5CC6FF;
    text-decoration: none;
    transition: color 0.15s ease;
}

.doc-breadcrumb a:hover { color: #8DD8FF; }

.doc-breadcrumb-sep {
    margin: 0 8px;
    color: #3a3f47;
}

.doc-section-icon {
    margin-right: 10px;
    color: #5CC6FF;
}

.doc-content {
    opacity: 0;
    animation: fadeIn 1s ease-out 0.4s forwards;
}

.doc-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.doc-section:last-child { border-bottom: none; }

.doc-heading {
    font-size: 18px;
    font-weight: 700;
    color: #E8EDF2;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.doc-subheading {
    font-size: 15px;
    font-weight: 600;
    color: #E8EDF2;
    margin-top: 24px;
    margin-bottom: 10px;
}

.doc-text {
    font-size: 14px;
    color: #A8B3C0;
    line-height: 1.8;
    margin-bottom: 16px;
}

.doc-text code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    color: #E8EDF2;
}

.doc-text em { color: #6B7785; }

/* Code blocks */
.doc-code-block {
    margin: 16px 0;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.doc-code-lang {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6B7785;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.doc-code {
    margin: 0;
    padding: 16px;
    overflow-x: auto;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.7;
    color: #c9d1d9;
    -webkit-overflow-scrolling: touch;
}

.doc-code code {
    font-family: inherit;
    font-size: inherit;
    background: none;
    padding: 0;
}

/* Tables */
.doc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.doc-table th {
    text-align: left;
    font-weight: 600;
    color: #E8EDF2;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.doc-table td {
    padding: 10px 14px;
    color: #A8B3C0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    line-height: 1.5;
    vertical-align: top;
}

.doc-table tr:hover td { background: rgba(255, 255, 255, 0.015); }

.doc-table code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 12px;
    color: #E8EDF2;
}

/* API endpoints */
.doc-endpoint {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.015);
    border-radius: 4px;
    margin-bottom: 4px;
    transition: background 0.12s ease;
}

.doc-endpoint:hover { background: rgba(255, 255, 255, 0.03); }

.doc-method {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 3px;
    flex-shrink: 0;
}

.doc-method-get  { background: rgba(119, 211, 168, 0.12); color: #77D3A8; }
.doc-method-post { background: rgba(92, 198, 255, 0.12); color: #5CC6FF; }

.doc-path {
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 13px;
    color: #E8EDF2;
    flex-shrink: 0;
}

.doc-endpoint-desc {
    font-size: 13px;
    color: #6B7785;
    margin-left: auto;
}

/* Callout boxes */
.doc-callout {
    padding: 16px 20px;
    background: rgba(92, 198, 255, 0.04);
    border-left: 3px solid rgba(92, 198, 255, 0.3);
    border-radius: 0 6px 6px 0;
    margin: 16px 0;
    font-size: 14px;
    color: #A8B3C0;
    line-height: 1.7;
}

.doc-callout strong { color: #5CC6FF; }

/* Status badges in tables */
.doc-status-live {
    font-size: 11px;
    font-weight: 700;
    color: #77D3A8;
    background: rgba(119, 211, 168, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
}

.doc-status-beta {
    font-size: 11px;
    font-weight: 700;
    color: #F5A623;
    background: rgba(245, 166, 35, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
}

.doc-status-no {
    font-size: 11px;
    font-weight: 700;
    color: #6B7785;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 8px;
    border-radius: 3px;
}

/* Docs card links */
a.docs-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ─── Status Degraded ─────────────────────────────────────────── */

.status-degraded-banner {
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.3);
    color: #F5A623;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.status-degraded-banner .status-banner-dot {
    background: #F5A623;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

/* ─── Changelog Subscribe ─────────────────────────────────────── */

.changelog-subscribe {
    margin-bottom: 32px;
    text-align: center;
}

.changelog-subscribe-btn {
    background: transparent;
    border: 1px solid rgba(92, 198, 255, 0.3);
    color: #5CC6FF;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.changelog-subscribe-btn:hover {
    background: rgba(92, 198, 255, 0.06);
    border-color: rgba(92, 198, 255, 0.5);
}

.changelog-subscribe-btn.subscribed {
    border-color: rgba(119, 211, 168, 0.3);
    color: #77D3A8;
    cursor: default;
}

/* ─── Toast ───────────────────────────────────────────────────── */

.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: #161618;
    border: 1px solid rgba(255,255,255,0.08);
    color: #E8EDF2;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

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

/* ─── 404 Not Found ───────────────────────────────────────────── */

.not-found-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.not-found-code {
    font-size: 120px;
    font-weight: 800;
    color: rgba(92, 198, 255, 0.08);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -4px;
    user-select: none;
}

/* ─── Playground ──────────────────────────────────────────────── */

.pg-input-row {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.pg-input {
    flex: 1;
    background: #0f0f11;
    border: 1px solid rgba(255,255,255,0.08);
    color: #E8EDF2;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.pg-input:focus {
    border-color: rgba(92, 198, 255, 0.3);
}

.pg-input::placeholder {
    color: #6B7785;
}

.pg-btn {
    background: #5CC6FF;
    color: #09090b;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.pg-btn:hover {
    opacity: 0.85;
}

.pg-select {
    background: #0f0f11;
    border: 1px solid rgba(255,255,255,0.08);
    color: #A8B3C0;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236B7785'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    transition: border-color 0.2s;
}

.pg-select:focus {
    border-color: rgba(92, 198, 255, 0.3);
}

.pg-nfa {
    text-align: center;
    font-size: 11px;
    color: #4a5260;
    margin-top: 24px;
    font-style: italic;
}

.pg-section-label {
    font-size: 11px;
    font-weight: 600;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    margin-top: 24px;
}

.pg-panel {
    background: #0f0f11;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 16px 20px;
    overflow-x: auto;
    margin-bottom: 8px;
}

.pg-panel code {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 12px;
    color: #A8B3C0;
    line-height: 1.6;
    white-space: pre;
}

.pg-result-panel {
    min-height: 160px;
}

.pg-result-panel code {
    color: #77D3A8;
}

.pg-typing code {
    border-right: 2px solid #5CC6FF;
    animation: cursorBlink 0.6s step-end infinite;
}

@keyframes cursorBlink {
    0%, 100% { border-color: #5CC6FF; }
    50% { border-color: transparent; }
}

/* ─── Trade / Submit ──────────────────────────────────────────── */

.trade-counter {
    font-size: 12px;
    color: #6B7785;
    text-align: center;
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.trade-counter-empty {
    color: #E85D5D;
}

.trade-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.trade-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trade-section-label {
    font-size: 10px;
    font-weight: 700;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 12px;
    margin-bottom: 2px;
}

.trade-section-label:first-child {
    margin-top: 0;
}

.trade-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trade-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #A8B3C0;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'SF Mono', 'Fira Code', monospace;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.trade-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #E8EDF2;
    border-color: rgba(255, 255, 255, 0.15);
}

.trade-chip-active {
    background: rgba(92, 198, 255, 0.1);
    border-color: rgba(92, 198, 255, 0.4);
    color: #5CC6FF;
}

.trade-chip-active:hover {
    background: rgba(92, 198, 255, 0.18);
    border-color: rgba(92, 198, 255, 0.55);
    color: #5CC6FF;
}

.trade-custom-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #E8EDF2;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.trade-custom-input:focus {
    border-color: rgba(92, 198, 255, 0.4);
}

.trade-custom-input::placeholder {
    color: #333;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: none;
}

.trade-direction {
    display: flex;
    gap: 8px;
}

.trade-dir-btn {
    flex: 1;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #6B7785;
    font-family: 'Inter', sans-serif;
}

.trade-dir-long.trade-dir-active {
    background: rgba(119, 211, 168, 0.1);
    border-color: rgba(119, 211, 168, 0.4);
    color: #77D3A8;
}

.trade-dir-short.trade-dir-active {
    background: rgba(232, 93, 93, 0.1);
    border-color: rgba(232, 93, 93, 0.4);
    color: #E85D5D;
}

.trade-dir-btn:hover:not(.trade-dir-active) {
    background: rgba(255, 255, 255, 0.08);
    color: #A8B3C0;
}

.trade-submit-btn {
    margin-top: 16px;
    background: #F5A623;
    color: #09090b;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.15s;
    width: 100%;
}

.trade-submit-btn:hover {
    opacity: 0.85;
}

.trade-right {
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.trade-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #333;
}

.trade-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.trade-empty-text {
    font-size: 14px;
    font-weight: 600;
    color: #6B7785;
    margin-bottom: 6px;
}

.trade-empty-sub {
    font-size: 12px;
    color: #333;
}

@media (max-width: 700px) {
    .trade-layout {
        grid-template-columns: 1fr;
    }
    .trade-right {
        min-height: 200px;
    }
}

/* ─── Verdict Card ───────────────────────────────────────────── */

.verdict-card {
    background: #111113;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 32px;
    margin-top: 12px;
}

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

.verdict-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.verdict-ticker {
    font-size: 22px;
    font-weight: 800;
    color: #E8EDF2;
    letter-spacing: 1px;
}

.verdict-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
}

.verdict-approved {
    background: rgba(119, 211, 168, 0.12);
    color: #77D3A8;
    border: 1px solid rgba(119, 211, 168, 0.3);
}

.verdict-denied {
    background: rgba(232, 93, 93, 0.12);
    color: #E85D5D;
    border: 1px solid rgba(232, 93, 93, 0.3);
}

.verdict-hold {
    background: rgba(245, 166, 35, 0.12);
    color: #F5A623;
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.verdict-confidence {
    margin-bottom: 24px;
}

.verdict-confidence-label {
    font-size: 12px;
    color: #6B7785;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.verdict-confidence-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.verdict-confidence-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s ease;
}

.verdict-fill-approved { background: #77D3A8; }
.verdict-fill-denied { background: #E85D5D; }
.verdict-fill-hold { background: #F5A623; }

.verdict-thesis {
    font-size: 14px;
    color: #A8B3C0;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 6px 6px 0;
}

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

.verdict-metric {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 14px 16px;
}

.verdict-metric-label {
    font-size: 10px;
    font-weight: 700;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.verdict-metric-value {
    font-size: 14px;
    font-weight: 700;
    color: #E8EDF2;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.verdict-risks {
    margin-bottom: 24px;
}

.verdict-risks-title {
    font-size: 11px;
    font-weight: 700;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.verdict-risk-item {
    font-size: 13px;
    color: #A8B3C0;
    line-height: 1.6;
    padding: 4px 0;
}

.verdict-risk-item::before {
    content: '\2022';
    color: #E85D5D;
    margin-right: 10px;
    font-weight: 700;
}

.verdict-footer {
    font-size: 11px;
    color: #333;
    font-family: 'SF Mono', 'Fira Code', monospace;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    letter-spacing: 0.3px;
}

.verdict-nfa {
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(232, 93, 93, 0.06);
    border: 1px solid rgba(232, 93, 93, 0.15);
    border-radius: 8px;
    font-size: 11px;
    color: #E85D5D;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 700px) {
    .verdict-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .verdict-card {
        padding: 20px;
    }
}

/* ─── Checkout Modal ─────────────────────────────────────────── */

.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.checkout-visible {
    opacity: 1;
    pointer-events: auto;
}

.checkout-card {
    background: #111113;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 40px;
    max-width: 420px;
    width: 90vw;
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.checkout-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #6B7785;
    font-size: 22px;
    cursor: pointer;
    transition: color 0.15s;
    line-height: 1;
}

.checkout-close:hover {
    color: #E8EDF2;
}

.checkout-title {
    font-size: 20px;
    font-weight: 700;
    color: #E8EDF2;
    margin-bottom: 8px;
}

.checkout-subtitle {
    font-size: 13px;
    color: #6B7785;
    line-height: 1.6;
    margin-bottom: 24px;
}

.checkout-plan {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: rgba(245, 166, 35, 0.06);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 8px;
    margin-bottom: 24px;
}

.checkout-plan-name {
    font-size: 14px;
    font-weight: 600;
    color: #F5A623;
}

.checkout-plan-price {
    font-size: 22px;
    font-weight: 700;
    color: #E8EDF2;
}

.checkout-plan-period {
    font-size: 13px;
    font-weight: 400;
    color: #6B7785;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.checkout-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-input {
    background: #0f0f11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #E85D5D;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-weight: 700;
    letter-spacing: 3px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-input:focus {
    border-color: rgba(232, 93, 93, 0.4);
}

.checkout-input::placeholder {
    color: #333;
    font-weight: 400;
    letter-spacing: 1px;
}

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

.checkout-half {
    flex: 1;
}

.checkout-pay-btn {
    width: 100%;
    background: #5CC6FF;
    color: #09090b;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    margin-bottom: 12px;
}

.checkout-pay-btn:hover {
    opacity: 0.85;
}

.checkout-shake {
    animation: shakeBtn 0.4s ease;
}

@keyframes shakeBtn {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.checkout-insult {
    font-size: 13px;
    color: #E85D5D;
    text-align: center;
    font-weight: 600;
    min-height: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.checkout-insult-visible {
    opacity: 1;
}

.checkout-fine-print {
    font-size: 10px;
    color: #333;
    text-align: center;
    margin-top: 12px;
    font-style: italic;
}

/* ─── Signals ─────────────────────────────────────────────────── */

.signal-section-label {
    font-size: 11px;
    font-weight: 600;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.signal-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
}

.signal-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.01);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: background 0.15s;
}

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

.signal-row:hover {
    background: rgba(255,255,255,0.03);
}

.signal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.signal-green  { background: #77D3A8; box-shadow: 0 0 6px rgba(119,211,168,0.3); }
.signal-yellow { background: #F5A623; box-shadow: 0 0 6px rgba(245,166,35,0.3); }
.signal-red    { background: #E85D5D; box-shadow: 0 0 6px rgba(232,93,93,0.3); }
.signal-gray   { background: #6B7785; }

.signal-label {
    flex: 1;
    font-size: 13px;
    color: #E8EDF2;
}

.signal-value {
    font-size: 13px;
    color: #A8B3C0;
    text-align: right;
}

/* ─── Blog ───────────────────────────────────────────────────────── */

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.blog-card {
    display: block;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}

.blog-card:hover {
    border-color: rgba(92, 198, 255, 0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

.blog-card-date {
    font-size: 12px;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #E8EDF2;
    line-height: 1.4;
    margin-bottom: 8px;
}

.blog-card-subtitle {
    font-size: 13px;
    color: #A8B3C0;
    line-height: 1.5;
    margin-bottom: 12px;
}

.blog-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-tag {
    display: inline-block;
    font-size: 11px;
    color: #5CC6FF;
    background: rgba(92, 198, 255, 0.08);
    border: 1px solid rgba(92, 198, 255, 0.12);
    border-radius: 3px;
    padding: 2px 8px;
    letter-spacing: 0.3px;
}

.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
}

.blog-empty-icon {
    font-size: 32px;
    color: #6B7785;
    margin-bottom: 16px;
}

.blog-empty-text {
    font-size: 16px;
    color: #A8B3C0;
    margin-bottom: 8px;
}

.blog-empty-sub {
    font-size: 13px;
    color: #6B7785;
    line-height: 1.5;
}

.blog-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: #6B7785;
    font-size: 14px;
}

@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.blog-skeleton {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.skel-line {
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.6s infinite linear;
}

.skel-date {
    width: 80px;
    height: 10px;
    margin-bottom: 14px;
}

.skel-title {
    width: 85%;
    height: 16px;
    margin-bottom: 10px;
}

.skel-sub {
    width: 100%;
    height: 11px;
    margin-bottom: 8px;
}

.skel-sub-short {
    width: 60%;
    height: 11px;
    margin-bottom: 16px;
}

.skel-tags {
    display: flex;
    gap: 8px;
}

.skel-tag {
    width: 48px;
    height: 18px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
    background-size: 800px 100%;
    animation: shimmer 1.6s infinite linear;
}

.blog-load-more {
    display: block;
    margin: 32px auto 0;
    padding: 10px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    color: #A8B3C0;
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.blog-load-more:hover {
    border-color: rgba(92, 198, 255, 0.2);
    color: #E8EDF2;
}

/* ─── Blog Post ──────────────────────────────────────────────────── */

.blog-post-container {
    max-width: 720px;
}

.blog-back {
    display: inline-block;
    font-size: 13px;
    color: #6B7785;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.15s ease;
}

.blog-back:hover {
    color: #5CC6FF;
}

.blog-post-meta {
    font-size: 12px;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-post-title {
    font-size: 32px;
    font-weight: 700;
    color: #E8EDF2;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.blog-post-subtitle {
    font-size: 16px;
    color: #A8B3C0;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-post-byline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8A94A0;
    margin-bottom: 32px;
}

.blog-ai-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    text-transform: uppercase;
}

.blog-post-body {
    font-size: 15px;
    color: #C8D0DA;
    line-height: 1.8;
    margin-bottom: 40px;
}

.blog-post-body h2 {
    font-size: 20px;
    font-weight: 600;
    color: #E8EDF2;
    margin: 32px 0 12px;
}

.blog-post-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #E8EDF2;
    margin: 24px 0 8px;
}

.blog-post-body p {
    margin-bottom: 16px;
}

.blog-post-body ul, .blog-post-body ol {
    margin: 12px 0 16px 20px;
}

.blog-post-body li {
    margin-bottom: 6px;
}

.blog-post-body blockquote {
    border-left: 3px solid rgba(92, 198, 255, 0.3);
    padding: 8px 16px;
    margin: 16px 0;
    color: #A8B3C0;
    font-style: italic;
}

.blog-post-body code {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 6px;
    border-radius: 3px;
    color: #F5A623;
}

.blog-post-body pre {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 5px;
    padding: 16px;
    overflow-x: auto;
    margin: 16px 0;
}

.blog-post-body pre code {
    background: none;
    padding: 0;
}

.blog-post-body strong {
    color: #E8EDF2;
    font-weight: 600;
}

.blog-post-body em {
    color: #A8B3C0;
}

.blog-post-body a {
    color: #5CC6FF;
    text-decoration: none;
    border-bottom: 1px solid rgba(92, 198, 255, 0.2);
    transition: border-color 0.15s ease;
}

.blog-post-body a:hover {
    border-color: #5CC6FF;
}

.blog-post-body hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 32px 0;
}

.blog-post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 24px;
    margin-bottom: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.blog-post-nfa {
    font-size: 12px;
    color: #6B7785;
    line-height: 1.6;
    padding: 16px;
    background: rgba(232, 93, 93, 0.04);
    border: 1px solid rgba(232, 93, 93, 0.08);
    border-radius: 5px;
    margin-top: 24px;
}

/* TL;DR */
.blog-tldr {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid rgba(92, 198, 255, 0.1);
    border-radius: 6px;
    background: rgba(92, 198, 255, 0.03);
}

.blog-tldr-label {
    display: inline-block;
    margin-bottom: 6px;
    color: #5CC6FF;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-tldr-content {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #A8B3C0;
}

/* Next / Previous navigation */
.blog-post-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.blog-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    max-width: 48%;
}

.blog-nav-link:hover {
    border-color: rgba(92, 198, 255, 0.2);
    background: rgba(92, 198, 255, 0.03);
}

.blog-nav-prev { align-items: flex-start; }
.blog-nav-next { align-items: flex-end; margin-left: auto; }

.blog-nav-dir {
    font-size: 11px;
    color: #5CC6FF;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 600;
}

.blog-nav-title {
    font-size: 13px;
    color: #A8B3C0;
    line-height: 1.4;
}

/* Card TL;DR preview */
.blog-card-tldr {
    font-size: 12px;
    color: #6B7785;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── Admin Dashboard ────────────────────────────────────────────── */

.admin-page {
    min-height: 100vh;
    padding: 24px 32px;
    background: #09090b;
}

.admin-header {
    max-width: 1200px;
    margin: 0 auto 24px;
}

.admin-title {
    font-size: 20px;
    font-weight: 700;
    color: #E8EDF2;
    letter-spacing: -0.3px;
}

.admin-auth {
    max-width: 400px;
    margin: 0 auto;
    padding-top: 60px;
}

.admin-label {
    display: block;
    font-size: 11px;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    margin-top: 12px;
}

.admin-label:first-child {
    margin-top: 0;
}

.admin-key-row {
    display: flex;
    gap: 8px;
}

.admin-input {
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    color: #E8EDF2;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease;
}

.admin-input:focus {
    border-color: rgba(92, 198, 255, 0.3);
}

.admin-textarea {
    width: 100%;
    min-height: 350px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    color: #C8D0DA;
    font-size: 13px;
    font-family: 'SF Mono', 'Fira Code', monospace;
    line-height: 1.6;
    resize: vertical;
    outline: none;
    transition: border-color 0.15s ease;
}

.admin-textarea:focus {
    border-color: rgba(92, 198, 255, 0.3);
}

/* ─── Two-Column Dashboard Layout ────────────────────────────────── */

.admin-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.admin-sidebar {
    position: sticky;
    top: 24px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
}

.admin-main {
    min-width: 0;
}

/* ─── Economics Sidebar ──────────────────────────────────────────── */

.admin-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.admin-stat-card {
    padding: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.admin-stat-card-wide {
    grid-column: 1 / -1;
}

.admin-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #E8EDF2;
    letter-spacing: -0.3px;
}

.admin-stat-label {
    display: block;
    font-size: 10px;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.admin-stat-sub {
    display: block;
    font-size: 10px;
    color: #6B7785;
    margin-top: 2px;
}

.admin-budget-edit {
    float: right;
    cursor: pointer;
    font-weight: 400;
    transition: color 0.15s;
}

.admin-budget-edit:hover {
    color: #5CC6FF;
}

.admin-budget-bar {
    margin-top: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.admin-budget-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease, background 0.3s ease;
}

/* ─── Bar Chart ──────────────────────────────────────────────────── */

.admin-chart-section {
    margin-bottom: 14px;
}

.admin-chart-section .admin-stat-label {
    margin-bottom: 6px;
}

.admin-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 60px;
    padding: 0 2px;
}

.admin-bar {
    flex: 1;
    min-width: 0;
    background: rgba(92, 198, 255, 0.25);
    border-radius: 2px 2px 0 0;
    transition: background 0.15s;
    cursor: default;
}

.admin-bar:hover {
    background: rgba(92, 198, 255, 0.5);
}

.admin-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #6B7785;
    margin-top: 4px;
    padding: 0 2px;
}

/* ─── Model Table ────────────────────────────────────────────────── */

.admin-model-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.admin-model-table th {
    color: #6B7785;
    font-weight: 500;
    text-align: left;
    padding: 4px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.admin-model-table td {
    color: #A8B3C0;
    padding: 5px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.admin-model-table tr:last-child td {
    border-bottom: none;
}

/* ─── Token Stats ────────────────────────────────────────────────── */

.admin-token-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #A8B3C0;
}

/* ─── Generate Section (compact) ─────────────────────────────────── */

.admin-section {
    margin-bottom: 24px;
}

.admin-section-compact {
    padding: 16px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.admin-section-compact .admin-label {
    margin-top: 8px;
}

.admin-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #E8EDF2;
    margin-bottom: 10px;
}

.admin-section-desc {
    font-size: 12px;
    color: #6B7785;
    line-height: 1.5;
    margin-bottom: 12px;
}

.admin-gen-status {
    font-size: 12px;
    color: #A8B3C0;
    margin-top: 8px;
    min-height: 18px;
}

.admin-provider-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.admin-provider-group {
    flex: 1;
}

.admin-provider-group .admin-label {
    margin-top: 0;
}

.admin-select {
    width: 100%;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    color: #E8EDF2;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7785' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.admin-select:focus {
    border-color: rgba(92, 198, 255, 0.3);
}

.admin-select option {
    background: #13131a;
    color: #E8EDF2;
}

/* ─── Buttons ────────────────────────────────────────────────────── */

.admin-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    color: #A8B3C0;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.admin-btn:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: #E8EDF2;
}

.admin-btn-primary {
    background: rgba(92, 198, 255, 0.1);
    border-color: rgba(92, 198, 255, 0.2);
    color: #5CC6FF;
}

.admin-btn-primary:hover {
    background: rgba(92, 198, 255, 0.15);
    border-color: rgba(92, 198, 255, 0.35);
}

.admin-btn-danger {
    color: #E85D5D;
    border-color: rgba(232, 93, 93, 0.15);
}

.admin-btn-danger:hover {
    border-color: rgba(232, 93, 93, 0.35);
    background: rgba(232, 93, 93, 0.08);
}

.admin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.admin-btn-accent {
    background: rgba(92, 198, 255, 0.12);
    border-color: rgba(92, 198, 255, 0.25);
    color: #5CC6FF;
}

.admin-btn-accent:hover {
    background: rgba(92, 198, 255, 0.2);
    border-color: rgba(92, 198, 255, 0.4);
}

.admin-btn-sm {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 4px;
}

.admin-gen-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-cache-status {
    font-size: 11px;
    color: #6B7785;
}

/* ─── Search & Filter ────────────────────────────────────────────── */

.admin-posts-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.admin-search-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-search-input {
    width: 180px;
    flex: none;
}

.admin-status-tabs {
    display: flex;
    gap: 2px;
}

.admin-tab {
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: #6B7785;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.admin-tab:hover {
    color: #A8B3C0;
    border-color: rgba(255, 255, 255, 0.1);
}

.admin-tab-active {
    background: rgba(92, 198, 255, 0.1);
    border-color: rgba(92, 198, 255, 0.2);
    color: #5CC6FF;
}

/* ─── Posts List ──────────────────────────────────────────────────── */

.admin-posts {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-post-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    gap: 10px;
}

.admin-post-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.admin-status {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.admin-status-pub {
    color: #77D3A8;
    background: rgba(119, 211, 168, 0.1);
}

.admin-status-draft {
    color: #F5A623;
    background: rgba(245, 166, 35, 0.1);
}

.admin-post-date {
    font-size: 11px;
    color: #6B7785;
    white-space: nowrap;
}

.admin-post-title {
    font-size: 13px;
    color: #E8EDF2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-post-cost {
    font-size: 10px;
    color: #F5A623;
    white-space: nowrap;
    margin-left: auto;
}

.admin-post-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.admin-action-btn {
    font-size: 11px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    padding: 3px 10px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    font-family: inherit;
}

.admin-action-edit {
    color: #5CC6FF;
    border-color: rgba(92, 198, 255, 0.15);
}

.admin-action-edit:hover {
    border-color: rgba(92, 198, 255, 0.35);
}

.admin-action-pub {
    color: #77D3A8;
    border-color: rgba(119, 211, 168, 0.15);
}

.admin-action-pub:hover {
    border-color: rgba(119, 211, 168, 0.35);
}

.admin-action-unpub {
    color: #F5A623;
    border-color: rgba(245, 166, 35, 0.15);
}

.admin-action-unpub:hover {
    border-color: rgba(245, 166, 35, 0.35);
}

.admin-action-del {
    color: #E85D5D;
    border-color: rgba(232, 93, 93, 0.12);
    font-size: 14px;
    padding: 2px 6px;
    line-height: 1;
}

.admin-action-del:hover {
    border-color: rgba(232, 93, 93, 0.35);
    background: rgba(232, 93, 93, 0.06);
}

/* ─── Pagination ─────────────────────────────────────────────────── */

.admin-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    justify-content: flex-end;
}

.admin-pagination-info {
    font-size: 11px;
    color: #6B7785;
    margin-right: auto;
}

.admin-empty {
    font-size: 13px;
    color: #6B7785;
    padding: 16px 0;
}

.admin-pass {
    display: inline-block;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(92, 198, 255, 0.08);
    color: #5CC6FF;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-right: 2px;
}

.admin-pass-done {
    background: rgba(119, 211, 168, 0.12);
    color: #77D3A8;
}

/* ─── Editor Slide-Over Panel ────────────────────────────────────── */

.admin-editor-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.admin-editor-backdrop.admin-editor-open {
    opacity: 1;
    pointer-events: auto;
}

.admin-editor-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 620px;
    height: 100vh;
    background: #0c0c10;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.admin-editor-panel.admin-editor-open {
    transform: translateX(0);
}

.admin-editor-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.admin-editor-panel-header .admin-section-title {
    margin-bottom: 0;
}

.admin-editor-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.admin-edit-slug {
    font-size: 11px;
    color: #6B7785;
    font-weight: 400;
    margin-left: 8px;
}

.admin-editor-actions {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.admin-preview {
    margin-top: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(92, 198, 255, 0.1);
    border-radius: 6px;
}

.admin-sources {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.admin-meta-info {
    font-size: 11px;
    color: #6B7785;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.admin-source-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

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

.admin-source-name {
    font-size: 10px;
    color: #6B7785;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    min-width: 80px;
}

.admin-source-link {
    font-size: 12px;
    color: #A8B3C0;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.admin-source-link:hover {
    color: #5CC6FF;
}

/* ─── Redraft Bar ────────────────────────────────────────────────── */

.admin-redraft-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px 14px;
    background: rgba(92, 198, 255, 0.04);
    border: 1px solid rgba(92, 198, 255, 0.12);
    border-radius: 6px;
    flex-wrap: wrap;
}

.admin-redraft-input {
    flex: 1;
    min-width: 160px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: #E8EDF2;
    font-size: 12px;
    font-family: inherit;
    outline: none;
}

.admin-redraft-input:focus {
    border-color: rgba(92, 198, 255, 0.3);
}

.admin-redraft-input::placeholder {
    color: #6B7785;
}

.admin-redraft-select {
    width: auto;
    min-width: 90px;
}

.admin-redraft-status {
    font-size: 11px;
    color: #6B7785;
    white-space: nowrap;
}

/* ─── Pass Tracker ───────────────────────────────────────────────── */

.admin-pass-tracker {
    margin-bottom: 16px;
}

.admin-pass-bar {
    display: flex;
    gap: 6px;
}

.admin-pass-step {
    flex: 1;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 5px;
    text-align: center;
}

.admin-pass-step-done {
    background: rgba(119, 211, 168, 0.06);
    border-color: rgba(119, 211, 168, 0.15);
}

.admin-pass-num {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #6B7785;
    margin-bottom: 2px;
}

.admin-pass-step-done .admin-pass-num {
    color: #77D3A8;
}

.admin-pass-name {
    display: block;
    font-size: 10px;
    color: #A8B3C0;
    letter-spacing: 0.2px;
}

.admin-pass-info {
    display: block;
    font-size: 9px;
    color: #6B7785;
    margin-top: 3px;
}

.admin-pass-actions {
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

/* ─── Cost Breakdown ─────────────────────────────────────────────── */

.admin-cost-breakdown {
    margin-bottom: 10px;
}

.admin-cost-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 5px;
    font-size: 11px;
}

.admin-cost-label {
    color: #A8B3C0;
    font-weight: 500;
    margin-right: 2px;
}

.admin-cost-item {
    color: #6B7785;
}

.admin-cost-total {
    color: #F5A623;
    font-weight: 600;
    margin-left: auto;
}

/* ─── Version Tabs ───────────────────────────────────────────────── */

.admin-version-tabs {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.admin-version-label {
    font-size: 10px;
    color: #6B7785;
    margin-right: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-version-tab {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #A8B3C0;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}

.admin-version-tab:hover {
    background: rgba(92, 198, 255, 0.08);
    border-color: rgba(92, 198, 255, 0.2);
    color: #E8EDF2;
}

.admin-version-tab-active {
    background: rgba(92, 198, 255, 0.12);
    border-color: rgba(92, 198, 255, 0.3);
    color: #5CC6FF;
    font-weight: 500;
}

/* ─── Animations ─────────────────────────────────────────────────── */

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

/* ─── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 768px) {

    .gate-nav { padding: 0 16px; }
    .nav-cta { display: none; }

    .hero {
        flex-direction: column;
        padding: 80px 20px 40px;
        min-height: auto;
    }

    .hero-inner { max-width: 100%; margin-left: 0; }

    .hero-title { font-size: 32px; }

    .hero-trust { flex-wrap: wrap; gap: 16px; }

    .hero-actions { flex-direction: column; }

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

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

    .arsenal-explorer {
        flex-direction: column;
    }

    .arsenal-tabs {
        flex: none;
    }

    .arsenal-readout {
        min-height: 320px;
    }

    .api-layout { grid-template-columns: 1fr; }
    .api-deck, .api-deck .api-card { min-height: 400px; max-height: 400px; height: 400px; }
    .api-sdk-card { height: 340px; }
    .api-lang-tab { padding: 8px 10px; font-size: 10px; }

    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .pricing-enterprise-inner { flex-direction: column; gap: 20px; align-items: stretch; }
    .pricing-enterprise-copy { flex: none; }
    .pricing-list-horizontal { grid-template-columns: 1fr; }
    @media (max-width: 600px) {
        .pricing-grid { grid-template-columns: 1fr; }
    }

    .about {
        padding: 100px 20px 60px;
        min-height: auto;
        align-items: flex-start;
    }

    .about-inner {
        margin-right: auto;
        margin-left: auto;
        max-width: 100%;
    }

    .about-title { font-size: 24px; }

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

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-philosophy {
        flex: none;
        flex-direction: row;
        gap: 32px;
        flex-wrap: wrap;
    }

    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        gap: 10px;
    }

    .footer-bottom-meta {
        justify-content: center;
    }

    .footer-bottom-legal {
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
    }

    /* Info pages responsive */
    .info-page { padding: 100px 20px 60px; }
    .info-title { font-size: 24px; }

    .docs-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }

    .security-row { flex-direction: column; gap: 6px; }
    .security-label { min-width: auto; }

    .changelog-header { flex-wrap: wrap; }
    .changelog-date { margin-left: 0; }

    /* New components responsive */
    .not-found-code { font-size: 72px; }
    .pg-input-row { flex-direction: column; }
    .signal-row { padding: 12px 16px; }
    .signal-value { font-size: 12px; }
    .toast { right: 16px; left: 16px; bottom: 16px; }

    /* Doc section pages responsive */
    .doc-endpoint { flex-wrap: wrap; gap: 8px; }
    .doc-endpoint-desc { margin-left: 0; font-size: 12px; }
    .doc-table { font-size: 12px; }
    .doc-table th, .doc-table td { padding: 8px 10px; }
    .info-container-wide { max-width: 100%; }

    /* Blog responsive */
    .blog-grid { grid-template-columns: 1fr; }
    .blog-post-title { font-size: 24px; }
    .blog-post-body { font-size: 14px; }
    .admin-key-row { flex-direction: column; }
    .admin-provider-row { flex-direction: column; gap: 8px; }
    .admin-post-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .admin-editor-actions { flex-direction: column; }
    .admin-dashboard { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
    .admin-editor-panel { width: 100%; }
    .admin-posts-header { flex-direction: column; }
    .admin-search-row { flex-direction: column; width: 100%; }
    .admin-search-input { width: 100%; }

    @media (max-width: 600px) {
        .testimonials-grid { grid-template-columns: 1fr; }
        .footer-philosophy { flex-direction: column; gap: 16px; }
        .footer-nav { grid-template-columns: 1fr 1fr; }
    }
}
