/* =====================================================================
   InstaUPI — Main Stylesheet
   Palette derived from the InstaUPI logo:
   navy #062E63 (wordmark) · blue #0B52F5 (upper arrow)
   teal #08B8B8 ("UPI" + lower arrow) · amber #F6A10A (dot + underline)
   ===================================================================== */

:root {
  /* Brand */
  --navy-950: #021430;
  --navy-900: #04204A;
  --navy: #062E63;
  --blue: #0B52F5;
  --blue-600: #0842CF;
  --blue-50: #EEF3FF;
  --teal: #08B8B8;
  --teal-700: #067F80;
  --teal-50: #E8F8F7;
  --amber: #F6A10A;
  --amber-700: #9A5F00;
  --amber-50: #FFF5E3;
  --slate: #4E6580;

  /* Neutrals */
  --ink: #0B1F3A;
  --text: #33465F;
  --muted: #5B6C83;
  --line: #E2E9F2;
  --line-strong: #CFDAE7;
  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --bg-mint: #F1FAF9;

  /* Status */
  --success: #0F8A5F;
  --success-50: #E7F6EF;
  --danger: #C62B3B;
  --danger-50: #FDECEE;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;

  --fs-hero: clamp(2.35rem, 1.3rem + 4.2vw, 4.35rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 2.2vw, 3rem);
  --fs-h3: clamp(1.06rem, 1rem + .25vw, 1.2rem);
  --fs-lead: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  --fs-body: 1rem;
  --fs-sm: .9rem;
  --fs-xs: .8rem;

  /* Space */
  --container: 1220px;
  --gutter: clamp(1.15rem, .6rem + 2.4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  /* Radius hierarchy: panels > cards > controls */
  --r-panel: 32px;
  --r-card: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* Elevation (navy-tinted, not grey) */
  --sh-1: 0 1px 2px rgba(6, 46, 99, .06), 0 2px 8px -2px rgba(6, 46, 99, .06);
  --sh-2: 0 1px 2px rgba(6, 46, 99, .05), 0 14px 34px -14px rgba(6, 46, 99, .22);
  --sh-3: 0 2px 6px rgba(6, 46, 99, .06), 0 30px 60px -24px rgba(6, 46, 99, .32);
  --sh-blue: 0 10px 24px -10px rgba(11, 82, 245, .55);

  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
code { font-family: var(--font-mono); font-size: .88em; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

/* ---------- Signature motif: the logo's "speed lines" ---------- */
.speed-mark { display: inline-flex; flex-direction: column; gap: 3px; margin-right: .55rem; vertical-align: middle; }
.speed-mark i { display: block; height: 3px; border-radius: 3px; transform: skewX(-28deg); }
.speed-mark i:first-child { width: 16px; background: var(--blue); }
.speed-mark i:last-child { width: 11px; background: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: transparent; --_fg: var(--ink); --_bd: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 46px; padding: .7rem 1.35rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--_bd);
  background: var(--_bg); color: var(--_fg);
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: -.005em;
  cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-sm { min-height: 40px; padding: .5rem 1.05rem; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: .85rem 1.65rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { --_bg: var(--blue); --_fg: #fff; box-shadow: var(--sh-blue); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--blue) 0%, #1C63FF 45%, var(--teal) 140%);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(11, 82, 245, .6); }
.btn-primary:hover::before { opacity: 1; }

.btn-outline { --_bd: var(--line-strong); --_fg: var(--navy); --_bg: rgba(255,255,255,.7); }
.btn-outline:hover { --_bd: var(--navy); color: var(--navy); transform: translateY(-2px); }

.btn-ghost { --_fg: var(--navy); }
.btn-ghost:hover { --_bg: var(--blue-50); color: var(--blue); }

.btn-white { --_bg: #fff; --_fg: var(--navy); box-shadow: 0 12px 26px -12px rgba(2, 20, 48, .5); }
.btn-white:hover { color: var(--blue); transform: translateY(-2px); }
.btn-outline-white { --_bd: rgba(255,255,255,.45); --_fg: #fff; }
.btn-outline-white:hover { --_bg: rgba(255,255,255,.1); --_bd: #fff; color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
  isolation: isolate;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(6, 46, 99, .25);
  transition: opacity .3s;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 158px; height: auto; }

@media (min-width: 1025px) { .primary-nav { justify-self: center; } }
.nav-list { display: flex; gap: .25rem; padding: .3rem; border-radius: var(--r-pill); background: rgba(255,255,255,.6); border: 1px solid rgba(226, 233, 242, .9); }
.site-header.is-scrolled .nav-list { background: transparent; border-color: transparent; }
.nav-link {
  position: relative; display: block; padding: .5rem 1rem; border-radius: var(--r-pill);
  font-family: var(--font-display); font-weight: 600; font-size: .93rem; color: var(--slate);
  transition: color .2s, background-color .2s;
}
.nav-link:hover { color: var(--navy); background: var(--bg-soft); }
.nav-link.is-active { color: var(--navy); background: #fff; box-shadow: var(--sh-1); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; width: 14px; height: 3px; border-radius: 3px;
  background: var(--amber); transform: translateX(-50%);
}

.header-actions { justify-self: end; display: flex; align-items: center; gap: .45rem; }
.nav-actions-mobile { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle-bar { position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s, width .3s; }
.nav-toggle-bar:nth-child(1) { top: 16px; }
.nav-toggle-bar:nth-child(2) { top: 22px; width: 14px; }
.nav-toggle-bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-scrim { position: fixed; inset: 0; z-index: 98; background: rgba(2, 20, 48, .35); opacity: 0; transition: opacity .3s; }
.nav-scrim.is-visible { opacity: 1; }

/* ---------- Section heads ---------- */
.section-head { max-width: 820px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; }
.kicker {
  display: inline-flex; align-items: center; margin-bottom: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: .92rem; color: var(--blue);
}
.kicker-on-dark { color: #8FB2FF; }
.section-title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.032em; line-height: 1.1; text-wrap: balance; }
.section-title.on-dark { color: #fff; }
.section-lead { font-size: var(--fs-lead); color: var(--muted); margin-top: 1.1rem; max-width: 60ch; }
.section-head.center .section-lead { margin-inline: auto; }
.section-head.split .section-lead { margin-top: 0; }
.section-lead.on-dark { color: #B6C6DE; }

/* =====================================================================
   1. HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 4vw, 5rem));
  padding-bottom: clamp(3rem, 2rem + 4vw, 5.5rem);
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(8, 184, 184, .10), transparent 70%),
    radial-gradient(50% 50% at 10% 0%, rgba(11, 82, 245, .07), transparent 70%),
    linear-gradient(180deg, #F7FAFE 0%, #FFFFFF 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg-art { position: absolute; width: min(900px, 80vw); right: -10%; top: 50%; transform: translateY(-48%); opacity: .9; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(6, 46, 99, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 46, 99, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 30% 40%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; margin-bottom: 1.6rem;
  padding: .45rem .95rem .45rem .8rem; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1);
  font-family: var(--font-display); font-weight: 600; font-size: .88rem; color: var(--navy);
}
.hero-title { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; max-width: 13.5ch; text-wrap: balance; }
.hero-title::after {
  /* echoes the amber underline under "Insta" in the logo */
  content: ""; display: block; width: 92px; height: 6px; margin-top: 1.4rem; border-radius: 6px; background: var(--amber);
}
.hero-lead { font-size: var(--fs-lead); color: var(--muted); max-width: 52ch; margin: 1.4rem 0 2.1rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 500; color: var(--navy); }
.hero-points .icon { width: 1.25rem; height: 1.25rem; padding: 3px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); stroke-width: 3; }
.illustration-note { position: relative; margin-top: 1.5rem; font-size: var(--fs-xs); color: var(--muted); text-align: right; }

/* Hero stage */
.hero-stage { position: relative; min-height: 600px; display: grid; place-items: center; }
.phone {
  position: relative; z-index: 3; width: 286px; height: 580px; padding: 11px;
  border-radius: 46px; background: var(--navy);
  box-shadow: 0 0 0 1.5px #0d3f80 inset, var(--sh-3), 0 50px 90px -40px rgba(11, 82, 245, .45);
}
.phone-notch { position: absolute; top: 20px; left: 50%; width: 88px; height: 24px; border-radius: 20px; background: var(--navy); transform: translateX(-50%); z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 36px; background: #fff; overflow: hidden; display: flex; flex-direction: column; padding: 54px 20px 22px; }
.phone-top { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: .95rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.phone-mark { width: 26px; height: 26px; }
.phone-states { position: relative; flex: 1; }
.pstate { position: absolute; inset: 0; padding-top: 18px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.pstate.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s; }
.ps-label { font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: .9rem; }
.ps-item { display: grid; grid-template-columns: 42px 1fr auto; gap: .7rem; align-items: center; padding: .65rem 0; border-bottom: 1px dashed var(--line); }
.ps-item b { display: block; font-size: .86rem; color: var(--ink); font-weight: 600; }
.ps-item small { font-size: .74rem; color: var(--muted); }
.ps-item em { font-style: normal; font-weight: 600; font-size: .86rem; color: var(--ink); }
.ps-thumb { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--teal-50), #c9efec); }
.ps-thumb-b { background: linear-gradient(135deg, var(--amber-50), #ffe2ad); }
.ps-total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.1rem 0 auto; }
.ps-total span { font-size: .84rem; color: var(--muted); }
.ps-total strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); letter-spacing: -.02em; }
.ps-btn { display: block; text-align: center; padding: .85rem; border-radius: 14px; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.ps-qr { align-self: center; width: 190px; padding: 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); position: relative; }
.ps-qr::before, .ps-qr::after { content: ""; position: absolute; width: 26px; height: 26px; border: 3px solid var(--teal); }
.ps-qr::before { top: -6px; left: -6px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.ps-qr::after { bottom: -6px; right: -6px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.ps-amount { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; color: var(--navy); margin-top: 1.1rem; letter-spacing: -.02em; }
.ps-timer { display: flex; align-items: center; justify-content: center; gap: .35rem; margin-top: .35rem; font-size: .78rem; color: var(--amber-700); font-weight: 600; }
.ps-timer .icon { width: 14px; height: 14px; }
.ps-success { align-self: center; margin-top: 2.2rem; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: var(--success-50); color: var(--success); box-shadow: 0 0 0 10px rgba(15, 138, 95, .06); }
.ps-success .icon { width: 42px; height: 42px; stroke-width: 3; }
.pstate.is-active .ps-success { animation: pop .6s var(--ease) both; }
.ps-done-title { text-align: center; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.2rem; margin: 1.4rem 0 .25rem; }
.ps-done-sub { text-align: center; font-size: .84rem; color: var(--muted); }
.ps-receipt { margin-top: auto; display: flex; justify-content: space-between; padding: .8rem 1rem; border-radius: 14px; background: var(--bg-soft); font-size: .8rem; }
.ps-receipt b { color: var(--success); letter-spacing: .02em; }
.phone-steps { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.phone-steps i { width: 6px; height: 6px; border-radius: 6px; background: var(--line-strong); transition: width .4s var(--ease), background-color .4s; }
.phone-steps i.is-on { width: 22px; background: var(--blue); }

/* QR rendered by JS */
.qr svg { width: 100%; height: auto; color: var(--navy); }
.qr-light svg { color: var(--navy); }

/* Stage satellites */
.stage-dashboard {
  position: absolute; z-index: 1; top: 8%; left: -4%; width: 250px;
  padding: 1.1rem; border-radius: var(--r-card);
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--sh-2);
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9rem; }
.dash-title { font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--navy); }
.dash-chip { font-size: .66rem; font-weight: 600; color: var(--muted); padding: .15rem .5rem; border-radius: var(--r-pill); background: var(--bg-soft); }
.dash-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.dash-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--teal), rgba(8, 184, 184, .35)); }
.dash-bars i:nth-child(6) { background: linear-gradient(180deg, var(--blue), rgba(11, 82, 245, .4)); }
.dash-rows { display: grid; gap: .55rem; margin-top: .85rem; }
.dash-row { display: flex; align-items: center; gap: .55rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot-teal { background: var(--teal); } .dot-amber { background: var(--amber); }
.bar { height: 7px; border-radius: 7px; background: var(--line); }
.w60 { width: 60%; } .w45 { width: 45%; } .w70 { width: 55%; }
.pill { margin-left: auto; font-size: .64rem; font-weight: 700; padding: .12rem .5rem; border-radius: var(--r-pill); }
.pill-ok { background: var(--success-50); color: var(--success); }
.pill-wait { background: var(--amber-50); color: var(--amber-700); }

.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: .7rem;
  padding: .75rem 1rem .75rem .75rem; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2);
}
.float-card b { display: block; font-family: var(--font-display); font-size: .86rem; color: var(--ink); }
.float-card small { font-size: .74rem; color: var(--muted); }
.float-card code { color: var(--teal-700); }
.fc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.fc-icon .icon { width: 20px; height: 20px; }
.fc-icon-blue { background: var(--blue-50); color: var(--blue); }
.fc-icon-teal { background: var(--teal-50); color: var(--teal-700); }
.fc-qr { top: 70%; left: -6%; }
.fc-hook { top: 18%; right: -4%; }

/* Gentle idle motion */
.float-a { animation: floatY 6s ease-in-out infinite; }
.float-b { animation: floatY 7s ease-in-out -2s infinite; }
.float-slow { animation: floatY 9s ease-in-out -1s infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }

/* =====================================================================
   2. HOW IT WORKS
   ===================================================================== */
.how { background: #fff; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps-track { position: absolute; top: 58px; left: 12.5%; right: 12.5%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); }
.steps-progress { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 2px; }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: .82rem; color: var(--amber-700); margin-bottom: .85rem; letter-spacing: .02em; }
.step-icon {
  position: relative; z-index: 1; width: 76px; height: 76px; margin: 0 auto 1.5rem;
  display: grid; place-items: center; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); color: var(--blue); box-shadow: var(--sh-2);
  transition: transform .35s var(--ease), background-color .35s, color .35s, box-shadow .35s;
}
.step-icon::before { content: ""; position: absolute; inset: -8px; border-radius: 30px; background: #fff; z-index: -1; }
.step-icon .icon { width: 30px; height: 30px; stroke-width: 1.8; }
.step:nth-child(odd) .step-icon { color: var(--teal-700); }
.step:hover .step-icon { transform: translateY(-6px); background: var(--navy); color: #fff; box-shadow: var(--sh-3); }
.step h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: .55rem; }
.step p { font-size: .95rem; color: var(--muted); max-width: 30ch; margin-inline: auto; }

/* =====================================================================
   3. FEATURES — bento
   ===================================================================== */
.features { background: var(--bg-soft); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.bento-card {
  position: relative; padding: 1.75rem; border-radius: var(--r-card);
  background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.bento-card h3 { font-size: var(--fs-h3); font-weight: 700; margin: 1.1rem 0 .5rem; }
.bento-card p { font-size: .94rem; color: var(--muted); }
.bento-hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; padding: 2.1rem; overflow: hidden; background: linear-gradient(160deg, #fff 30%, var(--blue-50)); }
.bento-hero h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); letter-spacing: -.025em; }
.bento-hero p { font-size: 1rem; max-width: 44ch; }
.bento-visual { flex: 1; display: grid; place-items: center; margin-top: 1.5rem; min-height: 220px; }
.req-stack { position: relative; width: 100%; max-width: 360px; height: 230px; }
.req { position: absolute; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem 1rem; padding: 1rem 1.1rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); transition: transform .5s var(--ease); }
.req-id { font-family: var(--font-mono); font-size: .76rem; color: var(--muted); }
.req b { grid-column: 1; font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); letter-spacing: -.02em; }
.req-st { grid-column: 2; grid-row: 1 / 3; font-style: normal; font-size: .72rem; font-weight: 700; padding: .25rem .65rem; border-radius: var(--r-pill); }
.st-paid { background: var(--success-50); color: var(--success); }
.st-new { background: var(--blue); color: #fff; }
.st-pend { background: var(--amber-50); color: var(--amber-700); }
.req-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .45rem; padding-top: .7rem; border-top: 1px dashed var(--line); }
.req-meta em { font-style: normal; font-size: .72rem; font-weight: 600; color: var(--teal-700); background: var(--teal-50); padding: .2rem .55rem; border-radius: var(--r-pill); }
.req-1 { top: 0; transform: scale(.9) translateY(-6px); opacity: .7; }
.req-2 { top: 44px; z-index: 2; border-color: #C8D7FF; box-shadow: var(--sh-3); }
.req-3 { top: 170px; transform: scale(.9); opacity: .7; }
.bento-hero:hover .req-1 { transform: scale(.9) translateY(-14px); }
.bento-hero:hover .req-3 { transform: scale(.9) translateY(8px); }
.bento-hero:hover .req-2 { transform: translateY(-3px); }

.bento-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: center; }
.bento-dark { background: var(--navy); border-color: var(--navy); }
.bento-dark h3 { color: #fff; }
.bento-dark p { color: #B6C6DE; }
.bento-dark:hover { box-shadow: 0 20px 40px -18px rgba(6, 46, 99, .6); }
.bento-code { margin: 0; padding: 1rem; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-family: var(--font-mono); font-size: .78rem; line-height: 1.7; color: #DCE6F5; white-space: pre-wrap; word-break: break-word; }
.bento-tint { background: var(--teal-50); border-color: #CDEEEC; }

.f-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; transition: transform .35s var(--ease); }
.f-icon .icon { width: 24px; height: 24px; }
.bento-card:hover .f-icon { transform: rotate(-6deg) scale(1.06); }
.f-blue { background: var(--blue-50); color: var(--blue); }
.f-teal { background: var(--teal-50); color: var(--teal-700); }
.f-amber { background: var(--amber-50); color: var(--amber-700); }
.f-on-dark { background: rgba(255,255,255,.1); color: #fff; }
.bento-tint .f-icon { background: #fff; }

/* syntax colours shared by bento + editor */
.t-k { color: #FF9EC4; } .t-s { color: #8FE3C7; } .t-n { color: #FFC66D; } .t-p { color: #8FB2FF; } .t-c { color: #7C8DA8; font-style: italic; } .t-f { color: #6EE7E7; }

/* =====================================================================
   4. USE CASES
   ===================================================================== */
.usecases { background: #fff; }
.uc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.uc-card { border-radius: var(--r-card); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.uc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.uc-media { margin: 0; overflow: hidden; }
.uc-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .7s var(--ease); }
.uc-card:hover .uc-media img { transform: scale(1.04); }
.uc-large { display: flex; flex-direction: column; }
.uc-body { padding: 1.75rem 1.9rem 2rem; }
.uc-body h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.55rem); letter-spacing: -.025em; margin: .9rem 0 .5rem; }
.uc-body p { color: var(--muted); }
.uc-tag { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-display); font-weight: 700; font-size: .86rem; color: var(--blue); padding: .35rem .75rem .35rem .6rem; border-radius: var(--r-pill); background: var(--blue-50); }
.uc-tag .icon { width: 1rem; height: 1rem; }
.uc-reverse { flex-direction: column-reverse; background: var(--bg-mint); border-color: #D6F0EE; }
.uc-reverse .uc-tag { background: #fff; color: var(--teal-700); }
.uc-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.uc-compact { padding: .7rem .7rem 1.4rem; background: var(--bg-soft); border-color: transparent; }
.uc-compact .uc-media { border-radius: 16px; margin-bottom: 1.1rem; }
.uc-compact .uc-tag { margin: 0 .55rem .55rem; background: #fff; }
.uc-compact p { padding: 0 .75rem; font-size: .93rem; color: var(--muted); }

/* =====================================================================
   5. DARK HIGHLIGHT
   ===================================================================== */
.dark-band { background: var(--navy-950); color: #C9D6EA; overflow: hidden; isolation: isolate; }
.dark-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(143, 178, 255, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 80%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 80%);
}
.dark-glow { position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(11, 82, 245, .38), rgba(8, 184, 184, .14) 45%, transparent 70%); filter: blur(10px); animation: glowShift 12s ease-in-out infinite alternate; }
@keyframes glowShift { to { transform: translateY(-46%) translateX(-40px) scale(1.06); } }
.dark-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.dark-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.8rem; margin: 2.4rem 0 2.6rem; }
.dark-benefits li { display: flex; gap: .9rem; }
.db-icon { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(8, 184, 184, .14); color: #5BE0DD; border: 1px solid rgba(8, 184, 184, .25); }
.db-icon .icon { width: 20px; height: 20px; }
.dark-benefits h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.dark-benefits p { font-size: .9rem; color: #9FB2CF; }

.dark-visual { position: relative; }
.console { position: relative; border-radius: var(--r-panel); padding: 1.1rem; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.console-head { display: flex; align-items: center; gap: .8rem; padding: .35rem .5rem 1rem; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: .92rem; }
.console-dots { display: inline-flex; gap: 6px; }
.console-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.2); }
.console-dots i:first-child { background: #FF6B6B; } .console-dots i:nth-child(2) { background: var(--amber); } .console-dots i:last-child { background: var(--teal); }
.console-live { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; color: #8FE3C7; }
.console-live i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.console-body { display: grid; grid-template-columns: 180px 1fr; gap: 1rem; padding: 1rem; border-radius: 22px; background: rgba(2, 20, 48, .55); }
.console-sum { position: relative; display: grid; place-items: center; align-content: center; padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); text-align: center; }
.sum-ring { width: 120px; transform: rotate(-90deg); }
.sum-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.r-track { stroke: rgba(255,255,255,.1); }
.r-fill { stroke: var(--teal); stroke-dasharray: 226 302; filter: drop-shadow(0 0 6px rgba(8,184,184,.6)); }
.sum-big { position: absolute; top: calc(1rem + 44px); left: 0; right: 0; font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.1rem; }
.sum-small { margin-top: .6rem; font-size: .78rem; color: #9FB2CF; }
.console-list { display: grid; gap: .5rem; align-content: start; }
.console-list li { display: grid; grid-template-columns: 1fr auto auto; gap: .8rem; align-items: center; padding: .7rem .85rem; border-radius: 12px; background: rgba(255,255,255,.05); font-size: .82rem; }
.console-list span { color: #DCE6F5; font-family: var(--font-mono); font-size: .78rem; }
.console-list em { font-style: normal; color: #fff; font-weight: 600; }
.st { font-size: .7rem; padding: .15rem .5rem; border-radius: var(--r-pill); }
.st-ok { background: rgba(61, 220, 151, .14); color: #6BE8B0; }
.st-wait { background: rgba(246, 161, 10, .16); color: #FFC66D; }
.console-note { margin: .8rem .5rem 0; font-size: .72rem; color: #7C8DA8; }
.dark-float { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .95rem; border-radius: var(--r-pill); background: #fff; color: var(--navy); font-family: var(--font-display); font-weight: 700; font-size: .82rem; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.dark-float .icon { width: 1rem; height: 1rem; color: var(--teal-700); }
.df-1 { top: -18px; right: 8%; }
.df-2 { bottom: -18px; left: 6%; background: var(--amber); color: var(--navy-950); }
.df-2 .icon { color: var(--navy-950); }

/* =====================================================================
   6. DEVELOPERS
   ===================================================================== */
.developers { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.dev-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 1rem + 4vw, 5rem); align-items: center; }
.dev-list { display: grid; gap: 1.05rem; margin: 2.1rem 0 2.4rem; }
.dev-list li { display: flex; gap: .95rem; align-items: flex-start; }
.dev-list .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: var(--blue); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.dev-list li:nth-child(even) .icon { color: var(--teal-700); }
.dev-list h3 { font-size: 1rem; font-weight: 700; margin-bottom: .1rem; }
.dev-list p { font-size: .92rem; color: var(--muted); }

.editor { border-radius: var(--r-card); background: #0A1B36; border: 1px solid #142B52; box-shadow: var(--sh-3); overflow: hidden; min-width: 0; }
.editor-bar { display: flex; align-items: center; gap: 1rem; padding: .7rem .9rem; background: #071429; border-bottom: 1px solid #142B52; }
.editor-tabs { display: flex; gap: .25rem; overflow-x: auto; }
.editor-tab { border: 0; background: transparent; color: #7C8DA8; font-family: var(--font-mono); font-size: .8rem; padding: .45rem .8rem; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.editor-tab:hover { color: #DCE6F5; }
.editor-tab.is-active { background: #13284A; color: #fff; }
.copy-btn { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; border: 1px solid #1E3A66; background: transparent; color: #B6C6DE; font-size: .8rem; font-weight: 600; padding: .4rem .75rem; border-radius: 8px; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.copy-btn .icon { width: 15px; height: 15px; }
.copy-btn:hover { background: #13284A; color: #fff; }
.copy-btn.is-copied { border-color: var(--teal); color: #6EE7E7; }
.editor-panels { position: relative; }
.code { margin: 0; padding: 1.2rem 0; overflow-x: auto; font-family: var(--font-mono); font-size: clamp(.74rem, .7rem + .15vw, .84rem); line-height: 1.75; color: #DCE6F5; tab-size: 2; }
.code code { display: block; font-size: inherit; counter-reset: line; min-width: max-content; }
.code .line { display: block; padding-right: 1.5rem; }
.code .line::before { counter-increment: line; content: counter(line); display: inline-block; width: 3.2rem; padding-right: 1.1rem; text-align: right; color: #3D5478; user-select: none; }
.code .line:hover { background: rgba(255,255,255,.03); }
.editor-foot { display: flex; gap: .5rem; align-items: center; margin: 0; padding: .8rem 1.1rem; border-top: 1px solid #142B52; font-size: .78rem; color: #9FB2CF; background: #071429; }
.editor-foot .icon { width: 15px; height: 15px; color: var(--amber); }

/* =====================================================================
   7. WHY CHOOSE
   ===================================================================== */
.why { background: #fff; }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.why-visual { position: relative; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-radius: var(--r-panel); background: radial-gradient(80% 80% at 20% 10%, var(--teal-50), transparent 70%), radial-gradient(70% 70% at 90% 90%, var(--blue-50), transparent 70%), var(--bg-soft); }
.merchant-card { padding: 1.5rem; border-radius: var(--r-card); background: #fff; box-shadow: var(--sh-3); }
.mc-head { display: flex; align-items: center; gap: .8rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.mc-head img { width: 42px; height: 42px; padding: 6px; border-radius: 12px; background: var(--bg-soft); }
.mc-head b { display: block; font-family: var(--font-display); color: var(--ink); }
.mc-head small { color: var(--muted); font-size: .8rem; }
.mc-split { display: flex; align-items: center; gap: 1.5rem; padding: 1.4rem 0; }
.mc-donut { position: relative; width: 120px; flex: none; }
.mc-donut svg { transform: rotate(-90deg); }
.mc-donut circle { fill: none; stroke-width: 14; stroke-linecap: round; }
.d-track { stroke: var(--bg-soft); }
.d-a { stroke: var(--blue); stroke-dasharray: 180 289; }
.d-b { stroke: var(--teal); stroke-dasharray: 70 289; stroke-dashoffset: -190; }
.mc-donut span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: .78rem; line-height: 1.2; color: var(--navy); }
.mc-legend { display: grid; gap: .55rem; font-size: .88rem; color: var(--text); }
.mc-legend li { display: flex; align-items: center; gap: .55rem; }
.mc-legend i { width: 10px; height: 10px; border-radius: 3px; }
.lg-a { background: var(--blue); } .lg-b { background: var(--teal); } .lg-c { background: var(--line-strong); }
.mc-line { height: 90px; border-radius: var(--r-md); background: var(--bg-soft); padding: 10px 0 0; overflow: hidden; }
.mc-line svg { width: 100%; height: 100%; }
.ml-area { fill: rgba(8, 184, 184, .14); }
.ml-stroke { fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mc-note { margin: .8rem 0 0; font-size: .72rem; color: var(--muted); }
.why-chip { position: absolute; right: -14px; top: 26px; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .82rem; box-shadow: var(--sh-2); }
.why-chip .icon { width: 1rem; height: 1rem; color: #6EE7E7; stroke-width: 3; }

.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.7rem 2rem; margin-top: 2.4rem; }
.why-list li { display: flex; flex-direction: column; gap: .75rem; }
.w-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.why-list li:nth-child(3n+2) .w-icon { background: var(--teal-50); color: var(--teal-700); }
.why-list li:nth-child(3n) .w-icon { background: var(--amber-50); color: var(--amber-700); }
.w-icon .icon { width: 21px; height: 21px; }
.why-list h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: .3rem; }
.why-list p { font-size: .92rem; color: var(--muted); }

/* =====================================================================
   8. ABOUT
   ===================================================================== */
.about { background: var(--bg-mint); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.about-copy .section-title { margin-bottom: 1.6rem; }
.about-copy p { font-size: 1.02rem; max-width: 60ch; }
.tagline { font-style: normal; font-family: var(--font-display); font-weight: 700; color: var(--navy); }
.about-values { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.about-values div { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: var(--r-pill); background: #fff; border: 1px solid #D6F0EE; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--navy); }
.about-values .icon { width: 1.05rem; height: 1.05rem; color: var(--teal-700); }
.about-visual { position: relative; padding-bottom: 4.5rem; }
.about-visual > img { width: 100%; border-radius: var(--r-panel); box-shadow: var(--sh-2); }
.mission-card { position: absolute; left: -2rem; bottom: 0; width: min(330px, 85%); padding: 1.5rem; border-radius: var(--r-card); background: var(--navy); color: #C9D6EA; box-shadow: var(--sh-3); }
.mission-card::before { content: ""; position: absolute; left: 1.5rem; top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--amber); }
.mission-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1); color: var(--amber); margin-bottom: .8rem; }
.mission-icon .icon { width: 20px; height: 20px; }
.mission-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: .45rem; }
.mission-card p { font-size: .92rem; }

/* =====================================================================
   9. FAQ
   ===================================================================== */
.faq { background: #fff; }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-help { display: grid; gap: .6rem; margin-top: 2rem; }
.help-line { display: inline-flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--navy); }
.help-line .icon { width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--blue-50); color: var(--blue); }
.help-line:hover { color: var(--blue); }

.accordion { display: grid; gap: .8rem; }
.acc-item { border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.acc-item.is-open { border-color: transparent; background: var(--bg-soft); box-shadow: inset 3px 0 0 var(--blue); }
.acc-item h3 { font-size: 1rem; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: clamp(.98rem, .95rem + .15vw, 1.08rem); color: var(--ink); border-radius: 18px; }
.acc-icon { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--bg-soft); color: var(--navy); transition: transform .35s var(--ease), background-color .3s, color .3s; }
.acc-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); background: var(--blue); color: #fff; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-content { overflow: hidden; }
.acc-content p { padding: 0 1.4rem 1.35rem; color: var(--muted); max-width: 64ch; }

/* =====================================================================
   10. CONTACT
   ===================================================================== */
.contact { background: var(--bg-soft); }
.contact-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: 1.5rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; }
a.info-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); color: var(--text); }
.info-card small { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .2rem; }
.info-card b { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); word-break: break-word; }
.info-card address { font-size: .95rem; color: var(--ink); line-height: 1.6; }
.info-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.info-icon .icon { width: 21px; height: 21px; }
.ii-blue { background: var(--blue-50); color: var(--blue); }
.ii-teal { background: var(--teal-50); color: var(--teal-700); }
.ii-amber { background: var(--amber-50); color: var(--amber-700); }

.contact-form { padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-panel); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: .45rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #8796AB; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AEBDD0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 82, 245, .14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #FFFBFB; }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(198, 43, 59, .12); }
.field-error { min-height: 0; margin: .35rem 0 0; font-size: .8rem; font-weight: 500; color: var(--danger); }
.field-error:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 2.6rem; cursor: pointer; }
.select-wrap .icon { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--slate); width: 18px; height: 18px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 1.6rem; }
.form-hint { font-size: .82rem; color: var(--muted); max-width: 40ch; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading .spinner { display: inline-block; }
.is-loading .btn-icon { display: none; }
.btn[disabled] { cursor: progress; opacity: .85; }
.form-status { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: var(--r-md); font-size: .92rem; }
.form-status .icon { width: 20px; height: 20px; margin-top: 1px; }
.form-status.is-success { background: var(--success-50); color: #0B6B4A; }
.form-status.is-error { background: var(--danger-50); color: #9B1D2B; }

/* =====================================================================
   11. FINAL CTA
   ===================================================================== */
.final-cta { padding-block: 0 var(--section-y); background: var(--bg-soft); }
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: center;
  padding: clamp(2.2rem, 1.5rem + 3.5vw, 4.5rem);
  border-radius: var(--r-panel);
  background: linear-gradient(115deg, var(--blue) 0%, #1A5CF4 45%, #0A8FB5 80%, var(--teal) 110%);
  color: #E3ECFF;
}
.cta-arcs { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-arcs span { position: absolute; border-radius: 50%; border: 36px solid rgba(255,255,255,.08); }
.cta-arcs span:first-child { width: 420px; height: 420px; right: -120px; top: -220px; }
.cta-arcs span:last-child { width: 320px; height: 320px; right: 160px; bottom: -240px; border-color: rgba(246, 161, 10, .25); border-width: 20px; }
.cta-copy h2 { color: #fff; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.7rem); font-weight: 800; letter-spacing: -.032em; line-height: 1.1; max-width: 18ch; }
.cta-copy p { margin-top: 1rem; font-size: var(--fs-lead); max-width: 52ch; color: #E3ECFF; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; }

/* =====================================================================
   12. FOOTER
   ===================================================================== */
.site-footer { position: relative; background: var(--navy-950); color: #9FB2CF; padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--blue) 0 40%, var(--teal) 40% 80%, var(--amber) 80%); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-logo { width: 170px; margin-bottom: 1.3rem; }
.footer-brand p { font-size: .93rem; max-width: 34ch; }
.socials { display: flex; gap: .55rem; margin-top: 1.5rem; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #C9D6EA; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer-col h3 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: #9FB2CF; font-size: .93rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; font-size: .93rem; }
.footer-contact .icon { width: 17px; height: 17px; margin-top: 4px; color: #5BE0DD; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.4rem; padding-bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px)); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.footer-bottom a { color: #9FB2CF; }
.footer-bottom a:hover { color: #fff; }

.to-top { position: fixed; right: 1.2rem; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 48px; height: 48px; border-radius: 16px; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--sh-2); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease), background-color .2s; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--blue); }

/* =====================================================================
   Reveal (enhanced only when JS + motion are available)
   ===================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js.gsap-ready [data-reveal] { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .float-a, .float-b, .float-slow, .dark-glow { animation: none !important; }
}
