/* ============================================================
   ÓPTIMO PLUS — Light Immersive Theme
   Apple-inspired · cream + orange brand palette
   ============================================================ */

:root {
  /* Brand */
  --orange: #FF6B35;
  --orange-soft: #FF8657;
  --orange-deep: #E55A28;
  --orange-tint: #FFF1E9;
  --orange-glow: rgba(255, 107, 53, 0.18);

  /* Neutrals (warm) */
  --bg:        #FBF8F3;
  --bg-soft:   #F5F1EA;
  --bg-cool:   #F2EFE9;
  --surface:   #FFFFFF;
  --surface-alt:#FDFBF7;

  /* Ink scale */
  --ink:       #1A1A1A;
  --ink-2:     #2E2E2C;
  --gray-1:    #4A4844;
  --gray-2:    #6F6C65;
  --gray-3:    #9C988F;
  --gray-4:    #C5C0B6;
  --gray-5:    #E5E0D6;

  /* Lines */
  --line:        rgba(0,0,0,0.06);
  --line-strong: rgba(0,0,0,0.10);

  --shadow-sm: 0 1px 2px rgba(28,24,16,0.04), 0 2px 6px rgba(28,24,16,0.04);
  --shadow-md: 0 4px 12px rgba(28,24,16,0.06), 0 12px 32px -8px rgba(28,24,16,0.08);
  --shadow-lg: 0 12px 24px rgba(28,24,16,0.08), 0 40px 80px -20px rgba(28,24,16,0.12);
  --shadow-orange: 0 16px 40px -12px rgba(255,107,53,0.35);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--orange); color: white; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

.display {
  font-family: "Bricolage Grotesque", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-variation-settings: "wdth" 92;
}
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

/* ---------- Shell ---------- */
.shell { width: 100%; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(251, 248, 243, 0.78);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--ease-out), border-color .3s, background .3s;
}
.nav.nav-tight {
  padding: 10px 32px;
  border-bottom-color: var(--line);
  background: rgba(251, 248, 243, 0.92);
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 26px; font-size: 13.5px; color: var(--gray-1); font-weight: 500; }
.nav-links a { transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--orange); border-radius: 2px;
}
.nav-cta {
  padding: 9px 18px; border-radius: 999px;
  background: var(--ink); color: white;
  font-size: 13px; font-weight: 600;
  transition: transform .2s var(--ease-out), background .2s;
}
.nav-cta:hover { background: var(--orange); transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0px) scale(0.97); }
.nav-login-link {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-4);
  background: transparent;
  color: var(--gray-1);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.nav-login-link:hover { border-color: var(--orange); color: var(--orange); }
.nav-login-link:active { transform: scale(0.97); }

/* Nav user avatar + dropdown */
.nav-user { position: relative; }
.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: white;
  font-size: 14px; font-weight: 700;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.nav-avatar:hover { transform: scale(1.08); box-shadow: 0 4px 14px rgba(255,107,53,.4); }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 14px; min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  padding: 12px 0;
  animation: dropIn .2s var(--ease-out);
  z-index: 200;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nav-dropdown-name {
  padding: 4px 16px 2px; font-size: 14px; font-weight: 700; color: var(--ink);
}
.nav-dropdown-email {
  padding: 0 16px 8px; font-size: 11.5px; color: var(--gray-1);
}
.nav-dropdown hr { margin: 6px 16px; border: none; border-top: 1px solid var(--line); }
.nav-dropdown a, .nav-dropdown button {
  display: block; width: 100%;
  padding: 8px 16px; text-align: left;
  font-size: 13.5px; color: var(--ink); font-weight: 500;
  background: none; border: none; cursor: pointer;
  transition: background .15s, color .15s;
  text-decoration: none;
}
.nav-dropdown a:hover, .nav-dropdown button:hover {
  background: rgba(255,107,53,.08); color: var(--orange);
}

@media (max-width: 800px) {
  .nav-links { display: none; }
  .nav { padding: 12px 20px; }
}

/* ---------- Buttons ---------- */
.btn {
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .2s var(--ease-out), background .2s, box-shadow .2s, color .2s;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: white; box-shadow: var(--shadow-orange); }
.btn-primary:hover { transform: translateY(-2px); background: var(--orange-soft); box-shadow: 0 22px 50px -12px rgba(255,107,53,0.45); }
.btn-primary:active { transform: translateY(0px) scale(0.98); box-shadow: none; }
.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: var(--orange); transform: translateY(-2px); }
.btn-dark:active { transform: translateY(0px) scale(0.98); }
.btn-ghost {
  background: white; color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0px) scale(0.98); }
.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* Focus visible — keyboard navigation ring */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}
button:focus-visible, a:focus-visible { border-radius: 8px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 130px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  width: 1100px; height: 1100px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(255,107,53,0.28) 0%,
    rgba(255,107,53,0.10) 30%,
    rgba(255,107,53,0) 65%);
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  animation: orbDrift 14s var(--ease-in-out) infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes orbDrift {
  0%   { transform: translate(-55%, -52%) scale(1); }
  100% { transform: translate(-45%, -48%) scale(1.08); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 2;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; height: 1px; width: 36px;
  background: var(--orange); opacity: 0.4;
}
.hero h1 {
  font-size: clamp(58px, 11.5vw, 176px);
  text-align: center;
  position: relative; z-index: 2;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero h1 .plus {
  display: inline-block;
  color: var(--orange);
  font-size: 0.58em;
  vertical-align: super;
  margin-left: 0.04em;
  animation: plusPulse 3s ease-in-out infinite;
}
@keyframes plusPulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(1.1) rotate(8deg); opacity: 0.88; }
}
.hero-tag {
  font-size: clamp(15px, 1.6vw, 20px);
  color: var(--gray-1);
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 760px;
  position: relative; z-index: 2;
  margin-bottom: 48px;
}
.hero-tag .sep { color: var(--orange); margin: 0 10px; }
.hero-cta-row {
  display: flex; gap: 14px;
  position: relative; z-index: 2;
  flex-wrap: wrap; justify-content: center;
}
.hero-scroll {
  display: none; /* removed: banned scroll-cue pattern */
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  color: var(--gray-2); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.hero-scroll .line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, transparent, var(--orange));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee strip ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 64px;
  white-space: nowrap;
  animation: marqueeScroll 35s linear infinite;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; color: var(--gray-2);
  letter-spacing: 0.15em; text-transform: uppercase;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 64px; }
.marquee-track span::after { content: "★"; color: var(--orange); margin-left: 64px; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section heading ---------- */
.sec { padding: 140px 0; position: relative; }
.sec-alt { background: var(--bg-soft); }
.sec-white { background: var(--surface); }
.sec-head {
  margin-bottom: 72px;
}
.sec-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.sec h2 {
  font-size: clamp(38px, 5.5vw, 80px);
  margin-top: 0;
  max-width: 860px;
  color: var(--ink);
}
.sec-head .right {
  color: var(--gray-1); font-size: 16px; max-width: 600px;
  line-height: 1.7; margin-top: 20px;
}

/* ---------- Pillars overview ---------- */
.pillars {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 960px) { .pillars { grid-template-columns: 1fr; } }
.pillar-card {
  position: relative;
  padding: 36px 32px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease-out), border-color .3s, box-shadow .3s;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.pillars .pillar-card:nth-child(1) { min-height: 520px; }
.pillars .pillar-card:nth-child(2) { min-height: 480px; margin-top: 32px; }
.pillars .pillar-card:nth-child(3) { min-height: 440px; margin-top: 64px; }
.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,107,53,0.35);
  box-shadow: var(--shadow-lg);
}
.pillar-card:active { transform: translateY(-2px) scale(0.99); }
.pillar-card .num {
  font-family: "JetBrains Mono", monospace;
  color: var(--orange); font-size: 10.5px;
  margin-bottom: 20px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.pillar-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 32px; line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  font-variation-settings: "wdth" 92;
  color: var(--ink);
}
.pillar-card p { color: var(--gray-1); font-size: 15px; line-height: 1.6; flex: 1; }
.pillar-card .glyph {
  width: 100%; height: 150px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  background: linear-gradient(180deg, var(--orange-tint), transparent);
  border-radius: 18px;
}
.pillar-card .read {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-size: 13.5px; font-weight: 600;
}
.pillar-card .read .arr { transition: transform .25s var(--ease-out); }
.pillar-card:hover .read .arr { transform: translateX(4px); }

.glyph-neural .pulse { animation: nodePulse 2.4s ease-in-out infinite; }
@keyframes nodePulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
.glyph-neural .pulse-2 { animation-delay: 0.4s; }
.glyph-neural .pulse-3 { animation-delay: 0.8s; }
.glyph-neural .pulse-4 { animation-delay: 1.2s; }

.glyph-code { font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: var(--gray-2); width: 78%; }
.glyph-code .row { padding: 3px 0; opacity: 0; animation: codeFade .5s var(--ease-out) forwards; }
.glyph-code .row:nth-child(1) { animation-delay: .1s; }
.glyph-code .row:nth-child(2) { animation-delay: .25s; }
.glyph-code .row:nth-child(3) { animation-delay: .4s; }
.glyph-code .row:nth-child(4) { animation-delay: .55s; }
.glyph-code .row:nth-child(5) { animation-delay: .7s; }
.glyph-code .kw { color: var(--orange); }
.glyph-code .str { color: #4a72c8; }
@keyframes codeFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

.glyph-rings .ring { animation: ringRot 8s linear infinite; transform-origin: center; transform-box: fill-box; }
.glyph-rings .ring-2 { animation-direction: reverse; animation-duration: 12s; }
@keyframes ringRot { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ---------- Deep dive blocks ---------- */
.deep {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.deep.reverse .deep-text { order: 2; }
@media (max-width: 960px) {
  .deep, .deep.reverse { grid-template-columns: 1fr; gap: 48px; }
  .deep.reverse .deep-text { order: 0; }
}
.deep-text h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04;
  letter-spacing: -0.025em; font-variation-settings: "wdth" 92;
  margin: 18px 0 24px;
}
.deep-text p { color: var(--gray-1); font-size: 16.5px; line-height: 1.65; margin-bottom: 16px; max-width: 520px; }
.deep-text ul { list-style: none; margin-top: 28px; }
.deep-text ul li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-top: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink);
}
.deep-text ul li:last-child { border-bottom: 1px solid var(--line); }
.deep-text ul li .check {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--orange-tint); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

.deep-visual {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line);
  padding: 32px;
  min-height: 480px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* AI viz */
.ai-viz { width: 100%; height: 100%; min-height: 416px; position: relative; }
.ai-viz .doc {
  position: absolute;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  color: var(--gray-1);
  display: flex; align-items: center; gap: 6px;
  animation: docFloat 3s ease-in-out infinite;
  box-shadow: var(--shadow-sm);
}
.ai-viz .doc::before {
  content: ""; width: 12px; height: 14px;
  border: 1px solid var(--gray-3); border-radius: 2px;
  background: linear-gradient(180deg, transparent 60%, var(--orange) 60%);
}
@keyframes docFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.ai-viz .core {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(255,107,53,0.85), rgba(255,107,53,0.15) 60%, transparent 75%);
  display: flex; align-items: center; justify-content: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 26px; color: white;
  font-variation-settings: "wdth" 92;
  box-shadow: 0 20px 50px -15px rgba(255,107,53,0.5);
}
.ai-viz .core::before {
  content: ""; position: absolute; inset: -12px;
  border: 1px dashed rgba(255,107,53,0.45); border-radius: 50%;
  animation: spinSlow 18s linear infinite;
}
.ai-viz .core::after {
  content: ""; position: absolute; inset: -34px;
  border: 1px solid rgba(255,107,53,0.18); border-radius: 50%;
  animation: spinSlow 30s linear infinite reverse;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }
.ai-viz .line-svg { position: absolute; inset: 0; pointer-events: none; }
.ai-viz .line-svg path { stroke: rgba(255,107,53,0.35); stroke-width: 1; fill: none; stroke-dasharray: 4 4; }

/* Device mocks */
.dev-mock { position: relative; width: 100%; display: flex; gap: 16px; justify-content: center; align-items: flex-end; height: 100%; }
.dev-phone {
  width: 130px; height: 270px;
  border-radius: 24px;
  background: linear-gradient(160deg, #2a2a2c, #1a1a1c);
  padding: 7px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: devFloat 6s ease-in-out infinite;
}
.dev-phone.b { animation-delay: -2s; transform: translateY(-30px); }
.dev-phone .screen {
  width: 100%; height: 100%; border-radius: 18px;
  background: linear-gradient(180deg, #FF6B35 0%, #C94A1F 100%);
  position: relative; overflow: hidden;
}
.dev-phone .screen::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 50px; height: 14px; background: #1a1a1c; border-radius: 0 0 8px 8px;
}
.dev-phone .screen .tile {
  position: absolute; left: 14px; right: 14px;
  background: rgba(255,255,255,0.22); border-radius: 8px;
  backdrop-filter: blur(8px);
  animation: tilePop .6s var(--ease-out) backwards;
}
.dev-phone .screen .tile.t1 { top: 30px; height: 50px; animation-delay: .3s; }
.dev-phone .screen .tile.t2 { top: 90px; height: 22px; animation-delay: .5s; }
.dev-phone .screen .tile.t3 { top: 122px; height: 60px; animation-delay: .7s; }
.dev-phone .screen .tile.t4 { top: 192px; height: 22px; animation-delay: .9s; }
@keyframes tilePop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.dev-laptop {
  width: 320px; height: 200px;
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(160deg, #d8d4cc, #b5b0a6);
  padding: 8px; border-bottom: 6px solid #c5c0b6;
  position: relative;
  animation: devFloat 7s ease-in-out infinite -1s;
  box-shadow: var(--shadow-md);
}
.dev-laptop .screen {
  width: 100%; height: 100%; border-radius: 6px;
  background: white;
  overflow: hidden; position: relative;
}
@keyframes devFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Platform card grid (links to 5 pages) ---------- */
.plat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .plat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .plat-grid { grid-template-columns: 1fr; } }
.plat-card {
  display: flex; flex-direction: column;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  min-height: 220px;
}
.plat-card::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle at center, var(--orange-glow), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.plat-card:hover { transform: translateY(-4px); border-color: rgba(255,107,53,0.35); box-shadow: var(--shadow-lg); }
.plat-card:hover::before { opacity: 1; }
.plat-card:active { transform: translateY(-1px) scale(0.99); }
.plat-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--orange-tint); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 18px; font-weight: 700;
  transition: background .3s, color .3s, transform .3s;
}
.plat-card:hover .ico { background: var(--orange); color: white; transform: rotate(-4deg); }
.plat-card .ptag {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: var(--gray-2);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 8px;
}
.plat-card h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 8px;
  font-variation-settings: "wdth" 92;
}
.plat-card p { font-size: 14px; color: var(--gray-1); line-height: 1.55; flex: 1; }
.plat-card .go {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange); font-size: 13px; font-weight: 600;
}
.plat-card:hover .go .arr { transform: translateX(4px); }
.plat-card .go .arr { transition: transform .25s var(--ease-out); }

/* ---------- Page subhero (used on each subpage) ---------- */
.subhero {
  padding: 150px 32px 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
}
.subhero::before {
  content: ""; position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--orange-glow), transparent 65%);
  top: -200px; right: -200px;
  filter: blur(30px);
  pointer-events: none;
}
.subhero .wrap { position: relative; z-index: 2; }
.subhero .crumbs {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; color: var(--gray-2);
  letter-spacing: 0.12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.subhero .crumbs a { color: var(--gray-2); transition: color .2s; }
.subhero .crumbs a:hover { color: var(--orange); }
.subhero .crumbs .sep { opacity: 0.4; }
.subhero h1 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: clamp(44px, 7vw, 96px);
  letter-spacing: -0.035em; line-height: 1.05;
  font-variation-settings: "wdth" 90;
  color: var(--ink);
  max-width: 880px;
  margin-bottom: 32px;
}
.subhero h1 .accent { color: var(--orange); }
.subhero .lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--gray-1);
  max-width: 640px; line-height: 1.55;
}
.subhero .meta-row {
  display: flex; gap: 32px; margin-top: 40px;
  flex-wrap: wrap;
}
.subhero .meta-row .it {
  display: flex; flex-direction: column; gap: 4px;
}
.subhero .meta-row .it .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: var(--gray-2);
  letter-spacing: 0.15em; text-transform: uppercase;
}
.subhero .meta-row .it .vl {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 28px; letter-spacing: -0.02em;
  color: var(--ink);
}
.subhero .meta-row .it .vl .accent { color: var(--orange); }

/* ---------- Forms (light) ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.demo-form { display: grid; gap: 18px; max-width: 640px; margin: 0 auto; }
.demo-form h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 30px; letter-spacing: -0.02em;
  margin-bottom: 4px; font-variation-settings: "wdth" 92;
}
.demo-form .sub { color: var(--gray-1); font-size: 14.5px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11.5px; color: var(--gray-2); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--gray-5);
  background: white;
  font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,107,53,0.12);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 580px) { .field-row { grid-template-columns: 1fr; } }

.upload {
  border: 1.5px dashed var(--gray-4);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  font-size: 13px; color: var(--gray-1);
  cursor: pointer; transition: background .2s, border-color .2s, color .2s;
  background: var(--bg-soft);
}
.upload:hover { background: var(--orange-tint); border-color: var(--orange); color: var(--orange); }
.upload .ico { font-size: 22px; color: var(--orange); margin-bottom: 4px; display: block; }

.form-cta {
  background: var(--ink); color: white;
  padding: 14px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s, transform .2s, box-shadow .2s;
  justify-self: start; cursor: pointer;
}
.form-cta:hover { background: var(--orange); transform: translateY(-1px); box-shadow: var(--shadow-orange); }
.form-cta:active { transform: translateY(0px) scale(0.98); box-shadow: none; }
.form-cta .arrow { transition: transform .2s; }
.form-cta:hover .arrow { transform: translateX(4px); }

.success-flash {
  background: linear-gradient(120deg, var(--orange-tint), rgba(255,107,53,0.04));
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 12px; padding: 14px 16px;
  font-size: 14px; color: var(--orange-deep);
  display: flex; align-items: center; gap: 10px;
  animation: flashIn .4s var(--ease-out);
  font-weight: 600;
}
.success-flash .pip {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--orange); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
@keyframes flashIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

.fee-note {
  font-size: 12.5px; color: var(--gray-1);
  padding: 12px 14px;
  background: var(--bg-soft); border-radius: 10px;
  margin-top: 4px; line-height: 1.5;
}
.fee-note .pct { color: var(--orange-deep); font-weight: 700; }

/* ---------- Marketplace (page) ---------- */
.market-controls {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px; flex-wrap: wrap;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.market-search {
  flex: 1; min-width: 240px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: 12px;
  font-size: 14px;
}
.market-search input { flex: 1; border: none; background: transparent; outline: none; font-size: 14px; color: var(--ink); }
.market-search .ico { color: var(--gray-2); }
.market-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-soft); color: var(--gray-1);
  font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: background .2s, color .2s, transform .15s;
  border: 1px solid transparent;
}
.chip.active { background: var(--ink); color: white; }
.chip:not(.active):hover { background: var(--gray-5); color: var(--ink); transform: translateY(-1px); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.app-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .25s, border-color .25s;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.app-card .thumb {
  height: 110px; border-radius: 12px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 38px; color: white;
  letter-spacing: -0.03em;
}
.app-card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.18));
}
.app-card .cat {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: var(--orange);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.app-card h5 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.app-card p.desc { font-size: 13px; color: var(--gray-1); line-height: 1.5; }
.app-card .stats { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; }
.app-card .raised { color: var(--ink); font-weight: 700; }
.app-card .goal { color: var(--gray-2); }
.app-card .bar { height: 5px; background: var(--bg-soft); border-radius: 4px; overflow: hidden; }
.app-card .bar .fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-deep)); border-radius: 4px; transition: width .6s var(--ease-out); }

/* ---------- Modal / detail card ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26,26,26,0.5);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  animation: flashIn .25s var(--ease-out);
}
.modal-card {
  width: 100%; max-width: 560px;
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: flashIn .35s var(--ease-out);
}
.modal-card .close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 18px; color: var(--gray-1);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.modal-card .close:hover { background: var(--orange); color: white; }
.modal-card h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 28px; letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.modal-card .desc { font-size: 14.5px; color: var(--gray-1); margin-bottom: 16px; }
.modal-card .invest-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 16px 0;
}
.modal-card .invest-row .box { background: var(--bg-soft); padding: 12px 14px; border-radius: 12px; }
.modal-card .invest-row .lbl {
  font-size: 10.5px; color: var(--gray-2);
  letter-spacing: 0.1em; text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 4px;
}
.modal-card .invest-row .v {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
}
.invest-input {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--gray-5); border-radius: 12px;
  padding: 14px 16px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  margin-top: 6px;
  background: white;
  transition: border-color .2s, box-shadow .2s;
}
.invest-input:focus-within { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,107,53,0.12); }
.invest-input .cur { color: var(--orange); }
.invest-input input { flex: 1; border: none; outline: none; font: inherit; background: transparent; }
.modal-card .commit {
  background: var(--orange); color: white;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px;
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s, transform .2s;
  cursor: pointer;
  margin-top: 14px;
  box-shadow: var(--shadow-orange);
}
.modal-card .commit:hover { background: var(--orange-soft); transform: translateY(-1px); }

/* ---------- Dashboard zones (founder & investor) ---------- */
.zone-head {
  display: flex; align-items: center; gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.zone-avatar {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 28px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.zone-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--orange);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 4px;
}
.zone-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 30px; letter-spacing: -0.025em;
  line-height: 1.05;
  font-variation-settings: "wdth" 92;
}
.zone-sub { font-size: 13px; color: var(--gray-1); margin-top: 4px; }

/* KPIs */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 760px) { .kpi-row { grid-template-columns: 1fr 1fr; } }
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.kpi::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--orange);
}
.kpi .lbl {
  font-size: 10.5px; color: var(--gray-2);
  letter-spacing: 0.12em; text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 8px;
}
.kpi .val {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 26px; letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "wdth" 92;
}
.kpi .delta { font-size: 12px; color: var(--orange-deep); font-weight: 700; margin-top: 4px; }

/* Charts / tables */
.chart {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.chart.flush { padding: 0; overflow: hidden; }
.chart .ch-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.chart .ch-head h5 { font-size: 14px; font-weight: 700; color: var(--ink); }
.chart .ch-head .tag {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--orange);
  background: var(--orange-tint);
  padding: 4px 8px; border-radius: 999px;
}

.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table th {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: var(--gray-2);
  letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 600;
  background: var(--bg-soft);
}
.table tbody tr { transition: background .15s; }
.table tbody tr:hover td { background: var(--bg-soft); }
.status-pill {
  font-size: 10.5px; padding: 4px 10px; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 5px;
}
.status-pill.live { background: rgba(40,200,64,0.12); color: #1d8a3c; }
.status-pill.review { background: rgba(255,193,7,0.15); color: #a37a00; }
.status-pill.funded { background: var(--orange-tint); color: var(--orange-deep); }
.status-pill.fail { background: rgba(255,80,80,0.12); color: #c4392f; }
.status-pill .dotp { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.zone-grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
}
@media (max-width: 900px) { .zone-grid-2 { grid-template-columns: 1fr; } }

.investors-list { display: flex; flex-direction: column; }
.inv-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto;
  gap: 12px; align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}
.inv-row:first-child { border-top: none; }
.inv-row:hover { background: var(--bg-soft); }
.inv-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gray-4), var(--gray-2));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.04em;
}
.inv-info .inv-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.inv-info .inv-date { font-size: 11.5px; color: var(--gray-2); }
.inv-amt {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em;
}

.docs-list { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.doc-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px; align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  transition: border-color .2s, background .2s;
  cursor: pointer;
}
.doc-row:hover { border-color: var(--orange); background: white; }
.doc-ico {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--orange-tint); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em;
}
.doc-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc-info strong { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.doc-info span { font-size: 11.5px; color: var(--gray-2); }
.doc-action {
  color: var(--orange); font-size: 18px; font-weight: 700;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--orange-tint);
  transition: background .2s, color .2s, transform .2s;
}
.doc-row:hover .doc-action { background: var(--orange); color: white; transform: translateY(-1px); }

/* Allocation bar (investor zone) */
.alloc-bar {
  display: flex; height: 30px; border-radius: 10px;
  overflow: hidden; margin: 14px 0;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.02);
}
.alloc-seg {
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: white; font-weight: 700;
  letter-spacing: 0.05em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: filter .2s;
}
.alloc-seg:hover { filter: brightness(1.08); }
.alloc-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; padding-top: 6px; }
.alloc-leg-item { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-1); }
.alloc-chip { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.alloc-pct { color: var(--gray-2); font-family: "JetBrains Mono", monospace; font-size: 11.5px; }

/* Admin sidebar */
.admin {
  background: var(--surface); border-radius: 22px; padding: 0;
  display: grid; grid-template-columns: 240px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.admin-side {
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  padding: 24px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.admin-side .brand {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em;
  color: var(--ink);
}
.admin-side .brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }
.admin-side .item {
  padding: 10px 14px; border-radius: 10px;
  font-size: 13.5px; color: var(--gray-1); font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; transition: background .15s, color .15s;
}
.admin-side .item.active { background: var(--ink); color: white; }
.admin-side .item:not(.active):hover { background: var(--gray-5); color: var(--ink); }
.admin-side .item .ico {
  width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  color: currentColor;
}
.admin-side .item .count {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  padding: 2px 7px; border-radius: 999px;
  background: var(--orange-tint); color: var(--orange);
}
.admin-side .item.active .count { background: rgba(255,255,255,0.15); color: white; }
.admin-side .sect-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: var(--gray-3); letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 10px 4px;
}
.admin-main { padding: 28px; overflow: hidden; }
.admin-main h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 24px; letter-spacing: -0.02em;
  margin-bottom: 4px; font-variation-settings: "wdth" 92;
}
.admin-main .meta { font-size: 13px; color: var(--gray-1); margin-bottom: 20px; }
@media (max-width: 800px) {
  .admin { grid-template-columns: 1fr; }
  .admin-side { flex-direction: row; overflow-x: auto; padding: 14px; }
  .admin-side .brand, .admin-side .sect-label { display: none; }
  .admin-side .item { flex-shrink: 0; }
}

/* ---------- Payment gateway ---------- */
.pay-stage {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 960px) { .pay-stage { grid-template-columns: 1fr; } }
.pay-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.pay-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
  margin-bottom: 4px; font-variation-settings: "wdth" 92;
}
.pay-card .sub { color: var(--gray-1); font-size: 14px; margin-bottom: 20px; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 580px) { .method-grid { grid-template-columns: 1fr 1fr; } }
.method {
  border: 1.5px solid var(--gray-5);
  border-radius: 14px;
  padding: 14px;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
  background: white;
}
.method:hover { border-color: var(--orange); transform: translateY(-2px); }
.method.active {
  border-color: var(--orange);
  background: var(--orange-tint);
  box-shadow: 0 0 0 4px rgba(255,107,53,0.1);
}
.method .badge {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 700;
  color: var(--gray-1);
  letter-spacing: 0.06em;
}
.method.active .badge { color: var(--orange-deep); }
.method .pic {
  height: 28px; display: flex; align-items: center; justify-content: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: -0.02em;
  color: var(--ink);
}

.card-mock {
  background: linear-gradient(135deg, var(--ink), #2e2e2c);
  color: white;
  border-radius: 20px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  box-shadow: var(--shadow-lg);
}
.card-mock::before {
  content: ""; position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--orange-glow), transparent 65%);
  top: -100px; right: -100px;
  filter: blur(20px);
}
.card-mock .row-top {
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 2;
}
.card-mock .chip-mock {
  width: 36px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, #d4a86c, #a87f3d);
  position: relative; z-index: 2;
}
.card-mock .net {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 18px;
  letter-spacing: -0.02em;
  position: relative; z-index: 2;
}
.card-mock .number {
  font-family: "JetBrains Mono", monospace;
  font-size: 18px; letter-spacing: 0.12em;
  margin-top: 28px; position: relative; z-index: 2;
}
.card-mock .row-bot {
  display: flex; justify-content: space-between;
  margin-top: 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: rgba(255,255,255,0.7);
  position: relative; z-index: 2;
  letter-spacing: 0.1em;
}
.card-mock .row-bot strong { color: white; font-family: "Bricolage Grotesque", sans-serif; font-size: 13px; }

.pay-summary {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.pay-summary h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 18px; letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.pay-summary .line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--gray-1);
}
.pay-summary .line:first-of-type { border-top: none; }
.pay-summary .line strong { color: var(--ink); }
.pay-summary .line.fee { color: var(--orange-deep); }
.pay-summary .total {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 30px; letter-spacing: -0.025em;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 6px;
}
.pay-summary .total .cur { color: var(--orange); font-size: 18px; vertical-align: super; margin-right: 4px; }

.security-row {
  display: flex; gap: 10px; align-items: center;
  margin-top: 18px; padding: 12px 14px;
  background: var(--bg-soft);
  border-radius: 12px;
  font-size: 11.5px; color: var(--gray-1);
}
.security-row .sicon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(40,200,64,0.15); color: #1d8a3c;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Pay logos row */
.brand-strip {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 28px;
  align-items: center; justify-content: center;
}
.brand-pill {
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 13px;
  color: var(--gray-1);
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-sm);
}
.brand-pill .accent { color: var(--orange); }

/* ---------- Pipeline ---------- */
.pipeline {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  position: relative;
  margin-top: 40px;
}
@media (max-width: 960px) { .pipeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pipeline { grid-template-columns: 1fr; } }
.pipe-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px;
  position: relative;
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  box-shadow: var(--shadow-sm);
}
.pipe-step:hover { transform: translateY(-4px); border-color: rgba(255,107,53,0.35); box-shadow: var(--shadow-md); }
.pipe-step .step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: var(--orange);
  letter-spacing: 0.16em;
}
.pipe-step h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 19px; letter-spacing: -0.01em;
  margin: 12px 0 8px;
}
.pipe-step p { font-size: 13px; color: var(--gray-1); line-height: 1.55; }
.pipe-step .icon-wrap {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--orange-tint);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 18px;
}

/* Stack diagram */
.stack { display: grid; gap: 10px; margin-top: 28px; }
.stack-row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; align-items: center; }
.stack-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; color: var(--orange);
  letter-spacing: 0.1em; text-transform: uppercase;
  text-align: right;
}
.stack-bar {
  height: 58px; border-radius: 14px;
  background: linear-gradient(90deg, var(--orange-tint), var(--surface));
  border: 1px solid var(--line);
  display: flex; align-items: center; padding: 0 22px; gap: 12px;
  font-size: 14px; color: var(--ink);
  transition: background .3s;
  flex-wrap: wrap;
}
.stack-bar:hover { background: linear-gradient(90deg, var(--orange-tint), var(--bg-soft)); }
.stack-bar .tag-mini {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--gray-1);
  padding: 4px 9px; border-radius: 6px;
  background: white; border: 1px solid var(--line);
}
@media (max-width: 720px) {
  .stack-row { grid-template-columns: 1fr; gap: 6px; }
  .stack-label { text-align: left; }
}

/* CTA */
.cta-block {
  border-radius: 36px;
  padding: 90px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, var(--orange-glow), transparent 55%),
    linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-block h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: clamp(38px, 6vw, 80px);
  letter-spacing: -0.03em; line-height: 1.0;
  margin-bottom: 20px; font-variation-settings: "wdth" 92;
  color: var(--ink);
}
.cta-block p { color: var(--gray-1); font-size: 18px; max-width: 600px; margin: 0 auto 36px; }

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 60px 32px 36px;
  background: var(--bg-soft);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1280px; margin: 0 auto;
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot h6 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--gray-2); letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 14px; font-weight: 600;
}
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { color: var(--gray-1); font-size: 14px; transition: color .2s; }
.foot ul a:hover { color: var(--orange); }
.foot .brand-blurb { color: var(--gray-1); font-size: 13.5px; line-height: 1.6; margin-top: 16px; max-width: 320px; }
.foot-bottom {
  max-width: 1280px; margin: 50px auto 0;
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--gray-2); font-size: 12.5px;
  font-family: "JetBrains Mono", monospace;
  flex-wrap: wrap; gap: 12px;
}

/* Reveal — reduced motion respects prefers-reduced-motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Scroll margin for anchored sections under fixed nav */
section[id] { scroll-margin-top: 80px; }

.spacer { height: 1px; background: var(--line); margin: 80px auto; max-width: 1280px; }

@media (max-width: 720px) {
  .sec { padding: 90px 0; }
  .wrap { padding: 0 20px; }
  .hero { padding: 110px 20px 70px; }
  .subhero { padding: 130px 20px 60px; }
  .form-card { padding: 26px; }
}

/* ============================================================
   IMMERSIVE LAYER — cursor, magnetic, tilt, scroll-arrow,
   hero stagger reveal, live IA demo, floating shapes
   ============================================================ */

/* --- Custom cursor (desktop only) --- */
@media (hover: hover) and (pointer: fine) {
  body.cursor-on, body.cursor-on * { cursor: none !important; }
}
.cur-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: normal;
  transition: transform .15s var(--ease-out), opacity .2s, width .2s, height .2s;
  will-change: transform;
  opacity: 0;
}
.cur-dot.on { opacity: 1; }
.cur-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255,107,53,0.5);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease-out), width .25s, height .25s, border-color .25s, opacity .2s;
  will-change: transform;
  opacity: 0;
}
.cur-ring.on { opacity: 1; }
.cur-ring.hover {
  width: 64px; height: 64px;
  border-color: var(--orange);
  background: rgba(255,107,53,0.06);
  backdrop-filter: blur(2px);
}
.cur-ring.click { width: 28px; height: 28px; border-width: 2px; }

/* --- Scroll progress arrow indicator (right side, fixed) --- */
.scroll-arrow {
  position: fixed; right: 22px; top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 36px; height: 200px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
}
.scroll-arrow.on { opacity: 1; }
.scroll-arrow .track {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: rgba(0,0,0,0.08);
  transform: translateX(-50%);
}
.scroll-arrow .fill {
  position: absolute; left: 50%; top: 0;
  width: 2px; background: var(--orange);
  transform: translateX(-50%);
  border-radius: 2px;
  transition: height .15s var(--ease-out);
  box-shadow: 0 0 12px rgba(255,107,53,0.6);
}
.scroll-arrow .tip {
  position: absolute; left: 50%; top: 0;
  width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  transition: top .15s var(--ease-out);
}
.scroll-arrow .pct {
  position: absolute; left: 50%; bottom: -22px;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px; color: var(--gray-2);
  letter-spacing: 0.1em;
}
@media (max-width: 900px) { .scroll-arrow { display: none; } }

/* --- Hero immersive layer --- */
.hero {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 60%, var(--bg-soft) 100%);
}
.hero-stage {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
}
.hero-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transition: transform .15s linear;
}
.hero-shape.s1 {
  top: 12%; left: 8%;
  width: 140px; height: 140px;
  background: var(--orange-tint);
  border-radius: 50%;
  border: 1px solid rgba(255,107,53,0.25);
  animation: floatA 14s var(--ease-in-out) infinite alternate;
}
.hero-shape.s2 {
  bottom: 18%; right: 12%;
  width: 90px; height: 90px;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  transform: rotate(-15deg);
  box-shadow: var(--shadow-md);
  animation: floatB 18s var(--ease-in-out) infinite alternate;
}
.hero-shape.s3 {
  top: 65%; left: 18%;
  width: 60px; height: 60px;
  background: var(--ink);
  border-radius: 16px;
  transform: rotate(20deg);
  animation: floatA 16s var(--ease-in-out) infinite alternate -3s;
}
.hero-shape.s4 {
  top: 22%; right: 18%;
  width: 100px; height: 12px;
  background: var(--orange);
  border-radius: 999px;
  animation: floatB 12s var(--ease-in-out) infinite alternate -2s;
}
.hero-shape.s5 {
  bottom: 28%; left: 14%;
  width: 28px; height: 28px;
  background: white;
  border: 2px solid var(--orange);
  border-radius: 50%;
  animation: floatA 10s var(--ease-in-out) infinite alternate -5s;
}
.hero-shape.arrow {
  top: 8%; right: 22%;
  width: 70px; height: 70px;
  animation: floatB 16s var(--ease-in-out) infinite alternate -4s;
}
@keyframes floatA {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-30px) rotate(8deg); }
}
@keyframes floatB {
  0% { transform: translateY(0) rotate(-15deg); }
  100% { transform: translateY(20px) rotate(-5deg); }
}

/* Word-by-word hero reveal */
.hero-headline {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.05em;
}
.hero-word {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 0.05em 0.04em;
}
.hero-word .ww {
  display: inline-block;
  opacity: 0;
  transform: translateY(120%);
  transition: opacity .85s var(--ease-out), transform 1s var(--ease-out);
}
.hero-word.in .ww {
  opacity: 1;
  transform: translateY(0);
}
.hero-word.in.skew .ww {
  animation: heroBreath 5s ease-in-out infinite;
}
@keyframes heroBreath {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.005); }
}
.hero-plus-glyph {
  display: inline-block;
  color: var(--orange);
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 0.04em;
  position: relative;
  opacity: 0;
  transform: translateY(120%) rotate(-30deg);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}
.hero-plus-glyph.in {
  opacity: 1;
  transform: translateY(0) rotate(0);
  animation: plusOrbit 6s ease-in-out infinite 1.2s;
}
@keyframes plusOrbit {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-8px) rotate(8deg) scale(1.05); }
  50% { transform: translateY(0) rotate(0deg) scale(1.08); }
  75% { transform: translateY(4px) rotate(-6deg) scale(1.02); }
}

/* Magnetic button helper */
.magnetic {
  display: inline-flex;
  transition: transform .25s var(--ease-out);
  will-change: transform;
}

/* 3D tilt cards */
.tilt {
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform .2s var(--ease-out);
  will-change: transform;
}
.tilt .tilt-inner {
  transform-style: preserve-3d;
  transition: transform .25s var(--ease-out);
}
.tilt:hover .tilt-floaty {
  transform: translateZ(40px);
}
.tilt-floaty { transition: transform .35s var(--ease-out); will-change: transform; }

/* Counter values */
.counter-val { display: inline-block; }

/* --- Live IA Demo widget --- */
.ia-demo {
  margin-top: 30px;
  background: linear-gradient(160deg, var(--ink) 0%, #1f1f1d 100%);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.ia-demo::before {
  content: ""; position: absolute;
  top: -60%; right: -30%;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(255,107,53,0.35), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.ia-demo .ia-head {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 2;
  margin-bottom: 16px;
  flex-wrap: wrap; gap: 10px;
}
.ia-demo .ia-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange);
  display: flex; align-items: center; gap: 8px;
}
.ia-demo .ia-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  animation: dotBlink 1.4s ease-in-out infinite;
}
.ia-demo .ia-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.ia-demo h4 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: 24px; letter-spacing: -0.02em;
  color: white;
  margin-bottom: 4px;
  font-variation-settings: "wdth" 92;
  position: relative; z-index: 2;
}
.ia-demo .ia-sub {
  font-size: 13.5px; color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  position: relative; z-index: 2;
}
.ia-prompt {
  display: flex; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 6px;
  position: relative; z-index: 2;
}
.ia-prompt input {
  flex: 1;
  background: transparent;
  border: none; outline: none;
  font-size: 14.5px;
  color: white;
  padding: 12px 14px;
  font-family: inherit;
}
.ia-prompt input::placeholder { color: rgba(255,255,255,0.35); }
.ia-prompt button {
  background: var(--orange); color: white;
  padding: 10px 18px; border-radius: 10px;
  font-weight: 700; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s, transform .2s;
  cursor: pointer; flex-shrink: 0;
}
.ia-prompt button:hover { background: var(--orange-soft); transform: translateY(-1px); }
.ia-prompt button:disabled { background: rgba(255,255,255,0.15); cursor: wait; }
.ia-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px;
  position: relative; z-index: 2;
}
.ia-chip {
  padding: 7px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  font-size: 12px; color: rgba(255,255,255,0.75);
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s, border-color .2s;
}
.ia-chip:hover { background: rgba(255,107,53,0.15); color: var(--orange); border-color: var(--orange); transform: translateY(-1px); }

.ia-output {
  margin-top: 18px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 20px 22px;
  position: relative; z-index: 2;
  min-height: 110px;
  color: rgba(255,255,255,0.9);
  font-size: 14.5px;
  line-height: 1.6;
  font-family: "Manrope", sans-serif;
}
.ia-output .lead-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: var(--orange);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.ia-output .lead-row .core-mini {
  width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at center, var(--orange), var(--orange-deep));
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; color: white; font-weight: 700;
  box-shadow: 0 0 12px rgba(255,107,53,0.5);
}
.ia-output .typing { color: rgba(255,255,255,0.5); }
.ia-output .typing::after {
  content: ""; display: inline-block;
  width: 8px; height: 14px;
  background: var(--orange);
  margin-left: 4px;
  vertical-align: middle;
  animation: caretBlink 0.9s steps(2) infinite;
}
@keyframes caretBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.ia-output .body { white-space: pre-wrap; }

/* Floating disclaimer */
.ia-demo .ia-foot {
  margin-top: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 12px;
}
.ia-demo .ia-foot .line { flex: 1; height: 1px; background: rgba(255,255,255,0.1); }

/* Section animated divider */
.sec-divider {
  position: relative;
  padding: 80px 32px;
  display: flex; align-items: center; gap: 20px;
  max-width: 1280px; margin: 0 auto;
}
.sec-divider .l {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-4), transparent);
}
.sec-divider .tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-2);
}

/* Marquee — slow + premium tone */
.marquee-track .accent { color: var(--orange); }

/* Pillar tilt overrides */
.pillar-card .num, .pillar-card h3, .pillar-card p, .pillar-card .read,
.pillar-card .glyph {
  position: relative; z-index: 2;
}

/* Manifesto — sticky scrolling */
.manifesto {
  position: relative;
  background: var(--ink);
  color: white;
  padding: 0;
  overflow: hidden;
}
.manifesto::before {
  content: ""; position: absolute;
  top: -20%; left: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(255,107,53,0.32), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}
.manifesto::after {
  content: ""; position: absolute;
  bottom: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(255,107,53,0.15), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.manifesto-inner {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 32px;
  max-width: 1280px; margin: 0 auto;
}
.manifesto h2 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: clamp(40px, 5.8vw, 86px);
  letter-spacing: -0.03em; line-height: 1.02;
  font-variation-settings: "wdth" 90;
  color: white;
}
.manifesto h2 .word {
  display: inline-block;
  margin-right: 0.25em;
  transition: color .6s var(--ease-out), opacity .6s var(--ease-out);
  opacity: 0.18;
}
.manifesto h2 .word.lit { opacity: 1; }
.manifesto h2 .word.accent.lit { color: var(--orange); }
.manifesto-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--orange);
  margin-bottom: 30px;
  display: flex; align-items: center; gap: 12px;
}
.manifesto-eyebrow::before {
  content: ""; height: 1px; width: 50px;
  background: var(--orange);
}

/* Pillar perspective wrapper */
.pillar-card { transform-style: preserve-3d; }

/* Stats strip */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-col {
  padding: 44px 24px;
  border-left: 1px solid var(--line);
}
.stat-col:first-child { border-left: none; }
.stat-val {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700; font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--ink);
  font-variation-settings: "wdth" 90;
}
.stat-lbl { font-size: 13px; color: var(--gray-1); margin-top: 14px; font-weight: 500; }
.stat-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; color: var(--gray-2);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-top: 6px;
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-col:nth-child(odd) { border-left: none; }
  .stat-col:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-col { border-left: none; }
  .stat-col + .stat-col { border-top: 1px solid var(--line); }
}

/* Reduce shapes on small screens */
@media (max-width: 720px) {
  .hero-shape.s1, .hero-shape.s3, .hero-shape.s5, .hero-shape.arrow { display: none; }
  .hero-shape.s2 { width: 60px; height: 60px; }
  .hero-shape.s4 { width: 60px; }
}

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  .hero-word .ww, .hero-plus-glyph { transition: opacity .3s, transform .3s; }
  .hero-shape { animation: none; }
  .hero-plus-glyph.in { animation: none; }
  .ia-output .typing::after { animation: none; }
  .cur-dot, .cur-ring, .scroll-arrow { display: none; }
}

/* ============================================================
   AUTH MODAL — Google + Email OTP
   ============================================================ */
.auth-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(15,12,8,.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.auth-modal {
  background: var(--surface);
  border-radius: 24px;
  padding: 36px 32px 28px;
  width: 100%; max-width: 400px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  animation: slideUp .3s var(--ease-out);
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.auth-close {
  position: absolute; top: 16px; right: 18px;
  font-size: 22px; color: var(--gray-3); line-height: 1;
  cursor: pointer; background: none; border: none;
  transition: color .15s;
}
.auth-close:hover { color: var(--ink); }
.auth-logo { margin-bottom: 20px; }
.auth-message {
  padding: 10px 14px; border-radius: 10px; margin-bottom: 16px;
  background: var(--orange-tint); color: var(--orange-deep);
  font-size: 13.5px; font-weight: 600; line-height: 1.4;
}
.auth-title {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 22px; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.auth-sub { font-size: 13.5px; color: var(--gray-1); line-height: 1.5; margin-bottom: 20px; }
.auth-google {
  width: 100%; padding: 13px 20px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px; background: white;
  font-size: 14px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: all .2s;
  margin-bottom: 16px;
}
.auth-google:hover { border-color: var(--gray-3); box-shadow: 0 2px 10px rgba(0,0,0,.07); transform: translateY(-1px); }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--gray-3); font-size: 12px; margin-bottom: 16px;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--gray-5); border-radius: 12px;
  font-size: 14.5px; color: var(--ink); background: white;
  transition: border-color .2s, box-shadow .2s;
}
.auth-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-glow); }
.auth-input-code {
  letter-spacing: 0.35em; font-family: "JetBrains Mono", monospace;
  font-size: 22px; text-align: center; font-weight: 700;
}
.auth-btn {
  width: 100%; padding: 13px 20px;
  background: var(--ink); color: white;
  border-radius: 12px; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all .2s;
}
.auth-btn:hover:not(:disabled) { background: var(--orange); transform: translateY(-1px); }
.auth-btn:disabled { opacity: .5; cursor: not-allowed; }
.auth-error { font-size: 13px; color: #b91c1c; padding: 8px 12px; background: rgba(239,68,68,.08); border-radius: 8px; }
.auth-note { font-size: 12px; color: var(--gray-3); text-align: center; margin-top: 10px; }
.auth-resend {
  font-size: 13px; color: var(--gray-2); cursor: pointer;
  background: none; border: none; margin-top: 12px; display: block; text-align: center; width: 100%;
  transition: color .15s;
}
.auth-resend:hover { color: var(--orange); }

/* Admin link in nav */
.nav-links a.admin-link { color: var(--orange); font-size: 12px; letter-spacing: 0.05em; }

/* Market CTA banner */
.market-cta-banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 20px; border-radius: 14px; margin-bottom: 24px;
  background: var(--orange-tint); border: 1px solid rgba(255,107,53,.2);
  font-size: 14px; color: var(--ink);
}

/* ============================================================
   TASTE-SKILL DESIGN IMPROVEMENTS
   ============================================================ */

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--orange) 0%, #e55a28 50%, #ff8c5a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Improved hero eyebrow with animated pill */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--orange-tint);
  border: 1px solid rgba(255,107,53,.25);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; font-weight: 600;
  color: var(--orange-deep);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 28px;
  animation: eyebrowIn .6s var(--ease-out) both .2s;
}
@keyframes eyebrowIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Improve stat cards */
.stat-col {
  position: relative;
  padding: 24px 28px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  overflow: hidden;
}
.stat-col::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-soft));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.stat-col:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-col:hover::before { transform: scaleX(1); }

/* Pillar card improvements */
.pillar-card {
  position: relative; overflow: hidden;
}
.pillar-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  transform: scaleX(0);
  transition: transform .5s var(--ease-out);
}
.pillar-card:hover::after { transform: scaleX(1); }

/* Platform cards improvement */
.plat-card {
  position: relative;
  transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s;
}
.plat-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,107,53,.3);
}

/* Better section eyebrow */
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; font-weight: 600;
  color: var(--orange-deep); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.sec-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--orange);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .7; }
}

/* Improved app cards */
.app-card {
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.app-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,107,53,.04), transparent);
  opacity: 0; transition: opacity .3s;
}
.app-card:hover { transform: translateY(-5px); }
.app-card:hover::before { opacity: 1; }

/* Progress bar glow on hover */
.bar .fill {
  position: relative;
}
.bar .fill::after {
  content: '';
  position: absolute; right: 0; top: -2px; bottom: -2px; width: 4px;
  background: white; border-radius: 999px; opacity: .8;
  box-shadow: 0 0 8px var(--orange);
}

/* Footer cream background */
.foot { background: var(--ink); color: var(--gray-4); }
.foot h6 { color: white; }
.foot .foot-grid a:hover { color: var(--orange); }

/* Registro form-card subtle glow on focus-within */
.form-card:focus-within {
  box-shadow: 0 0 0 2px var(--orange-glow), var(--shadow-lg);
}

/* Smooth page entry */
.shell { animation: pageIn .4s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Cream alias */
.cream { background: var(--cream); }
:root { --cream: var(--bg); }

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.booking-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-2);
  margin-bottom: 5px;
}
.auth-input textarea {
  font-family: inherit;
}

/* Nav agenda button */
.nav-agenda-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--orange);
  background: transparent;
  color: var(--orange);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-agenda-btn:hover {
  background: var(--orange);
  color: white;
}
@media (max-width: 768px) {
  .nav-agenda-btn { display: none; }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.wa-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  border-radius: 999px;
  padding: 12px 20px 12px 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity .4s ease, transform .4s ease, box-shadow .2s ease, padding .2s ease;
  pointer-events: none;
}
.wa-fab.wa-fab--in {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-fab:hover {
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  transform: translateY(-2px) scale(1.04);
}
.wa-fab svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.wa-label {
  white-space: nowrap;
}
@media (max-width: 500px) {
  .wa-fab {
    padding: 12px;
    bottom: 20px;
    right: 20px;
  }
  .wa-label { display: none; }
}

