/* ==========================================================================
   Clawd — Midnight Emerald
   Bricolage Grotesque + Figtree · Dark Premium Dev-Tool Aesthetic
   ========================================================================== */

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

:root {
    /* Surface */
    --bg: #050505;
    --bg-alt: #0a0a0a;
    --surface-1: #0f0f0f;
    --surface-2: #161616;
    --surface-3: #1c1c1c;
    --surface-4: #232323;

    /* Borders */
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --border-accent: rgba(52,211,153,0.25);

    /* Text */
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --text-muted: #525252;
    --text-faint: #333333;

    /* Accent — Emerald */
    --accent: #34d399;
    --accent-hover: #10b981;
    --accent-glow: rgba(52,211,153,0.12);
    --accent-faint: rgba(52,211,153,0.06);

    /* Semantic */
    --success: #22c55e;
    --warning: #fbbf24;
    --danger: #ef4444;

    /* Typography */
    --font-display: 'Bricolage Grotesque', Georgia, serif;
    --font-body: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'IBM Plex Mono', 'SF Mono', 'Consolas', monospace;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ---- Noise overlay ---- */
.noise {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px;
}

/* ---- Dot grid background ---- */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 32px 32px;
}

/* ---- Base elements ---- */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

code {
    font-family: var(--font-mono);
    font-size: 0.8em;
    padding: 2px 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--accent);
}

.accent { color: var(--accent); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #050505;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(52,211,153,0.25), 0 0 40px rgba(52,211,153,0.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background: rgba(255,255,255,0.03);
}

.btn-sm { height: 38px; padding: 0 18px; font-size: 0.8125rem; }
.btn-lg { height: 52px; padding: 0 32px; font-size: 0.9375rem; }
.btn-full { width: 100%; }


/* ========================================================================
   HEADER
   ======================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 64px;
    transition: all 0.35s var(--ease);
}

.header.scrolled {
    background: rgba(5,5,5,0.8);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(52,211,153,0.4);
}

.nav {
    display: flex;
    gap: 36px;
}

.nav a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.15s;
    letter-spacing: 0.01em;
}

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

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

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.25s var(--ease);
    transform-origin: center;
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(3.5px, 3.5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(3.5px, -3.5px); }


/* ========================================================================
   HERO
   ======================================================================== */

.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(52,211,153,0.08) 0%, rgba(52,211,153,0.02) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 64px;
}

.hero-content { position: relative; z-index: 1; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    background: var(--accent-faint);
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52,211,153,0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 36px;
}

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

/* Terminal */
.terminal {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.9;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 4px 8px rgba(0,0,0,0.3),
        0 20px 60px rgba(0,0,0,0.5);
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

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

.terminal-dots i {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    font-style: normal;
}

.terminal-dots i:nth-child(1) { background: #ff5f57; }
.terminal-dots i:nth-child(2) { background: #febc2e; }
.terminal-dots i:nth-child(3) { background: #28c840; }

.terminal-title {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.terminal-body { padding: 16px 20px; }

.tl {
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

.t-ps { color: var(--text-muted); }
.tl > .t-ps + span,
.tl:first-child { color: rgba(255,255,255,0.85); }
.t-muted { color: rgba(255,255,255,0.25); }
.t-check { color: var(--success); }
.t-wait { color: var(--warning); font-size: 0.65em; }
.t-bright { color: rgba(255,255,255,0.95); }
.t-bright strong { color: #fff; }

/* Stats bar */
.stats-bar {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface-1);
}

.stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 16px;
    border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-value {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-top: 2px;
}


/* ========================================================================
   LOGOS
   ======================================================================== */

.logos {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.logos-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logos-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    white-space: nowrap;
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    opacity: 0.5;
    transition: opacity 0.2s;
}

.logo-item:hover { opacity: 1; }


/* ========================================================================
   SECTIONS
   ======================================================================== */

.section {
    padding: 120px 0;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 14px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}


/* ========================================================================
   BENTO GRID (FEATURES)
   ======================================================================== */

.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bento-xl {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.25s;
}

.bento-xl:hover { border-color: var(--border-hover); }

.bento-xl-content {
    padding: 44px;
}

.feature-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 14px;
}

.bento-xl-content h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.bento-xl-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 24px;
}

.tags span {
    padding: 4px 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 100px;
    background: var(--accent-faint);
    color: var(--accent);
    border: 1px solid rgba(52,211,153,0.12);
    letter-spacing: 0.01em;
}

/* Pipeline flow diagram */
.bento-xl-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: var(--surface-2);
    border-left: 1px solid var(--border);
}

.pipeline-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.pf-node {
    padding: 9px 22px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: var(--radius-sm);
    background: var(--surface-3);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    transition: border-color 0.2s;
}

.pf-node:hover { border-color: var(--border-hover); }

.pf-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #050505;
    font-weight: 700;
}

.pf-accent:hover { border-color: var(--accent-hover); }

.pf-line {
    width: 1px;
    height: 14px;
    background: var(--text-muted);
}

.pf-split {
    display: flex;
    gap: 8px;
}

.pf-parallel {
    font-size: 0.6875rem;
    padding: 7px 16px;
}

/* Feature cards */
.bento-card {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: all 0.25s var(--ease);
    position: relative;
}

.bento-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.bento-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.bento-card:hover::after { opacity: 0.5; }

.bc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--accent-faint);
    color: var(--accent);
    margin-bottom: 18px;
    border: 1px solid rgba(52,211,153,0.1);
}

.bento-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.bento-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.65;
}


/* ========================================================================
   WORKFLOW / TIMELINE
   ======================================================================== */

.timeline {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.timeline-track {
    position: absolute;
    left: 23px;
    top: 30px;
    bottom: 30px;
    width: 1px;
    background: var(--border);
}

.tl-step {
    display: flex;
    gap: 24px;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all 0.25s var(--ease);
    position: relative;
}

.tl-step:hover {
    border-color: var(--border);
    background: rgba(255,255,255,0.01);
}

.tl-step-accent {
    border-color: var(--border-accent) !important;
    background: var(--accent-faint) !important;
}

.tl-num {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.tl-step-accent .tl-num {
    background: var(--accent-faint);
    border-color: var(--border-accent);
    color: var(--accent);
}

.tl-content h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tl-content p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.tl-content code {
    font-size: 0.75rem;
}

/* Merge gate demo */
.gate-demo {
    margin-top: 18px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 380px;
    transition: border-color 0.3s;
}

.gate-top {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.gate-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--warning);
}

.gate-body {
    padding: 14px 16px;
}

.gate-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.gate-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.gate-approve,
.gate-reject {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.04em;
    transition: opacity 0.15s;
    padding: 0;
}

.gate-approve { color: var(--success); }
.gate-reject { color: var(--danger); }
.gate-approve:hover,
.gate-reject:hover { opacity: 0.7; }
.gate-divider { color: var(--text-faint); font-size: 0.8rem; }

.gate-timer {
    display: block;
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 10px;
}


/* ========================================================================
   ARCHITECTURE
   ======================================================================== */

.arch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.arch-card {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s var(--ease);
}

.arch-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.arch-label {
    display: block;
    padding: 14px 18px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.arch-img {
    padding: 4px;
    background: var(--surface-2);
}


/* ========================================================================
   TECH STACK
   ======================================================================== */

.stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.stack-group {
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    transition: border-color 0.2s;
}

.stack-group:hover { border-color: var(--border-hover); }

.stack-group h5 {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.stack-group ul { list-style: none; }

.stack-group li {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    font-size: 0.8125rem;
}

.stack-group li strong {
    color: var(--text-primary);
    font-weight: 500;
}

.stack-group li span {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ========================================================================
   COMPARISON TABLE
   ======================================================================== */

.table-container {
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-1);
}

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

.comparison th,
.comparison td {
    text-align: left;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
}

.comparison thead th {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    background: var(--surface-2);
}

.th-accent {
    color: var(--accent) !important;
}

.comparison tbody td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.comparison tbody td {
    color: var(--text-secondary);
}

.td-accent {
    color: var(--accent) !important;
    font-weight: 600 !important;
}

.comparison tbody tr:last-child td { border-bottom: none; }

.comparison tbody tr:hover {
    background: var(--accent-faint);
}


/* ========================================================================
   PRICING
   ======================================================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    align-items: start;
}

.price-card {
    padding: 36px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    position: relative;
    transition: all 0.25s var(--ease);
}

.price-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.price-featured {
    border-color: var(--border-accent);
    background: linear-gradient(180deg, rgba(52,211,153,0.04) 0%, var(--surface-1) 100%);
}

.price-featured::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(180deg, rgba(52,211,153,0.3), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.price-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--accent);
    color: #050505;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.price-card h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 4px;
    line-height: 1;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: super;
    color: var(--text-secondary);
    margin-right: 2px;
}

.price-period {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

.price-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
}

.price-features li {
    padding: 6px 0 6px 22px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    position: relative;
}

.price-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.6;
}

.price-featured .price-features li::before {
    opacity: 1;
}


/* ========================================================================
   CTA
   ======================================================================== */

.cta-section {
    padding: 160px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.cta-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(52,211,153,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

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


/* ========================================================================
   FOOTER
   ======================================================================== */

.footer {
    padding: 56px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo { font-size: 1.15rem; }

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.footer-cols {
    display: flex;
    gap: 56px;
}

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

.footer-col h6 {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: color 0.15s;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-faint);
}


/* ========================================================================
   SCROLL REVEAL ANIMATIONS
   ======================================================================== */

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].visible {
    opacity: 1;
    transform: none;
}


/* ========================================================================
   RESPONSIVE
   ======================================================================== */

@media (max-width: 1024px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-xl { grid-column: 1 / -1; }
    .stack-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(5,5,5,0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px 24px 24px;
        gap: 14px;
    }

    .nav.open { display: flex; }
    .burger { display: flex; }

    .hero { padding: 120px 0 64px; }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero h1 { font-size: 2.5rem; }

    .stats-bar { flex-wrap: wrap; }
    .stat {
        flex: 0 0 50%;
        border-bottom: 1px solid var(--border);
    }
    .stat:nth-child(3),
    .stat:nth-child(4) { border-bottom: none; }
    .stat:nth-child(2n) { border-right: none; }

    .bento,
    .stack-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .bento-xl {
        grid-template-columns: 1fr;
    }

    .bento-xl-visual {
        border-left: none;
        border-top: 1px solid var(--border);
    }

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

    .price-featured { order: -1; }

    .logos-inner {
        flex-direction: column;
        gap: 12px;
    }

    .section { padding: 80px 0; }

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

    .cta-section { padding: 100px 0; }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }

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

    .hero-ctas .btn { justify-content: center; }

    .bento-xl-content { padding: 28px; }

    .footer-cols { flex-direction: column; gap: 24px; }

    .tl-step { padding: 18px; gap: 16px; }

    .table-container { margin: 0 -12px; border-radius: var(--radius); }

    .comparison th,
    .comparison td { padding: 12px 14px; font-size: 0.8125rem; }
}
