/* ─── RESET & BASE ────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

/* ─── DESIGN TOKENS (LIGHT THEME DEFAULT) ─────────────────────────── */
:root {
    --font-serif: "Crimson Pro", Georgia, serif;
    --font-sans: "Inter", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", "Fira Code", monospace;

    --bg-base: #f5f4ef;
    --bg-card: #ffffff;
    --bg-alt: #ebeae4;
    --bg-glow: rgba(5, 150, 105, 0.05);

    --fg-base: #111215;
    --fg-muted: #4e5159;
    --fg-subtle: #7d828f;

    --primary: #059669;
    --primary-hover: #047857;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.15);
    --accent-hover: #059669;
    --teal: #10b981;
    --teal-subtle: rgba(16, 185, 129, 0.1);
    --teal-border: rgba(16, 185, 129, 0.3);
    --warning: #f59e0b;
    --warning-glow: rgba(245, 158, 11, 0.15);
    --error: #ef4444;

    --border: rgba(17, 18, 21, 0.08);
    --border-strong: rgba(17, 18, 21, 0.15);

    --grid-color: rgba(17, 18, 21, 0.08);
    --grid-size: 40px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03);

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-circle: 9999px;

    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── DARK THEME OVERRIDES ────────────────────────────────────────── */
[data-theme="dark"] {
    --bg-base: #0b0c0e;
    --bg-card: #121316;
    --bg-alt: #17191c;
    --bg-glow: rgba(16, 185, 129, 0.03);

    --fg-base: #e2e4e9;
    --fg-muted: #9fa4b0;
    --fg-subtle: #676b75;

    --primary: #10b981;
    --primary-hover: #059669;
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.12);
    --accent-hover: #34d399;
    --teal: #34d399;
    --teal-subtle: rgba(52, 211, 153, 0.12);
    --teal-border: rgba(52, 211, 153, 0.35);
    --warning: #fbbf24;

    --border: rgba(226, 228, 233, 0.07);
    --border-strong: rgba(226, 228, 233, 0.15);

    --grid-color: rgba(226, 228, 233, 0.065);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ─── TYPOGRAPHY & BODY ───────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
    transition: background-color var(--transition-base);
}

body {
    font-family: var(--font-sans);
    color: var(--fg-base);
    line-height: 1.625;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: color var(--transition-base);
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image:
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 75%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0) 75%);
    pointer-events: none;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    z-index: 9999;
    transition: top var(--transition-fast);
}

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

/* ─── LAYOUT UTILITIES ────────────────────────────────────────────── */
.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 992px) {
    .grid-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 64px;
    }
}

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

.section-padding {
    padding: 80px 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 120px 0;
    }
}

.alt-bg {
    background-color: var(--bg-alt);
    transition: background-color var(--transition-base);
}

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

.max-w-lg {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.max-w-md {
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.margin-bottom-lg {
    margin-bottom: 56px;
}

/* ─── BUTTONS & BADGES ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.01em;
    border-radius: var(--radius-circle);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background-color: transparent;
    color: var(--fg-base);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    background-color: rgba(17, 18, 21, 0.04);
    border-color: var(--fg-base);
    transform: translateY(-2px) scale(1.02);
}

[data-theme="dark"] .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.98);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--bg-glow);
    border: 1px solid rgba(5, 150, 105, 0.2);
    color: var(--primary);
    border-radius: var(--radius-circle);
    margin-bottom: 24px;
    box-shadow: 0 1px 10px rgba(5, 150, 105, 0.05);
    transition: all var(--transition-fast);
}

[data-theme="dark"] .product-badge {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    box-shadow: 0 1px 15px rgba(16, 185, 129, 0.08);
}

/* ─── HEADER & NAVIGATION ──────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background-color: rgba(245, 244, 239, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background-color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

[data-theme="dark"] .site-header {
    background-color: rgba(11, 12, 14, 0.85);
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    background-color: rgba(245, 244, 239, 0.85);
    border-bottom: 1px solid rgba(17, 18, 21, 0.12);
}

[data-theme="dark"] .site-header.scrolled {
    background-color: rgba(11, 12, 14, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 18px;
}

.brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: block;
    }
}

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

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--fg-muted);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--fg-base);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-circle);
    border: 1px solid var(--border);
    color: var(--fg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--fg-base);
    background-color: var(--border);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

html[data-theme="dark"] .icon-sun { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }
html:not([data-theme="dark"]) .icon-sun { display: none; }
html:not([data-theme="dark"]) .icon-moon { display: block; }

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1001;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--fg-base);
    transition: all var(--transition-fast);
    transform-origin: left center;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: rotate(-45deg);
}

@media (max-width: 767px) {
    .header-actions .btn {
        display: none;
    }

    .main-nav.open {
        display: block;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-base);
        padding: 40px 24px;
        z-index: 999;
    }

    .main-nav.open .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .main-nav.open .nav-link {
        font-size: 18px;
        font-weight: 500;
    }
}

/* ─── HERO SECTION ────────────────────────────────────────────────── */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    .hero-section {
        padding-top: 180px;
        padding-bottom: 120px;
    }
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 5%;
    left: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: 5%;
    right: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    z-index: -1;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--fg-base) 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .hero-title {
    background: linear-gradient(135deg, var(--fg-base) 60%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 54px;
    }
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: var(--fg-muted);
    margin-bottom: 36px;
    max-width: 520px;
}

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

/* ─── HERO SECURE ENCLAVE VISUAL ──────────────────────────────────── */
.hero-visual-col {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 380px;
}

@media (min-width: 992px) {
    .hero-visual-col {
        height: 480px;
    }
}

.enclave-sandbox-container {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-circle);
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

@media (min-width: 768px) {
    .enclave-sandbox-container {
        width: 380px;
        height: 380px;
    }
}

#enclave-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-circle);
    display: block;
    cursor: grab;
}

#enclave-canvas:active {
    cursor: grabbing;
}

.hardware-spec {
    position: absolute;
    bottom: -15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

/* ─── MINT HERO CENTERED LAYOUT ───────────────────────────────────── */
.hero-centered .hero-text-col {
    align-items: center;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.hero-centered .hero-subtitle {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── SECTION TITLES ──────────────────────────────────────────────── */
.section-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--fg-base) 50%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

[data-theme="dark"] .section-title {
    background: linear-gradient(135deg, var(--fg-base) 65%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 40px;
    }
}

.section-desc {
    font-size: 16px;
    color: var(--fg-muted);
    line-height: 1.6;
}

/* ─── GRIDS ───────────────────────────────────────────────────────── */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr 1fr;
    }
}

.grid-3-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 992px) {
    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-4-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .grid-4-col {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1100px) {
    .grid-4-col {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ─── COMPARISON CARDS ────────────────────────────────────────────── */
.comparison-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-base);
}

.comparison-card.card-cardboard:hover {
    transform: translateY(-6px);
    border-color: var(--warning);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.08);
}

.comparison-card.card-granite:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.12), 0 0 1px var(--accent);
}

[data-theme="dark"] .comparison-card.card-cardboard:hover {
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.12);
}

[data-theme="dark"] .comparison-card.card-granite:hover {
    box-shadow: 0 12px 40px rgba(16, 185, 129, 0.18), 0 0 1px var(--accent);
}

.card-header {
    margin-bottom: 20px;
}

.card-tag {
    display: inline-block;
    padding: 4px 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.tag-warning {
    background-color: var(--warning-glow);
    color: var(--warning);
}

.tag-success {
    background-color: var(--accent-glow);
    color: var(--accent);
}

.tag-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.tag-primary {
    background-color: var(--bg-glow);
    color: var(--primary);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.card-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
}

.card-body {
    font-size: 15px;
    color: var(--fg-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-list li {
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--fg-muted);
}

.bullet-icon {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.bullet-icon.error {
    color: var(--error);
}

.bullet-icon.success {
    color: var(--accent);
}

.card-verdict {
    font-size: 13px;
    font-weight: 700;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    letter-spacing: 0.01em;
}

.card-verdict-error {
    color: var(--error);
}

.card-verdict-success {
    color: var(--accent);
}

/* ─── PARADIGM GRID (HERO) ────────────────────────────────────────── */
.paradigm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 0 36px;
    width: 100%;
}

@media (min-width: 600px) {
    .paradigm-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.paradigm-grid .comparison-card {
    padding: 24px;
    text-align: left;
}

.paradigm-grid .card-title {
    font-size: 18px;
}

/* ─── PILLAR CARDS ────────────────────────────────────────────────── */
.pillar-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-base);
    overflow: hidden;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 16px 36px rgba(5, 150, 105, 0.08), 0 0 1px var(--primary);
}

[data-theme="dark"] .pillar-card:hover {
    box-shadow: 0 16px 48px rgba(16, 185, 129, 0.15), 0 0 1px var(--primary);
}

.pillar-icon-container {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background-color: var(--bg-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.pillar-num {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.6;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pillar-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.pillar-desc {
    font-size: 14px;
    color: var(--fg-muted);
    line-height: 1.625;
}

/* ─── THREAT RESOLUTION (INSIDE PILLAR CARDS) ────────────────────── */
.threat-resolution {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.threat-resolution .bullet-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── DEPLOYMENT (INTEGRATION) SECTION ───────────────────────────── */
.deployment-section {
    position: relative;
}

.terminal-text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.deployment-bullets {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.deployment-bullets li {
    font-size: 15px;
    color: var(--fg-muted);
    position: relative;
    padding-left: 24px;
}

.deployment-bullets li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.int-provider-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.terminal-col {
    display: flex;
    justify-content: center;
}

/* ─── CODE WINDOW (TERMINAL) ──────────────────────────────────────── */
.code-window {
    width: 100%;
    max-width: 520px;
    background-color: #0b0c10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.window-titlebar {
    height: 40px;
    background-color: #15171e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-circle);
}

.dot.red   { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green  { background-color: #27c93f; }

.window-title {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #7a8291;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.code-tabs {
    background-color: #111319;
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0 8px;
}

.code-tab {
    padding: 12px 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #616e88;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.code-tab:hover {
    color: #cbd5e1;
}

.code-tab.active {
    color: #ffffff;
    border-bottom-color: var(--primary);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.code-content {
    padding: 24px;
    height: 340px;
    position: relative;
    overflow-y: auto;
}

.code-pre {
    display: none;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.7;
    color: #ccd6e0;
    text-align: left;
    white-space: pre-wrap;
    word-break: break-all;
}

.code-pre.active {
    display: block;
}

/* Terminal color classes */
.term-prompt { color: var(--primary); font-weight: bold; }
.term-dim    { color: #515c7a; }
.term-green  { color: #4ade80; }
.term-blue   { color: #60a5fa; }
.term-yellow { color: #facc15; }

/* Syntax token classes (for code panels) */
.tok-kw  { color: #7dd3fc; }
.tok-mod { color: #a5f3fc; }
.tok-var { color: #c4b5fd; }
.tok-fn  { color: #6ee7b7; }
.tok-str { color: #fbbf24; }
.tok-cmt { color: #515c7a; }
.tok-num { color: #fb923c; }

/* ─── SPEC BADGES ─────────────────────────────────────────────────── */
.spec-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 4px 10px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    color: var(--fg-muted);
}

/* ─── WAITLIST FORM ───────────────────────────────────────────────── */
.waitlist-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-centered .waitlist-form {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.waitlist-input {
    flex: 1;
    min-width: 200px;
    height: 46px;
    padding: 0 20px;
    border-radius: var(--radius-circle);
    border: 1px solid var(--border-strong);
    background: var(--bg-card);
    color: var(--fg-base);
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.waitlist-input::placeholder {
    color: var(--fg-subtle);
}

.waitlist-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.waitlist-form input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    height: 46px;
    padding: 0 24px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    background: var(--primary);
    color: #fff;
    border: 1px solid transparent;
    border-radius: var(--radius-circle);
    transition: background-color var(--transition-fast), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--transition-fast);
}

.waitlist-form input[type="submit"]:hover {
    background: var(--primary-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.25);
}

/* ─── PROVIDER BADGES ─────────────────────────────────────────────── */
.provider-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-centered .provider-badges {
    justify-content: center;
}

.provider-label {
    font-size: 12px;
    color: var(--fg-subtle);
    margin-right: 2px;
}

/* ─── HERO STATS ──────────────────────────────────────────────────── */
.hero-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

.hero-centered .hero-stats {
    justify-content: center;
}

.hero-stat-item {
    padding: 0 28px;
    border-right: 1px solid var(--border);
    text-align: center;
}

.hero-stat-item:first-child {
    padding-left: 0;
}

.hero-stat-item:last-child {
    border-right: none;
    padding-right: 0;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--fg-base);
    display: block;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--fg-subtle);
    letter-spacing: 0.01em;
}

/* ─── CTA SECTION ─────────────────────────────────────────────────── */
.cta-section {
    position: relative;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

/* ─── ECOSYSTEM / MARQUEE ─────────────────────────────────────────── */
.ecosystem-outer {
    overflow: hidden;
}

.marquee-outer {
    position: relative;
    margin-top: 56px;
}

.marquee-outer::before,
.marquee-outer::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}

.marquee-outer::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-base), transparent);
}

.marquee-outer::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-base), transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    animation: marquee-scroll 55s linear infinite;
    padding: 6px 0;
}

.marquee-outer:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.logo-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-circle);
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
    cursor: default;
}

.logo-chip:hover {
    border-color: rgba(5, 150, 105, 0.3);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.logo-chip svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--fg-muted);
}

.logo-chip-name {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--fg-muted);
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}

/* ─── FOOTER SECTION ──────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    background-color: var(--bg-base);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    color: var(--fg-subtle);
    font-size: 13px;
}

/* ─── SCROLL REVEAL ANIMATIONS ────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
