/* =========================================================
   Blockchain Academy Perú — Design System
   Visual DNA from logo: royal/electric blue, neon cube
   outlines, isometric cube + chain motifs, crimson accent.
   ========================================================= */

:root {
  /* Brand blues */
  --navy-900: #050d2b;
  --navy-800: #081447;
  --navy-700: #0c1f63;
  --navy-600: #122d8a;
  --blue-500: #2b62f0;
  --blue-400: #4d8bff;
  --blue-300: #7db0ff;
  --cyan-300: #6fdcff;

  /* Crimson accent (logo chain / red cube) */
  --red-600: #d8261d;
  --red-500: #ec3b30;
  --red-400: #ff5b50;

  /* Neutrals */
  --white: #ffffff;
  --ink-100: #eaf0ff;
  --ink-300: #aebbe4;
  --ink-400: #8694c4;
  --ink-500: #647099;

  /* Surfaces */
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --stroke: rgba(125, 160, 255, 0.16);
  --stroke-strong: rgba(125, 160, 255, 0.34);

  /* Gradients */
  --grad-blue: linear-gradient(135deg, #4d8bff 0%, #2b62f0 55%, #1a3fc0 100%);
  --grad-cta: linear-gradient(135deg, #ff5b50 0%, #ec3b30 50%, #d8261d 100%);
  --grad-text: linear-gradient(100deg, #ffffff 0%, #9dc0ff 60%, #6fdcff 100%);

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Radii & shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-card: 0 24px 60px -28px rgba(3, 8, 30, 0.9);
  --shadow-glow: 0 0 0 1px rgba(125, 160, 255, 0.12), 0 30px 80px -40px rgba(43, 98, 240, 0.7);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  background: var(--navy-900);
  color: var(--ink-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }

::selection { background: rgba(43, 98, 240, 0.45); color: #fff; }

/* ---------- Atmospheric background ---------- */
.bg-atmos {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -5%, rgba(43, 98, 240, 0.35), transparent 60%),
    radial-gradient(800px 600px at 95% 8%, rgba(77, 139, 255, 0.22), transparent 55%),
    radial-gradient(700px 700px at 80% 95%, rgba(216, 38, 29, 0.14), transparent 60%),
    linear-gradient(180deg, #060f31 0%, #050d2b 40%, #040a22 100%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(125, 160, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 160, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { position: relative; }
.section-pad { padding: clamp(64px, 10vw, 130px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-300); white-space: nowrap;
  padding: 7px 14px; border: 1px solid var(--stroke); border-radius: 100px;
  background: var(--surface); backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 12px var(--red-500); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); margin: 20px 0 16px; }
.section-head p { color: var(--ink-300); font-size: clamp(16px, 1.6vw, 19px); }

.grad-text {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500; font-size: 16px;
  padding: 15px 26px; border-radius: 100px; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 14px 34px -12px rgba(236, 59, 48, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(236, 59, 48, 0.85); }
.btn-glass {
  background: var(--surface-2); color: var(--ink-100);
  border: 1px solid var(--stroke-strong); backdrop-filter: blur(10px);
}
.btn-glass:hover { transform: translateY(-2px); border-color: var(--blue-400); background: rgba(77,139,255,0.12); }
.btn-blue { background: var(--grad-blue); color: #fff; box-shadow: 0 14px 34px -12px rgba(43, 98, 240, 0.75); }
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -12px rgba(43, 98, 240, 0.9); }
.btn.lg { padding: 18px 34px; font-size: 17px; }
.btn.sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Glass card base ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s, padding .3s;
  padding: 18px 0; border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 14, 41, 0.72); backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--stroke); padding: 12px 0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text .b1 { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: 0.02em; color: #fff; white-space: nowrap; }
.brand-text .b2 { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.34em; color: var(--blue-300); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px; color: var(--ink-300); padding: 9px 15px; border-radius: 100px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: var(--surface-2); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--stroke); background: var(--surface); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; transition: .3s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: clamp(120px, 16vw, 180px) 0 clamp(60px, 8vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-badge { margin-bottom: 26px; }
.hero h1 { font-size: clamp(38px, 6vw, 70px); letter-spacing: -0.03em; }
.hero h1 .accent { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { color: var(--ink-300); font-size: clamp(17px, 1.7vw, 20px); margin: 26px 0 36px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 38px; flex-wrap: wrap; color: var(--ink-400); font-size: 14px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--navy-900);
  margin-left: -10px; background: var(--grad-blue); display: grid; place-items: center;
  font-size: 12px; font-weight: 600; font-family: var(--font-display); color: #fff;
}
.hero-trust .avatars span:first-child { margin-left: 0; }

/* Hero visual — animated isometric blockchain */
.hero-visual { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero-orb {
  position: absolute; inset: 8% ; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(77,139,255,0.4), rgba(43,98,240,0.12) 45%, transparent 70%);
  filter: blur(6px);
}
.hero-logo-wrap {
  position: relative; width: 100%; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--stroke-strong); box-shadow: var(--shadow-glow);
}
.hero-logo-wrap img { width: 100%; }
.hero-logo-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,13,43,0.5));
  pointer-events: none;
}
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 14px; font-size: 13px; font-weight: 500;
  background: rgba(8, 20, 71, 0.78); border: 1px solid var(--stroke-strong);
  backdrop-filter: blur(12px); box-shadow: var(--shadow-card);
  animation: floaty 6s ease-in-out infinite;
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.float-chip .ic.blue { background: rgba(43,98,240,0.25); color: var(--blue-300); }
.float-chip .ic.red { background: rgba(236,59,48,0.22); color: var(--red-400); }
.float-chip.c1 { top: 6%; left: -6%; }
.float-chip.c2 { bottom: 12%; right: -7%; animation-delay: 1.5s; }
.float-chip.c3 { bottom: -3%; left: 8%; animation-delay: 3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* =========================================================
   STATS
   ========================================================= */
.stats { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(34px,5vw,52px) 24px; text-align: center; border-right: 1px solid var(--stroke); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 56px); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .label { color: var(--ink-400); font-size: 14.5px; margin-top: 6px; }

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit { padding: 30px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.benefit:hover { transform: translateY(-6px); border-color: var(--stroke-strong); box-shadow: var(--shadow-glow); }
.benefit .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(77,139,255,0.22), rgba(43,98,240,0.1));
  border: 1px solid var(--stroke); color: var(--blue-300); margin-bottom: 20px;
}
.benefit:nth-child(3n+2) .ic { color: var(--red-400); background: linear-gradient(135deg, rgba(236,59,48,0.2), rgba(216,38,29,0.08)); }
.benefit h3 { font-size: 20px; margin-bottom: 8px; }
.benefit p { color: var(--ink-400); font-size: 15px; }

/* =========================================================
   EXPLAINER — ¿Qué es Blockchain?
   ========================================================= */
.explainer-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,60px); align-items: center; margin-bottom: 56px; }
.analogy-card { padding: 32px; }
.analogy-card h3 { font-size: 22px; margin-bottom: 14px; }
.analogy-card p { color: var(--ink-300); font-size: 16px; margin-bottom: 14px; }
.analogy-list { list-style: none; display: grid; gap: 14px; margin-top: 22px; }
.analogy-list li { display: flex; gap: 14px; align-items: flex-start; }
.analogy-list .n { flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--grad-blue); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; }
.analogy-list b { color: var(--white); font-weight: 600; }
.analogy-list span.t { color: var(--ink-400); font-size: 14.5px; }

/* Interactive chain demo */
.demo { padding: clamp(28px, 4vw, 44px); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.demo-head h3 { font-size: 24px; }
.demo-head p { color: var(--ink-400); font-size: 14.5px; max-width: 460px; margin-top: 6px; }
.demo-controls { display: flex; gap: 10px; flex-wrap: wrap; }
.chain { display: flex; gap: 0; overflow-x: auto; padding: 8px 2px 18px; }
.block {
  flex: 0 0 220px; border-radius: var(--r-md); padding: 18px;
  background: linear-gradient(180deg, rgba(43,98,240,0.14), rgba(8,20,71,0.5));
  border: 1px solid var(--stroke-strong); position: relative;
  transition: border-color .35s, background .35s, transform .2s;
}
.block + .block { margin-left: 34px; }
.block::before {
  content: ""; position: absolute; left: -34px; top: 50%; width: 34px; height: 3px;
  background: var(--blue-400); transform: translateY(-50%); opacity: .8;
}
.block:first-child::before { display: none; }
.block .bhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.block .bidx { font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.block .bstatus { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 100px; background: rgba(54, 211, 153, 0.16); color: #44e0a3; letter-spacing: .04em; }
.block .row { font-size: 12px; margin-bottom: 9px; }
.block .row .k { color: var(--ink-500); display: block; margin-bottom: 2px; letter-spacing: .03em; text-transform: uppercase; font-size: 10px; }
.block .row .v { font-family: "Space Grotesk", monospace; color: var(--blue-300); word-break: break-all; font-size: 12px; }
.block .data-input {
  width: 100%; background: rgba(5,13,43,0.6); border: 1px solid var(--stroke); border-radius: 8px;
  color: #fff; font-size: 13px; padding: 8px 10px; font-family: var(--font-body); margin-top: 2px;
}
.block .data-input:focus { outline: none; border-color: var(--blue-400); }
.block.invalid { background: linear-gradient(180deg, rgba(236,59,48,0.16), rgba(50,8,12,0.5)); border-color: rgba(236,59,48,0.6); }
.block.invalid .bstatus { background: rgba(236,59,48,0.2); color: var(--red-400); }
.block.invalid .v { color: var(--red-400); }
.block.invalid::before { background: var(--red-500); }
.block.mined { animation: minePulse .6s ease; }
@keyframes minePulse { 0% { transform: scale(.96); } 50% { transform: scale(1.015); } 100% { transform: scale(1); } }
.demo-note { font-size: 13.5px; color: var(--ink-400); margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.demo-note .pill { color: var(--red-400); font-weight: 600; }

/* Smart contract stepper */
.sc-wrap { margin-top: 70px; }
.sc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px,4vw,52px); align-items: center; }
.sc-steps { display: grid; gap: 12px; }
.sc-step { padding: 18px 20px; display: flex; gap: 16px; align-items: flex-start; cursor: pointer; transition: border-color .3s, background .3s; }
.sc-step .scn { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--stroke); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; transition: .3s; }
.sc-step h4 { font-size: 17px; margin-bottom: 3px; }
.sc-step p { font-size: 14px; color: var(--ink-400); }
.sc-step.active { background: rgba(43,98,240,0.1); border-color: var(--stroke-strong); }
.sc-step.active .scn { background: var(--grad-blue); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -8px rgba(43,98,240,0.8); }
.sc-visual { padding: clamp(28px,4vw,40px); min-height: 340px; display: flex; flex-direction: column; justify-content: center; gap: 18px; position: relative; overflow: hidden; }
.sc-actor { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--stroke); opacity: .35; transform: translateY(6px); transition: .45s; }
.sc-actor.lit { opacity: 1; transform: translateY(0); border-color: var(--stroke-strong); box-shadow: var(--shadow-glow); }
.sc-actor .av { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.sc-actor .av.buyer { background: rgba(43,98,240,0.25); color: var(--blue-300); }
.sc-actor .av.contract { background: var(--grad-cta); color: #fff; }
.sc-actor .av.seller { background: rgba(111,220,255,0.2); color: var(--cyan-300); }
.sc-actor .txt b { font-size: 16px; }
.sc-actor .txt span { display: block; font-size: 13px; color: var(--ink-400); }
.sc-flow-line { height: 2px; background: linear-gradient(90deg, var(--blue-400), transparent); margin-left: 40px; }

/* =========================================================
   PROGRAMS
   ========================================================= */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.program { padding: 0; overflow: hidden; transition: transform .3s, border-color .3s, box-shadow .3s; display: flex; flex-direction: column; }
.program:hover { transform: translateY(-6px); border-color: var(--stroke-strong); box-shadow: var(--shadow-glow); }
.program-top { padding: 26px 26px 20px; display: flex; align-items: center; justify-content: space-between; }
.program-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(77,139,255,0.22), rgba(43,98,240,0.08)); border: 1px solid var(--stroke); color: var(--blue-300); }
.program-level { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-400); padding: 5px 11px; border: 1px solid var(--stroke); border-radius: 100px; }
.program-body { padding: 0 26px 24px; flex: 1; display: flex; flex-direction: column; }
.program-body h3 { font-size: 21px; margin-bottom: 10px; }
.program-body p { color: var(--ink-400); font-size: 14.5px; flex: 1; }
.program-meta { display: flex; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--stroke); color: var(--ink-300); font-size: 13px; }
.program-meta span { display: flex; align-items: center; gap: 7px; }
.program-meta svg { width: 15px; height: 15px; color: var(--blue-400); }
.program-foot { padding: 16px 26px; border-top: 1px solid var(--stroke); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.02); }
.program-foot .price { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.program-foot .price s { color: var(--ink-500); font-weight: 400; font-size: 14px; margin-right: 8px; }
.program-foot a { color: var(--blue-300); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 6px; transition: gap .2s, color .2s; }
.program-foot a:hover { gap: 10px; color: #fff; }

/* =========================================================
   OROCHAIN
   ========================================================= */
.orochain { overflow: hidden; }
.oro-card { padding: clamp(34px, 5vw, 70px); position: relative; overflow: hidden; }
.oro-card::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(255,196,77,0.16), transparent 62%); pointer-events: none;
}
.oro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; position: relative; z-index: 1; }
.oro-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px; border-radius: 100px; background: rgba(255,196,77,0.12); border: 1px solid rgba(255,196,77,0.3); color: #ffd27a; font-size: 13px; font-weight: 600; font-family: var(--font-display); letter-spacing: .04em; margin-bottom: 22px; }
.oro-grid h2 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 18px; }
.oro-grid h2 .g { background: linear-gradient(100deg, #ffd27a, #ff9d3d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.oro-grid > div > p { color: var(--ink-300); font-size: 17px; margin-bottom: 26px; }
.oro-feats { display: grid; gap: 14px; margin-bottom: 30px; }
.oro-feats li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-200, #cdd7f5); }
.oro-feats .ck { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; background: rgba(255,196,77,0.16); color: #ffd27a; display: grid; place-items: center; }

/* gold traceability flow */
.oro-flow { display: grid; gap: 0; }
.oro-node { display: flex; gap: 18px; align-items: center; padding: 18px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--stroke); position: relative; }
.oro-node + .oro-node { margin-top: 38px; }
.oro-node + .oro-node::before { content: ""; position: absolute; left: 37px; top: -38px; width: 2px; height: 38px; background: linear-gradient(180deg, rgba(255,196,77,0.5), rgba(125,160,255,0.3)); }
.oro-node .step-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,196,77,0.22), rgba(255,157,61,0.08)); border: 1px solid rgba(255,196,77,0.3); color: #ffd27a; flex-shrink: 0; }
.oro-node .txt b { font-size: 16px; display: block; }
.oro-node .txt span { font-size: 13.5px; color: var(--ink-400); }
.oro-node .hash { margin-left: auto; font-family: "Space Grotesk", monospace; font-size: 11px; color: var(--blue-300); opacity: .8; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi { padding: 30px; display: flex; flex-direction: column; }
.testi .stars { display: flex; gap: 3px; color: #ffc34d; margin-bottom: 16px; }
.testi .stars svg { width: 17px; height: 17px; }
.testi p { color: var(--ink-200, #cfd8f6); font-size: 15.5px; flex: 1; }
.testi .who { display: flex; align-items: center; gap: 13px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--stroke); }
.testi .who .pf { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; flex-shrink: 0; }
.testi .who b { font-size: 15px; display: block; }
.testi .who span { font-size: 13px; color: var(--ink-400); }

/* =========================================================
   PARTNERS
   ========================================================= */
.partners { text-align: center; }
.partners .lead { color: var(--ink-400); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 34px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .logo { display: flex; align-items: center; gap: 11px; color: var(--ink-300); font-family: var(--font-display); font-weight: 600; font-size: 21px; opacity: .72; transition: opacity .3s; white-space: nowrap; }
.marquee-track .logo:hover { opacity: 1; }
.marquee-track .logo svg { width: 26px; height: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   FOUNDERS
   ========================================================= */
.founders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.founder { padding: 0; overflow: hidden; display: grid; grid-template-columns: 180px 1fr; }
.founder-photo { position: relative; background: var(--grad-blue); display: grid; place-items: center; overflow: hidden; }
.founder-photo .initials { font-family: var(--font-display); font-weight: 700; font-size: 52px; color: rgba(255,255,255,0.92); letter-spacing: .02em; }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.founder-photo::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.22), transparent 55%); }
.founder:nth-child(2) .founder-photo { background: linear-gradient(135deg, #ec3b30, #8c1a14); }
.founder-body { padding: 28px; }
.founder-body .role { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 8px; }
.founder-body h3 { font-size: 23px; margin-bottom: 12px; }
.founder-body p { color: var(--ink-400); font-size: 14.5px; margin-bottom: 18px; }
.founder-social { display: flex; gap: 10px; }
.founder-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--stroke); display: grid; place-items: center; color: var(--ink-300); transition: .25s; }
.founder-social a:hover { color: #fff; border-color: var(--blue-400); background: rgba(77,139,255,0.12); transform: translateY(-2px); }
.founder-social svg { width: 18px; height: 18px; }

/* =========================================================
   CTA
   ========================================================= */
.cta-band { padding: clamp(50px,7vw,84px); text-align: center; position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(43,98,240,0.18), rgba(8,20,71,0.6)); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 50% -20%, rgba(77,139,255,0.32), transparent 60%); pointer-events: none; }
.cta-band h2 { font-size: clamp(30px, 4.6vw, 54px); position: relative; z-index: 1; max-width: 760px; margin: 0 auto 18px; }
.cta-band p { color: var(--ink-300); font-size: 18px; position: relative; z-index: 1; max-width: 540px; margin: 0 auto 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--stroke); padding: clamp(50px,7vw,80px) 0 36px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; margin-bottom: 56px; }
.footer-brand p { color: var(--ink-400); font-size: 14.5px; margin: 18px 0 22px; max-width: 320px; }
.footer-soc { display: flex; gap: 10px; }
.footer-soc a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--stroke); display: grid; place-items: center; color: var(--ink-300); transition: .25s; }
.footer-soc a:hover { color: #fff; border-color: var(--blue-400); background: rgba(77,139,255,0.12); transform: translateY(-2px); }
.footer-soc svg { width: 18px; height: 18px; }
.footer-col h4 { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: var(--ink-400); font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--blue-300); }
.news p { color: var(--ink-400); font-size: 14.5px; margin-bottom: 16px; }
.news-form { display: flex; gap: 8px; }
.news-form input { flex: 1; background: var(--surface); border: 1px solid var(--stroke); border-radius: 100px; padding: 13px 18px; color: #fff; font-size: 14px; font-family: var(--font-body); }
.news-form input:focus { outline: none; border-color: var(--blue-400); }
.footer-bottom { border-top: 1px solid var(--stroke); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-500); font-size: 13.5px; }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom .links a:hover { color: var(--ink-300); }

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-card { padding: clamp(28px,4vw,56px); position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(680px 360px at 82% -10%, rgba(43,98,240,0.22), transparent 60%); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px,4vw,56px); align-items: start; position: relative; z-index: 1; }
.contact-info h2 { font-size: clamp(28px,3.6vw,44px); margin: 18px 0 16px; }
.contact-info > p { color: var(--ink-300); font-size: 16px; margin-bottom: 24px; }
.contact-points { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.contact-points li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #cdd7f5; }
.contact-points .ck { width: 24px; height: 24px; border-radius: 7px; background: rgba(43,98,240,0.22); color: var(--blue-300); display: grid; place-items: center; flex-shrink: 0; }
.contact-mail { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 500; color: var(--blue-300); font-size: 15px; padding: 12px 18px; border: 1px solid var(--stroke); border-radius: 100px; background: var(--surface); transition: .25s; }
.contact-mail:hover { border-color: var(--blue-400); background: rgba(77,139,255,0.1); color: #fff; transform: translateY(-2px); }
.contact-mail svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-form { display: grid; gap: 16px; }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--ink-300); font-family: var(--font-display); font-weight: 500; letter-spacing: .02em; }
.field input, .field select, .field textarea { background: rgba(5,13,43,0.55); border: 1px solid var(--stroke); border-radius: 12px; padding: 13px 15px; color: #fff; font-size: 15px; font-family: var(--font-body); width: 100%; transition: border-color .2s, background .2s; }
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-400); background: rgba(5,13,43,0.82); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%237db0ff' stroke-width='2.4'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field select option { background: #0a1640; color: #fff; }
.field.invalid input, .field.invalid select { border-color: var(--red-500); background: rgba(236,59,48,0.08); }
.form-status { font-size: 14px; min-height: 18px; margin-top: 2px; color: var(--blue-300); }
.form-status.ok { color: #44e0a3; }
.form-status.err { color: var(--red-400); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    background: rgba(8,16,45,0.96); backdrop-filter: blur(18px); border: 1px solid var(--stroke);
    border-radius: var(--r-md); padding: 12px;
  }
  .nav.open .nav-links a { padding: 13px 16px; }
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .benefits-grid, .programs-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .explainer-intro, .sc-grid, .oro-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    background: rgba(8,16,45,0.96); backdrop-filter: blur(18px); border: 1px solid var(--stroke);
    border-radius: var(--r-md); padding: 12px;
  }
  .nav.open .nav-links a { padding: 13px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--stroke); }
  .benefits-grid, .programs-grid, .testi-grid, .founders-grid, .footer-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; }
  .founder-photo { min-height: 280px; }
  .founder-photo img { object-position: center 18%; }
  .contact-form .row2 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
