/* =====================================================
   ScaffVision Site — Light Enterprise Design System
   Primary #0D4582 · Accent #3B82F6 · Ink #222E3E · BG #FFFFFF
   ===================================================== */

:root {
  --primary: #0D4582;
  --primary-d: #0A3766;
  --accent: #3B82F6;
  --accent-l: #60A0FF;
  --ink: #222E3E;
  --ink-2: #2C3A4D;

  --bg: #FFFFFF;
  --bg-tint: #F5F8FC;
  --bg-tint2: #EDF3FA;
  --bg-blue: #0D4582;
  --line: #E4EAF1;
  --line-2: #D6E0EC;

  --text: #222E3E;
  --text-soft: #475568;
  --muted: #6B7889;
  --muted-d: #9AA6B4;

  --r-xl: 26px;
  --r-l: 18px;
  --r-m: 14px;
  --r-s: 10px;

  --sh-1: 0 1px 2px rgba(34,46,62,.05), 0 6px 22px rgba(34,46,62,.06);
  --sh-2: 0 20px 50px rgba(13,69,130,.14);
  --sh-blue: 0 14px 36px rgba(13,69,130,.28);

  --maxw: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --grad: linear-gradient(135deg, #3B82F6 0%, #0D4582 100%);
  --grad-soft: linear-gradient(135deg, #5B98F8, #0D4582);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

h1,h2,h3,h4 { font-weight: 700; letter-spacing: -0.028em; line-height: 1.08; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: 1.28rem; letter-spacing: -0.02em; }
p { margin: 0; color: var(--text-soft); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.gtext { color: var(--accent); }

/* ---- Kicker (distinct section label) ---- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary);
}
.kicker::before { content:''; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.dark .kicker { color: var(--accent-l); }

/* ---- Pill ---- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; padding: 8px 16px 8px 12px;
  border-radius: 999px; background: var(--bg-tint2); color: var(--primary);
  border: 1px solid var(--line-2);
}
.pill .led { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(59,130,246,.5); animation: led 1.8s infinite; }
@keyframes led { 0%{box-shadow:0 0 0 0 rgba(59,130,246,.5)} 70%{box-shadow:0 0 0 8px rgba(59,130,246,0)} 100%{box-shadow:0 0 0 0 rgba(59,130,246,0)} }
.dark .pill { background: rgba(255,255,255,.08); color: #CFE0F5; border-color: rgba(255,255,255,.14); }

/* ---- Buttons (squared, not pill — distinct) ---- */
.btn {
  --py:14px; --px:24px;
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding: var(--py) var(--px); font-size:15.5px; font-weight:650;
  border-radius: 12px; border:1px solid transparent; cursor:pointer;
  transition: transform .22s var(--ease), box-shadow .28s var(--ease), background .22s, color .22s, border-color .22s;
  white-space:nowrap;
}
.btn svg{ width:17px; height:17px; }
.btn-lg{ --py:16px; --px:30px; font-size:16.5px; }
.btn-primary{ background: var(--grad); color:#fff; box-shadow: var(--sh-blue); }
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 42px rgba(13,69,130,.38); }
.btn-light{ background:#fff; color: var(--primary); border-color: var(--line-2); }
.btn-light:hover{ transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn-ghost{ background:#fff; color: var(--primary); border-color: var(--line-2); }
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }
.btn-ghost-d{ background: rgba(255,255,255,.06); color:#fff; border-color: rgba(255,255,255,.22); }
.btn-ghost-d:hover{ background: rgba(255,255,255,.12); border-color:#fff; }
.btn-dark{ background: var(--ink); color:#fff; }
.btn-dark:hover{ transform: translateY(-2px); box-shadow: var(--sh-2); }

/* ============ Navigation ============ */
.nav { position: sticky; top:0; z-index:100; background:#fff; transition: box-shadow .3s, border-color .3s; border-bottom:1px solid var(--line); }
.nav.scrolled { box-shadow: 0 4px 24px rgba(34,46,62,.07); }
.nav-wrap { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; height:82px; gap:16px; }
.nav-left,.nav-right{ display:flex; align-items:center; gap:30px; }
.nav-right{ justify-content:flex-end; }
.nav-center{ display:flex; justify-content:center; }
.nav-logo img{ height:52px; width:auto; }
.nav .link{ font-size:15px; font-weight:550; color:var(--text-soft); position:relative; padding:4px 0; transition:color .2s; }
.nav .link::after{ content:''; position:absolute; left:0; bottom:-3px; height:2px; width:0; background:var(--accent); transition:width .25s var(--ease); }
.nav .link:hover,.nav .link.active{ color:var(--primary); }
.nav .link:hover::after,.nav .link.active::after{ width:100%; }
.nav-toggle{ display:none; width:44px; height:44px; border-radius:11px; background:var(--bg-tint); border:1px solid var(--line); align-items:center; justify-content:center; cursor:pointer; }
.nav-toggle span,.nav-toggle span::before,.nav-toggle span::after{ content:''; display:block; width:18px; height:2px; background:var(--ink); border-radius:2px; position:relative; }
.nav-toggle span::before{ position:absolute; top:-6px; }
.nav-toggle span::after{ position:absolute; top:6px; }

/* ============ Hero (LIGHT) ============ */
.hero { position:relative; background: var(--bg); overflow:hidden; padding: 96px 0 104px; isolation:isolate; }
.hero-mesh { position:absolute; inset:0; z-index:-2;
  background:
    radial-gradient(48% 42% at 88% 6%, rgba(59,130,246,.12), transparent 60%),
    radial-gradient(40% 40% at 4% 30%, rgba(13,69,130,.07), transparent 60%);
}
.hero-grid-bg { position:absolute; inset:0; z-index:-2; opacity:.6;
  background-image: linear-gradient(rgba(13,69,130,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(13,69,130,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(70% 65% at 70% 20%, #000, transparent 78%);
          mask-image: radial-gradient(70% 65% at 70% 20%, #000, transparent 78%);
}
.hero-noise { display:none; }
.hero-inner { display:grid; grid-template-columns: 1.04fr .96fr; gap:56px; align-items:center; }

/* ===== Redesigned centered hero (home) ===== */
.hero--home { padding: 78px 0 0; }
.hero-center { max-width: 940px; margin: 0 auto; text-align: center; position: relative; }
.trust-badge {
  display:inline-flex; align-items:center; gap:12px; padding:7px 16px 7px 7px;
  background:#fff; border:1px solid var(--line); border-radius:999px; box-shadow:var(--sh-1);
  font-size:13.5px; font-weight:600; color:var(--text-soft); margin-bottom:28px;
}
.trust-badge .avs{ display:flex; }
.trust-badge .avs i{ width:26px; height:26px; border-radius:50%; border:2px solid #fff; margin-left:-9px; background:var(--grad); display:inline-block; }
.trust-badge .avs i:first-child{ margin-left:0; }
.trust-badge .avs i:nth-child(2){ background:linear-gradient(135deg,#60A0FF,#3B82F6); }
.trust-badge .avs i:nth-child(3){ background:linear-gradient(135deg,#0D4582,#222E3E); }
.trust-badge .st{ color:#F5A623; letter-spacing:1px; }
.hero-center h1{ font-size:clamp(2.7rem,6vw,5rem); line-height:.98; letter-spacing:-.045em; margin-bottom:24px; }
.hero-center .sub{ font-size:20px; color:var(--text-soft); max-width:620px; margin:0 auto 34px; }
.hero-center .hero-cta{ justify-content:center; }
.hero-center .hero-micro{ justify-content:center; }

/* big product frame */
.hero-stage{ position:relative; margin-top:64px; padding-bottom:90px; }
.hero-stage::before{
  content:''; position:absolute; left:50%; top:-4%; transform:translateX(-50%);
  width:78%; height:70%; z-index:0;
  background:radial-gradient(60% 60% at 50% 40%, rgba(59,130,246,.32), transparent 70%);
  filter:blur(20px);
}
.frame{
  position:relative; z-index:1; max-width:1080px; margin:0 auto;
  background:#fff; border:1px solid var(--line); border-radius:20px;
  box-shadow:0 40px 90px rgba(13,69,130,.22), 0 8px 24px rgba(34,46,62,.08);
  overflow:hidden;
}
.frame-bar{ display:flex; align-items:center; gap:8px; padding:14px 18px; background:var(--bg-tint); border-bottom:1px solid var(--line); }
.frame-bar i{ width:12px; height:12px; border-radius:50%; background:#CBD6E3; }
.frame-bar i:first-child{ background:#F87171; } .frame-bar i:nth-child(2){ background:#FBBF24; } .frame-bar i:nth-child(3){ background:#22C55E; }
.frame-bar .url{ margin-left:14px; font-size:12.5px; color:var(--muted); font-weight:600; background:#fff; border:1px solid var(--line); border-radius:8px; padding:5px 14px; }
.frame-bar .live{ margin-left:auto; font-size:11px; font-weight:800; letter-spacing:.06em; color:#16A34A; display:flex; align-items:center; gap:6px; }
.frame-bar .live::before{ content:''; width:7px; height:7px; border-radius:50%; background:#16A34A; animation:led 1.6s infinite; }
.frame-body{ display:grid; grid-template-columns:64px 1.7fr 1fr; gap:0; }
.fb-rail{ border-right:1px solid var(--line); padding:18px 0; display:flex; flex-direction:column; align-items:center; gap:16px; background:#fff; }
.fb-rail .rl{ width:38px; height:38px; border-radius:11px; background:var(--bg-tint); display:flex; align-items:center; justify-content:center; color:var(--muted); }
.fb-rail .rl.on{ background:var(--grad); color:#fff; box-shadow:var(--sh-blue); }
.fb-rail .rl svg{ width:19px; height:19px; }
.fb-main{ padding:20px; border-right:1px solid var(--line); }
.fb-cams{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.fb-cam{ position:relative; border-radius:12px; aspect-ratio:16/10; overflow:hidden; background:linear-gradient(180deg,#2C3A4D,#1B2533); }
.fb-cam::after{ content:''; position:absolute; inset:0; background:repeating-linear-gradient(0deg,rgba(255,255,255,.04) 0 1px,transparent 1px 26px),repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 1px,transparent 1px 26px); }
.fb-cam .scan{ position:absolute; left:0; right:0; height:28px; top:-28px; background:linear-gradient(180deg,transparent,rgba(59,130,246,.3),transparent); animation:scan 3.6s linear infinite; }
.fb-cam .lbl{ position:absolute; top:8px; left:8px; font-size:9px; font-weight:800; letter-spacing:.04em; color:#fff; background:rgba(0,0,0,.45); padding:3px 7px; border-radius:5px; z-index:2; }
.fb-cam .tag{ position:absolute; bottom:8px; left:8px; font-size:9px; font-weight:800; padding:3px 7px; border-radius:5px; color:#fff; z-index:2; }
.fb-cam .tag.ok{ background:#16A34A; } .fb-cam .tag.bad{ background:#DC2626; } .fb-cam .tag.warn{ background:#D97706; }
.fb-cam .bx{ position:absolute; border:2px solid; border-radius:5px; }
.fb-cam .bx.ok{ border-color:#22C55E; } .fb-cam .bx.bad{ border-color:#F87171; box-shadow:0 0 0 3px rgba(248,113,113,.18); }
.fb-side{ padding:20px; display:flex; flex-direction:column; gap:12px; background:var(--bg-tint); }
.fb-kpi{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px; }
.fb-kpi .l{ font-size:10.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); margin-bottom:5px; }
.fb-kpi .v{ font-size:24px; font-weight:800; color:var(--ink); letter-spacing:-.02em; }
.fb-kpi .v small{ font-size:12px; font-weight:700; color:#16A34A; margin-left:6px; }
.fb-kpi .spark{ display:flex; align-items:flex-end; gap:3px; height:30px; margin-top:8px; }
.fb-kpi .spark span{ flex:1; background:var(--bg-tint2); border-radius:3px 3px 0 0; }
.fb-kpi .spark span.a{ background:var(--accent); }
.fb-list{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 14px; flex:1; }
.fb-list .h{ font-size:10.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); margin-bottom:8px; }
.fb-list .r{ display:flex; align-items:center; gap:8px; font-size:12px; color:var(--text-soft); padding:6px 0; border-bottom:1px solid var(--line); }
.fb-list .r:last-child{ border-bottom:none; }
.fb-list .r .d{ width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.fb-list .r .d.r{background:#F87171}.fb-list .r .d.y{background:#FBBF24}.fb-list .r .d.g{background:#22C55E}
.fb-list .r .t{ margin-left:auto; color:var(--muted-d); font-size:10px; }

/* floating cards */
.float-card{ position:absolute; z-index:2; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:var(--sh-2); padding:13px 16px; display:flex; align-items:center; gap:12px; animation:floaty 5.5s ease-in-out infinite; }
.float-card .fi{ width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0; }
.float-card .fi svg{ width:19px; height:19px; }
.float-card .fi.red{ background:linear-gradient(135deg,#F87171,#DC2626); }
.float-card .fi.green{ background:linear-gradient(135deg,#34D399,#16A34A); }
.float-card .fi.blue{ background:var(--grad); }
.float-card b{ display:block; font-size:13.5px; color:var(--ink); letter-spacing:-.01em; }
.float-card span{ font-size:11.5px; color:var(--muted); }
.float-card.fc1{ top:8%; left:-2%; animation-delay:0s; }
.float-card.fc2{ top:24%; right:-3%; animation-delay:1.4s; }
.float-card.fc3{ bottom:13%; left:3%; animation-delay:.7s; }
.hero h1 { margin-bottom:22px; color: var(--ink); }
.hero h1 .gtext { color: var(--accent); }
.hero .sub { font-size:19px; color: var(--text-soft); max-width:560px; margin-bottom:32px; }
.hero-cta { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:30px; }
.hero-micro { display:flex; gap:24px; flex-wrap:wrap; font-size:14px; color: var(--muted); }
.hero-micro span{ display:inline-flex; align-items:center; gap:7px; }
.hero-micro span svg{ width:17px; height:17px; color: var(--accent); }

/* ============ Hero dashboard mock (LIGHT chrome + dark cam) ============ */
.mock { position:relative; border-radius: var(--r-l); background:#fff; border:1px solid var(--line); box-shadow: var(--sh-2); overflow:hidden; }
.mock-bar { display:flex; align-items:center; gap:8px; padding:13px 16px; background:var(--bg-tint); border-bottom:1px solid var(--line); }
.mock-bar i{ width:11px; height:11px; border-radius:50%; background:#CBD6E3; }
.mock-bar i:first-child{ background:var(--accent); }
.mock-bar .mb-title{ margin-left:10px; font-size:12.5px; color:var(--muted); font-weight:600; }
.mock-bar .mb-live{ margin-left:auto; font-size:11px; font-weight:800; letter-spacing:.06em; color:#16A34A; display:flex; align-items:center; gap:6px; }
.mock-bar .mb-live::before{ content:''; width:7px; height:7px; border-radius:50%; background:#16A34A; animation:led 1.6s infinite; }
.mock-body { padding:18px; display:grid; grid-template-columns:1.4fr 1fr; gap:14px; }
.cam { position:relative; border-radius:12px; aspect-ratio:16/11; overflow:hidden;
  background: linear-gradient(180deg,#2C3A4D,#1B2533);
}
.cam::after { content:''; position:absolute; inset:0;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 30px), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 30px);
}
.cam .scan { position:absolute; left:0; right:0; height:34px; top:-34px; background:linear-gradient(180deg,transparent,rgba(59,130,246,.3),transparent); animation:scan 3.4s linear infinite; }
@keyframes scan { 0%{top:-34px} 100%{top:100%} }
.bbox { position:absolute; border:2px solid; border-radius:6px; font-size:9px; font-weight:800; letter-spacing:.03em; }
.bbox span{ position:absolute; top:-17px; left:-2px; padding:2px 6px; border-radius:4px; color:#fff; white-space:nowrap; }
.bbox.ok{ border-color:#22C55E; } .bbox.ok span{ background:#16A34A; }
.bbox.bad{ border-color:#F87171; box-shadow:0 0 0 3px rgba(248,113,113,.16); } .bbox.bad span{ background:#DC2626; }
.bbox.warn{ border-color:#FBBF24; } .bbox.warn span{ background:#D97706; }
.mock-side { display:flex; flex-direction:column; gap:10px; }
.kpi { background:var(--bg-tint); border:1px solid var(--line); border-radius:11px; padding:12px 13px; }
.kpi .lab{ font-size:10.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); margin-bottom:4px; }
.kpi .val{ font-size:21px; font-weight:800; color:var(--ink); letter-spacing:-.02em; }
.kpi .val small{ font-size:12px; font-weight:700; color:#16A34A; margin-left:6px; }
.kpi .val small.dn{ color:#DC2626; }
.feed { background:var(--bg-tint); border:1px solid var(--line); border-radius:11px; padding:11px 12px; flex:1; }
.feed .fh{ font-size:10.5px; text-transform:uppercase; letter-spacing:.07em; color:var(--muted); margin-bottom:8px; }
.feed .ev{ display:flex; align-items:center; gap:8px; font-size:11.5px; color:var(--text-soft); padding:5px 0; border-bottom:1px solid var(--line); }
.feed .ev:last-child{ border-bottom:none; }
.feed .ev .d{ width:7px; height:7px; border-radius:50%; flex-shrink:0; }
.feed .ev .d.r{background:#F87171} .feed .ev .d.y{background:#FBBF24} .feed .ev .d.g{background:#22C55E}
.feed .ev .t{ margin-left:auto; color:var(--muted-d); font-size:10px; }
.mock-float { position:absolute; right:-22px; bottom:-22px; background:#fff; color:var(--ink); border-radius:16px; padding:14px 18px; box-shadow:var(--sh-2); display:flex; align-items:center; gap:13px; border:1px solid var(--line); animation:floaty 5s ease-in-out infinite; }
@keyframes floaty{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.mock-float .ic{ width:40px; height:40px; border-radius:11px; background:var(--grad); display:flex; align-items:center; justify-content:center; color:#fff; }
.mock-float .ic svg{ width:20px; height:20px; }
.mock-float b{ display:block; font-size:18px; letter-spacing:-.02em; }
.mock-float small{ color:var(--muted); font-size:12px; }

/* ============ Marquee ============ */
.marquee { padding:34px 0; background:var(--bg-tint); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.marquee-label { text-align:center; font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:18px; }
.marquee-track { display:flex; gap:54px; align-items:center; justify-content:center; flex-wrap:wrap; }
.marquee-track .lg { color:var(--primary); font-weight:800; font-size:18px; opacity:.55; letter-spacing:-.01em; }

/* ============ Sections ============ */
section { padding:108px 0; position:relative; }
.section-paper { background:var(--bg); }
.section-white { background:var(--bg); }
.section-cream { background:var(--bg-tint); }
.dark { background:var(--ink); color:#fff; }
.dark h1,.dark h2,.dark h3{ color:#fff; }
.dark p{ color:rgba(255,255,255,.72); }

.shead { max-width:740px; margin:0 auto 60px; text-align:center; }
.shead .kicker{ justify-content:center; }
.shead.left{ margin-left:0; text-align:left; }
.shead.left .kicker{ justify-content:flex-start; }
.shead h2{ margin:18px 0 16px; }
.shead p{ font-size:18.5px; color:var(--muted); }
.dark .shead p{ color:rgba(255,255,255,.62); }

/* reveal */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}.reveal.d4{transition-delay:.32s}.reveal.d5{transition-delay:.4s}

/* ============ Problem split ============ */
.split { display:grid; grid-template-columns:1fr 1fr; gap:62px; align-items:center; }
.problem-list { display:flex; flex-direction:column; gap:14px; }
.prob { display:flex; gap:16px; padding:22px; border-radius:var(--r-m); background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); transition:border-color .25s, background .25s, transform .25s; }
.prob:hover{ border-color:rgba(96,160,255,.5); transform:translateX(4px); }
.prob .pn{ flex-shrink:0; width:40px; height:40px; border-radius:11px; background:rgba(96,160,255,.16); color:#9DC2FF; display:flex; align-items:center; justify-content:center; font-weight:800; }
.prob h3{ font-size:17px; color:#fff; margin-bottom:6px; }
.prob p{ font-size:14.5px; color:rgba(255,255,255,.66); }

/* ============ Stat band ============ */
.statband { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid rgba(255,255,255,.12); border-radius:var(--r-l); overflow:hidden; background:rgba(255,255,255,.03); }
.statband .st{ padding:38px 30px; border-right:1px solid rgba(255,255,255,.12); }
.statband .st:last-child{ border-right:none; }
.statband .num{ font-size:clamp(2rem,3.6vw,3rem); font-weight:800; letter-spacing:-.04em; color:#fff; margin-bottom:8px; }
.statband .num .gtext{ color:var(--accent-l); }
.statband p{ font-size:13.5px; color:rgba(255,255,255,.6); }

/* ============ Bento ============ */
.bento { display:grid; grid-template-columns:repeat(6,1fr); gap:18px; }
.bcard { background:#fff; border:1px solid var(--line); border-radius:var(--r-l); padding:30px; position:relative; overflow:hidden; transition:transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s; }
.bcard::before{ content:''; position:absolute; left:0; top:0; height:3px; width:100%; background:var(--grad); transform:scaleX(0); transform-origin:left; transition:transform .35s var(--ease); }
.bcard:hover{ transform:translateY(-5px); box-shadow:var(--sh-2); border-color:var(--line-2); }
.bcard:hover::before{ transform:scaleX(1); }
.bcard .ic{ width:50px; height:50px; border-radius:14px; background:var(--bg-tint2); color:var(--primary); display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.bcard .ic svg{ width:24px; height:24px; }
.bcard h3{ margin-bottom:10px; }
.bcard p{ font-size:15px; color:var(--muted); }
.bcard.span3{ grid-column:span 3; } .bcard.span2{ grid-column:span 2; } .bcard.span4{ grid-column:span 4; }
.bcard.feature{ background:var(--ink); color:#fff; grid-column:span 4; display:grid; grid-template-columns:1.1fr 1fr; gap:26px; align-items:center; }
.bcard.feature::before{ display:none; }
.bcard.feature .ic{ background:rgba(96,160,255,.18); color:#9DC2FF; }
.bcard.feature h3{ color:#fff; font-size:1.7rem; } .bcard.feature p{ color:rgba(255,255,255,.68); }
.mini-mock{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:14px; }
.mini-mock .row{ display:flex; align-items:center; gap:8px; padding:8px 0; border-bottom:1px solid rgba(255,255,255,.08); font-size:12.5px; color:rgba(255,255,255,.74); }
.mini-mock .row:last-child{ border-bottom:none; }
.mini-mock .row .d{ width:8px; height:8px; border-radius:50%; }
.mini-mock .row .d.r{background:#F87171}.mini-mock .row .d.g{background:#22C55E}.mini-mock .row .d.y{background:#FBBF24}
.mini-mock .row b{ margin-left:auto; color:#fff; }

/* ============ Showcase ============ */
.showcase { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; margin-bottom:108px; }
.showcase:last-child{ margin-bottom:0; }
.showcase.flip .sc-media{ order:2; }
.sc-num{ font-size:13px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--primary); margin-bottom:14px; }
.sc-copy h2{ margin-bottom:18px; }
.sc-copy p{ font-size:17px; color:var(--text-soft); margin-bottom:22px; }
.sc-checks{ list-style:none; padding:0; margin:0 0 26px; display:flex; flex-direction:column; gap:12px; }
.sc-checks li{ display:flex; gap:11px; align-items:flex-start; font-size:15.5px; color:var(--text-soft); }
.sc-checks li svg{ width:21px; height:21px; flex-shrink:0; color:var(--accent); margin-top:1px; }
.sc-media{ border-radius:var(--r-xl); padding:20px; background:linear-gradient(160deg,#22324A,#1A2433); border:1px solid rgba(255,255,255,.08); box-shadow:var(--sh-2); position:relative; }
.uipanel{ position:relative; z-index:1; background:#1B2533; border:1px solid rgba(255,255,255,.08); border-radius:16px; overflow:hidden; }
.uipanel .ut{ display:flex; align-items:center; gap:8px; padding:12px 15px; border-bottom:1px solid rgba(255,255,255,.08); }
.uipanel .ut i{ width:10px; height:10px; border-radius:50%; background:#3C4D63; } .uipanel .ut i:first-child{ background:var(--accent); }
.uipanel .ut .tt{ margin-left:8px; font-size:12px; color:rgba(255,255,255,.55); font-weight:600; }
.uipanel .ub{ padding:16px; }
.bar{ height:9px; border-radius:6px; background:rgba(255,255,255,.08); margin:9px 0; position:relative; overflow:hidden; }
.bar span{ position:absolute; left:0; top:0; bottom:0; border-radius:6px; background:var(--grad); }
.chip-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:14px; }
.chip{ font-size:11px; font-weight:800; padding:5px 10px; border-radius:999px; }
.chip.r{background:rgba(248,113,113,.18);color:#FCA5A5}.chip.g{background:rgba(34,197,94,.18);color:#86EFAC}.chip.y{background:rgba(251,191,36,.18);color:#FCD34D}.chip.b{background:rgba(96,160,255,.18);color:#9DC2FF}
.gridcards{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.gc{ background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.09); border-radius:11px; padding:13px; }
.gc .l{ font-size:10.5px; text-transform:uppercase; letter-spacing:.06em; color:rgba(255,255,255,.5); margin-bottom:5px; }
.gc .v{ font-size:19px; font-weight:800; color:#fff; }
.docrow{ display:flex; align-items:center; gap:10px; padding:10px 12px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.09); border-radius:10px; margin-bottom:8px; font-size:12.5px; color:rgba(255,255,255,.8); }
.docrow .fi{ width:30px; height:30px; border-radius:8px; background:rgba(96,160,255,.2); color:#9DC2FF; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; }
.docrow .ok{ margin-left:auto; color:#86EFAC; font-weight:800; font-size:11px; }

/* ============ Timeline ============ */
.timeline{ position:relative; max-width:880px; margin:0 auto; }
.timeline::before{ content:''; position:absolute; left:31px; top:14px; bottom:14px; width:2px; background:linear-gradient(180deg,var(--accent),rgba(59,130,246,0)); }
.tl-item{ display:grid; grid-template-columns:64px 1fr; gap:24px; padding:14px 0; }
.tl-dot{ width:64px; height:64px; border-radius:18px; background:var(--grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:22px; box-shadow:var(--sh-blue); position:relative; z-index:1; }
.tl-body{ background:#fff; border:1px solid var(--line); border-radius:var(--r-m); padding:24px 26px; box-shadow:var(--sh-1); }
.tl-body .tm{ font-size:12.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; color:var(--accent); margin-bottom:6px; }
.tl-body h3{ margin-bottom:8px; }
.tl-body p{ font-size:15px; color:var(--muted); }

/* ============ Feature rows ============ */
.frows{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.frow{ background:#fff; border:1px solid var(--line); border-radius:var(--r-m); padding:28px; transition:transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.frow:hover{ transform:translateY(-4px); box-shadow:var(--sh-2); border-color:var(--line-2); }
.frow .ic{ width:46px; height:46px; border-radius:13px; background:var(--bg-tint2); color:var(--primary); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.frow .ic svg{ width:23px; height:23px; }
.frow h3{ margin-bottom:8px; font-size:1.15rem; }
.frow p{ font-size:14.5px; color:var(--muted); }

/* ============ Compliance badges ============ */
.compstrip{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.compbadge{ text-align:center; padding:32px 22px; border-radius:var(--r-m); background:#fff; border:1px solid var(--line); transition:transform .3s, box-shadow .3s, border-color .3s; }
.compbadge:hover{ transform:translateY(-4px); box-shadow:var(--sh-2); border-color:var(--line-2); }
.compbadge .bg{ width:58px; height:58px; border-radius:16px; margin:0 auto 16px; background:var(--grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:12.5px; line-height:1.05; box-shadow:var(--sh-blue); }
.compbadge h3{ font-size:1.05rem; margin-bottom:6px; }
.compbadge p{ font-size:13.5px; color:var(--muted); }

/* ============ Testimonials ============ */
.quotes{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.quote{ background:#fff; border:1px solid var(--line); border-radius:var(--r-l); padding:32px; position:relative; transition:transform .3s, box-shadow .3s; }
.quote:hover{ transform:translateY(-5px); box-shadow:var(--sh-2); }
.quote .stars{ color:var(--accent); font-size:15px; letter-spacing:2px; margin-bottom:16px; }
.quote p{ font-size:16px; color:var(--text); font-weight:500; line-height:1.55; }
.quote .who{ margin-top:22px; display:flex; align-items:center; gap:13px; }
.quote .av{ width:46px; height:46px; border-radius:50%; background:var(--grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:15px; }
.quote .who b{ display:block; font-size:14.5px; color:var(--text); }
.quote .who span{ font-size:13px; color:var(--muted); }

/* ============ Pricing ============ */
.prices{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:stretch; }
.price-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r-l); padding:34px 30px; display:flex; flex-direction:column; transition:transform .3s, box-shadow .3s; }
.price-card:hover{ transform:translateY(-5px); box-shadow:var(--sh-2); }
.price-card.pop{ background:var(--ink); color:#fff; border-color:var(--ink); position:relative; box-shadow:var(--sh-2); }
.price-card.pop h3,.price-card.pop .amt{ color:#fff; }
.price-card.pop p,.price-card.pop li{ color:rgba(255,255,255,.74); }
.price-card.pop .tag{ position:absolute; top:20px; right:24px; background:var(--grad); color:#fff; font-size:11.5px; font-weight:800; padding:6px 13px; border-radius:999px; }
.price-card h3{ font-size:14px; text-transform:uppercase; letter-spacing:.08em; color:var(--primary); margin-bottom:14px; }
.price-card.pop h3{ color:var(--accent-l); }
.amt{ font-size:42px; font-weight:800; letter-spacing:-.03em; color:var(--ink); }
.amt small{ font-size:14px; font-weight:500; color:var(--muted); letter-spacing:0; }
.price-card .desc{ font-size:14px; color:var(--muted); margin:8px 0 22px; min-height:42px; }
.price-card ul{ list-style:none; padding:0; margin:0 0 26px; display:flex; flex-direction:column; gap:11px; }
.price-card li{ font-size:14.5px; color:var(--text-soft); display:flex; gap:10px; align-items:flex-start; }
.price-card li svg{ width:18px; height:18px; flex-shrink:0; color:var(--accent); margin-top:2px; }
.price-card.pop li svg{ color:var(--accent-l); }
.price-card li.off{ color:var(--muted-d); } .price-card li.off svg{ color:var(--muted-d); }
.price-card .btn{ margin-top:auto; width:100%; }

/* ============ Comparison ============ */
.cmp-wrap{ overflow-x:auto; border-radius:var(--r-l); border:1px solid var(--line); }
.cmp{ width:100%; border-collapse:collapse; background:#fff; font-size:15px; min-width:640px; }
.cmp th,.cmp td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--line); }
.cmp thead th{ background:var(--bg-tint); font-weight:700; color:var(--ink); }
.cmp thead th.c,.cmp td.c{ text-align:center; }
.cmp tbody tr:last-child td{ border-bottom:none; }
.cmp td.tick{ color:var(--accent); font-weight:800; }
.cmp td.dash{ color:var(--muted-d); }
.cmp .pophead{ color:var(--primary); }

/* ============ FAQ ============ */
.faq{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.qa{ background:#fff; border:1px solid var(--line); border-radius:var(--r-m); overflow:hidden; transition:border-color .25s, box-shadow .25s; }
.qa[open]{ border-color:var(--line-2); box-shadow:var(--sh-1); }
.qa summary{ list-style:none; cursor:pointer; padding:22px 26px; font-weight:650; font-size:16.5px; display:flex; align-items:center; gap:14px; color:var(--ink); }
.qa summary::-webkit-details-marker{ display:none; }
.qa summary .pl{ margin-left:auto; width:26px; height:26px; flex-shrink:0; position:relative; }
.qa summary .pl::before,.qa summary .pl::after{ content:''; position:absolute; top:50%; left:50%; width:13px; height:2px; background:var(--accent); transform:translate(-50%,-50%); border-radius:2px; }
.qa summary .pl::after{ transform:translate(-50%,-50%) rotate(90deg); transition:transform .3s; }
.qa[open] summary .pl::after{ transform:translate(-50%,-50%) rotate(0); }
.qa .ans{ padding:0 26px 24px; color:var(--muted); font-size:15.5px; }

/* ============ Big CTA ============ */
.bigcta{ position:relative; border-radius:var(--r-xl); padding:84px 48px; text-align:center; overflow:hidden; background:var(--primary); color:#fff; isolation:isolate; }
.bigcta .mesh{ position:absolute; inset:0; z-index:-1; background: radial-gradient(50% 80% at 50% -10%, rgba(96,160,255,.55), transparent 60%), radial-gradient(40% 70% at 90% 110%, rgba(59,130,246,.5), transparent 60%); }
.bigcta .grid{ position:absolute; inset:0; z-index:-1; opacity:.5; background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size:46px 46px; -webkit-mask-image:radial-gradient(60% 60% at 50% 50%,#000,transparent); mask-image:radial-gradient(60% 60% at 50% 50%,#000,transparent); }
.bigcta h2{ color:#fff; font-size:clamp(2rem,4vw,3.1rem); margin-bottom:16px; }
.bigcta p{ color:rgba(255,255,255,.85); max-width:580px; margin:0 auto 30px; font-size:18px; }
.bigcta .row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.bigcta .btn-primary{ background:#fff; color:var(--primary); box-shadow:0 12px 30px rgba(0,0,0,.18); }
.bigcta .btn-primary:hover{ box-shadow:0 18px 40px rgba(0,0,0,.26); }

/* ============ Footer (light) ============ */
.footer{ background:#fff; color:var(--text-soft); padding:72px 0 28px; border-top:1px solid var(--line); }
.footer-top{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; margin-bottom:44px; }
.footer-brand img{ height:48px; margin-bottom:18px; }
.footer-brand p{ color:var(--muted); font-size:14.5px; max-width:300px; }
.footer h4{ color:var(--ink); font-size:13px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:18px; }
.footer a{ display:block; padding:6px 0; font-size:14.5px; color:var(--text-soft); transition:color .2s; }
.footer a:hover{ color:var(--accent); }
.footer-addr{ font-size:14.5px; color:var(--muted); line-height:1.7; font-style:normal; margin-top:6px; }
.footer-addr b{ display:block; color:var(--ink); font-weight:650; margin-bottom:4px; font-style:normal; }
.footer-bottom{ border-top:1px solid var(--line); padding-top:24px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:13.5px; color:var(--muted); }
.footer-bottom .fb-mark{ font-weight:800; letter-spacing:-.02em; color:var(--primary); font-size:16px; }

/* ============ Register ============ */
.reg-split{ display:grid; grid-template-columns:1.05fr .95fr; min-height:calc(100vh - 82px); }
.reg-aside{ background:var(--primary); color:#fff; padding:70px 60px; position:relative; overflow:hidden; display:flex; flex-direction:column; justify-content:center; }
.reg-aside .mesh{ position:absolute; inset:0; z-index:0; background:radial-gradient(60% 50% at 20% 8%,rgba(96,160,255,.4),transparent 60%),radial-gradient(50% 50% at 92% 92%,rgba(10,55,102,.6),transparent 60%); }
.reg-aside .grid{ position:absolute; inset:0; z-index:0; opacity:.45; background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:50px 50px; }
.reg-aside > *{ position:relative; z-index:1; }
.reg-aside h1{ color:#fff; font-size:clamp(2rem,3.2vw,2.7rem); margin:20px 0 18px; }
.reg-aside .sub{ color:rgba(255,255,255,.82); font-size:17px; margin-bottom:34px; max-width:440px; }
.reg-benefits{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:18px; }
.reg-benefits li{ display:flex; gap:14px; }
.reg-benefits .ck{ flex-shrink:0; width:28px; height:28px; border-radius:9px; background:rgba(255,255,255,.16); color:#fff; display:flex; align-items:center; justify-content:center; }
.reg-benefits .ck svg{ width:15px; height:15px; }
.reg-benefits b{ display:block; color:#fff; font-size:15.5px; }
.reg-benefits span{ color:rgba(255,255,255,.72); font-size:14px; }
.reg-aside .trust{ margin-top:40px; padding-top:26px; border-top:1px solid rgba(255,255,255,.18); display:flex; gap:28px; }
.reg-aside .trust div b{ display:block; font-size:24px; font-weight:800; color:#fff; }
.reg-aside .trust div span{ font-size:12.5px; color:rgba(255,255,255,.66); }
.reg-form-wrap{ display:flex; align-items:center; justify-content:center; padding:60px 50px; background:var(--bg); }
.reg-form{ width:100%; max-width:460px; }
.reg-form h2{ font-size:1.9rem; margin-bottom:6px; }
.reg-form .lead{ color:var(--muted); margin-bottom:26px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:7px; color:var(--text); }
.field input,.field select{ width:100%; padding:13px 15px; border:1px solid var(--line-2); border-radius:11px; background:#fff; font:inherit; font-size:15px; color:var(--text); transition:border-color .2s, box-shadow .2s; }
.field input:focus,.field select:focus{ outline:none; border-color:var(--accent); box-shadow:0 0 0 4px rgba(59,130,246,.14); }
.frow2{ display:grid; grid-template-columns:1fr 1fr; gap:13px; }
.alert{ padding:14px 16px; border-radius:12px; font-size:14.5px; margin-bottom:20px; border:1px solid transparent; }
.alert.success{ background:#E9F7EF; color:#1A7A45; border-color:#B6E3C9; }
.alert.error{ background:#FCEBEB; color:#B42318; border-color:#F3C0BC; }
.tiny{ font-size:12.5px; color:var(--muted); }

/* ============ Responsive ============ */
@media (max-width:1040px){
  .hero-inner{ grid-template-columns:1fr; gap:48px; }
  .frame-body{ grid-template-columns:56px 1.5fr 1fr; }
  .float-card.fc1{ left:0; } .float-card.fc2{ right:0; }
  .split,.showcase{ grid-template-columns:1fr; gap:40px; }
  .showcase.flip .sc-media{ order:0; }
  .bento{ grid-template-columns:repeat(2,1fr); }
  .bcard.span3,.bcard.span2,.bcard.span4,.bcard.feature{ grid-column:span 2; }
  .bcard.feature{ grid-template-columns:1fr; }
  .reg-split{ grid-template-columns:1fr; }
  .reg-aside{ padding:54px 36px; }
}
@media (max-width:860px){
  .nav-left,.nav-right{ display:none; }
  .nav-wrap{ grid-template-columns:auto 1fr auto; height:70px; }
  .nav-center{ justify-content:flex-start; }
  .nav-toggle{ display:flex; }
  .nav-left.show,.nav-right.show{ display:flex; flex-direction:column; align-items:stretch; gap:14px; position:absolute; top:70px; left:0; right:0; background:#fff; border-bottom:1px solid var(--line); padding:20px 28px; box-shadow:var(--sh-1); }
  .frows,.quotes,.prices,.compstrip{ grid-template-columns:1fr; }
  .statband{ grid-template-columns:repeat(2,1fr); }
  .statband .st:nth-child(2){ border-right:none; }
  .statband .st:nth-child(1),.statband .st:nth-child(2){ border-bottom:1px solid rgba(255,255,255,.12); }
  section{ padding:72px 0; }
  .hero{ padding:60px 0 76px; }
  .hero--home{ padding:48px 0 0; }
  .hero-stage{ margin-top:40px; padding-bottom:40px; }
  .float-card{ display:none; }
  .frame-body{ grid-template-columns:1fr; }
  .fb-rail{ flex-direction:row; justify-content:center; border-right:none; border-bottom:1px solid var(--line); padding:12px 0; }
  .fb-main{ border-right:none; border-bottom:1px solid var(--line); }
  .bigcta{ padding:54px 26px; }
  .footer-top{ grid-template-columns:1fr 1fr; gap:30px; }
}
@media (max-width:520px){
  body{ font-size:16px; }
  .bento{ grid-template-columns:1fr; }
  .bcard.span3,.bcard.span2,.bcard.span4,.bcard.feature{ grid-column:span 1; }
  .statband{ grid-template-columns:1fr; }
  .statband .st{ border-right:none; border-bottom:1px solid rgba(255,255,255,.12); }
  .statband .st:last-child{ border-bottom:none; }
  .footer-top{ grid-template-columns:1fr; }
  .reg-form-wrap,.reg-aside{ padding:44px 26px; }
  .mock-float{ right:0; bottom:-18px; padding:11px 14px; }
}
