/* ============================================================
   DarkIntel Portal — estilos
   ============================================================ */
:root {
  /* Paleta oficial DarkIntel */
  --bg: #060913;
  --bg-2: #0b1020;
  --surface: rgba(11, 16, 32, 0.72);
  --surface-2: rgba(22, 32, 51, 0.72);
  --border: rgba(183, 195, 215, 0.14);
  --border-strong: rgba(183, 195, 215, 0.24);
  --text: #f4f7fb;
  --muted: #77849a;
  --cyan: #7ff0c0;      /* --di-mint */
  --purple: #4aa8ff;    /* --di-blue */
  --green: #34d399;
  --warn: #ffb84d;
  --danger: #ff526c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --grad: linear-gradient(120deg, #7ff0c0, #4aa8ff);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #7ff1ff; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
code { background: rgba(255,255,255,.08); padding: .1em .4em; border-radius: 6px; font-size: .9em; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.inline { display: inline; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Fondo */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(620px 420px at 15% 5%, rgba(127,240,192,.14), transparent 60%),
    radial-gradient(720px 520px at 85% 10%, rgba(74,168,255,.14), transparent 60%),
    radial-gradient(820px 620px at 50% 100%, rgba(127,240,192,.05), transparent 60%);
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 9, 19, 0.74);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.brand-text { font-size: 1.2rem; letter-spacing: -0.03em; }
.brand-text span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 0 10px rgba(127,240,192,.35)); }
.brand-logo { display: block; width: 30px; height: 30px; filter: drop-shadow(0 0 10px rgba(127,240,192,.30)); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: .94rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; transition: .25s; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid transparent;
  font-family: inherit; font-weight: 650; font-size: .94rem; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s;
  white-space: nowrap; color: var(--text); background: transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-sm { padding: 7px 12px; font-size: .84rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--grad); color: #041018; border: 0;
  box-shadow: 0 10px 30px rgba(56,232,255,.22);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(160,107,255,.35); color: #041018; }
.btn-outline { border-color: var(--border-strong); background: var(--surface); }
.btn-outline:hover { border-color: var(--cyan); background: var(--surface-2); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: var(--surface); }
.btn-danger { border-color: rgba(255,84,112,.4); color: var(--danger); background: rgba(255,84,112,.08); }
.btn-danger:hover { background: rgba(255,84,112,.16); color: #ff8aa0; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 100px) 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: .82rem; color: var(--muted);
  border: 1px solid var(--border); background: var(--surface); margin-bottom: 22px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 56ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 28px; }
.trust { display: flex; gap: 26px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.trust li { color: var(--muted); font-size: .9rem; }
.trust strong { color: var(--text); font-size: 1.05rem; margin-right: 4px; }

.radar-card {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--border); border-radius: 24px; padding: 20px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.radar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.radar { position: relative; width: 100%; aspect-ratio: 1; max-width: 340px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,232,255,.10), rgba(56,232,255,.02) 60%, transparent 70%);
  border: 1px solid rgba(56,232,255,.18); overflow: hidden;
}
.radar-ring { position: absolute; border: 1px solid rgba(56,232,255,.18); border-radius: 50%; inset: 16%; }
.radar-ring.r2 { inset: 32%; }
.radar-ring.r3 { inset: 48%; }
.radar-sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56,232,255,.45), transparent 28%, transparent 100%);
  animation: sweep 4s linear infinite; mask-image: radial-gradient(circle, #000 60%, transparent 70%);
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-core { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.blip { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 14px var(--purple); animation: blink 2.4s infinite; }
.blip.b1 { left: 30%; top: 38%; }
.blip.b2 { left: 66%; top: 58%; animation-delay: .8s; }
.blip.b3 { left: 52%; top: 26%; animation-delay: 1.5s; }
@keyframes blink { 0%,100%{opacity:.25} 50%{opacity:1} }
.radar-list { display: grid; gap: 8px; margin-top: 16px; }
.radar-item { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted);
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; padding: 9px 12px; }
.ico { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: .75rem; font-weight: 800; }
.ico-ok { background: rgba(61,220,151,.16); color: var(--green); }
.ico-warn { background: rgba(255,176,32,.16); color: var(--warn); }

/* Stats */
.stats { padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat-num { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--muted); font-size: .86rem; }

/* Secciones */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: rgba(255,255,255,.018); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.kicker { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--cyan); margin-bottom: 12px; }
.section-head p { margin-top: 10px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(56,232,255,.35); box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.card-ico { font-size: 1.6rem; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step-num { font-size: 2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h3 { margin-top: 8px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pricing-compact { margin-bottom: 26px; }
.pricing-4 { grid-template-columns: repeat(4, 1fr); }
.price-period { font-size: .95rem; color: var(--muted); font-weight: 500; margin-left: 2px; }
.price-card.free { border-style: dashed; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.price-card.featured { border-color: rgba(56,232,255,.45); background: linear-gradient(180deg, rgba(56,232,255,.08), rgba(160,107,255,.05)); box-shadow: 0 20px 60px rgba(56,232,255,.12); }
.badge { position: absolute; top: -12px; right: 18px; background: var(--grad); color: #041018; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.checks { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 26px; color: var(--muted); font-size: .92rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Comparativa de planes */
.compare-wrap { overflow-x: auto; margin-top: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: center; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); font-weight: 500; }
.compare thead th { color: var(--text); font-size: .86rem; font-weight: 700; }
.compare .hl { background: rgba(127,240,192,.06); }
.compare thead .hl { color: var(--cyan); }

.why-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.why-pay > div { padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.why-pay strong { display: block; margin-bottom: 4px; }
.why-pay span { display: block; }

.enterprise-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 28px; padding: 28px 32px; border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(127,240,192,.07), rgba(74,168,255,.07));
  flex-wrap: wrap;
}
.enterprise-band h3 { margin: 0 0 .25em; }
.enterprise-band p { margin: 0; max-width: 62ch; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 16px 18px; }
.faq summary { cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--cyan); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 10px 0 0; font-size: .93rem; }

/* Producto: capturas */
.preview-frame {
  border: 1px solid var(--border); border-radius: 20px; overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow);
}
.preview-bar {
  display: flex; gap: 6px; padding: 12px 14px;
  border-bottom: 1px solid var(--border); background: rgba(0,0,0,.28);
}
.preview-dot { width: 10px; height: 10px; border-radius: 50%; background: #2a3446; }
.preview-dot:first-child { background: rgba(255,82,108,.7); }
.preview-dot:nth-child(2) { background: rgba(255,184,77,.7); }
.preview-dot:nth-child(3) { background: rgba(127,240,192,.7); }
.preview-frame img { display: block; width: 100%; height: auto; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.preview-thumb { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.preview-thumb img { display: block; width: 100%; height: auto; }

/* CTA */
.cta-band { padding: 30px 0 80px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px; border: 1px solid rgba(56,232,255,.3); border-radius: 24px; background: linear-gradient(120deg, rgba(56,232,255,.10), rgba(160,107,255,.10)); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 48px 0 24px; background: rgba(0,0,0,.25); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 28px; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.footer a { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--border); flex-wrap: wrap; }

/* Auth */
.auth { padding: clamp(40px, 7vw, 80px) 0; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.auth-grid.single { grid-template-columns: minmax(0, 460px); justify-content: center; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 30px; box-shadow: var(--shadow); }
.auth-card h1, .auth-card h2 { font-size: 1.6rem; }
form label { display: block; font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 11px;
  border: 1px solid var(--border); background: rgba(0,0,0,.28); color: var(--text);
  font-family: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,232,255,.14); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .85rem; }
.checkbox input { width: auto; margin-top: 3px; accent-color: var(--cyan); }
.alert { padding: 12px 14px; border-radius: 11px; margin-bottom: 16px; font-size: .9rem; border: 1px solid; }
.alert-err { background: rgba(255,84,112,.10); border-color: rgba(255,84,112,.35); color: #ffb3c1; }
.alert-ok { background: rgba(61,220,151,.10); border-color: rgba(61,220,151,.35); color: #9df0c8; }
.alert-warn { background: rgba(255,176,32,.10); border-color: rgba(255,176,32,.35); color: #ffd591; }

/* Dashboard */
.dash { padding: 44px 0 80px; }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.dash-head h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .2em; }
.dash-plan { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.dash-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-bottom: 18px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-head h2 { font-size: 1.1rem; margin: 0; }
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 650; border: 1px solid var(--border); background: var(--surface); color: var(--muted); }
.chip-green { color: var(--green); border-color: rgba(61,220,151,.35); background: rgba(61,220,151,.10); }
.chip-warn { color: var(--warn); border-color: rgba(255,176,32,.35); background: rgba(255,176,32,.10); }
.chip-danger { color: var(--danger); border-color: rgba(255,84,112,.35); background: rgba(255,84,112,.10); }
.ident-list, .alert-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.ident-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(0,0,0,.18); }
.ident-kind { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cyan); min-width: 58px; }
.ident-value { flex: 1; font-size: .92rem; word-break: break-all; }
.add-form { display: flex; gap: 10px; flex-wrap: wrap; }
.add-form select { width: auto; min-width: 120px; margin-top: 0; }
.add-form input[type="text"] { flex: 1; min-width: 200px; margin-top: 0; }
.alert-list li { padding: 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(0,0,0,.18); }
.alert-list li.sev-high { border-color: rgba(255,84,112,.4); }
.alert-list li.sev-medium { border-color: rgba(255,176,32,.4); }
.identity-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* Resumen del plan */
.plan-summary { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; align-items: center; }
.plan-summary-main h2 { margin: 0 0 .2em; font-size: 1.45rem; }
.plan-facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; }
.plan-facts li { padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(0,0,0,.18); }
.plan-facts strong { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.plan-facts span { display: block; font-size: .95rem; margin-top: 2px; }
.plan-upsell { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--border); }
.plan-upsell p { margin: 0; max-width: 72ch; }

/* Tablas */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table td { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.05); }
.table tr:hover td { background: rgba(255,255,255,.02); }

/* Admin */
.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 18px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; margin: 0 0 16px; }
.kv dt { color: var(--muted); font-size: .85rem; }
.kv dd { margin: 0; font-size: .92rem; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mb { margin-bottom: 16px; }

/* Legal */
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal ul { color: var(--muted); padding-left: 20px; }
.legal li { margin-bottom: 6px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .radar-sweep, .dot, .blip { animation: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .auth-grid, .dash-grid { grid-template-columns: 1fr; }
  .cards, .pricing { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: 1fr; }
  .plan-summary { grid-template-columns: 1fr; }
  .plan-facts { grid-template-columns: repeat(2, 1fr); }
  .why-pay { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .cards, .pricing, .steps, .field-row, .admin-stats, .plan-facts { grid-template-columns: 1fr; }
  .nav-links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 4%;
    background: rgba(7,10,18,.98); border-bottom: 1px solid var(--border);
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
  .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
}
