/* ═══════════════════════════════════════════════════════════
   ClawNex — clawnexai.com
   Cyber-Defense Command Center aesthetic
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --bg:           #030711;
  --bg-elevated:  #0a1124;
  --bg-card:      rgba(10, 17, 36, 0.7);
  --brand:        #00e5a0;
  --brand-glow:   rgba(0, 229, 160, 0.15);
  --brand-glow-s: rgba(0, 229, 160, 0.06);
  --cyan:         #38bdf8;
  --red:          #f43f5e;
  --amber:        #f59e0b;
  --purple:       #a78bfa;
  --text:         #e8ecf4;
  --text-2:       #94a3b8;
  --text-3:       #475569;
  --border:       rgba(148, 163, 184, 0.08);
  --border-brand: rgba(0, 229, 160, 0.12);
  --mono:         'JetBrains Mono', ui-monospace, monospace;
  --display:      'Syne', system-ui, sans-serif;
  --body:         'DM Sans', system-ui, sans-serif;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h:        64px;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text-3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-2); }

/* ── Global overlays ── */
.scanlines {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

.grain {
  position: fixed; inset: -50%; z-index: 9998; pointer-events: none;
  width: 200%; height: 200%;
  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='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  animation: grain-shift 0.5s steps(1) infinite;
}

@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-5%, 5%); }
  50% { transform: translate(5%, -5%); }
  75% { transform: translate(-2%, -8%); }
}

/* ── Layout ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* stagger children */
.features-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.features-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.features-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.features-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.features-grid .reveal:nth-child(6) { transition-delay: 0.30s; }
.features-grid .reveal:nth-child(7) { transition-delay: 0.36s; }
.features-grid .reveal:nth-child(8) { transition-delay: 0.42s; }

/* ════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav-scrolled {
  background: rgba(3, 7, 17, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

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

.nav-brand {
  display: flex; align-items: center; gap: 10px;
}

.nav-brand img { filter: drop-shadow(0 0 8px rgba(0,229,160,0.3)); }

.nav-name {
  font-family: var(--display);
  font-size: 18px; font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

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

.nav-links > a {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

.nav-github {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text) !important;
}

.nav-cta {
  font-size: 13px !important; font-weight: 700 !important;
  color: var(--bg) !important;
  background: var(--brand);
  padding: 8px 20px; border-radius: 6px;
  transition: box-shadow 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  box-shadow: 0 0 20px rgba(0,229,160,0.35);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 1px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle-active span:nth-child(2) { opacity: 0; }
.nav-toggle-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute; inset: 0; z-index: 0;
}

.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 45%, rgba(0,229,160,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 25% 60%, rgba(56,189,248,0.03) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 80% 30%, rgba(167,139,250,0.02) 0%, transparent 55%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 140px 28px 100px;
  display: flex; flex-direction: column; align-items: center;
  max-width: 720px;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 6px 18px; border-radius: 40px;
  background: rgba(0,229,160,0.06);
  border: 1px solid rgba(0,229,160,0.15);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--brand); }
  50% { opacity: 0.4; box-shadow: 0 0 2px var(--brand); }
}

/* Title */
.hero-title {
  font-family: var(--display);
  font-size: 84px; font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  background: linear-gradient(135deg, #00e5a0 0%, #00d4aa 25%, #00c8c8 50%, #38bdf8 75%, #00e5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(0, 229, 160, 0.4)) drop-shadow(0 0 60px rgba(0, 229, 160, 0.15));
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 16px;
}

.hero-logo {
  filter: drop-shadow(0 0 30px rgba(0,229,160,0.45));
}

/* Tagline */
.hero-tagline {
  font-family: var(--mono);
  font-size: 16px; font-weight: 500;
  color: var(--brand);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
}

.hero-tagline::before,
.hero-tagline::after {
  content: '';
  position: absolute; top: 50%;
  width: 40px; height: 1px;
  background: linear-gradient(90deg, var(--brand), transparent);
}

.hero-tagline::before { right: calc(100% + 16px); }
.hero-tagline::after  { left: calc(100% + 16px); transform: scaleX(-1); }

/* Desc */
.hero-desc {
  font-size: 17px; color: var(--text-2);
  line-height: 1.75; max-width: 520px;
  margin-bottom: 36px;
}

/* Actions */
.hero-actions { display: flex; gap: 14px; margin-bottom: 40px; }

/* Badges */
.hero-badges { display: flex; gap: 10px; }

.badge {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  padding: 5px 14px; border-radius: 4px;
  letter-spacing: 0.06em;
}

.badge-green {
  color: var(--brand);
  background: rgba(0,229,160,0.08);
  border: 1px solid rgba(0,229,160,0.2);
}

.badge-dim {
  color: var(--text-3);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px; color: var(--text-3);
  letter-spacing: 0.15em; text-transform: uppercase;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--brand), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 0.2; transform: scaleY(0.6); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; border-radius: 8px;
  font-family: var(--body); font-size: 14px; font-weight: 700;
  cursor: pointer; border: none;
  transition: transform 0.15s var(--ease), box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--brand); color: var(--bg);
}

.btn-primary:hover {
  box-shadow: 0 4px 28px rgba(0,229,160,0.4), 0 0 0 1px rgba(0,229,160,0.3);
}

.btn-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: rgba(0,229,160,0.3); color: var(--brand);
}

.btn-large { padding: 16px 36px; font-size: 16px; border-radius: 10px; }

/* ════════════════════════════════════════════
   SECTIONS
   ════════════════════════════════════════════ */
.section {
  position: relative; z-index: 1;
  padding: 120px 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-label {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--brand); text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--display);
  font-size: 44px; font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-title em {
  font-style: normal;
  color: var(--brand);
}

.section-sub {
  font-size: 16px; color: var(--text-2);
  margin-top: 16px; line-height: 1.7;
}

/* ════════════════════════════════════════════
   PROBLEM
   ════════════════════════════════════════════ */
.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.problem-left .section-label { margin-bottom: 16px; }

.problem-left .section-title {
  font-size: 38px;
  text-align: left;
}

.problem-sub {
  font-size: 16px; color: var(--text-2);
  margin-top: 20px; line-height: 1.75;
  text-align: left;
}

/* Threat stack — SOC terminal feel */
.threat-stack {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.threat-row {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 13px;
  transition: background 0.2s;
}

.threat-row:last-child { border-bottom: none; }
.threat-row:hover { background: rgba(255,255,255,0.02); }

.threat-indicator {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}

.threat-crit {
  background: var(--red);
  box-shadow: 0 0 8px rgba(244,63,94,0.5);
  animation: blink-crit 1.5s ease-in-out infinite;
}

.threat-high {
  background: var(--amber);
  box-shadow: 0 0 6px rgba(245,158,11,0.4);
}

.threat-med {
  background: #facc15;
  box-shadow: 0 0 6px rgba(250,204,21,0.3);
}

@keyframes blink-crit {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.threat-label { flex: 1; color: var(--text); }

.threat-sev {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px; border-radius: 4px;
}

.threat-row:nth-child(1) .threat-sev,
.threat-row:nth-child(2) .threat-sev {
  color: var(--red); background: rgba(244,63,94,0.1);
}

.threat-row:nth-child(3) .threat-sev,
.threat-row:nth-child(4) .threat-sev {
  color: var(--amber); background: rgba(245,158,11,0.1);
}

.threat-row:nth-child(5) .threat-sev {
  color: #facc15; background: rgba(250,204,21,0.08);
}

/* ════════════════════════════════════════════
   TICKER
   ════════════════════════════════════════════ */
.ticker-section {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  overflow: hidden;
  padding: 20px 0;
}

.ticker-track {
  display: flex; align-items: center; gap: 40px;
  animation: ticker-scroll 20s linear infinite;
  width: max-content;
}

.ticker-item {
  font-family: var(--mono); font-size: 14px; font-weight: 500;
  color: var(--text-2); white-space: nowrap;
  display: flex; align-items: center; gap: 10px;
}

.ticker-num {
  font-size: 24px; font-weight: 700; color: var(--brand);
}

.ticker-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-3);
}

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

/* ════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.2s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-glow), transparent);
  opacity: 0; transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--border-brand);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,229,160,0.06);
}

.feature-card:hover::before { opacity: 1; }

.feature-glyph {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-glow-s);
  border: 1px solid var(--border-brand);
  border-radius: 10px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-family: var(--display);
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px; color: var(--text-2);
  line-height: 1.65;
}

/* ════════════════════════════════════════════
   SHIELD DEMO — Terminal aesthetic
   ════════════════════════════════════════════ */
.terminal-demo {
  max-width: 820px; margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #0c1222;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.terminal-chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.terminal-dots span:nth-child(1) { background: #f43f5e; }
.terminal-dots span:nth-child(2) { background: #f59e0b; }
.terminal-dots span:nth-child(3) { background: #22c55e; }

.terminal-title {
  font-family: var(--mono); font-size: 12px;
  color: var(--text-3);
}

.terminal-body { padding: 24px; }

.terminal-block { margin-bottom: 0; }

.terminal-line {
  font-family: var(--mono); font-size: 13px;
  line-height: 1.8;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
}

.t-prompt { color: var(--brand); font-weight: 700; }
.t-cmd    { color: var(--cyan); }
.t-str    { color: #fbbf24; }
.t-arrow  { color: var(--text-3); }
.t-dim    { color: var(--text-3); }

.t-verdict {
  font-weight: 700; padding: 1px 10px; border-radius: 4px;
  font-size: 12px; letter-spacing: 0.08em;
}

.t-allow { color: var(--brand); background: rgba(0,229,160,0.1); }
.t-block { color: var(--red); background: rgba(244,63,94,0.1); }

.t-meta { color: var(--text-3); font-size: 12px; }

.t-result { margin-top: 2px; }
.t-detail { margin-top: 2px; margin-bottom: 4px; }

.t-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  padding: 2px 8px; border-radius: 3px;
  margin-right: 4px;
}

.t-tag-red   { color: var(--red); background: rgba(244,63,94,0.08); }
.t-tag-amber { color: var(--amber); background: rgba(245,158,11,0.08); }

.terminal-divider {
  height: 1px; background: var(--border);
  margin: 16px 0;
}

/* ════════════════════════════════════════════
   RBAC — Table layout
   ════════════════════════════════════════════ */
.roles-table {
  max-width: 880px; margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
}

.role-row {
  display: grid;
  grid-template-columns: 200px 1fr 120px;
  align-items: center;
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.role-row:last-child { border-bottom: none; }
.role-row:not(.role-header):hover { background: rgba(255,255,255,0.015); }

.role-header {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--text-3); text-transform: uppercase;
  letter-spacing: 0.1em; padding: 12px 28px;
  background: rgba(255,255,255,0.02);
}

.role-cell { font-size: 14px; color: var(--text-2); }

.role-cell-name {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--text);
  font-family: var(--mono); font-size: 13px;
}

.role-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 6px var(--dot);
  flex-shrink: 0;
}

.role-cell-level { display: flex; align-items: center; }

.level-bar {
  display: block; height: 4px; border-radius: 2px;
  width: var(--w);
  background: linear-gradient(90deg, var(--brand), var(--cyan));
}

.level-bar-purple {
  background: linear-gradient(90deg, var(--purple), #c4b5fd);
}

/* ════════════════════════════════════════════
   ENTERPRISE
   ════════════════════════════════════════════ */
.ent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.2s var(--ease);
}

.ent-card:hover {
  border-color: rgba(167,139,250,0.2);
  transform: translateY(-3px);
}

.ent-badge {
  display: inline-block;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: var(--purple);
  background: rgba(167,139,250,0.08);
  border: 1px solid rgba(167,139,250,0.18);
  padding: 3px 10px; border-radius: 4px;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.ent-card h3 {
  font-family: var(--display);
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
}

.ent-card p {
  font-size: 13px; color: var(--text-2);
  line-height: 1.6;
}

/* ════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════ */
.section-cta {
  padding: 140px 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(0,229,160,0.04) 0%, transparent 70%);
}

.cta-content { max-width: 560px; margin: 0 auto; }

.cta-title {
  font-family: var(--display);
  font-size: 72px; font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.cta-license {
  font-size: 20px; font-weight: 600; color: var(--brand);
  margin-bottom: 8px;
}

.cta-sub {
  font-size: 16px; color: var(--text-2);
  margin-bottom: 40px;
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px 0 32px;
}

.footer-inner { display: flex; flex-direction: column; gap: 28px; }

.footer-top {
  display: flex; align-items: center; justify-content: space-between;
}

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

.footer-brand img { filter: drop-shadow(0 0 6px rgba(0,229,160,0.3)); }

.footer-name {
  font-family: var(--display);
  font-size: 16px; font-weight: 800;
  color: var(--text);
}

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  font-size: 13px; font-weight: 500; color: var(--text-3);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-2); }

.footer-bottom {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--text-3);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ent-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-layout { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; gap: 16px;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(3,7,17,0.95); backdrop-filter: blur(20px);
    padding: 24px 28px; border-bottom: 1px solid var(--border);
  }
  .nav-links.nav-open { display: flex; }
  .nav-toggle { display: flex; }

  .hero-title { font-size: 52px; }
  .hero-content { padding: 120px 20px 80px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-badges { flex-wrap: wrap; justify-content: center; }

  .section { padding: 80px 0; }
  .section-title { font-size: 32px; }

  .problem-layout { grid-template-columns: 1fr; }
  .problem-left .section-title { font-size: 30px; }

  .features-grid { grid-template-columns: 1fr; }
  .ent-grid { grid-template-columns: 1fr; }

  .role-row { grid-template-columns: 140px 1fr; }
  .role-cell-level { display: none; }
  .role-header { display: none; }

  .terminal-body { padding: 16px; }
  .terminal-line { font-size: 11px; }

  .footer-top { flex-direction: column; gap: 16px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 6px; text-align: center; }

  .cta-title { font-size: 48px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 40px; gap: 12px; }
  .hero-logo { width: 48px; height: 48px; }
  .hero-tagline::before, .hero-tagline::after { display: none; }
  .section-title { font-size: 28px; }
  .cta-title { font-size: 36px; }
  .problem-left .section-title { font-size: 26px; }
}
