/* ============================================
   SCROLLABLE CODE BLOCK KEYBOARD ACCESS
   tabindex="0" on <pre> and <code> inside .code-block
   ============================================ */
.code-block pre[tabindex="0"]:focus-visible,
.code-block code[tabindex="0"]:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

/* ============================================
   SCROLLBAR STYLING
   FASTNODE DESIGN SYSTEM
   Terminal-brutalist aesthetic
   Dark-first, electric cyan accent thread
   ============================================ */

/* ============================================
   RESET & BOX MODEL
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   Space Grotesk headings | IBM Plex Sans body
   JetBrains Mono for code/specs/stats
   ============================================ */
body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.15;
    color: var(--primary);
    overflow-wrap: break-word;
}

/* H1 - 40px mobile / 64px desktop */
h1 {
    font-size: clamp(2.25rem, 5vw + 0.5rem, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* H2 - 30px mobile / 44px desktop */
h2 {
    font-size: clamp(1.875rem, 3vw + 0.75rem, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}

/* H3 - 22px mobile / 28px desktop */
h3 {
    font-size: clamp(1.375rem, 2vw + 0.5rem, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* H4 - 18px mobile / 20px desktop */
h4 {
    font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.25rem);
    font-weight: 600;
}

h5 {
    font-size: 1rem;
    font-weight: 600;
}

h6 {
    font-size: 0.9rem;
    font-weight: 600;
}

p {
    margin-bottom: 24px;
    overflow-wrap: break-word;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    opacity: 0.85;
}

/* Inline links inside text blocks - must be distinguishable without color alone */
.inline-link {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.inline-link:hover {
    opacity: 0.85;
}

/* Monospace elements */
code, kbd, samp, pre {
    font-family: var(--font-mono);
    font-size: 0.9em;
}

/* Lists */
ul, ol {
    padding-left: 1.5em;
}

li {
    margin-bottom: 0.5em;
    overflow-wrap: break-word;
}

/* ============================================
   OVERFLOW PREVENTION
   ============================================ */
img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
    white-space: pre;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.container--prose {
    max-width: var(--prose-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

@media (min-width: 1024px) {
    .container,
    .container--prose {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    .section {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }
}

/* Full-bleed utility */
.full-bleed {
    width: 100%;
    max-width: none;
}

/* ============================================
   BUTTONS
   Primary (cyan filled), Ghost (border only)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 14px 28px;
    min-height: 48px;
    transition: all var(--transition-med);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Primary - filled electric cyan */
.btn-primary {
    background-color: var(--cyan);
    color: #0E1117;
    border-color: var(--cyan);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--cyan);
    opacity: 1;
}

/* Ghost - transparent with border */
.btn-ghost {
    background-color: transparent;
    /*color: var(--foreground);*/
    border-color: var(--border);
}

.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    opacity: 1;
}

/* Small variant */
.btn-sm {
    font-size: 0.875rem;
    padding: 10px 20px;
    min-height: 40px;
}

/* Large variant */
.btn-lg {
    font-size: 1.125rem;
    padding: 18px 40px;
    min-height: 56px;
}

/* Glow pulse animation for primary CTA */
.btn-glow {
    animation: btnGlowPulse 2s infinite;
}

@keyframes btnGlowPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
    50% { box-shadow: 0 0 20px 6px rgba(0, 212, 255, 0.15); }
}

/* Full-width variant */
.btn-full {
    width: 100%;
}

/* ============================================
   SCAN-LINE GLOW EFFECT
   Horizontal electric cyan pulse - hero/CTA signal
   ============================================ */
.scanline-glow {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, rgba(0, 212, 255, 0.8) 50%, var(--cyan) 70%, transparent 100%);
    animation: scanlinePulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes scanlinePulse {
    0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Scan-line overlay texture */
.scanline-overlay {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 212, 255, 0.015) 3px,
        rgba(0, 212, 255, 0.015) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* ============================================
   HEADER
   Sticky, transparent → frosted glass on scroll
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
    background-color: rgba(14, 17, 23, 0.92);
    border-bottom-color: rgba(0, 212, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* On mobile - never apply backdrop-filter (causes fixed child issues) */
@media (max-width: 767px) {
    .site-header.is-scrolled {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background-color: rgba(14, 17, 23, 0.97);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    height: 64px;
    gap: var(--space-md);
}

@media (min-width: 1024px) {
    .header-inner {
        padding: 0 var(--space-lg);
    }
}

/* Logo */
.header-logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    letter-spacing: -0.02em;
}

/* Desktop Navigation */
.header-nav {
    display: none;
    align-items: center;
    gap: var(--space-lg);
    flex: 1;
    justify-content: center;
}

@media (min-width: 1024px) {
    .header-nav {
        display: flex;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 8px 12px;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
    min-height: 40px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 12px;
    right: 12px;
    height: 1.5px;
    background-color: var(--cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 150ms ease-out;
}

.nav-link:hover,
.nav-link:hover::after {
    color: var(--foreground);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

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

/* Dropdown */
.nav-dropdown {
    position: relative;
    list-style: none;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-chevron {
    transition: transform var(--transition-fast);
}

.nav-dropdown-toggle[aria-expanded="true"] .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 8px 0;
    min-width: 260px;
    max-width: calc(100vw - 48px);
    list-style: none;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-dropdown.is-open .dropdown-menu {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: background-color var(--transition-fast), color var(--transition-fast);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.dropdown-link:hover {
    background-color: var(--muted);
    color: var(--foreground);
    opacity: 1;
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    cursor: pointer;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

/* Show/hide sun/moon based on theme */
.dark .icon-sun { display: block; }
.dark .icon-moon { display: none; }
.icon-sun { display: none; }
.icon-moon { display: block; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--border);
    cursor: pointer;
    padding: 10px 11px;
    z-index: 1001;
    transition: border-color var(--transition-fast);
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    border-color: var(--cyan);
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--foreground);
    transition: transform 250ms ease, opacity 250ms ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* Hide on desktop */
@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Nav Drawer */
@media (max-width: 1023px) {
    .header-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--background);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        overflow-y: auto;
        z-index: 999;
        padding: var(--space-md);
    }

    .header-nav.is-open {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-link {
        font-size: 1.125rem;
        padding: 16px 12px;
        min-height: 56px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-link::after {
        display: none;
    }

    .nav-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: var(--space-md);
        gap: 12px;
    }

    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        display: none;
        position: static;
        border: none;
        background-color: var(--muted);
        padding: 0;
        box-shadow: none;
        min-width: 0;
    }

    .nav-dropdown.is-open .dropdown-menu {
        display: block;
    }

    .dropdown-link {
        padding-left: 32px;
    }
}

/* ============================================
   CARDS
   .card - base container
   .card-featured - highlighted with cyan border
   .card-product - product listing card
   ============================================ */
.card {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 20px;
    min-width: 0;
    transition: box-shadow var(--transition-med), transform var(--transition-med);
}

@media (min-width: 768px) {
    .card {
        padding: 32px;
    }
}

.card:hover {
    box-shadow: var(--shadow-card);
    transform: scale(1.02);
}

.card-featured {
    border: 2px solid var(--cyan);
    box-shadow: var(--shadow-card);
}

.card-featured:hover {
    box-shadow: 0 4px 32px rgba(0, 212, 255, 0.2);
}

/* Top-border accent variant */
.card-accent-top {
    border-top: 2px solid var(--cyan);
}

/* ============================================
   CODE BLOCKS
   Terminal aesthetic with scan-line texture
   ============================================ */
.code-block {
    position: relative;
    background-color: #070B0F;
    border-left: 2px solid var(--cyan);
    padding: 20px 24px;
    margin: 16px 0;
    overflow-x: auto;
    min-width: 0;
}

/* Subtle scan-line texture */
.code-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 212, 255, 0.02) 3px,
        rgba(0, 212, 255, 0.02) 4px
    );
    pointer-events: none;
}

.code-block pre {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    overflow-x: auto;
    white-space: pre;
}

.code-block code {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    color: #A8FF78;
    line-height: 1.7;
    display: block;
    min-width: 0;
    white-space: pre;
}

.code-block-output code {
    color: var(--steel-gray);
}

.code-block-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    opacity: 0.7;
}

/* Terminal window component */
.terminal-window {
    background-color: #070B0F;
    border: 1px solid var(--border);
    min-width: 0;
}

.terminal-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background-color: rgba(255,255,255,0.03);
}

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

.terminal-dot-red { background-color: #FF5F57; }
.terminal-dot-yellow { background-color: #FEBC2E; }
.terminal-dot-green { background-color: #28C840; }

.terminal-tab {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--steel-gray);
    margin-left: 8px;
}

.terminal-body {
    padding: 20px 24px;
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    color: #A8FF78;
    line-height: 1.7;
    overflow-x: auto;
    min-width: 0;
}

.terminal-body code {
    font-family: inherit;
    color: inherit;
    font-size: inherit;
}

.terminal-prompt {
    color: var(--cyan);
}

.terminal-comment {
    color: var(--steel-gray);
    opacity: 0.7;
}

.terminal-output {
    color: var(--off-white);
    opacity: 0.8;
}

/* Blinking cursor */
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background-color: var(--cyan);
    vertical-align: text-bottom;
    animation: cursorBlink 1s step-end infinite;
}

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

/* ============================================
   CTA BANNER COMPONENT
   Full-width conversion interrupt
   ============================================ */
.cta-banner {
    position: relative;
    background-color: #070B0F;
    border-top: 1px solid rgba(0, 212, 255, 0.6);
    overflow: clip;
}

.cta-banner-scanline {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 212, 255, 0.025) 3px,
        rgba(0, 212, 255, 0.025) 4px
    );
    pointer-events: none;
    z-index: 0;
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-lg) var(--space-md);
    align-items: flex-start;
}

@media (min-width: 768px) {
    .cta-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-lg);
    }
}

.cta-banner-text {
    min-width: 0;
}

.cta-banner-headline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--off-white);
    margin-bottom: 8px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .cta-banner-headline {
        font-size: 1.75rem;
    }
}

.cta-banner-sub {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: var(--steel-gray);
    margin: 0;
}

.cta-banner-btn {
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .cta-banner-btn {
        width: auto;
    }
}

/* ============================================
   FAQ ACCORDION COMPONENT
   ============================================ */
.faq-accordion {
    width: 100%;
}

.faq-item {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    margin-bottom: 2px;
    transition: border-left-color var(--transition-med), box-shadow var(--transition-med);
}

.faq-item.is-open {
    border-left-color: var(--cyan);
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    min-height: 64px;
    transition: background-color 200ms ease-out;
}

@media (min-width: 768px) {
    .faq-question {
        padding: 24px 32px;
    }
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-question span {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--off-white);
    line-height: 1.4;
    min-width: 0;
}

.faq-chevron {
    color: var(--cyan);
    flex-shrink: 0;
    transition: transform var(--transition-slow);
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-item.is-open .faq-answer {
    max-height: 600px;
}

.faq-answer-inner {
    padding: 0 20px 20px;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: var(--steel-gray);
    line-height: 1.7;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
}

@media (min-width: 768px) {
    .faq-answer-inner {
        padding: 0 32px 24px;
        padding-top: 16px;
    }
}

.faq-answer-inner a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.faq-answer-inner code {
    background-color: rgba(0, 212, 255, 0.08);
    padding: 2px 6px;
    font-size: 0.875em;
    color: var(--cyan);
}

/* ============================================
   HOW-TO STEPS COMPONENT
   ============================================ */
.how-to-steps {
    width: 100%;
}

.steps-connector-track {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-card {
    position: relative;
    background-color: var(--card);
    border: 1px solid rgba(139, 160, 184, 0.2);
    padding: 20px;
    overflow: visible;
    min-width: 0;
}

@media (min-width: 768px) {
    .step-card {
        padding: 32px;
    }
}

.step-connector {
    width: 1px;
    height: 24px;
    border-left: 1px dashed rgba(0, 212, 255, 0.3);
    margin-left: 48px;
}

@media (min-width: 768px) {
    .step-connector {
        margin-left: 64px;
    }
}

.step-number-watermark {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 212, 255, 0.06);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.05em;
}

@media (min-width: 768px) {
    .step-number-watermark {
        font-size: 4rem;
        top: 20px;
        right: 28px;
    }
}

.step-content {
    min-width: 0;
}

.step-heading {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--off-white);
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .step-heading {
        font-size: 1.375rem;
    }
}

.step-body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: var(--steel-gray);
    line-height: 1.6;
}

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

.step-body p:last-child {
    margin-bottom: 0;
}

.step-body code {
    background-color: rgba(0, 212, 255, 0.08);
    padding: 2px 6px;
    color: var(--cyan);
    font-size: 0.875em;
}

/* ============================================
   GRIDS
   Feature grid, product grid, etc.
   ============================================ */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: 1fr 1fr; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Pricing grid - 3 cards */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* ============================================
   USE CASES GRID - 5 cards custom layout
   Prevents orphaned last item on mobile/tablet
   Mobile: 2-col → 2+2+1 (centered last row)
   Tablet: 3-col → 3+2 (centered last row)
   Desktop: 5-col → all in one row
   ============================================ */
.use-cases-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
}

.use-cases-grid > * {
    width: 100%;
}

/* Last item on mobile (2-col): span both columns and constrain width */
.use-cases-grid > *:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
}

@media (min-width: 768px) {
    .use-cases-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: stretch;
    }

    /* Last 2 items in a 5-item, 3-col grid: center the last row */
    .use-cases-grid > *:last-child {
        grid-column: auto;
        max-width: none;
    }

    /* Center the incomplete last row (items 4 & 5) */
    .use-cases-grid > *:nth-child(4) {
        grid-column-start: 1;
        margin-left: calc(50% + 6px);
    }

    .use-cases-grid > *:nth-child(5) {
        grid-column-start: 2;
        margin-left: 0;
    }
}

@media (min-width: 1024px) {
    .use-cases-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .use-cases-grid > *:nth-child(4) {
        grid-column-start: auto;
        margin-left: 0;
    }

    .use-cases-grid > *:nth-child(5) {
        grid-column-start: auto;
        margin-left: 0;
    }

    .use-cases-grid > *:last-child {
        grid-column: auto;
        max-width: none;
    }
}

/* ============================================
   SECTION LABELS & BADGES
   ============================================ */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    display: block;
}

.badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    letter-spacing: 0.05em;
}

.badge-cyan {
    background-color: rgba(0, 212, 255, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.badge-popular {
    background-color: var(--cyan);
    color: #0E1117;
}

/* ============================================
   STAT HIGHLIGHT
   Large number callout
   ============================================ */
.stat-highlight {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   PULL QUOTE
   Oversized quote block
   ============================================ */
.pull-quote {
    position: relative;
    padding: 24px 28px;
    background-color: var(--card);
    border-left: 3px solid var(--cyan);
    min-width: 0;
}

.pull-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 1;
    color: rgba(0, 212, 255, 0.12);
    pointer-events: none;
}

.pull-quote-text {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-style: italic;
    color: var(--primary);
    line-height: 1.65;
    margin-bottom: 12px;
}

.pull-quote-attr {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--steel-gray);
}

/* ============================================
   CALLOUT / HIGHLIGHT BOX
   Tips, warnings, info blocks
   ============================================ */
.callout {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-left: 3px solid var(--cyan);
    background-color: rgba(0, 212, 255, 0.05);
    min-width: 0;
}

.callout-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.callout-body {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    min-width: 0;
}

.callout-body p {
    margin-bottom: 8px;
}

.callout-body p:last-child {
    margin-bottom: 0;
}

.callout-warn {
    border-left-color: #FF6B6B;
    background-color: rgba(255, 107, 107, 0.05);
}

.callout-success {
    border-left-color: var(--lime);
    background-color: rgba(57, 255, 20, 0.04);
}

/* ============================================
   TLDR / SUMMARY BOX
   ============================================ */
.tldr-box {
    background-color: var(--card);
    border-left: 2px solid var(--cyan);
    padding: 20px 24px;
    min-width: 0;
}

.tldr-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

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

.tldr-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    margin: 0;
}

.tldr-list li::before {
    content: '→';
    color: var(--cyan);
    font-family: var(--font-mono);
    flex-shrink: 0;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table-wrapper {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.comparison-table thead th {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--off-white);
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background-color: var(--card);
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table thead th.col-featured {
    color: var(--cyan);
    border-top: 2px solid var(--cyan);
    background-color: rgba(0, 212, 255, 0.05);
}

.comparison-table tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    color: var(--muted-foreground);
    font-family: var(--font-body);
    text-align: center;
    vertical-align: middle;
}

.comparison-table tbody td:first-child {
    text-align: left;
    color: var(--foreground);
    font-weight: 500;
}

.comparison-table tbody td.col-featured {
    background-color: rgba(0, 212, 255, 0.03);
}

.comparison-table .check {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
}

.comparison-table .dash {
    color: var(--steel-gray);
    font-family: var(--font-mono);
}

.comparison-table .group-header td {
    background-color: rgba(255,255,255,0.03);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 20px;
    border-bottom: none;
    text-align: left;
}

/* ============================================
   CTA SECTION
   Full-width band
   ============================================ */
.cta-section {
    position: relative;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    border-top: 1px solid rgba(0, 212, 255, 0.6);
    overflow: clip;
}

@media (min-width: 1024px) {
    .cta-section {
        padding: var(--space-2xl) var(--space-lg);
    }
}

.cta-section-scanline {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 212, 255, 0.02) 3px,
        rgba(0, 212, 255, 0.02) 4px
    );
    pointer-events: none;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px 40px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.trust-badge-icon {
    font-size: 1.375rem;
    color: var(--cyan);
}

.trust-badge-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--steel-gray);
    text-align: center;
    white-space: nowrap;
}

/* ============================================
   FORMS
   Email input + button combos
   ============================================ */
.form-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

@media (min-width: 640px) {
    .form-row {
        flex-direction: row;
        align-items: stretch;
        max-width: 520px;
        margin: 0 auto;
    }
}

.form-input {
    flex: 1;
    min-width: 0;
    padding: 14px 18px;
    background-color: var(--input);
    border: 1px solid var(--border);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-fast);
    min-height: 48px;
}

.form-input::placeholder {
    color: var(--steel-gray);
}

.form-input:focus {
    border-color: var(--cyan);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--steel-gray);
    padding: 16px 0;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.breadcrumb-sep {
    color: var(--steel-gray);
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--cyan);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
    color: var(--foreground);
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 0;
}

/* ============================================
   ARTICLE META
   ============================================ */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--steel-gray);
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   PILL TABS
   Product selector, billing toggle, etc.
   ============================================ */
.pill-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.pill-tab {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 18px;
    border: 1px solid var(--border);
    background: none;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 40px;
    white-space: nowrap;
}

.pill-tab:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.pill-tab.is-active {
    background-color: var(--cyan);
    border-color: var(--cyan);
    color: #0E1117;
}

/* Billing toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.billing-toggle-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--steel-gray);
}

.billing-toggle-label.is-active {
    color: var(--foreground);
}

.toggle-switch {
    position: relative;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background-color: var(--muted);
    cursor: pointer;
    border-radius: 26px;
    transition: background-color var(--transition-fast);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: var(--off-white);
    border-radius: 50%;
    transition: transform var(--transition-fast);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--cyan);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

/* ============================================
   POLICY OVERLAY
   Full-screen pop-up for legal documents
   ============================================ */
.policy-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(7, 11, 15, 0.97);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.policy-overlay[hidden] {
    display: none;
}

.policy-overlay-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-md);
    min-height: 100%;
}

@media (min-width: 768px) {
    .policy-overlay-inner {
        padding: 48px var(--space-lg);
    }
}

.policy-overlay-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background-color: rgba(7, 11, 15, 0.97);
    z-index: 1;
    padding-top: var(--space-md);
}

.policy-overlay-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--foreground);
}

.policy-overlay-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

.policy-overlay-close:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

.policy-overlay-body {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.75;
}

.policy-content h1, .policy-content h2, .policy-content h3 {
    color: var(--foreground);
    margin-top: 32px;
    margin-bottom: 12px;
}

.policy-content h1 {
    font-size: 1.75rem;
    margin-top: 0;
}

.policy-content h2 {
    font-size: 1.375rem;
}

.policy-content h3 {
    font-size: 1.125rem;
}

.policy-content p {
    margin-bottom: 16px;
}

.policy-content ul, .policy-content ol {
    margin-bottom: 16px;
}

.policy-content li {
    margin-bottom: 6px;
}

/* ============================================
   COOKIE BANNER
   Fixed bottom-left
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 8888;
    background-color: var(--card);
    border: 1px solid rgba(0, 212, 255, 0.4);
    padding: 20px;
    max-width: 380px;
    width: calc(100vw - 48px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    animation: slideUpFade 400ms ease-out forwards;
}

.cookie-banner[hidden] {
    display: none;
}

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

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-text {
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
    margin: 0;
}

.cookie-policy-link {
    background: none;
    border: none;
    color: var(--cyan);
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    text-decoration: underline;
}

.cookie-policy-link:hover {
    opacity: 0.8;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #070B0F;
    border-top: 1px solid var(--border);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 1024px) {
    .footer-inner {
        padding: 0 var(--space-lg);
    }
}

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

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: var(--space-lg);
    }
}

.footer-brand .footer-logo {
    margin-bottom: 16px;
    display: inline-flex;
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--cyan);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.9375rem;
    color: var(--steel-gray);
    line-height: 1.6;
    margin: 0;
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--steel-gray);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
    font-family: var(--font-body);
    min-height: auto;
    line-height: 1.5;
}

.footer-link:hover {
    color: var(--cyan);
    opacity: 1;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    align-items: flex-start;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--steel-gray);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* ============================================
   ANIMATION SYSTEM
   IntersectionObserver powered entrance
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SECTION BACKGROUND VARIANTS
   ============================================ */
.bg-off-black { background-color: var(--off-black); }
.bg-charcoal { background-color: var(--charcoal); }
.bg-darker { background-color: #070B0F; }
.bg-transparent { background-color: transparent; }

/* Ensure sufficient contrast for text on forced dark backgrounds.
   When .bg-off-black is used in light theme, text colors must use
   dark-theme values so they remain readable against #0E1117. */
.bg-off-black,
.bg-charcoal,
.bg-darker {
    --foreground: #F0F4F8;
    --muted-foreground: #8BA0B8;
    --steel-gray: #8BA0B8;
    --border: #2A3548;
    --card: #161B25;
    --card-foreground: #F0F4F8;
    --cyan: #00D4FF;
    --off-white: #F0F4F8;
}

/* Text utilities */
.text-cyan { color: var(--cyan); }
.text-muted { color: var(--steel-gray); }
.text-mono { font-family: var(--font-mono); }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Spacing utilities */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* ============================================
   LIGHT THEME OVERRIDES
   Applied when .dark is NOT on html
   ============================================ */
html:not(.dark) .terminal-window,
html:not(.dark) .code-block,
html:not(.dark) .terminal-body {
    background-color: #1a1f2e;
}

html:not(.dark) .site-header.is-scrolled {
    background-color: rgba(245, 247, 250, 0.95);
}

html:not(.dark) .cta-banner {
    background-color: #111827;
}

html:not(.dark) .dark .icon-sun { display: none; }
html:not(.dark) .icon-sun { display: none; }
html:not(.dark) .icon-moon { display: block; }

/* ============================================
   PRICING CARD SPECIFIC
   ============================================ */
.pricing-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: box-shadow var(--transition-med), transform var(--transition-med);
}

@media (min-width: 768px) {
    .pricing-card {
        padding: 32px;
    }
}

.pricing-card:hover {
    box-shadow: var(--shadow-card);
}

.pricing-card-featured {
    border: 2px solid var(--cyan);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.pricing-card-featured:hover {
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.2);
}

.pricing-plan-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 8px;
}

.pricing-price {
    font-family: var(--font-mono);
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 4px;
}

.pricing-price-period {
    font-size: 1rem;
    color: var(--steel-gray);
}

.pricing-annual-note {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--steel-gray);
    text-decoration: line-through;
    margin-bottom: 16px;
}

.pricing-specs {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
}

.pricing-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 8px;
}

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

.pricing-spec-label {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-spec-value {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
    text-align: right;
}

/* ============================================
   PRODUCT CARD SPECIFIC
   ============================================ */
.product-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--cyan);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    transition: box-shadow var(--transition-med);
}

@media (min-width: 768px) {
    .product-card {
        padding: 32px;
    }
}

.product-card:hover {
    box-shadow: var(--shadow-card);
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

.product-desc {
    font-size: 0.9375rem;
    color: var(--steel-gray);
    line-height: 1.6;
    margin: 0;
}

.product-specs {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--steel-gray);
    line-height: 1.7;
}

.product-price {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
    margin-top: auto;
    padding-top: 12px;
}

.product-price span {
    font-size: 0.875rem;
    color: var(--steel-gray);
    font-weight: 400;
}

/* ============================================
   FEATURE CARD SPECIFIC
   ============================================ */
.feature-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    transition: box-shadow var(--transition-med), transform var(--transition-med);
}

@media (min-width: 768px) {
    .feature-card {
        padding: 32px;
    }
}

.feature-card:hover {
    box-shadow: var(--shadow-card);
    transform: scale(1.02);
}

.feature-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--foreground);
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--steel-gray);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   USE CASE CARDS
   ============================================ */
.use-case-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
    transition: box-shadow var(--transition-med), border-color var(--transition-med);
}

.use-case-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-card);
}

.use-case-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.use-case-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.use-case-desc {
    font-size: 0.875rem;
    color: var(--steel-gray);
    line-height: 1.5;
    margin: 0;
}

/* ============================================
   ERROR CALLOUT (common errors section)
   ============================================ */
.error-card {
    background-color: var(--card);
    border-left: 3px solid #FF6B6B;
    padding: 20px 24px;
    margin-bottom: 16px;
    min-width: 0;
}

.error-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: #FF6B6B;
    margin-bottom: 8px;
    font-weight: 600;
}

.error-fix-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--cyan);
    margin-bottom: 6px;
    margin-top: 12px;
    font-weight: 600;
}

.error-desc {
    font-size: 0.9375rem;
    color: var(--steel-gray);
    line-height: 1.6;
    margin: 0 0 8px;
}

/* ============================================
   NEXT STEPS CARDS
   ============================================ */
.next-step-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    transition: box-shadow var(--transition-med);
}

.next-step-card:hover {
    box-shadow: var(--shadow-card);
}

.next-step-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.next-step-desc {
    font-size: 0.9375rem;
    color: var(--steel-gray);
    flex: 1;
    margin: 0;
}

.next-step-link {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--cyan);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.next-step-link:hover {
    opacity: 0.8;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--steel-gray);
}

/* ============================================
   FOCUS VISIBLE
   Keyboard navigation
   ============================================ */
:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}

/* ============================================
   SKIP LINK
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    padding: 8px 16px;
    background-color: var(--cyan);
    color: #0E1117;
    font-weight: 600;
    z-index: 99999;
    text-decoration: none;
    transition: top 200ms;
}

.skip-link:focus {
    top: 16px;
}

/* ============================================
   PRINT
   ============================================ */
@media print {
    .site-header, .site-footer, .cookie-banner,
    .policy-overlay, .mobile-menu-toggle, .theme-toggle {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }
}

/* ============================================
   HOMEPAGE - HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 80px;
    background-color: var(--off-black);
    overflow: clip;
}

.hero-scanline {
    position: absolute;
    bottom: 30%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--cyan) 20%, rgba(0,212,255,0.9) 50%, var(--cyan) 80%, transparent 100%);
    animation: scanlinePulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
    opacity: 0.35;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
    position: relative;
    z-index: 3;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

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

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--off-white);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--steel-gray);
    line-height: 1.7;
    max-width: 520px;
    margin: 0;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 8px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--steel-gray);
}

.hero-trust-item svg {
    color: var(--cyan);
    flex-shrink: 0;
}

/* Hero terminal */
.hero-terminal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.terminal-pre {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.7;
    color: #A8FF78;
    white-space: pre;
    overflow-x: auto;
    min-width: 0;
}

.hero-stat-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.hero-stat-pill {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-top: 2px solid rgba(0, 212, 255, 0.4);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
}

.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-bottom-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 212, 255, 0.4);
}

/* Hero typing element */
.hero-typing {
    color: #A8FF78;
    font-family: var(--font-mono);
    font-size: 0.875rem;
}

/* ============================================
   HOMEPAGE - SECTION SHARED
   ============================================ */
.section-header {
    margin-bottom: 0;
}

.section-header h2 {
    margin-top: 8px;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.0625rem;
    color: #9EB8D0;
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto;
}

.section-header.text-center .section-sub {
    text-align: center;
}

/* ============================================
   HOMEPAGE - WHY FASTNODE SECTION
   ============================================ */
.why-section {
    position: relative;
    background-color: var(--charcoal);
    overflow: clip;
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 1024px) {
    .why-inner {
        grid-template-columns: 1fr 380px;
        align-items: start;
        gap: 60px;
    }
}

.why-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: var(--space-lg);
}

.why-item {
    padding: 20px 0 20px 20px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: border-left-color var(--transition-med);
}

.why-item:last-child {
    border-bottom: none;
}

.why-item:hover {
    border-left-color: var(--cyan);
}

.why-item-title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.why-item-desc {
    font-size: 0.9375rem;
    color: var(--steel-gray);
    line-height: 1.6;
    margin: 0;
}

/* Why stat card */
.why-stats {
    position: sticky;
    top: 88px;
}

.why-stat-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--cyan);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.why-stat:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.why-stat-footer {
    padding-top: 8px;
}

/* ============================================
   HOMEPAGE - INFRASTRUCTURE MAP
   ============================================ */
.infra-map-wrap {
    width: 100%;
    background-color: #070B0F;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin: var(--space-lg) 0;
    overflow: clip;
}

.infra-map {
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px var(--space-md);
}

@media (min-width: 1024px) {
    .infra-map {
        padding: 32px var(--space-lg);
    }
}

.world-map-svg {
    width: 100%;
    height: auto;
    max-height: 340px;
}

/* DC node pulse animation */
.dc-pulse {
    animation: dcPulse 2.5s ease-in-out infinite;
}

@keyframes dcPulse {
    0%, 100% { opacity: 0.2; r: 10; }
    50% { opacity: 0.5; r: 16; }
}

/* Stagger pulses */
.dc-node:nth-child(odd) + .dc-pulse {
    animation-delay: 0.8s;
}

/* Infra stats strip */
.infra-stats-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background-color: var(--border);
    border: 1px solid var(--border);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .infra-stats-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}

.infra-stat {
    background-color: var(--card);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    text-align: center;
}

.infra-stat-num {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    letter-spacing: -0.03em;
}

.infra-stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.infra-stat-divider {
    display: none;
}

/* Hardware spec cards */
.hw-spec-card {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    transition: box-shadow var(--transition-med);
}

.hw-spec-card:hover {
    box-shadow: var(--shadow-card);
}

.hw-spec-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.hw-spec-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.hw-spec-desc {
    font-size: 0.9375rem;
    color: var(--steel-gray);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   HOMEPAGE - DEVELOPER EXPERIENCE SECTION
   ============================================ */
.devex-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: start;
}

@media (min-width: 1024px) {
    .devex-inner {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }
}

.devex-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: var(--space-md);
}

.devex-item {
    padding: 16px 0 16px 20px;
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: border-left-color var(--transition-med);
}

.devex-item:last-child {
    border-bottom: none;
}

.devex-item:hover {
    border-left-color: var(--cyan);
}

.devex-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.devex-item-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.devex-item-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

.devex-item-desc {
    font-size: 0.9375rem;
    color: var(--steel-gray);
    line-height: 1.6;
    margin: 0;
}

.devex-item-desc code {
    background-color: rgba(0, 212, 255, 0.1);
    color: var(--cyan);
    padding: 2px 5px;
    font-family: var(--font-mono);
    font-size: 0.875em;
}

.devex-item-desc a {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.devex-terminal {
    position: sticky;
    top: 88px;
}

.devex-terminal .terminal-window {
    min-height: 380px;
}

/* ============================================
   HOMEPAGE - BLOCKCHAIN / WEB3 SECTION
   ============================================ */
.web3-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

@media (min-width: 1024px) {
    .web3-inner {
        grid-template-columns: 1fr 320px;
        gap: 60px;
    }
}

.web3-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.web3-content h2 {
    margin-top: 8px;
    margin-bottom: 0;
}

.web3-desc {
    font-size: 1.0625rem;
    color: var(--steel-gray);
    line-height: 1.7;
    margin: 0;
    max-width: 560px;
}

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

.web3-chip {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--cyan);
    background-color: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.25);
    padding: 6px 14px;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.web3-quote {
    background-color: var(--card);
    border-left: 3px solid var(--cyan);
    padding: 16px 20px;
    margin: 0;
}

.web3-quote p {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-style: italic;
    color: var(--off-white);
    line-height: 1.65;
    margin-bottom: 8px;
}

.web3-quote cite {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--steel-gray);
    font-style: normal;
}

/* Hex grid decoration */
.web3-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.web3-hex-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

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

.hex-row-offset {
    margin-left: 52px;
}

.hex-cell {
    width: 88px;
    height: 80px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: rgba(255,255,255,0.03);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-med);
}

.hex-cell.hex-active {
    background-color: rgba(0, 212, 255, 0.08);
}

.hex-cell:hover {
    background-color: rgba(0, 212, 255, 0.15);
}

.hex-cell span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--steel-gray);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hex-cell.hex-active span {
    color: var(--cyan);
}

@media (max-width: 1023px) {
    .web3-visual {
        display: none;
    }
}

/* ============================================
   HOMEPAGE - TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    position: relative;
    background-color: var(--charcoal);
    overflow: clip;
}

/* ============================================
   HOMEPAGE - FINAL CTA SECTION
   ============================================ */
.final-cta-section {
    position: relative;
    background-color: #070B0F;
    border-top: 1px solid rgba(0, 212, 255, 0.6);
    overflow: clip;
    text-align: center;
}

.final-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

.final-cta-headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--off-white);
    margin: 0;
}

.final-cta-sub {
    font-size: 1.0625rem;
    color: var(--steel-gray);
    line-height: 1.65;
    max-width: 560px;
    margin: 0;
}

/* Deploy form */
.deploy-form {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deploy-form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

@media (min-width: 768px) {
    .deploy-form-row {
        flex-direction: row;
        align-items: stretch;
    }
}

.deploy-form-row .form-input {
    flex: 1;
    min-width: 0;
}

.deploy-submit-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.deploy-form-legal {
    font-size: 0.8125rem;
    color: var(--steel-gray);
    margin: 0;
    line-height: 1.5;
}

.deploy-form-legal button {
    background: none;
    border: none;
    color: var(--cyan);
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
    text-decoration: underline;
}

/* Or divider */
.final-cta-or {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 300px;
    color: var(--steel-gray);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
}

.final-cta-or::before,
.final-cta-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border);
}

/* Product badge row */
.product-badge-row {
    margin-bottom: 8px;
}

/* Pricing featured badge */
.pricing-featured-badge {
    position: absolute;
    top: -1px;
    right: 20px;
}

@media (min-width: 768px) {
    .pricing-featured-badge {
        right: 28px;
    }
}

/* Active nav highlight */
/*.nav-link-active {
    color: var(--foreground) !important;
}*/

.nav-link-active::after {
    transform: scaleX(1) !important;
}

/* Light theme adjustments for homepage */
html:not(.dark) .hero-section,
html:not(.dark) .why-section,
html:not(.dark) .testimonials-section,
html:not(.dark) .final-cta-section {
    background-color: var(--foreground) !important;
}

html:not(.dark) .hero-headline,
html:not(.dark) .final-cta-headline {
    color: var(--primary);
}

html:not(.dark) .hero-sub,
html:not(.dark) .final-cta-sub {
    color: var(--steel-gray);
}

html:not(.dark) .web3-hex-grid .hex-cell {
    background-color: rgba(0,0,0,0.1);
}

html:not(.dark) .infra-map-wrap {
    background-color: #1a1f2e;
}

/* ============================================
   PRICING PAGE - HERO SECTION
   Compact strip ~40vh, billing toggle inline
   ============================================ */
.pricing-hero-section {
    position: relative;
    background-color: var(--off-black);
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: clip;
    border-bottom: 1px solid rgba(0, 212, 255, 0.4);
}

.pricing-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    position: relative;
    z-index: 3;
}

.pricing-hero-headline {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--off-white);
    margin: 0;
    line-height: 1.1;
}

.pricing-hero-sub {
    font-size: 1.0625rem;
    color: var(--steel-gray);
    line-height: 1.65;
    max-width: 600px;
    margin: 0;
}

.pricing-hero-bottom-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 212, 255, 0.4);
}

/* ============================================
   PRICING PLAN TAGLINE
   ============================================ */
.pricing-plan-tagline {
    font-size: 0.9375rem;
    color: var(--steel-gray);
    line-height: 1.55;
    margin: 0 0 4px;
}

/* ============================================
   PRODUCT TYPE TABS & PANELS
   ============================================ */
.product-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 4px;
}

@media (max-width: 640px) {
    .product-type-tabs {
        justify-content: flex-start;
    }
}

.product-type-panels {
    width: 100%;
}

.product-type-panel {
    background-color: var(--card);
    border: 1px solid var(--border);
    padding: 32px;
}

@media (max-width: 767px) {
    .product-type-panel {
        padding: 20px;
    }
}

.product-type-panel-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .product-type-panel-inner {
        grid-template-columns: 1fr 280px;
        align-items: start;
        gap: 48px;
    }
}

.product-type-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    display: block;
}

.product-type-name {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 16px;
}

.product-type-desc {
    font-size: 1rem;
    color: var(--steel-gray);
    line-height: 1.65;
    margin-bottom: 16px;
}

.product-type-desc:last-of-type {
    margin-bottom: 20px;
}

.product-type-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-type-features li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    margin: 0;
}

.product-type-features li::before {
    content: '✓';
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
    flex-shrink: 0;
}

.product-type-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Specs panel */
.product-type-specs-panel {
    background-color: rgba(0, 212, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-top: 2px solid var(--cyan);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-type-price-range {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-type-from {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-type-price {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    letter-spacing: -0.03em;
}

.product-type-price span {
    font-size: 0.9375rem;
    color: var(--steel-gray);
    font-weight: 400;
}

.product-type-spec-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-type-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    gap: 8px;
}

.product-type-spec-row:last-child {
    border-bottom: none;
}

.product-type-spec-row span:first-child {
    color: var(--steel-gray);
}

.product-type-spec-row span:last-child {
    color: var(--off-white);
    font-weight: 600;
    text-align: right;
}

/* Panel fade-in animation */
.panel-fade-in {
    animation: panelFadeIn 200ms ease-out forwards;
}

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

/* ============================================
   PRICING PAGE - TESTIMONIALS STRIP
   ============================================ */
.pricing-testimonials-section {
    background-color: var(--charcoal);
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: clip;
}

@media (min-width: 1024px) {
    .pricing-testimonials-section {
        padding: var(--space-2xl) 0;
    }
}

/* ============================================
   PRICING PAGE - TRUST SECTION
   ============================================ */
.pricing-trust-section {
    background-color: var(--charcoal);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 36px 0;
}

/* ============================================
   PRICING PAGE - FINAL CTA
   ============================================ */
.pricing-final-cta {
    position: relative;
    background-color: #070B0F;
    border-top: 1px solid rgba(0, 212, 255, 0.6);
    overflow: clip;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

@media (min-width: 1024px) {
    .pricing-final-cta {
        padding: var(--space-2xl) var(--space-lg);
    }
}

.pricing-back-link {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    color: var(--steel-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: inline-block;
    margin-top: 8px;
}

.pricing-back-link:hover {
    color: var(--cyan);
    opacity: 1;
}

/* ============================================
   LIGHT THEME - PRICING PAGE OVERRIDES
   ============================================ */
html:not(.dark) .pricing-hero-section,
html:not(.dark) .pricing-final-cta {
    background-color: var(--foreground) !important;
}

html:not(.dark) .pricing-hero-headline {
    color: var(--off-white);
}

html:not(.dark) .pricing-hero-sub {
    color: var(--steel-gray);
}

html:not(.dark) .pricing-testimonials-section,
html:not(.dark) .pricing-trust-section {
    background-color: #1a1f2e;
}

/* ============================================
   GUIDE PAGE STYLES
   Docker / tutorial informational pages
   ============================================ */

/* Breadcrumb wrap */
.guide-breadcrumb-wrap {
    padding-top: 80px; /* below fixed header */
    padding-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.guide-breadcrumb-wrap .container--prose {
    padding-top: 0;
}

/* Hero */
.guide-hero {
    padding-top: 32px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(139, 160, 184, 0.15);
}

@media (min-width: 1024px) {
    .guide-hero {
        padding-top: 48px;
        padding-bottom: 60px;
    }
}

.guide-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-hero-headline {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--off-white);
    line-height: 1.1;
    margin: 0;
}

.guide-hero-sub {
    font-size: 1.0625rem;
    /* Raised from steel-gray to ensure 4.5:1 contrast on #0E1117 dark bg */
    color: #9EB8D0;
    line-height: 1.65;
    margin: 0;
    max-width: 680px;
}

/* TLDR box override for guide */
.guide-tldr {
    margin-top: 4px;
}

/* Guide section shared */
.guide-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.guide-section:last-of-type {
    border-bottom: none;
}

.guide-section h2 {
    margin-bottom: 20px;
    margin-top: 0;
    color: var(--off-white);
}

.guide-section h3 {
    color: var(--off-white);
    margin-bottom: 12px;
    margin-top: 28px;
    font-size: 1.125rem;
}

.guide-section h3:first-child {
    margin-top: 0;
}

/* Guide checklist */
.guide-checklist {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.guide-checklist li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.55;
    margin: 0;
}

.guide-checklist li::before {
    content: '▸';
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.875em;
}

.guide-checklist code {
    background-color: rgba(0, 212, 255, 0.08);
    color: var(--cyan);
    padding: 1px 5px;
    font-family: var(--font-mono);
    font-size: 0.875em;
}

/* Deploy chip */
.guide-deploy-chip {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    background-color: var(--card);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 12px 20px;
    margin-top: 8px;
}

.guide-chip-text {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--steel-gray);
}

.guide-chip-link {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: opacity var(--transition-fast);
}

.guide-chip-link:hover {
    opacity: 0.8;
}

/* Code blocks within guide sections */
.guide-section .code-block {
    margin: 16px 0;
}

.guide-section .code-block + p,
.guide-section p + .code-block {
    margin-top: 16px;
}

/* Final CTA for guide page */
.guide-final-cta {
    background-color: var(--card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--cyan);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 767px) {
    .guide-final-cta {
        padding: 20px;
    }
}

.guide-final-cta-headline {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--off-white);
    margin: 0;
    line-height: 1.2;
}

.guide-final-cta-sub {
    font-size: 1rem;
    color: var(--steel-gray);
    line-height: 1.65;
    margin: 0;
}

.guide-final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.guide-final-cta-secondary {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    color: var(--steel-gray);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.guide-final-cta-secondary:hover {
    color: var(--cyan);
    opacity: 1;
}

/* Breadcrumb item text (non-link) */
.breadcrumb-item-text {
    color: var(--steel-gray);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 767px) {
    .hero-section {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-stat-pills {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-stats {
        position: static;
    }

    .devex-terminal {
        position: static;
    }

    .pricing-hero-section {
        padding-top: 90px;
        padding-bottom: 48px;
    }

    .product-type-tabs {
        gap: 6px;
    }

    .hex-row-offset {
        margin-left: 40px;
    }

    .hex-cell {
        width: 70px;
        height: 64px;
    }
}