/* =========================================================
   HubFive — Liquid Glass Landing
   ========================================================= */
:root {
  --bg: #07111c;
  --bg-2: #0f1c29;
  --ink: #f5f8fb;
  --ink-2: rgba(235, 243, 250, .72);
  --ink-3: rgba(235, 243, 250, .5);
  --cyan: #1acdff;
  --blue: #66b3ff;
  --violet: #8b7bff;
  --mint: #4fe3c1;
  --grad: linear-gradient(100deg, var(--cyan), var(--blue) 55%, var(--violet));

  --glass-bg: rgba(255, 255, 255, .06);
  --glass-bg-strong: rgba(255, 255, 255, .1);
  --glass-border: rgba(255, 255, 255, .16);
  --glass-hi: rgba(255, 255, 255, .55);
  --glass-blur: 22px;

  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-pill: 999px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "SF Pro Text", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(26, 205, 255, .35); }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
p { margin: 0; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }

/* ---------- Ambient background ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(1200px 800px at 10% -10%, #10324a 0%, transparent 60%),
    radial-gradient(900px 700px at 100% 30%, #1a1f4a 0%, transparent 60%),
    linear-gradient(180deg, #07111c, #0a1622 50%, #07111c);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  will-change: transform; mix-blend-mode: screen;
}
.blob.b1 { width: 46vw; height: 46vw; left: -8vw; top: 4vh; background: radial-gradient(circle at 30% 30%, #1acdff, transparent 65%); animation: float1 22s ease-in-out infinite; }
.blob.b2 { width: 40vw; height: 40vw; right: -10vw; top: 30vh; background: radial-gradient(circle at 60% 40%, #6b5cff, transparent 65%); animation: float2 26s ease-in-out infinite; }
.blob.b3 { width: 34vw; height: 34vw; left: 30vw; bottom: -12vh; background: radial-gradient(circle at 50% 50%, #18e0b4, transparent 65%); opacity: .35; animation: float3 30s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(12vw, 18vh) scale(1.15); } }
@keyframes float2 { 50% { transform: translate(-14vw, -10vh) scale(.9); } }
@keyframes float3 { 50% { transform: translate(-10vw, -20vh) scale(1.2); } }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Liquid Glass primitive ---------- */
.glass {
  --mx: 50%; --my: 0%;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03) 40%, rgba(255,255,255,.05)),
    var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  box-shadow:
    inset 0 1px 0 0 rgba(255,255,255,.35),
    inset 0 -1px 0 0 rgba(255,255,255,.06),
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 24px rgba(255,255,255,.04),
    0 20px 50px -20px rgba(0, 0, 0, .55),
    0 2px 6px rgba(0,0,0,.2);
}
/* specular rim: gradient border that brightens at top-left */
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,.08) 30%, rgba(255,255,255,.02) 60%, rgba(255,255,255,.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
/* moving light highlight that follows the cursor */
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.14), transparent 45%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.glass:hover::after { opacity: 1; }

/* Refraction (Chromium supports SVG filters inside backdrop-filter) */
@supports (backdrop-filter: url(#x)) {
  .glass.refract { backdrop-filter: url(#liquid) blur(14px) saturate(180%); }
}
/* nested glass inside a refracting surface: skip a second backdrop pass */
.refract .glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.04)); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--r-pill); border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease), background .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary {
  color: #04121e;
  background: linear-gradient(180deg, #6fe0ff, #1acdff 55%, #12a9e0);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -2px 6px rgba(0,60,100,.35), 0 10px 30px -8px rgba(26,205,255,.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -2px 6px rgba(0,60,100,.35), 0 16px 40px -8px rgba(26,205,255,.8); }
.btn-glass { border-radius: var(--r-pill); color: var(--ink); }
.btn-glass:hover { transform: translateY(-2px); background: var(--glass-bg-strong); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); margin: 18px 0 16px; }
.section-head p { color: var(--ink-2); font-size: clamp(16px, 1.6vw, 19px); }

/* ---------- Nav ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 16px; transition: transform .4s var(--ease); }
.nav-wrap.hide { transform: translateY(-120%); }
.nav {
  display: flex; align-items: center; gap: 8px; width: min(var(--maxw), 100%);
  padding: 8px 8px 8px 20px; border-radius: var(--r-pill);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.03em; }
.logo-mark { width: 30px; height: 30px; }
.logo b { font-weight: 800; }
.logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 2px; margin: 0 auto; list-style: none; padding: 0; }
.nav-links a { display: block; padding: 9px 14px; border-radius: var(--r-pill); font-size: 14px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(255,255,255,.08); }
.nav .btn { padding: 11px 20px; font-size: 14px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); cursor: pointer; margin-left: auto; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 80px; left: 16px; right: 16px; z-index: 49; padding: 12px;
  display: grid; gap: 4px; opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
  transition: opacity .3s var(--ease), transform .4s var(--spring);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { padding: 14px 16px; border-radius: var(--r-sm); font-weight: 500; }
.mobile-menu a:hover { background: rgba(255,255,255,.08); }
.mobile-menu .btn { margin-top: 8px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 140px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.045em; margin: 22px 0 24px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; animation: rise 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(105%); opacity: 0; } }
.hero-lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--ink-2); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 18px; }
.hero-note { font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--mint); }

.hero-visual { position: relative; height: 540px; perspective: 1200px; }
.orb {
  position: absolute; inset: 50% auto auto 50%; width: 360px; height: 360px; translate: -50% -50%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 22%),
    radial-gradient(circle at 70% 80%, rgba(139,123,255,.5), transparent 50%),
    radial-gradient(circle at 30% 70%, rgba(26,205,255,.55), transparent 55%),
    rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(10px) saturate(180%); backdrop-filter: blur(10px) saturate(180%);
  box-shadow: inset 0 0 60px rgba(255,255,255,.18), inset 0 -20px 60px rgba(26,205,255,.25), 0 40px 120px -20px rgba(26,205,255,.45);
  animation: breathe 9s ease-in-out infinite;
}
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); -webkit-mask: linear-gradient(160deg, #000, transparent 60%); mask: linear-gradient(160deg, #000, transparent 60%); }
@keyframes breathe { 50% { transform: scale(1.06) rotate(8deg); } }
.ring { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.12); }
.ring.r1 { width: 470px; height: 470px; animation: spin 60s linear infinite; }
.ring.r2 { width: 560px; height: 560px; border-style: solid; border-color: rgba(26,205,255,.08); }
@keyframes spin { to { rotate: 360deg; } }

.float-card { position: absolute; padding: 18px 20px; border-radius: var(--r-md); min-width: 200px; transition: transform .6s var(--ease); }
.float-card .k { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.float-card .l { font-size: 13px; color: var(--ink-2); }
.float-card .ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 10px; background: rgba(26,205,255,.15); color: var(--cyan); }
.float-card .ico svg { width: 20px; height: 20px; }
.fc1 { top: 30px; left: 0; animation: bob 7s ease-in-out infinite; }
.fc2 { top: 200px; right: -10px; animation: bob 8s ease-in-out -2s infinite; }
.fc3 { bottom: 30px; left: 40px; animation: bob 9s ease-in-out -4s infinite; }
@keyframes bob { 50% { translate: 0 -14px; } }
.flags { display: flex; gap: 6px; margin-top: 8px; }
.flags img, .flag-img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(255,255,255,.35), 0 4px 10px rgba(0,0,0,.3); }
.country .flag-img { width: 36px; height: 36px; }
.country-detail h4 { display: flex; align-items: center; gap: 10px; }
.country-detail h4 .flag-img { width: 24px; height: 24px; }

/* ---------- Marquee ---------- */
.marquee { padding: 28px 0 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px; border-radius: var(--r-md); }
.stat .num { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.04em; }
.stat .lbl { color: var(--ink-2); font-size: 14px; margin-top: 4px; }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.svc-card { grid-column: span 4; padding: 28px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 14px; min-height: 250px; transition: transform .5s var(--spring); transform-style: preserve-3d; }
.svc-card.wide { grid-column: span 6; }
.svc-card:hover { transform: translateY(-6px); }
.svc-card .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--cyan);
  background: linear-gradient(160deg, rgba(26,205,255,.28), rgba(139,123,255,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.1); }
.svc-card .ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 22px; }
.svc-card p { color: var(--ink-2); font-size: 15px; }
.svc-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--cyan); }
.svc-card .more svg { width: 16px; height: 16px; transition: transform .3s var(--spring); }
.svc-card:hover .more svg { transform: translateX(4px); }
.svc-card .num-tag { position: absolute; top: 22px; right: 26px; font-size: 13px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---------- Service detail sections ---------- */
.svc-nav { position: sticky; top: 86px; z-index: 30; display: flex; justify-content: center; margin-bottom: 40px; padding: 0 16px; }
.svc-nav-inner { display: flex; gap: 4px; padding: 6px; border-radius: var(--r-pill); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.svc-nav-inner::-webkit-scrollbar { display: none; }
.svc-nav a { padding: 9px 16px; border-radius: var(--r-pill); font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .3s, color .3s; }
.svc-nav a.active { background: rgba(255,255,255,.14); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }

.detail { padding: 48px 0; }
.detail-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; }
.detail:nth-child(even) .detail-main { order: 2; }
.detail-main { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.detail-main .tag { font-size: 13px; color: var(--cyan); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.detail-main .tag::before { content: ""; width: 24px; height: 1px; background: var(--cyan); }
.detail-main h3 { font-size: clamp(28px, 3.4vw, 42px); }
.detail-main > p { color: var(--ink-2); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checks li svg { flex: none; width: 22px; height: 22px; color: var(--mint); margin-top: 1px; }
.detail-side { position: relative; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: linear-gradient(160deg, rgba(26,205,255,.08), rgba(139,123,255,.06)); border-left: 1px solid rgba(255,255,255,.08); }
.detail:nth-child(even) .detail-side { border-left: 0; border-right: 1px solid rgba(255,255,255,.08); }
.big-ico { width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(160deg, rgba(26,205,255,.5), rgba(139,123,255,.35));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.5), inset 0 -10px 20px rgba(0,0,0,.15), 0 20px 40px -10px rgba(26,205,255,.5); }
.big-ico svg { width: 40px; height: 40px; }
.side-label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 14px; border-radius: var(--r-pill); font-size: 13px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.outcome { padding: 20px; border-radius: var(--r-md); }
.outcome .k { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.outcome .l { font-size: 14px; color: var(--ink-2); }

/* ---------- International ---------- */
.intl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.globe-card { border-radius: var(--r-lg); padding: 28px; min-height: 460px; display: flex; flex-direction: column; }
.globe { position: relative; flex: 1; display: grid; place-items: center; min-height: 340px; }
.globe svg { width: 100%; max-width: 420px; overflow: visible; }
.country-list { display: grid; gap: 12px; }
.country {
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 18px 20px; border-radius: var(--r-md); cursor: pointer; text-align: left; border: 0; width: 100%;
  transition: transform .4s var(--spring), background .3s;
}
.country:hover, .country.active { transform: translateX(6px); background: rgba(255,255,255,.1); }
.country .flag { font-size: 30px; line-height: 1; }
.country h4 { font-size: 17px; }
.country p { font-size: 13px; color: var(--ink-2); }
.country .arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: transform .3s var(--spring); }
.country.active .arrow { transform: rotate(90deg); background: var(--cyan); color: #04121e; }
.country .arrow svg { width: 16px; height: 16px; }
.country-detail { margin-top: 14px; padding: 22px; border-radius: var(--r-md); }
.country-detail h4 { font-size: 18px; margin-bottom: 8px; }
.country-detail p { font-size: 14px; color: var(--ink-2); }
.country-detail .pills { margin-top: 14px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 56px; counter-reset: s; }
.step { padding: 24px; border-radius: var(--r-md); position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 13px; font-weight: 700; color: var(--cyan); margin-bottom: 14px; letter-spacing: .1em; }
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cmp { padding: 36px; border-radius: var(--r-lg); }
.cmp h3 { font-size: 22px; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cmp.old { background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); }
.cmp.old li { color: var(--ink-3); }
.cmp.old li svg { color: rgba(255,120,120,.6); }
.cmp ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cmp li { display: flex; gap: 12px; align-items: center; font-size: 16px; }
.cmp li svg { width: 20px; height: 20px; flex: none; color: var(--mint); }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); color: #04121e; background: var(--grad); }

/* ---------- Diagnostic ---------- */
.diag { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.diag-meter { padding: 32px; border-radius: var(--r-lg); position: sticky; top: 120px; }
.gauge { position: relative; width: 200px; height: 200px; margin: 10px auto 20px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 14; stroke-linecap: round; }
.gauge .track { stroke: rgba(255,255,255,.08); }
.gauge .val { stroke: url(#gaugeGrad); stroke-dasharray: 502; stroke-dashoffset: 502; transition: stroke-dashoffset .8s var(--ease); }
.gauge .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge .center b { font-size: 44px; font-weight: 800; letter-spacing: -.04em; display: block; line-height: 1; }
.gauge .center span { font-size: 13px; color: var(--ink-2); }
.diag-msg { text-align: center; color: var(--ink-2); font-size: 15px; min-height: 48px; }
.diag-meter .btn { width: 100%; margin-top: 18px; }
.risk-list { display: grid; gap: 12px; }
.risk {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-md);
  cursor: pointer; text-align: left; border: 0; width: 100%; transition: transform .35s var(--spring), background .3s;
}
.risk:hover { transform: scale(1.015); }
.risk .box { flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: background .3s, transform .4s var(--spring); }
.risk .box svg { width: 16px; height: 16px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .4s var(--spring); color: #04121e; }
.risk[aria-pressed="true"] { background: rgba(26,205,255,.1); }
.risk[aria-pressed="true"] .box { background: var(--cyan); transform: scale(1.08); }
.risk[aria-pressed="true"] .box svg { opacity: 1; transform: none; }
.risk h4 { font-size: 16px; margin-bottom: 4px; }
.risk p { font-size: 14px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--r-md); padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: transform .4s var(--spring), background .3s; }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--cyan); color: #04121e; }
.faq .ans { padding: 0 26px 24px; color: var(--ink-2); }

/* ---------- CTA / Form ---------- */
.cta-card { border-radius: 40px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; overflow: hidden; }
.cta-card h2 { font-size: clamp(32px, 4.4vw, 52px); margin: 18px 0 16px; }
.cta-card > div > p { color: var(--ink-2); font-size: 17px; }
.cta-points { display: grid; gap: 10px; margin-top: 24px; }
.cta-points div { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.cta-points svg { width: 20px; height: 20px; color: var(--mint); }
.form { padding: 28px; border-radius: var(--r-lg); }
.progress { display: flex; gap: 6px; margin-bottom: 22px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; position: relative; }
.progress span::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.progress span.on::after { transform: scaleX(1); }
.fstep { display: none; animation: fadeIn .5s var(--ease); }
.fstep.active { display: grid; gap: 14px; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(16px); } }
.fstep h4 { font-size: 18px; margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 0; outline: none; font: inherit; font-size: 15px; color: var(--ink);
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 2px 6px rgba(0,0,0,.15);
  transition: box-shadow .25s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23b8c6d4' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field select option { background: #0f1c29; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 0 4px rgba(26,205,255,.15); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; cursor: pointer; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .25s, box-shadow .25s, transform .3s var(--spring); }
.opt span:hover { background: rgba(255,255,255,.09); }
.opt input:checked + span { background: rgba(26,205,255,.16); box-shadow: inset 0 0 0 1.5px var(--cyan); transform: scale(1.02); }
.opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-actions { display: flex; gap: 10px; margin-top: 6px; }
.form-actions .btn { flex: 1; }
.form-err { color: #ff9a9a; font-size: 13px; min-height: 18px; }
.success { text-align: center; padding: 30px 10px; }
.success .big-ico { margin: 0 auto 18px; }
.success h4 { font-size: 22px; margin-bottom: 8px; }
.success p { color: var(--ink-2); }

/* ---------- Footer ---------- */
footer { padding: 40px 0 48px; }
.foot { border-radius: var(--r-lg); padding: 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h5 { margin: 0 0 14px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink-2); font-size: 14px; transition: color .2s; }
.foot a:hover { color: var(--cyan); }
.foot p { color: var(--ink-2); font-size: 14px; margin-top: 14px; max-width: 320px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding: 0 8px; font-size: 13px; color: var(--ink-3); }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform .4s var(--spring); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; }
.fab .glass-dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 3px rgba(7,17,28,.6), 0 0 12px #25d366; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px) scale(.98); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav .btn { display: none; }
  .menu-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 460px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc-card, .svc-card.wide { grid-column: span 6; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step:last-child { grid-column: span 2; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .detail-card, .intl-grid, .compare, .diag, .cta-card { grid-template-columns: 1fr; }
  .detail:nth-child(even) .detail-main { order: 0; }
  .detail-side, .detail:nth-child(even) .detail-side { border: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .diag-meter { position: relative; top: 0; }
  .svc-card, .svc-card.wide { grid-column: span 12; min-height: 0; }
}
@media (max-width: 560px) {
  .hero { padding-top: 120px; }
  .hero-visual { height: 400px; }
  .orb { width: 240px; height: 240px; }
  .ring.r1 { width: 310px; height: 310px; }
  .ring.r2 { width: 370px; height: 370px; }
  .float-card { min-width: 0; padding: 14px 16px; }
  .float-card .k { font-size: 22px; }
  .fc1 { left: 0; top: 10px; }
  .fc2 { right: 0; top: 160px; }
  .fc3 { left: 10px; bottom: 10px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .stats { gap: 10px; }
  .stat { padding: 20px; }
  .steps { grid-template-columns: 1fr; }
  .steps .step:last-child { grid-column: auto; }
  .opts { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; padding: 26px; }
  .cmp { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}
