/* ============================================================
   NETWORK CORE LLC — STYLES
   Palette: Acid Neon + Industrial Dark
   Fonts: Syne (display) + Space Mono (code) + Outfit (body)
   ============================================================ */

:root {
  --bg: #080808;
  --bg2: #0f0f0f;
  --bg3: #141414;
  --bg4: #1a1a1a;
  --surface: #111111;
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(0,255,136,0.3);

  --green: #00ff88;
  --cyan: #00ccff;
  --orange: #ff6b2b;
  --yellow: #ffcc00;
  --pink: #ff00aa;
  --white: #f0ede8;
  --muted: #666666;
  --muted2: #444444;

  --font-display: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Outfit', sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.2s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--green);
  border: 1px solid var(--border-bright);
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  border-radius: 4px;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--white);
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color var(--transition);
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 18px;
  border-radius: var(--radius);
  text-transform: uppercase;
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.nav-cta:hover { opacity: 0.85; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-transform: uppercase;
  transition: all var(--transition);
  border: 1px solid var(--green);
}

.btn-primary:hover {
  background: transparent;
  color: var(--green);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-transform: uppercase;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 2rem 60px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 60px;
}

.hero-grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--green);
  border: 1px solid var(--border-bright);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.title-line {
  display: block;
  color: var(--white);
}

.title-line.accent {
  color: var(--green);
  -webkit-text-stroke: 0px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat {
  flex: 1;
  padding: 20px 16px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green);
}

.stat-unit {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--green);
}

.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

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

/* HERO VISUAL */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 500px;
}

.globe-container {
  position: relative;
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#globeCanvas {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.globe-rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ring-spin linear infinite;
}

.ring-1 {
  width: 340px; height: 340px;
  border-color: rgba(0,255,136,0.2);
  animation-duration: 20s;
}

.ring-2 {
  width: 380px; height: 380px;
  border-color: rgba(0,204,255,0.15);
  animation-duration: 30s;
  animation-direction: reverse;
}

.ring-3 {
  width: 420px; height: 420px;
  border-color: rgba(255,107,43,0.1);
  animation-duration: 45s;
}

@keyframes ring-spin {
  from { transform: rotate(0deg) rotateX(70deg); }
  to { transform: rotate(360deg) rotateX(70deg); }
}

.globe-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--green);
  text-transform: uppercase;
  z-index: 3;
}

.globe-label.top { top: 20px; left: 50%; transform: translateX(-50%); }
.globe-label.bottom { bottom: 20px; left: 50%; transform: translateX(-50%); }

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 12px 0;
}

.ticker {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
}

.ticker .sep {
  color: var(--green);
  font-size: 8px;
}

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

/* ============================================================
   ARCHITECTURE
   ============================================================ */
.architecture {
  background: var(--bg);
}

.arch-diagram {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.arch-layer {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  cursor: default;
}

.arch-layer:last-child { border-bottom: none; }

.arch-layer:hover {
  background: var(--bg4);
}

.arch-layer[data-layer="1"] { border-left: 3px solid var(--green); }
.arch-layer[data-layer="2"] { border-left: 3px solid var(--cyan); }
.arch-layer[data-layer="3"] { border-left: 3px solid var(--orange); }
.arch-layer[data-layer="4"] { border-left: 3px solid var(--yellow); }
.arch-layer[data-layer="5"] { border-left: 3px solid var(--pink); }
.arch-layer[data-layer="6"] { border-left: 3px solid var(--green); }
.arch-layer[data-layer="7"] { border-left: 3px solid var(--cyan); }

.layer-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: 0.1em;
}

.layer-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.layer-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.arch-layer:hover .tech-tag {
  border-color: var(--border-bright);
  color: var(--green);
}

.layer-desc {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-align: right;
  white-space: nowrap;
}

/* ============================================================
   NETWORK SECTION
   ============================================================ */
.network-section {
  background: var(--bg2);
}

.col-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.col-text p {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--white);
}

.feat-icon {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* SPECTRUM VIZ */
.col-visual {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.spectrum-viz {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
}

.spectrum-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.spectrum-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  margin-bottom: 16px;
}

.sbar {
  flex: 1;
  height: var(--h);
  background: var(--c);
  border-radius: 2px 2px 0 0;
  opacity: 0.7;
  transition: opacity var(--transition), height 0.5s ease;
  cursor: pointer;
  position: relative;
}

.sbar:hover { opacity: 1; }

.sbar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.sbar::before {
  content: attr(data-info);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg4);
  border: 1px solid var(--border);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--white);
  white-space: nowrap;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.sbar:hover::before { opacity: 1; }

.spectrum-legend {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.leg-item span {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: block;
}

/* RANGE CIRCLE */
.range-circle {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.range-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--green);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.range-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.range-unit {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--green);
  letter-spacing: 0.2em;
}

.range-label {
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.range-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: range-expand 3s ease-out infinite;
}

.range-pulse { width: 120px; height: 120px; }
.range-pulse.p2 { animation-delay: 1s; }
.range-pulse.p3 { animation-delay: 2s; }

@keyframes range-expand {
  0% { width: 120px; height: 120px; opacity: 0.6; }
  100% { width: 200px; height: 200px; opacity: 0; }
}

/* ============================================================
   IoT SECTION
   ============================================================ */
.iot-section {
  background: var(--bg);
}

.pipeline-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 64px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.pipe-stage {
  flex: 1;
  min-width: 160px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: border-color var(--transition);
}

.pipe-stage:hover {
  border-color: var(--border-bright);
}

.pipe-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  color: var(--green);
}

.pipe-icon svg {
  width: 100%;
  height: 100%;
}

.pipe-name {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.pipe-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.pipe-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.pipe-techs span {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 2px 6px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--cyan);
}

.pipe-arrow {
  font-size: 1.5rem;
  color: var(--green);
  padding: 0 8px;
  flex-shrink: 0;
  opacity: 0.5;
}

.iot-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.iot-stat {
  background: var(--surface);
  padding: 32px 24px;
  text-align: center;
}

.iot-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 8px;
}

.iot-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/* ============================================================
   NEUROMORPHIC SECTION
   ============================================================ */
.neuro-section {
  background: var(--bg2);
}

.neuro-viz {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

#neuroCanvas {
  display: block;
  width: 100%;
  height: auto;
}

.neuro-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nlabel {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--green);
  background: rgba(0,0,0,0.7);
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid var(--border-bright);
  text-transform: uppercase;
}

.neuro-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.neuro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color var(--transition);
}

.neuro-card:hover {
  border-color: var(--border-bright);
}

.nc-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.nc-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.nc-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   BUILDER SECTION
   ============================================================ */
.builder-section {
  background: var(--bg);
}

.builder-ui {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.builder-panel {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.builder-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.builder-step.active {
  border-color: var(--border-bright);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  font-weight: 700;
}

.step-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--white);
  text-transform: uppercase;
}

.step-content {
  padding: 20px;
}

.option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.option-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.option-card:hover,
.option-card.selected {
  border-color: var(--green);
  background: rgba(0,255,136,0.05);
}

.opt-icon { font-size: 1.4rem; margin-bottom: 6px; }

.opt-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.opt-spec {
  font-size: 0.75rem;
  color: var(--muted);
}

.toggle-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toggle-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition);
}

.toggle-item:hover { border-color: var(--border-bright); }

.toggle-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  cursor: pointer;
}

.toggle-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white);
  flex: 1;
}

.toggle-range {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
}

.slider-group {
  margin-bottom: 20px;
}

.slider-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.slider-group input[type="range"] {
  width: 100%;
  accent-color: var(--green);
  margin-bottom: 6px;
}

.slider-val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  font-weight: 700;
}

.generate-btn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
  font-size: 13px;
  padding: 16px;
}

/* BUILDER OUTPUT */
.builder-output {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg3);
}

.output-header span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
}

.copy-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 2px;
  text-transform: uppercase;
  transition: all var(--transition);
}

.copy-btn:hover {
  color: var(--green);
  border-color: var(--border-bright);
}

.config-output {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  overflow-x: auto;
  max-height: 600px;
  overflow-y: auto;
  white-space: pre;
}

/* ============================================================
   TOKEN SECTION
   ============================================================ */
.token-section {
  background: var(--bg2);
}

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

.token-stream {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  transition: border-color var(--transition);
}

.token-stream:hover {
  border-color: var(--border-bright);
}

.ts-header {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ts-amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 12px;
}

.ts-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.ts-bar {
  height: 3px;
  background: var(--bg3);
  border-radius: 2px;
  overflow: hidden;
}

.ts-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-radius: 2px;
  transition: width 1s ease;
}

.token-tech {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tt-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: border-color var(--transition);
}

.tt-item:hover { border-color: var(--border-bright); }

.tt-icon { font-size: 1.8rem; margin-bottom: 10px; }

.tt-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.tt-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   STACK SECTION
   ============================================================ */
.stack-section {
  background: var(--bg);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stack-category {
  background: var(--surface);
  padding: 28px;
}

.sc-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sc-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

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

.sc-name {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--white);
}

.sc-lic {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--cyan);
  letter-spacing: 0.05em;
  background: rgba(0,204,255,0.08);
  padding: 2px 6px;
  border-radius: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

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

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-owner {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green) !important;
  letter-spacing: 0.1em;
}

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

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.footer-badge {
  background: rgba(0,255,136,0.1);
  border: 1px solid var(--border-bright);
  color: var(--green);
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 10px;
  letter-spacing: 0.15em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse { direction: ltr; }
  .token-flow { grid-template-columns: 1fr 1fr; }
  .token-tech { grid-template-columns: 1fr 1fr; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .builder-ui { grid-template-columns: 1fr; }
  .iot-stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero { flex-direction: column; padding-top: 80px; }
  .hero-visual { display: none; }
  .hero-stats { flex-wrap: wrap; }
  .stat { min-width: 45%; }
  .stat-divider { display: none; }
  .arch-layer { grid-template-columns: 40px 1fr; }
  .layer-desc { display: none; }
  .pipeline-flow { flex-direction: column; }
  .pipe-arrow { transform: rotate(90deg); }
  .token-flow { grid-template-columns: 1fr; }
  .token-tech { grid-template-columns: 1fr 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .iot-stats-grid { grid-template-columns: 1fr 1fr; }
  .neuro-cards { grid-template-columns: 1fr; }
  .option-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 64px 0; }
  .hero-title { font-size: 2.4rem; }
  .iot-stats-grid { grid-template-columns: 1fr; }
  .token-tech { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }