/* ============ SmishGuard landing — dark technical ============ */
:root {
  /* base */
  --bg:        #0B1120;
  --bg-2:      #0E1626;
  --elev:      #111B2B;
  --surface:   #16223550;
  --border:    #1E2D42;
  --border-2:  #2A3D58;

  /* text */
  --text:      #E6EDF5;
  --muted:     #93A4BC;
  --faint:     #5E708C;

  /* brand — SmishGuard teal + circuit green + shield blue */
  --teal:      #5FB4B2;
  --teal-deep: #2E7D7B;
  --teal-soft: #8fd3d1;
  --green:     #57C97A;
  --blue:      #3E7BD6;

  /* threat semantics */
  --critical:  #E5564E;
  --high:      #F0813F;
  --medium:    #F2B33D;
  --low:       #8FCB52;
  --safe:      #34C77B;
  --cert:      #5FB4B2;

  /* type */
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-hero: clamp(2.6rem, 1.2rem + 5.6vw, 5.4rem);
  --text-h2:   clamp(1.85rem, 1.1rem + 2.6vw, 3rem);
  --text-lead: clamp(1.05rem, 0.96rem + 0.5vw, 1.28rem);

  --space-sec: clamp(4.5rem, 3rem + 6vw, 9rem);
  --radius:    16px;
  --radius-lg: 24px;
  --maxw:      1200px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.02em; font-weight: 800; }
.mono { font-family: var(--mono); font-size: 0.86em; letter-spacing: -0.01em; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 0.6rem + 2vw, 2rem); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--teal); color: #04121a;
  padding: .6rem 1rem; border-radius: 0 0 10px 0; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  --b: transparent;
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; letter-spacing: -0.01em;
  padding: .68rem 1.15rem; border-radius: 11px; border: 1px solid var(--b);
  cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn--lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn--primary {
  background: linear-gradient(180deg, var(--teal), var(--teal-deep));
  color: #03161a; box-shadow: 0 8px 24px -10px rgba(95,180,178,.7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(95,180,178,.85), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--ghost { background: rgba(255,255,255,.03); color: var(--text); --b: var(--border-2); }
.btn--ghost:hover { background: rgba(95,180,178,.08); border-color: var(--teal-deep); transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--teal-soft); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 70;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-stuck { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { filter: drop-shadow(0 2px 8px rgba(95,180,178,.35)); }
.brand__name { font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; }
.brand__name span { color: var(--teal); }
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: .94rem; font-weight: 500; transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--teal); transition: width .25s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; gap: .6rem; }
.nav__right { display: flex; align-items: center; gap: .9rem; }
.lang { display: inline-flex; align-items: center; gap: 1px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.lang button { font-family: var(--mono); font-size: .72rem; font-weight: 600; color: var(--faint); background: none; border: 0; padding: .3rem .5rem; border-radius: 7px; cursor: pointer; transition: color .2s, background .2s; letter-spacing: .02em; }
.lang button:hover { color: var(--text); }
.lang button.is-active { color: #04141a; background: linear-gradient(180deg, var(--teal), var(--teal-deep)); }
.lang button:focus-visible { outline: 2px solid var(--teal-soft); outline-offset: 2px; }
.lang--mobile { margin-top: .8rem; justify-content: center; width: max-content; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; position: relative; z-index: 80; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .32s var(--ease), opacity .2s; transform-origin: center; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; z-index: 55; }
.nav__backdrop.is-open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(82vw, 320px);
  display: flex; flex-direction: column; gap: .25rem;
  padding: 5.5rem clamp(1.1rem,5vw,1.6rem) 2rem;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  box-shadow: -24px 0 70px rgba(0,0,0,.45);
  transform: translateX(100%); visibility: hidden;
  transition: transform .34s var(--ease), visibility .34s;
  z-index: 60; overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu a { color: var(--muted); padding: .7rem .25rem; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: .6rem; justify-content: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(3rem, 2rem + 4vw, 6rem); padding-bottom: var(--space-sec); overflow: hidden; }
.hero__grid {
  position: absolute; inset: -2px 0 auto 0; height: 720px;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 46px 46px; opacity: .35;
  mask-image: radial-gradient(120% 80% at 70% 0%, #000 0%, transparent 70%);
}
.hero__glow {
  position: absolute; top: -260px; right: -120px; width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(95,180,178,.22), transparent 62%); filter: blur(14px); pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: var(--teal-soft); background: rgba(95,180,178,.1); border: 1px solid rgba(95,180,178,.28);
  padding: .4rem .8rem; border-radius: 999px; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(95,180,178,.25); }
.hero__title { font-size: var(--text-hero); margin: 1.4rem 0 1.3rem; font-weight: 800; }
.grad { background: linear-gradient(120deg, var(--teal-soft), var(--teal-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: var(--text-lead); color: var(--muted); max-width: 36ch; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.7rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem; list-style: none; padding: 0; color: var(--faint); font-size: .82rem; font-weight: 500; }
.hero__trust li { position: relative; padding-left: 1.1rem; }
.hero__trust li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--teal-deep); }

/* hero visual: console */
.hero__visual { position: relative; }
.console {
  background: linear-gradient(180deg, var(--elev), #0d1626);
  border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(95,180,178,.05), inset 0 1px 0 rgba(255,255,255,.04);
  overflow: hidden; backdrop-filter: blur(6px);
}
.console__bar { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.console__dots { display: inline-flex; gap: 6px; }
.console__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.console__title { font-family: var(--mono); font-size: .74rem; color: var(--faint); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 700; color: var(--safe); letter-spacing: .05em; }
.live__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); box-shadow: 0 0 0 0 rgba(52,199,123,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,123,.55);} 70%{ box-shadow: 0 0 0 8px rgba(52,199,123,0);} 100%{ box-shadow:0 0 0 0 rgba(52,199,123,0);} }
.sms { padding: 1.1rem 1.15rem; border-bottom: 1px solid var(--border); }
.sms__from { display: flex; align-items: center; gap: .7rem; }
.avatar { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #04121a; background: linear-gradient(150deg, var(--high), var(--critical)); }
.sms__from div { display: flex; flex-direction: column; line-height: 1.2; }
.sms__from strong { font-size: .92rem; }
.sms__from span { font-size: .76rem; color: var(--faint); font-family: var(--mono); }
.sms__body { margin-top: .85rem; font-size: .9rem; color: var(--muted); }
.sms__body .hl { color: var(--high); font-weight: 600; }
.sms__body .url { display: inline-block; margin-top: .35rem; font-family: var(--mono); font-size: .8rem; color: var(--critical); word-break: break-all; border-bottom: 1px dashed rgba(229,86,78,.5); }
.pipeline { padding: .9rem 1.15rem 1.15rem; display: grid; gap: .5rem; }
.step { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.015); }
.step__k { font-size: .78rem; font-weight: 600; color: var(--muted); }
.step__v { font-family: var(--mono); font-size: .73rem; color: var(--faint); text-align: right; }
.step.ok { border-left: 2px solid var(--teal-deep); }
.step.ok .step__v { color: var(--teal-soft); }
.step.blocked { border-color: rgba(229,86,78,.4); background: rgba(229,86,78,.08); }
.step.blocked .step__k { color: #f4c0bd; }
.step.blocked .step__v { color: var(--critical); font-weight: 700; }

.chip {
  position: absolute; background: var(--elev); border: 1px solid var(--border-2); border-radius: 12px;
  padding: .55rem .8rem; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em;
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.8); display: flex; flex-direction: column;
}
.chip small { font-weight: 500; font-size: .66rem; color: var(--faint); letter-spacing: 0; }
.chip--a { top: 8%; left: -34px; color: var(--teal-soft); animation: float 6s ease-in-out infinite; }
.chip--b { bottom: 16%; left: -22px; color: var(--safe); animation: float 7s ease-in-out infinite .5s; }
.chip--c { bottom: -18px; right: 24px; color: var(--blue); animation: float 6.5s ease-in-out infinite 1s; }
@keyframes float { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* badges */
.badge { font-size: .64rem; font-weight: 800; letter-spacing: .06em; padding: .22rem .5rem; border-radius: 6px; text-transform: uppercase; }
.badge--critical { color: var(--critical); background: rgba(229,86,78,.14); border: 1px solid rgba(229,86,78,.35); }
.badge--safe { color: var(--safe); background: rgba(52,199,123,.13); border: 1px solid rgba(52,199,123,.32); }
.badge--cert { color: var(--cert); background: rgba(95,180,178,.13); border: 1px solid rgba(95,180,178,.32); }

/* ---------- band / stats ---------- */
.band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.band__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 2.2rem 1rem; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat__n { display: block; font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.stat__l { display: block; font-size: .8rem; color: var(--faint); margin-top: .25rem; }

/* ---------- section base ---------- */
.section { padding-block: var(--space-sec); position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__head { max-width: 640px; margin-bottom: clamp(2.2rem, 1.5rem + 2vw, 3.6rem); }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin-bottom: .9rem; }
.section__head h2 { font-size: var(--text-h2); }
.section__head p { color: var(--muted); font-size: var(--text-lead); margin-top: 1rem; }

/* ---------- 4 capas ---------- */
.layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.layer {
  position: relative; padding: 1.7rem 1.4rem 1.6rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--elev), #0d1727); border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; overflow: hidden;
}
.layer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--teal), transparent); opacity: .6; }
.layer:hover { transform: translateY(-5px); border-color: var(--border-2); box-shadow: 0 24px 50px -28px rgba(0,0,0,.8); }
.layer__num { font-family: var(--mono); font-size: .8rem; color: var(--teal-deep); font-weight: 600; }
.layer h3 { font-size: 1.18rem; margin: .7rem 0 .6rem; }
.layer p { color: var(--muted); font-size: .92rem; }
.layer p em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- flow ---------- */
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; counter-reset: f; }
.flow__step { position: relative; padding: 1.3rem 1.1rem; border-radius: var(--radius); background: var(--elev); border: 1px solid var(--border); display: flex; flex-direction: column; gap: .35rem; }
.flow__step strong { font-size: 1rem; }
.flow__step span:last-child { color: var(--muted); font-size: .85rem; }
.flow__i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; color: var(--teal-soft); background: rgba(95,180,178,.1); border: 1px solid rgba(95,180,178,.25); margin-bottom: .3rem; }
.flow__step--end .flow__i { color: var(--safe); background: rgba(52,199,123,.12); border-color: rgba(52,199,123,.3); }

/* ---------- componentes ---------- */
.components { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.comp {
  padding: 1.7rem 1.5rem; border-radius: var(--radius); background: var(--elev); border: 1px solid var(--border);
  display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s;
}
.comp:hover { transform: translateY(-5px); border-color: var(--teal-deep); }
.comp--wide { grid-column: span 2; background: linear-gradient(135deg, #122334, #0e1828); border-color: var(--border-2); }
.comp__tag { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.comp h3 { font-size: 1.3rem; margin: .55rem 0 .55rem; }
.comp p { color: var(--muted); font-size: .92rem; flex: 1; }
.comp__stack { margin-top: 1.1rem; color: var(--teal-soft); font-size: .8rem; }

/* ---------- features grid ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.feat { padding: 1.3rem 1.25rem; border-radius: 14px; background: rgba(255,255,255,.018); border: 1px solid var(--border); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.feat:hover { background: rgba(95,180,178,.06); border-color: var(--teal-deep); transform: translateY(-3px); }
.feat h4 { font-size: 1rem; margin-bottom: .4rem; font-weight: 700; }
.feat h4::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--teal); margin-right: .55rem; vertical-align: middle; }
.feat p { color: var(--muted); font-size: .85rem; }

/* ---------- apps ---------- */
.apps { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: center; }
.apps__copy h2 { font-size: var(--text-h2); margin-top: .5rem; }
.apps__copy > p { color: var(--muted); font-size: var(--text-lead); margin: 1rem 0 1.6rem; }
.ticks { list-style: none; padding: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--text); font-size: .96rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: var(--teal-soft); background: rgba(95,180,178,.12); border: 1px solid rgba(95,180,178,.3); }
.apps__visual { display: grid; place-items: center; }
.phone {
  position: relative; width: 280px; aspect-ratio: 9/19; border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #1a2738, #0c1422); border: 1px solid var(--border-2);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06);
}
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: #0a121d; border-radius: 0 0 14px 14px; z-index: 2; }
.phone__screen { height: 100%; border-radius: 28px; background: radial-gradient(120% 60% at 50% 0%, #15253a, var(--bg)); padding: 2.6rem 1rem 1rem; display: flex; flex-direction: column; gap: .7rem; overflow: hidden; }
.phone__head { text-align: center; font-weight: 700; font-size: .9rem; color: var(--teal-soft); letter-spacing: .02em; margin-bottom: .3rem; }
.mcard { background: var(--elev); border: 1px solid var(--border); border-radius: 13px; padding: .7rem .8rem; }
.mcard p { font-size: .78rem; color: var(--muted); margin-top: .4rem; }
.mcard--safe { border-left: 3px solid var(--safe); }
.mcard--blocked { border-left: 3px solid var(--critical); opacity: .82; }
.mcard--blocked p { text-decoration: line-through; color: var(--faint); }
.mcard--cert { border-left: 3px solid var(--cert); }

/* ---------- security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.sec { padding: 1.6rem 1.4rem; border-radius: var(--radius); background: var(--elev); border: 1px solid var(--border); transition: border-color .3s, transform .3s var(--ease); }
.sec:hover { border-color: var(--border-2); transform: translateY(-4px); }
.sec h4 { font-size: 1.08rem; margin-bottom: .55rem; }
.sec h4::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .6rem; vertical-align: middle; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); box-shadow: 0 0 10px rgba(95,180,178,.5); }
.sec p { color: var(--muted); font-size: .9rem; }

/* ---------- CTA ---------- */
.cta { position: relative; padding-block: var(--space-sec); text-align: center; overflow: hidden; border-top: 1px solid var(--border); }
.cta__glow { position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% 0%, rgba(95,180,178,.16), transparent 60%); pointer-events: none; }
.cta__inner { position: relative; max-width: 680px; }
.cta h2 { font-size: var(--text-h2); }
.cta p { color: var(--muted); font-size: var(--text-lead); margin: 1rem auto 2rem; max-width: 52ch; }
.cta__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: 3rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.footer__brand { display: flex; gap: .8rem; align-items: center; }
.footer__brand p { color: var(--faint); font-size: .82rem; margin-top: .15rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.footer__links a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer__links a:hover { color: var(--teal); }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; color: var(--faint); font-size: .8rem; }

/* ---------- showcase (copy + mockup) ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem,1rem+6vw,6rem); align-items: center; }
.showcase__copy h2 { font-size: var(--text-h2); margin-top: .4rem; }
.showcase__copy > p { color: var(--muted); font-size: var(--text-lead); margin: 1rem 0 1.5rem; }
.showcase--rev .showcase__copy { order: 2; }

.panel {
  background: linear-gradient(180deg, var(--elev), #0c1525); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 40px 80px -42px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.04);
}
.panel__bar { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.panel__body { padding: 1.1rem; display: grid; gap: .85rem; }
.ai-chip, .lock { margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: .2rem .5rem; border-radius: 6px; }
.ai-chip { color: var(--teal-soft); background: rgba(95,180,178,.12); border: 1px solid rgba(95,180,178,.3); }
.lock { color: var(--safe); background: rgba(52,199,123,.1); border: 1px solid rgba(52,199,123,.28); }

/* dashboard mockup */
.kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: .55rem; }
.kpi { background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 11px; padding: .7rem .6rem; }
.kpi__n { display: block; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.kpi__n--warn { color: var(--high); }
.kpi__n--ok { color: var(--safe); }
.kpi__l { display: block; font-size: .66rem; color: var(--faint); margin-top: .15rem; }
.spike { display: flex; align-items: center; gap: .75rem; padding: .75rem .85rem; border-radius: 11px; background: rgba(240,129,63,.08); border: 1px solid rgba(240,129,63,.32); }
.spike__icon { font-size: 1.1rem; }
.spike strong { display: block; font-size: .86rem; color: #f6cda8; }
.spike span { font-size: .76rem; color: var(--muted); }
.spike b { color: var(--high); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; padding: .4rem .2rem 0; }
.bars span { flex: 1; background: linear-gradient(180deg, var(--teal-deep), #1d4a49); border-radius: 4px 4px 0 0; min-height: 6px; }
.bars .bars--hot { background: linear-gradient(180deg, var(--high), var(--critical)); }
.origins { display: grid; gap: .45rem; }
.origin { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: .6rem; font-size: .78rem; color: var(--muted); }
.origin i { height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--teal-deep)); display: block; }

/* rules editor mockup */
.code {
  font-family: var(--mono); font-size: .82rem; line-height: 1.7; color: var(--muted);
  background: #0a1320; border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.1rem; overflow-x: auto; white-space: pre;
}
.c-kw { color: var(--teal-soft); } .c-str { color: var(--low); } .c-num { color: var(--high); }
.c-op { color: var(--blue); } .c-fn { color: #d9a7f0; } .c-mut { color: var(--faint); }
.sandbox { display: flex; align-items: center; gap: .7rem; font-size: .82rem; color: var(--muted); }
.sandbox b { color: var(--text); }

/* certified form mockup */
.form { gap: .6rem; }
.fld { display: grid; gap: .25rem; }
.fld > span { font-size: .72rem; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }
.fld__in { display: flex; align-items: center; gap: .5rem; padding: .6rem .8rem; border-radius: 10px; background: rgba(255,255,255,.02); border: 1px solid var(--border); font-size: .88rem; }
.fld__in--enc { color: var(--teal-soft); border-color: rgba(95,180,178,.3); background: rgba(95,180,178,.05); }
.enc-lock { font-size: .85rem; }
.sent { display: flex; align-items: center; gap: .6rem; margin-top: .25rem; font-size: .78rem; color: var(--faint); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { order: -1; }
  .hero__visual { max-width: 480px; }
  .layers, .components, .features { grid-template-columns: repeat(2, 1fr); }
  .comp--wide { grid-column: span 2; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .band__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .apps { grid-template-columns: 1fr; }
  .apps__visual { order: -1; }
  .showcase { grid-template-columns: 1fr; gap: 2rem; }
  .showcase--rev .showcase__copy { order: 0; }
  .showcase__visual { order: -1; max-width: 520px; }
  .nav__links, .nav__right { display: none; }
  .nav__toggle { display: flex; }
}
@media (max-width: 560px) {
  .layers, .components, .features, .flow, .sec-grid { grid-template-columns: 1fr; }
  .comp--wide { grid-column: span 1; }
  .band__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid var(--border); }
  .chip--a { left: -8px; } .chip--b { left: -4px; } .chip--c { right: 8px; }
  .hero__title { font-size: clamp(2.3rem, 1rem + 9vw, 3rem); }
}

/* ---------- a11y ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
