/* ──────────────────────────────────────────────────────────────
   Netplex.io — landing page section styles
   (loads after site.css)
   ────────────────────────────────────────────────────────────── */

/* ── HERO ── */
.hero { padding: 78px 0 64px; position: relative; }
.hero .wrap { position: relative; z-index: 2; }
.h-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 48px; align-items: center; }
.h-pill { margin-bottom: 22px; }
.h-title { font-size: 56px; line-height: 1.0; letter-spacing: -0.04em; margin-bottom: 20px; text-wrap: balance; font-weight: 600; }
.h-title .accent { color: var(--accent); }
.h-sub { font-size: 18.5px; color: var(--text-3); max-width: 500px; margin-bottom: 16px; line-height: 1.55; }
.h-stat { font-size: 15px; color: var(--text-2); margin-bottom: 26px; }
.h-stat b { color: var(--accent); font-weight: 600; }
.h-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.h-chips { display: flex; gap: 8px; flex-wrap: wrap; }

.topo-frame { position: relative; }
.topo-wrap { display: flex; justify-content: center; }
.topo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; }
.topo {
  position: relative; width: 540px; height: 370px;
  background:
    radial-gradient(circle at 1px 1px, var(--canvas-circuit-dot, rgba(255,255,255,0.06)) 1px, transparent 0) 0 0 / 22px 22px,
    var(--surface-canvas);
  border: 1px solid var(--border); border-radius: var(--r-3);
}
/* circuit traces faint behind nodes */
.topo::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--r-3); pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 44px 44px;
}
.legend { position: absolute; bottom: 10px; left: 12px; display: flex; gap: 12px; font-family: var(--font-mono); font-size: 9.5px; color: var(--text-4); z-index: 3; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { width: 14px; height: 2px; border-radius: 2px; display: block; }
.minimap { position: absolute; bottom: 10px; right: 12px; width: 76px; height: 50px; border: 1px solid var(--border); border-radius: var(--r-2); background: var(--surface-canvas); z-index: 3;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0); background-size: 8px 8px; }
.hud-chip { position: absolute; top: 10px; left: 12px; font-family: var(--font-mono); font-size: 9.5px; color: var(--text-3); background: rgba(20,20,24,0.92); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px; display: flex; align-items: center; gap: 6px; z-index: 3; }
.hud-chip .d { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }

/* floating product chrome around canvas */
.win-toolbar { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--border-soft); background: var(--surface-1); }
.win-toolbar .seg { display: flex; gap: 2px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-2); padding: 2px; }
.win-toolbar .seg button { font-size: 11px; color: var(--text-3); padding: 3px 9px; border-radius: 4px; }
.win-toolbar .seg button.on { background: var(--surface-4); color: var(--text-1); }
.win-toolbar .flowtog { margin-left: auto; font-size: 11px; color: var(--accent); display: flex; align-items: center; gap: 5px; }

/* ── STAT BAND ── */
.statband { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--surface-1); position: relative; z-index: 1; }
.statband .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.statcell { padding: 34px 18px; text-align: center; border-right: 1px solid var(--border-soft); }
.statcell:last-child { border-right: none; }
.statcell .n { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.statcell .n .mono { font-family: var(--font-mono); }
.statcell .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); margin-top: 7px; }

/* ── COMPARISON / KILL LIST ── */
.cmp { width: 100%; border-collapse: collapse; margin-top: 36px; font-size: 14.5px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: middle; }
.cmp thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-4); font-weight: 500; }
.cmp thead th.us { color: var(--accent); }
.cmp td:first-child { color: var(--text-2); font-weight: 500; }
.cmp .col-us { background: var(--accent-soft); border-left: 1px solid rgba(255,110,54,0.18); border-right: 1px solid rgba(255,110,54,0.18); }
.cmp tbody tr:hover td { background: var(--surface-1); }
.cmp .col-us { color: var(--text-1); }
.x { color: var(--err); } .ck { color: var(--ok); } .mid { color: var(--warn); }
.cmp .ico { display: inline-flex; vertical-align: middle; }
.cmp-note { margin-top: 16px; font-size: 13.5px; color: var(--text-4); }

/* ── FEATURE BENTO ── */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.feat { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-4); padding: 26px; transition: border-color .2s, transform .2s; }
.feat:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.feat h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feat p { font-size: 14.5px; color: var(--text-3); line-height: 1.55; }
.feat .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.feat .tags .chip { font-size: 11.5px; padding: 4px 10px; }

/* ── SECTION SHELL with product frame ── */
.showcase { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 48px; align-items: center; }
.showcase.flip { grid-template-columns: 1.14fr 0.86fr; }
.showcase.flip .sc-text { order: 2; }
.sc-text h2 { font-size: 36px; line-height: 1.08; margin-bottom: 14px; letter-spacing: -0.03em; }
.sc-text h2 .accent { color: var(--accent); }
.sc-text p { font-size: 16.5px; color: var(--text-3); line-height: 1.55; margin-bottom: 14px; }
.sc-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.sc-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.sc-list li svg { width: 17px; height: 17px; color: var(--ok); flex-shrink: 0; margin-top: 2px; }

/* ── DISTRIBUTED FABRIC ── */
.fab { display: grid; grid-template-columns: 1fr 90px 1fr; align-items: center; gap: 0; }
.fab-host { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-3); padding: 14px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--hg) 22%, transparent), 0 0 36px -18px var(--hg); }
.fab-hd { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.fab-pc { width: 26px; height: 26px; flex-shrink: 0; }
.fab-pc svg { width: 26px; height: 26px; }
.fab-h-meta { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.fab-h-meta b { font-size: 13px; font-weight: 600; }
.fab-h-meta .mono { font-size: 10px; color: var(--text-4); }
.fab-cpu { margin-left: auto; width: 46px; height: 5px; border-radius: 3px; background: var(--surface-3); overflow: hidden; flex-shrink: 0; }
.fab-cpu i { display: block; height: 100%; background: var(--hg); border-radius: 3px; }
.fab-pct { font-size: 10px; color: var(--text-3); flex-shrink: 0; }
.fab-nodes { display: flex; flex-direction: column; gap: 8px; }
.fab-node { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--r-2); padding: 6px 9px; position: relative; }
.fb-badge { width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; }
.fb-badge svg { width: 16px; height: 16px; }
.fb-meta { display: flex; flex-direction: column; gap: 1px; }
.fb-nm { font-size: 11.5px; font-weight: 600; }
.fb-ip { font-size: 9px; color: var(--text-4); }
.fb-dot { position: absolute; top: 7px; right: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--surface-2); }
.fab-gap { position: relative; height: 60px; }
.fab-gap svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fab-tunnel { position: absolute; top: -2px; left: 50%; transform: translateX(-50%); font-size: 9px; color: var(--accent); background: var(--surface-0); border: 1px solid rgba(255,110,54,0.3); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }

/* ── IMAGE PIPELINE ── */
.pl-row { display: flex; flex-direction: column; gap: 16px; }
.pl-file { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-3); padding: 12px 14px; }
.pl-fic { width: 38px; height: 38px; border-radius: 8px; background: var(--accent-soft); border: 1px solid rgba(255,110,54,0.28); display: grid; place-items: center; color: var(--accent); flex-shrink: 0; }
.pl-fic svg { width: 20px; height: 20px; }
.pl-fmeta { display: flex; flex-direction: column; line-height: 1.3; }
.pl-fmeta b { font-size: 14px; }
.pl-fmeta .mono { font-size: 11px; color: var(--text-4); }
.pl-steps { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.pl-step { }
.pl-chip { font-family: var(--font-mono); font-size: 11px; color: var(--text-4); background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 999px; padding: 5px 11px; transition: all .3s var(--ease-out); white-space: nowrap; }
.pl-step.done .pl-chip { color: var(--ok); background: var(--ok-soft); border-color: rgba(65,193,120,0.25); }
.pl-step.active .pl-chip { color: var(--accent); background: var(--accent-soft); border-color: rgba(255,110,54,0.4); box-shadow: 0 0 0 3px var(--accent-soft); }
.pl-conn { width: 14px; height: 1.5px; background: var(--border); margin: 0 3px; flex-shrink: 0; }

/* ── THEMES ── */
.themes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.theme-tile { transition: transform .2s; }
.theme-tile:hover { transform: translateY(-4px); }
.tt-mock { border: 1px solid; border-radius: var(--r-3); overflow: hidden; aspect-ratio: 16/9; }
.tt-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid; }
.tt-dot { width: 8px; height: 8px; border-radius: 50%; }
.tt-line { height: 6px; border-radius: 3px; opacity: 0.6; }
.tt-btn { width: 26px; height: 12px; border-radius: 4px; margin-left: auto; }
.tt-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.tt-card { display: flex; align-items: center; gap: 8px; border: 1px solid; border-radius: 6px; padding: 7px 9px; }
.tt-chip { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; }
.tt-tx { height: 6px; border-radius: 3px; flex: 1; opacity: 0.75; }
.tt-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 0 2px; }
.tt-name { font-size: 14px; font-weight: 600; }
.tt-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-4); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; }

/* ── CONSOLE SHOWCASE ── */
.term-win .body { padding: 16px 18px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.75; background: var(--surface-canvas); }
.term-win .body .pr { color: var(--accent); } .term-win .body .ok { color: var(--ok); }
.term-win .body .cy { color: var(--info); } .term-win .body .dim { color: var(--text-4); }
.term-win .body .gs { color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(255,110,54,0.28); border-radius: 4px; padding: 1px 6px; font-size: 11px; }
.term-tabs { display: flex; gap: 2px; padding: 6px 10px 0; background: var(--surface-1); }
.term-tab { font-size: 11.5px; color: var(--text-4); padding: 6px 12px; border-radius: 6px 6px 0 0; border: 1px solid transparent; border-bottom: none; }
.term-tab.on { color: var(--text-1); background: var(--surface-canvas); border-color: var(--border-soft); }

/* ── API STRIP ── */
.api-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.code-win .body { padding: 18px 20px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.8; background: var(--surface-canvas); white-space: pre; overflow-x: auto; }
.code-win .kw { color: var(--accent-2); } .code-win .st { color: #a5e8b5; } .code-win .cm { color: var(--text-4); } .code-win .fn { color: var(--info); }
.api-logos { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.api-logos .chip { font-family: var(--font-mono); font-size: 12px; }

/* ── PRICING TEASER ── */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; align-items: start; }
.tier { background: var(--surface-1); border: 1px solid var(--border); border-radius: var(--r-4); padding: 24px 22px; }
.tier.feat { border-color: var(--accent); position: relative; }
.tier-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 600; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.tier .nm { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-4); margin-bottom: 12px; }
.tier .price { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.tier .price span { font-size: 14px; color: var(--text-4); font-weight: 400; }
.tier .desc { font-size: 13px; color: var(--text-3); margin: 6px 0 18px; min-height: 34px; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.tier li { font-size: 13px; color: var(--text-2); display: flex; gap: 8px; align-items: flex-start; }
.tier li svg { width: 15px; height: 15px; color: var(--ok); flex-shrink: 0; margin-top: 2px; }

/* ── CTA BAND ── */
.ctaband { text-align: center; position: relative; }
.ctaband h2 { font-size: 46px; letter-spacing: -0.03em; margin-bottom: 16px; }
.ctaband h2 .accent { color: var(--accent); }
.ctaband p { font-size: 17px; color: var(--text-3); margin-bottom: 30px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .h-grid, .showcase, .showcase.flip, .api-grid { grid-template-columns: 1fr; gap: 36px; }
  .showcase.flip .sc-text { order: 0; }
  .h-title { font-size: 42px; }
  .topo { transform: scale(0.84); transform-origin: top center; }
  .bento, .themes-grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .statband .wrap { grid-template-columns: 1fr 1fr; }
  .statcell:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
}
@media (max-width: 640px) {
  .h-title { font-size: 34px; }
  .topo { transform: scale(0.62); }
  .bento, .themes-grid, .tiers { grid-template-columns: 1fr; }
  .fab { grid-template-columns: 1fr; gap: 0; }
  .fab-gap { height: 54px; transform: rotate(90deg); }
  .ctaband h2 { font-size: 32px; }
  .cmp { font-size: 12.5px; } .cmp th, .cmp td { padding: 10px 8px; }
}
