/* ============================================================
   PortalDeLicitaciones — Intelligence Terminal Design System
   Enterprise-clear (PitchBook/Crunchbase) pushed toward a
   financial-intelligence terminal. Navy + blue + teal.
   ============================================================ */

:root {
  /* Ink / navy */
  --ink:        #0D1B2A;
  --ink-2:      #112138;
  --ink-3:      #1B2E4A;
  --ink-line:   #243a5e;

  /* Accents */
  --blue:       #2563EB;
  --blue-ink:   #1D4ED8;
  --blue-soft:  #EAF0FE;
  --teal:       #14B8A6;
  --teal-deep:  #0E8E80;
  --teal-soft:  #E2F6F3;
  --emerald:    #0EA47F;
  --teal-grad:  linear-gradient(135deg, #18BEA9 0%, #0E9E78 100%);
  --teal-grad-h:linear-gradient(135deg, #15B2A0 0%, #0C8E6C 100%);

  /* Paper / neutrals */
  --paper:      #FFFFFF;
  --paper-2:    #FAFBFC;
  --mist:       #F1F5F9;
  --mist-2:     #E9EEF4;
  --line:       #E3E9F0;
  --line-2:     #CBD5E1;
  --slate:      #64748B;
  --slate-d:    #475569;

  /* Score semaphore */
  --score-hi:   #16A34A;
  --score-hi-bg:#E6F6EC;
  --score-mid:  #D9920B;
  --score-mid-bg:#FBF1DC;
  --score-lo:   #E2663C;
  --score-lo-bg:#FCEBE3;

  /* Fonts */
  --display: "Canela", "Canela Text", "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --body:    "Inter", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  --container: 1240px;
  --radius: 14px;
  --radius-sm: 9px;

  --shadow-card: 0 1px 2px rgba(13,27,42,.04), 0 12px 30px -14px rgba(13,27,42,.13);
  --shadow-pop: 0 24px 60px -18px rgba(13,27,42,.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.01em; line-height: 1.05; font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Mono utility ---------- */
.mono { font-family: var(--mono); }
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker .idx { color: var(--teal-deep); }
.kicker.on-dark { color: #8aa0c2; }
.kicker.on-dark .idx { color: var(--teal); }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.sec-pad { padding: 104px 0; }
.sec-head { max-width: 760px; }
.sec-head h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  margin-top: 18px;
  letter-spacing: -0.012em;
  font-weight: 600;
}
.sec-head p { margin-top: 18px; color: var(--slate-d); font-size: 18px; max-width: 620px; }

.eyebrow-rule { height: 1px; background: var(--line); width: 100%; }

/* ============================================================
   TOP TICKER + NAV
   ============================================================ */
.ticker {
  background: var(--ink);
  color: #cdd9ec;
  border-bottom: 1px solid var(--ink-line);
  overflow: hidden;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  height: 34px;
  display: flex;
  align-items: center;
}
.ticker-label {
  flex: none;
  background: var(--teal);
  color: var(--ink);
  font-weight: 700;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  z-index: 2;
}
.ticker-track-wrap { overflow: hidden; flex: 1; position: relative; }
.ticker-track { display: inline-flex; white-space: nowrap; will-change: transform; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 10px; padding: 0 22px; border-right: 1px solid var(--ink-line); }
.ticker-item .src { color: var(--teal); font-weight: 700; }
.ticker-item .amt { color: #fff; }
.ticker-item .scr { color: #8aa0c2; }
.ticker-item .up { color: var(--teal); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 36px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.brand-mark {
  width: 33px; height: 33px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, #2C74F0 0%, #14B8A6 100%);
  display: grid; place-items: center; position: relative;
  box-shadow: 0 4px 12px -4px rgba(20,184,166,.55);
}
.brand-mark::before { content:""; width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; }
.brand-mark::after { content:""; position: absolute; width: 7px; height: 2px; background: #fff; right: 7px; bottom: 8px; transform: rotate(45deg); border-radius: 2px; }
.brand b { color: var(--blue); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav-links a { font-size: 14px; color: var(--slate-d); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; padding: 11px 18px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: transform .12s, background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-grad); color: #fff; box-shadow: 0 1px 0 rgba(13,27,42,.04), 0 10px 22px -10px rgba(14,158,120,.55); }
.btn-primary:hover { background: var(--teal-grad-h); box-shadow: 0 14px 26px -10px rgba(14,158,120,.65); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--slate); background: var(--paper-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-teal { background: var(--teal-grad); color: #fff; font-weight: 700; box-shadow: 0 10px 22px -10px rgba(14,158,120,.5); }
.btn-teal:hover { background: var(--teal-grad-h); }
.btn-lg { padding: 15px 26px; font-size: 15px; }
.btn .arw { transition: transform .18s; }
.btn:hover .arw { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 72px 0 88px; position: relative; overflow: visible; z-index: 2; }
.hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(37,99,235,.07), transparent 60%),
    radial-gradient(640px 380px at 6% 4%, rgba(20,184,166,.06), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0,0.92fr) minmax(0,1.08fr); gap: 56px; align-items: center; }

.hero-flag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); background: var(--teal-soft); border: 1px solid #bfe9e3; padding: 6px 12px; border-radius: 100px; font-weight: 600; }
.hero-flag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(20,184,166,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(20,184,166,.55)} 70%{box-shadow:0 0 0 7px rgba(20,184,166,0)} 100%{box-shadow:0 0 0 0 rgba(20,184,166,0)} }

.hero h1 {
  font-size: clamp(44px, 5.8vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin-top: 22px;
  font-weight: 600;
}
.hero h1 .em-teal { font-style: italic; }
.hero h1 .em-teal::after { display: none; }

/* typewriter accent */
.tw-caret { display: inline-block; width: 3px; height: 0.92em; background: var(--emerald); margin-left: 2px; transform: translateY(0.12em); opacity: 0; }
.anim .tw-caret { opacity: 1; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* editorial word reveal */
.anim .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.anim .w > span { display: inline-block; transform: translateY(112%); transition: transform .8s cubic-bezier(.19,1,.22,1); }
.anim .reveal.in .w > span { transform: none; }
.hero h1 .em { color: var(--emerald); }
.hero h1 .em-teal { position: relative; white-space: nowrap; }
.hero h1 .em-teal::after { content:""; position:absolute; left:0; right:0; bottom:6px; height:10px; background: var(--teal); opacity:.28; z-index:-1; }
.hero-sub { margin-top: 24px; font-size: 19px; color: var(--slate-d); max-width: 540px; line-height: 1.55; }
.hero-cta { margin-top: 32px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 22px; display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--slate); flex-wrap: wrap; font-family: var(--mono); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ck { color: var(--teal-deep); }

/* ============================================================
   RADAR (hero dashboard widget)
   ============================================================ */
.app {
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  color: var(--ink);
  position: relative;
}
.app-head { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid var(--line); background: var(--paper-2); border-radius: 18px 18px 0 0; }
.app-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.app-dot.r { background: #F2655A; } .app-dot.y { background: #F4BE4F; } .app-dot.g { background: #54C08A; }
.app-search { flex: 1; margin: 0 6px; display: flex; align-items: center; gap: 8px; background: var(--mist); border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; font-size: 12px; color: var(--slate); min-width: 0; }
.app-search svg { color: var(--slate); flex: none; }
.app-search kbd { margin-left: auto; font-family: var(--mono); font-size: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; color: var(--slate); flex: none; }
.app-live { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--teal-deep); font-weight: 600; flex: none; }
.app-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 2.2s infinite; }

.app-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; }
.app-count { font-size: 12.5px; color: var(--slate-d); }
.app-count b { font-family: var(--body); color: var(--ink); font-weight: 700; font-size: 15px; }
.app-count .ac-loc { color: var(--slate); }
.app-sort { font-size: 11.5px; color: var(--slate-d); display: flex; align-items: center; gap: 5px; background: var(--mist); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; white-space: nowrap; }

.app-filters { display: flex; gap: 7px; padding: 0 16px 10px; flex-wrap: wrap; }
.rf { font-size: 12px; color: var(--slate-d); background: var(--paper); border: 1px solid var(--line-2); padding: 5px 13px; border-radius: 100px; transition: all .14s; font-weight: 500; }
.rf:hover { border-color: var(--slate); color: var(--ink); }
.rf.active { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }

.app-list { padding: 2px 8px 10px; }
.opp { display: grid; grid-template-columns: 44px minmax(0,1fr) auto 22px; gap: 13px; align-items: center; padding: 13px 12px; border-radius: 13px; transition: background .14s; }
.opp + .opp { box-shadow: 0 -1px 0 var(--line); }
.opp:hover { background: var(--mist); box-shadow: none; }
.opp:hover + .opp { box-shadow: none; }
.opp-main { min-width: 0; }
.opp-title { font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.opp-org { font-size: 12px; color: var(--slate); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opp-tags { display: flex; gap: 6px; margin-top: 8px; }
.opp-tags .tg { font-size: 10.5px; color: #3a6ea5; background: #EAF1F8; border-radius: 5px; padding: 2px 8px; font-weight: 500; white-space: nowrap; }
.opp-right { text-align: right; white-space: nowrap; }
.opp-right .opp-lim { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.opp-right .opp-date { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.opp-right .opp-days { display: block; font-size: 11px; font-weight: 700; color: var(--score-mid); margin-top: 3px; }
.opp-right .opp-days.hi { color: var(--score-hi); }
.opp-star { background: none; border: 0; color: var(--score-mid); font-size: 16px; line-height: 1; padding: 0; cursor: pointer; transition: transform .14s; }
.opp-star:hover { transform: scale(1.18); }

.score-ring { width: 42px; height: 42px; position: relative; flex: none; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 13px; }
.score-tag { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; font-weight: 700; }
.score-tag.hi { background: rgba(22,163,74,.18); color: #3ddc84; }
.score-tag.mid { background: rgba(217,146,11,.16); color: #f3b13e; }
.score-tag.lo { background: rgba(226,102,60,.18); color: #fb8a5c; }

/* floating: análisis con IA (mirror of right panel) */
.app-analysis {
  position: absolute; right: -26px; bottom: -36px; width: 286px; z-index: 5;
  background: var(--paper); color: var(--ink); border-radius: 16px; padding: 18px;
  box-shadow: var(--shadow-pop); border: 1px solid var(--line);
}
.aa-head { display: flex; align-items: center; justify-content: space-between; }
.aa-pill { font-size: 11px; font-weight: 600; color: var(--score-hi); background: var(--score-hi-bg); border-radius: 100px; padding: 4px 10px; }
.aa-score { font-family: var(--body); font-weight: 700; font-size: 26px; color: var(--score-hi); letter-spacing: -0.02em; line-height: 1; }
.aa-score small { font-size: 12px; color: var(--slate); font-weight: 500; }
.aa-title { font-size: 14.5px; font-weight: 700; margin-top: 13px; letter-spacing: -0.01em; }
.aa-org { font-size: 12px; color: var(--slate); margin-top: 3px; }
.aa-sum { font-size: 12px; color: var(--slate-d); margin-top: 13px; line-height: 1.5; background: var(--mist); border-radius: 10px; padding: 11px 12px; }
.aa-h { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-deep); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.aa-reqs { display: grid; gap: 8px; margin-top: 13px; }
.aa-req { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--slate-d); }
.aa-req i { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-style: normal; flex: none; font-weight: 700; }
.aa-req i.ok { background: var(--score-hi-bg); color: var(--score-hi); }
.aa-req i.warn { background: var(--score-mid-bg); color: var(--score-mid); }

/* ============================================================
   SOURCES WALL
   ============================================================ */
.sources { background: var(--ink); color: #cfdaec; padding: 56px 0; position: relative; z-index: 1; }
.sources-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.sources-head .t { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #8aa0c2; }
.sources-head .t b { color: #fff; font-weight: 700; }
.sources-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.src-cell { background: #0f1f33; border: 1px solid var(--ink-line); border-radius: 13px; padding: 18px 16px; transition: transform .18s, background .15s, border-color .15s, box-shadow .18s; }
.src-cell:hover { background: #13273f; transform: translateY(-4px); border-color: #34507d; box-shadow: 0 16px 30px -18px rgba(0,0,0,.7); }
.src-cell .code { font-family: var(--mono); font-size: 12px; color: var(--teal); letter-spacing: 0.04em; }
.src-cell .name { font-size: 14px; font-weight: 600; color: #fff; margin-top: 7px; }
.src-cell .reg { font-family: var(--mono); font-size: 10.5px; color: #7e93b4; margin-top: 3px; letter-spacing: 0.04em; }

/* ============================================================
   PROBLEM / STAKES
   ============================================================ */
.bg-mist { background: var(--mist); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 56px; }
.stat-cards { display: grid; gap: 16px; }
.stat-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--shadow-card); }
.stat-card .ic { width: 38px; height: 38px; border-radius: 8px; background: var(--mist); color: var(--blue); display: grid; place-items: center; flex: none; }
.stat-card h4 { font-family: var(--body); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.stat-card p { color: var(--slate-d); font-size: 14.5px; margin-top: 5px; }

.cost-block { background: linear-gradient(155deg, #122a40 0%, #0b1726 100%); color: #fff; border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden; box-shadow: var(--shadow-pop); }
.cost-block::after { content:""; position:absolute; right:-50px; top:-50px; width:240px; height:240px; border-radius:50%; background: radial-gradient(circle, rgba(20,184,166,.32), transparent 70%); }
.cost-row { display: flex; align-items: baseline; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--ink-line); }
.cost-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cost-row:first-child { padding-top: 0; }
.cost-row .lead { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #8aa0c2; width: 56px; flex: none; }
.cost-row .big { font-family: var(--display); font-size: 46px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.cost-row .big.bad { color: #f0857a; }
.cost-row .desc { color: #b9c6dd; font-size: 14px; }
.cost-row .big.good { color: #3ddc84; }
.cost-viz { padding-bottom: 22px; border-bottom: 1px solid var(--ink-line); margin-bottom: 6px; }
.cost-viz-t { font-size: 13px; color: #b9c6dd; }
.cost-dots { display: flex; gap: 7px; margin: 13px 0 11px; }
.cost-dots span { width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.07); border: 1px solid var(--ink-line); }
.cost-dots span.on { background: var(--teal); border-color: var(--teal); box-shadow: 0 4px 10px -3px rgba(20,184,166,.6); }
.cost-viz-b { font-size: 13px; color: #8aa0c2; }
.cost-viz-b b { color: #fff; }

/* ============================================================
   ENGINE / 4 STEPS
   ============================================================ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; }
.flow-step { position: relative; }
.flow-node { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 15px; display: grid; place-items: center; position: relative; z-index: 1; margin-bottom: 20px; box-shadow: 0 8px 18px -8px rgba(13,27,42,.4); }
.flow-node .conn { display: none; }
.flow-step:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 58px; right: -28px; height: 2px; background: var(--line-2); }
.flow-step:not(:last-child)::before { content: ""; position: absolute; top: 23px; left: 58px; right: -28px; height: 2px; background: var(--teal); transform: scaleX(1); transform-origin: left; transition: transform 1s ease; z-index: 1; }
.anim .flow-step:not(:last-child)::before { transform: scaleX(0); }
.anim .flow-step.in:not(:last-child)::before { transform: scaleX(1); }
.flow-step h3 { font-family: var(--body); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.flow-step > p { color: var(--slate-d); font-size: 14px; margin-top: 8px; }
.fviz { margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 15px; box-shadow: var(--shadow-card); }
.fviz-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--slate-d); padding: 5px 0; }
.fviz-ck { width: 16px; height: 16px; border-radius: 50%; background: var(--score-hi-bg); color: var(--score-hi); display: grid; place-items: center; font-size: 9px; font-weight: 700; flex: none; }
.fviz-prog { height: 6px; border-radius: 100px; background: var(--mist); margin-top: 9px; overflow: hidden; }
.fviz-prog i { display: block; height: 100%; background: var(--teal-grad); border-radius: 100px; }
.fviz-cap { font-family: var(--mono); font-size: 10.5px; color: var(--slate); margin-top: 7px; }
.fviz-score { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12.5px; color: var(--ink); font-weight: 500; }
.fviz-ring { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; flex: none; border: 2.5px solid; }
.fviz-ring.g { color: var(--score-hi); border-color: var(--score-hi); }
.fviz-ring.a { color: var(--score-mid); border-color: var(--score-mid); }
.fviz-ring.l { color: var(--score-lo); border-color: var(--score-lo); }
.cap-viz { margin-top: 20px; }
.cap-viz.rings { display: flex; gap: 12px; }
.fviz-doc { display: flex; flex-direction: column; gap: 9px; }
.fviz-doc .dl { height: 8px; border-radius: 4px; background: var(--mist); }
.dl.w90 { width: 90%; } .dl.w80 { width: 80%; } .dl.w70 { width: 70%; } .dl.w50 { width: 50%; }
.fviz-stamp { margin-top: 4px; align-self: flex-start; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); background: var(--teal-soft); padding: 4px 9px; border-radius: 5px; }
.fviz-fd { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 7px 0; font-size: 12.5px; }
.fviz-fd .fl { color: var(--slate-d); }
.fbar { height: 7px; border-radius: 100px; background: var(--mist); overflow: hidden; }
.fbar i { display: block; height: 100%; border-radius: 100px; }
.fbar i.g { background: var(--score-hi); }
.fbar i.a { background: var(--score-mid); }
.fviz-fd b { font-family: var(--mono); font-size: 12px; }
.fviz-fd b.g { color: var(--score-hi); }
.fviz-fd b.a { color: var(--score-mid); }
@media (max-width: 1080px) { .flow { grid-template-columns: repeat(2, 1fr); } .flow-step:not(:last-child)::after, .flow-step:not(:last-child)::before { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* ============================================================
   AI ANALYSIS SECTION
   ============================================================ */
.bg-ink { background: var(--ink); color: #e7eefb; }
.bg-ink .sec-head h2 { color: #fff; }
.bg-ink .sec-head p { color: #aebfdb; }
.ai-caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.ai-cap { background: rgba(255,255,255,.04); border: 1px solid var(--ink-line); border-radius: 16px; padding: 22px; transition: transform .18s, background .18s, border-color .18s; }
.ai-cap:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: #34507d; }
.ai-cap .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(20,184,166,.16); color: #3ad6c5; display: grid; place-items: center; margin-bottom: 15px; }
.ai-cap h4 { font-family: var(--body); font-size: 15.5px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.ai-cap p { font-size: 12.5px; color: #aebfdb; margin-top: 8px; line-height: 1.55; }

.ai-demo { margin-top: 16px; background: #0b1726; border: 1px solid var(--ink-3); border-radius: 18px; box-shadow: var(--shadow-pop); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.ai-demo-l { padding: 26px; border-right: 1px solid var(--ink-line); }
.ai-demo-r { padding: 26px; }
.ad-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--ink-line); margin-bottom: 16px; }
.ad-head .doc { width: 34px; height: 34px; border-radius: 8px; background: rgba(37,99,235,.16); color: #6ea0ff; display: grid; place-items: center; flex: none; }
.ad-head .ti { font-size: 14px; font-weight: 600; color: #fff; }
.ad-head .su { font-family: var(--mono); font-size: 11px; color: #8497b6; margin-top: 2px; }
.ad-head .pct { margin-left: auto; text-align: right; }
.ad-head .pct .n { font-family: var(--body); font-weight: 700; font-size: 30px; color: #3ddc84; line-height: 1; }
.ad-head .pct .l { font-family: var(--mono); font-size: 10px; color: #7e93b4; text-transform: uppercase; letter-spacing: 0.08em; }
.ai-demo-foot { grid-column: 1 / -1; border-top: 1px solid var(--ink-line); padding: 18px 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.adf-t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #7e93b4; }
.adf-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.adf-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid var(--ink-line); border-radius: 100px; padding: 8px 14px; font-size: 13px; color: #d4deee; transition: background .15s, border-color .15s; }
.adf-chip:hover { background: rgba(255,255,255,.09); border-color: #34507d; }
.adf-chip svg { color: #6ea0ff; }
.adf-chip .meta { font-family: var(--mono); font-size: 10px; color: #7e93b4; }
@media (max-width: 900px) { .ai-caps { grid-template-columns: repeat(2, 1fr); } .ai-demo { grid-template-columns: 1fr; } .ai-demo-l { border-right: 0; border-bottom: 1px solid var(--ink-line); } }
@media (max-width: 560px) { .ai-caps { grid-template-columns: 1fr; } }

/* pliego analysis card */
.pliego { background: #0b1726; border: 1px solid var(--ink-3); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-pop); }
.pliego-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--ink-line); }
.pliego-top .doc { width: 34px; height: 34px; border-radius: 7px; background: rgba(37,99,235,.16); color: #6ea0ff; display: grid; place-items: center; flex: none; }
.pliego-top .ti { font-size: 14px; font-weight: 600; color: #fff; }
.pliego-top .su { font-family: var(--mono); font-size: 11px; color: #8497b6; margin-top: 2px; }
.pliego-top .pct { margin-left: auto; text-align: right; }
.pliego-top .pct .n { font-family: var(--body); font-weight: 700; font-size: 30px; color: #3ddc84; line-height: 1; }
.pliego-top .pct .l { font-family: var(--mono); font-size: 10px; color: #7e93b4; text-transform: uppercase; letter-spacing: 0.08em; }
.pliego-body { padding: 18px; }
.pl-section-t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #7e93b4; margin-bottom: 12px; }
.req-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 11px; align-items: center; padding: 10px 0; border-bottom: 1px solid #15263d; font-size: 13.5px; }
.req-row:last-child { border-bottom: 0; }
.req-row .ck { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.req-row .ck.ok { background: rgba(22,163,74,.2); color: #3ddc84; }
.req-row .ck.miss { background: rgba(220,74,61,.18); color: #f0857a; }
.req-row .ck.warn { background: rgba(217,146,11,.18); color: #f3b13e; }
.req-row .rt { color: #d4deee; }
.req-row .rs { font-family: var(--mono); font-size: 11px; }
.req-row .rs.ok { color: #3ddc84; }
.req-row .rs.miss { color: #f0857a; }
.req-row .rs.warn { color: #f3b13e; }
.pl-pill { display: inline-block; font-size: 11px; font-weight: 600; color: #3ddc84; background: rgba(22,163,74,.16); border-radius: 100px; padding: 4px 12px; margin-bottom: 14px; }
.pl-section-t.mt { margin-top: 18px; }
.badge-new { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--teal); border-radius: 4px; padding: 2px 6px; margin-left: 7px; }
.act-row { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px solid #15263d; font-size: 13.5px; color: #d4deee; }
.act-row:last-child { border-bottom: 0; }
.act-row .ai { width: 26px; height: 26px; border-radius: 7px; background: rgba(37,99,235,.16); color: #6ea0ff; display: grid; place-items: center; flex: none; }
.act-row .meta { margin-left: auto; font-family: var(--mono); font-size: 10.5px; color: #7e93b4; }
#ia { position: relative; overflow: hidden; }
#ia::before { content: ""; position: absolute; inset: 0; background: radial-gradient(680px 360px at 88% 6%, rgba(20,184,166,.10), transparent 60%); pointer-events: none; }
#ia .container { position: relative; }
.ai-summary { margin-top: 18px; background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.25); border-radius: 9px; padding: 14px 15px; }
.ai-summary .h { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #6ea0ff; display: flex; align-items: center; gap: 7px; }
.ai-summary p { font-size: 13.5px; color: #cdd9ec; margin-top: 8px; line-height: 1.5; }

/* ============================================================
   CAPABILITIES — bento
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.cap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-card); transition: transform .18s, box-shadow .18s, border-color .18s; }
.cap:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); border-color: var(--line-2); }
.cap.span3 { grid-column: span 3; }
.cap.span2 { grid-column: span 2; }
.cap .ic { width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 18px; }
.cap .ic.blue { background: var(--blue-soft); color: var(--blue); }
.cap .ic.teal { background: var(--teal-soft); color: var(--teal-deep); }
.cap .ic.ink { background: var(--mist); color: var(--ink); }
.cap .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.cap h3 { font-family: var(--body); font-size: 19px; font-weight: 700; margin-top: 4px; letter-spacing: -0.01em; }
.cap p { color: var(--slate-d); font-size: 14.5px; margin-top: 10px; }

/* ============================================================
   VERTICALS
   ============================================================ */
.vert-tabs { display: flex; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.vtab { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; padding: 9px 15px; border-radius: 100px; border: 1px solid var(--line-2); background: var(--paper); color: var(--slate-d); transition: all .14s; }
.vtab:hover { border-color: var(--slate); transform: translateY(-2px); }
.vtab.active { background: var(--teal-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -10px rgba(14,158,120,.6); }
.vert-panel { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-card); }
.vert-info { padding: 40px; position: relative; overflow: hidden; }
.vert-info::after { content:""; position:absolute; right:-60px; bottom:-60px; width:200px; height:200px; border-radius:50%; background: radial-gradient(circle, rgba(20,184,166,.12), transparent 70%); }
.vert-info > * { position: relative; }
.vert-info .vt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-deep); }
.vert-info h3 { font-size: 32px; margin-top: 12px; letter-spacing: -0.005em; font-weight: 600; }
.vert-info p { color: var(--slate-d); margin-top: 14px; font-size: 15.5px; }
.vert-stats { display: flex; gap: 32px; margin-top: 26px; }
.vert-stats .vs .n { font-family: var(--display); font-weight: 600; font-size: 34px; color: var(--ink); letter-spacing: -0.01em; }
.vert-stats .vs .l { font-family: var(--mono); font-size: 11px; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.vert-samples { background: linear-gradient(180deg, var(--mist) 0%, #E8EEF5 100%); border-left: 1px solid var(--line); padding: 26px; display: grid; gap: 12px; align-content: start; }
.vsample { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 15px 16px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; transition: transform .16s, box-shadow .16s, border-color .16s; }
.vsample:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--line-2); }
.vsample .vtit { font-size: 14px; font-weight: 600; }
.vsample .vmeta { font-family: var(--mono); font-size: 11px; color: var(--slate); margin-top: 4px; }

/* ============================================================
   METRICS
   ============================================================ */
.metrics { background: linear-gradient(180deg, #0c1a2b 0%, #0D1B2A 60%, #0a1825 100%); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.metrics::before { content:""; position:absolute; left:50%; top:-10%; width:760px; height:380px; transform:translateX(-50%); background: radial-gradient(closest-side, rgba(20,184,166,.16), transparent); pointer-events:none; }
.metrics .container { position: relative; }
.metrics-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 38px; flex-wrap: wrap; }
.metrics-head h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; margin-top: 14px; }
.metrics-head p { color: #aebfdb; font-size: 15px; max-width: 360px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric { padding: 22px 22px 18px; background: rgba(255,255,255,.035); border: 1px solid var(--ink-line); border-radius: 18px; transition: transform .2s, background .2s, border-color .2s; overflow: hidden; }
.metric:hover { transform: translateY(-5px); background: rgba(255,255,255,.06); border-color: #34507d; }
.metric-top { display: flex; align-items: center; justify-content: space-between; }
.metric .ic { width: 36px; height: 36px; border-radius: 10px; background: rgba(20,184,166,.16); color: #3ad6c5; display: grid; place-items: center; }
.metric .delta { font-family: var(--mono); font-size: 11px; font-weight: 500; color: #3ddc84; background: rgba(22,163,74,.16); padding: 4px 9px; border-radius: 100px; }
.metric .delta.live { color: #3ad6c5; background: rgba(20,184,166,.16); display: inline-flex; align-items: center; gap: 6px; }
.metric .delta.live::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: #3ad6c5; }
.metric .n { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.2vw, 44px); letter-spacing: -0.03em; line-height: 1; margin-top: 20px; }
.metric .n .teal { color: var(--teal); }
.metric .l { font-family: var(--mono); font-size: 11.5px; color: #8aa0c2; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 10px; }
.metric .spark { display: block; width: 100%; height: 34px; margin-top: 16px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: start; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-card); position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); border-color: var(--line-2); }
.plan.feature { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow-pop); transform: scale(1.02); }
.plan.feature:hover { transform: scale(1.02) translateY(-5px); }
.plan.feature::before { content: "Más recomendado"; position: absolute; top: -11px; left: 30px; background: var(--teal-grad); color: #fff; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; box-shadow: 0 6px 14px -6px rgba(14,158,120,.6); }
.plan .pname { font-family: var(--display); font-size: 23px; font-weight: 600; }
.plan .pdesc { color: var(--slate-d); font-size: 14px; margin-top: 8px; min-height: 40px; }
.plan .price { margin-top: 18px; display: flex; align-items: baseline; gap: 6px; }
.plan .price .amt { font-family: var(--display); font-weight: 600; font-size: 50px; letter-spacing: -0.01em; }
.plan .price .per { font-family: var(--mono); font-size: 13px; color: var(--slate); }
.plan .minimo { font-family: var(--mono); font-size: 11.5px; color: var(--slate); margin-top: 6px; }
.plan .btn { width: 100%; justify-content: center; margin-top: 22px; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; font-size: 14px; color: var(--slate-d); align-items: start; }
.plan li .ck { color: var(--teal-deep); margin-top: 2px; }
.plan-divider { height: 1px; background: var(--line); margin: 22px 0 0; }

/* ============================================================
   BACKING
   ============================================================ */
.backing-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; margin-top: 52px; }
.backers { display: grid; gap: 16px; }
.backer { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; transition: border-color .18s, transform .18s, box-shadow .18s; }
.backer:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.backer-top { display: flex; align-items: center; gap: 14px; }
.backer-logo { height: 66px; min-width: 66px; padding: 0 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; flex: none; }
.backer-logo img { max-height: 38px; max-width: 156px; object-fit: contain; display: block; }
.backer-logo img.lg { max-height: 54px; max-width: 200px; }
.backer-logo:has(img.lg) { min-width: 104px; }
.backer .bn { font-family: var(--display); font-size: 21px; font-weight: 600; }
.backer .bu { font-family: var(--mono); font-size: 12px; color: var(--blue); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.backer .bd { color: var(--slate-d); font-size: 14px; margin-top: 14px; }

/* ============================================================
   MARKETPLACE (dos lados)
   ============================================================ */
.mkt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 52px; }
.mkt-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 38px; box-shadow: var(--shadow-card); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.mkt-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-pop); }
.mkt-card::after { content:""; position:absolute; right:-70px; top:-70px; width:220px; height:220px; border-radius:50%; background: radial-gradient(circle, rgba(20,184,166,.10), transparent 70%); pointer-events:none; }
.mkt-card.buyer { background: linear-gradient(155deg, #122a40 0%, var(--ink) 100%); color: #fff; border-color: var(--ink); }
.mkt-card.buyer::after { background: radial-gradient(circle, rgba(20,184,166,.2), transparent 70%); }
.mkt-card > * { position: relative; }
.mkt-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); background: var(--teal-soft); padding: 5px 12px; border-radius: 100px; display: inline-block; font-weight: 600; }
.mkt-card.buyer .mkt-tag { color: #3ad6c5; background: rgba(20,184,166,.18); }
.mkt-card h3 { font-size: 31px; margin-top: 18px; letter-spacing: -0.005em; font-weight: 600; }
.mkt-card.buyer h3 { color: #fff; }
.mkt-card > p { margin-top: 14px; color: var(--slate-d); font-size: 15.5px; max-width: 440px; }
.mkt-card.buyer > p { color: #aebfdb; }
.mkt-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.mkt-list li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; font-size: 14.5px; color: var(--slate-d); }
.mkt-list li .ck { color: var(--teal-deep); }
.mkt-flow { display: flex; align-items: stretch; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.mkt-step { background: rgba(255,255,255,.05); border: 1px solid var(--ink-line); border-radius: 12px; padding: 12px 14px; display: grid; gap: 2px; flex: 1; min-width: 120px; }
.mkt-step b { font-size: 14px; color: #fff; }
.mkt-step small { font-family: var(--mono); font-size: 10.5px; color: #8aa0c2; letter-spacing: 0.02em; }
.mkt-arw { color: var(--teal); align-self: center; font-size: 16px; }
.mkt-card .btn { margin-top: 28px; }
@media (max-width: 1080px){ .mkt-grid { grid-template-columns: 1fr; } .mkt-arw { display: none; } }

/* ============================================================
   LOCATION (Mirador TEC)
   ============================================================ */
.location { margin-top: 24px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-card); }
.loc-map { position: relative; min-height: 290px; background: var(--mist); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; }
.loc-map iframe { width: 100%; height: 100%; min-height: 290px; border: 0; display: block; filter: grayscale(.25) contrast(1.03); }
.loc-pin { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: var(--teal); color: #fff; display: grid; place-items: center; transform: translate(-50%,-100%) rotate(-45deg); box-shadow: 0 10px 20px -6px rgba(14,158,120,.7); pointer-events: none; }
.loc-pin svg { transform: rotate(45deg); }
.loc-info { padding: 40px; align-self: center; }
.loc-info h3 { font-size: 30px; margin-top: 12px; letter-spacing: -0.005em; font-weight: 600; }
.loc-info p { color: var(--slate-d); margin-top: 14px; font-size: 15px; max-width: 460px; }
.loc-addr { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: 13.5px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.loc-addr svg { color: var(--teal-deep); flex: none; margin-top: 1px; }
.loc-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--teal-deep); }
.loc-link .arw { transition: transform .18s; }
.loc-link:hover .arw { transform: translateX(3px); }
.loc-contact { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; }
.loc-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--slate-d); font-weight: 500; }
.loc-contact a:hover { color: var(--teal-deep); }
.loc-contact svg { color: var(--teal-deep); flex: none; }
@media (max-width: 820px) { .location { grid-template-columns: 1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { background: var(--ink); color: #fff; padding: 96px 0; position: relative; overflow: hidden; text-align: center; }
.final::before { content:""; position:absolute; inset:0; background: radial-gradient(720px 380px at 50% -5%, rgba(20,184,166,.26), transparent 65%), radial-gradient(520px 300px at 12% 110%, rgba(37,99,235,.18), transparent 60%); }
.final::after { content:""; position:absolute; width:540px; height:540px; left:50%; top:-40%; transform:translateX(-50%); border-radius:50%; background: conic-gradient(from 0deg, rgba(20,184,166,0), rgba(20,184,166,.10), rgba(37,99,235,.08), rgba(20,184,166,0)); filter: blur(30px); animation: spin 24s linear infinite; pointer-events:none; }
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }
.final-inner { position: relative; max-width: 760px; margin: 0 auto; }
.final h2 { font-size: clamp(36px, 5.2vw, 62px); letter-spacing: -0.012em; font-weight: 600; }
.final p { color: #aebfdb; font-size: 19px; margin-top: 20px; }
.final .hero-cta { justify-content: center; margin-top: 34px; }
.final .hero-trust { justify-content: center; color: #7e93b4; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #081320; color: #9fb2d1; padding: 64px 0 36px; border-top: 1px solid var(--ink-line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer .fdesc { font-size: 14px; color: #7e93b4; margin-top: 16px; max-width: 280px; }
.footer .flema { font-family: var(--display); font-weight: 700; font-size: 15px; color: #fff; margin-top: 16px; letter-spacing: -0.01em; }
.footer .faddr { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #7e93b4; margin-top: 14px; max-width: 300px; line-height: 1.5; }
.footer .faddr svg { color: var(--teal); flex: none; margin-top: 2px; }
.footer .fcontact { margin-top: 12px; font-size: 13px; display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.footer .fcontact a { color: #9fb2d1; }
.footer .fcontact a:hover { color: #fff; }
.footer .fcontact span { color: #44597e; }
.footer h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #6c81a3; margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14px; color: #9fb2d1; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: #6c81a3; }
.footer-bottom .langs { display: flex; gap: 14px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.anim .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.anim .reveal.in { opacity: 1; transform: none; }
.reveal.in .conn { width: 100%; }
.conn { width: 100%; }
.anim .step .conn { width: 0; }
.anim .step.in .conn { width: 100%; }
.vsample .score-tag { font-size: 10px; }
.vsample .score-tag.hi { background: var(--score-hi-bg); color: var(--score-hi); }
.vsample .score-tag.mid { background: var(--score-mid-bg); color: var(--score-mid); }
.vsample .score-tag.lo { background: var(--score-lo-bg); color: var(--score-lo); }
.anim .reveal.d1 { transition-delay: .08s; }
.anim .reveal.d2 { transition-delay: .16s; }
.anim .reveal.d3 { transition-delay: .24s; }
.anim .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .anim .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .scanline, .hero-flag .dot, .radar-live .lv { animation: none !important; }
  .final::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .cap.span3, .cap.span2 { grid-column: span 1; }
  .ai-grid, .problem-grid, .backing-grid { grid-template-columns: 1fr; gap: 36px; }
  .sources-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--line); padding: 24px !important; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .price-grid { grid-template-columns: 1fr; }
  .plan.feature { transform: none; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .metric { padding: 0 24px; }
  .metric:nth-child(3) { padding-left: 0; }
  .vert-panel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .sec-pad { padding: 72px 0; }
  .sources-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}
