/* =========================================================
   OZYFY — Design System
   Dark, futuristic, neon-gradient aesthetic
   Brand gradient: #2d8cff (blue) -> #8a39ff (purple) -> #e23bd4 (magenta)
   ========================================================= */

@import url("https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@400,500,700&display=swap");

:root {
  /* Surfaces — frosted glass on smooth blue */
  --bg: #0c1f40;
  --bg-2: #0a1730;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-solid: #14305a;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.30);

  /* Glass fills */
  --glass-fill: linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  --glass-fill-strong: linear-gradient(150deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  --glass-blur: blur(22px) saturate(135%);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  --glass-shadow: 0 24px 60px -28px rgba(4, 16, 44, 0.85);

  /* Brand */
  --blue: #2d8cff;
  --purple: #8a39ff;
  --magenta: #e23bd4;
  --pink: #ff4fa3;
  --teal: #3fd0d6;

  /* Text */
  --ink: #f4f8ff;
  --muted: #b8c6e6;
  --faint: #8095bd;

  /* Gradients */
  --grad: linear-gradient(115deg, var(--blue) 0%, var(--purple) 58%, var(--magenta) 100%);
  --grad-soft: linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));

  --radius: 24px;
  --radius-sm: 16px;
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.10), var(--glass-shadow);

  --maxw: 1200px;
  --font-display: "Clash Display", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.1px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ambient page background: deep gradient + glowing blobs + grid */
/* Layer 1 — colour field + soft bokeh, slowly drifting (aurora) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 800px at 14% -8%, rgba(70, 140, 240, 0.38), transparent 60%),
    radial-gradient(1000px 850px at 92% 6%, rgba(48, 96, 200, 0.34), transparent 60%),
    radial-gradient(1100px 950px at 72% 102%, rgba(130, 80, 235, 0.26), transparent 64%),
    radial-gradient(780px 700px at 26% 88%, rgba(45, 190, 205, 0.18), transparent 60%),
    radial-gradient(420px 420px at 80% 28%, rgba(255, 255, 255, 0.05), transparent 70%),
    linear-gradient(165deg, #11295299 0%, var(--bg) 42%, var(--bg-2) 100%);
  transform: scale(1.18);
  animation: auroraDrift 46s ease-in-out infinite;
  will-change: transform;
}
/* Layer 2 — tech mesh: fine dot-matrix + faint circuit grid, gently panning */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(150, 195, 255, 0.06) 1px, transparent 1.5px),
    linear-gradient(rgba(120, 180, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px, 170px 170px, 170px 170px;
  /* fade out toward the edges so it never crowds the content */
  -webkit-mask-image: radial-gradient(ellipse 130% 95% at 50% 22%, #000 42%, transparent 92%);
  mask-image: radial-gradient(ellipse 130% 95% at 50% 22%, #000 42%, transparent 92%);
  animation: gridDrift 34s linear infinite;
  will-change: background-position;
}
@keyframes auroraDrift {
  0%   { transform: scale(1.18) translate(0, 0); }
  50%  { transform: scale(1.22) translate(-1.8%, 1.4%); }
  100% { transform: scale(1.18) translate(0, 0); }
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0, 0 0; }
  to   { background-position: 34px 34px, 170px 170px, 170px 170px; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 80px 0; }

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

/* Eyebrow / chip */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c4dcff;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--glass-fill);
  border: 1px solid var(--line);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
}

.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.6vw, 52px); margin: 18px 0 0; }
.section-head p { color: var(--muted); font-size: 18px; margin: 18px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 26px;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 36px -12px rgba(138, 57, 255, 0.8), inset 0 0 0 1px rgba(255,255,255,0.12);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -14px rgba(226, 59, 212, 0.85), inset 0 0 0 1px rgba(255,255,255,0.2); }
.btn-ghost {
  background: var(--glass-fill);
  color: var(--ink);
  border-color: var(--line-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.55); background: var(--glass-fill-strong); }

/* ---------- Cards / glass ---------- */
.glass {
  background: var(--glass-fill);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
}
.card {
  --accent: #2d8cff; --accent2: #8a39ff;
  --mx: 50%; --my: 0%;
  position: relative;
  isolation: isolate;
  background: var(--glass-fill);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s cubic-bezier(.2,.7,.2,1), background .4s ease;
}
/* colourful gradient border (masked) */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 1.4px;
  background: linear-gradient(140deg, var(--accent), var(--accent2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .45; transition: opacity .4s ease;
}
/* cursor-following spotlight */
.card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%);
  opacity: 0; transition: opacity .4s ease;
}
.card:hover {
  transform: translateY(-6px);
  background: var(--glass-fill-strong);
  box-shadow: var(--glass-highlight), 0 34px 70px -30px color-mix(in srgb, var(--accent) 60%, rgba(4, 16, 44, 0.92));
}
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }

/* colourful accent cycling within grids */
.grid .card:nth-child(4n+1) { --accent: #2d8cff; --accent2: #3fd0d6; }
.grid .card:nth-child(4n+2) { --accent: #8a39ff; --accent2: #2d8cff; }
.grid .card:nth-child(4n+3) { --accent: #e23bd4; --accent2: #8a39ff; }
.grid .card:nth-child(4n+4) { --accent: #3fd0d6; --accent2: #2d8cff; }

/* Icon badge — soft glass tile with a colored inner glow */
.icon-badge {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--glass-fill-strong);
  border: 1px solid var(--line-strong);
  box-shadow: var(--glass-highlight), 0 10px 24px -12px rgba(45,140,255,0.55);
  margin-bottom: 20px;
}
.icon-badge::before {
  content: "";
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(120% 120% at 25% 15%, rgba(120,180,255,0.35), transparent 55%);
  pointer-events: none;
}
.icon-badge svg { width: 26px; height: 26px; stroke: #eaf2ff; position: relative; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(12, 31, 64, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: var(--glass-highlight);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  font-weight: 500; font-size: 15px; color: var(--muted);
  padding: 9px 15px; border-radius: 100px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(255,255,255,0.05); }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px; padding: 12px;
  background: rgba(18, 38, 72, 0.72);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  backdrop-filter: blur(26px) saturate(140%);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 12px; width: 100%;
  color: var(--ink); font-size: 14.5px; font-weight: 500;
}
.nav-dropdown a:hover { background: var(--glass-fill-strong); }
.nav-dropdown a span.ic { width: 20px; display: grid; place-items: center; }
.nav-dropdown a svg { width: 18px; height: 18px; stroke: #cfe2ff; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 78px 0 0; z-index: 99;
  background: rgba(10, 24, 50, 0.82);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.5,.1,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: 80px 0 36px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 34px; margin-bottom: 20px; }
.footer-brand p { color: var(--muted); max-width: 320px; font-size: 15.5px; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); padding: 6px 0; font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; }
.social-row { display: flex; gap: 10px; }
.social-row a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--glass-fill); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: .25s; }
.social-row a:hover { border-color: var(--line-strong); background: var(--grad-soft); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; stroke: #c9bfff; }

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* List with check icons */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list li b { color: var(--ink); font-weight: 700; }
.check-icon { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--grad); margin-top: 2px; }
.check-icon svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.16,.7,.2,1), transform .8s cubic-bezier(.16,.7,.2,1); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }

/* Whole-section soft reveal as it scrolls into view (gated on .js so no-JS still shows) */
.js .section, .js .hero, .js .page-hero, .js .section-sm { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.16,.7,.2,1), transform .9s cubic-bezier(.16,.7,.2,1); }
.js .section.in-view, .js .hero.in-view, .js .page-hero.in-view, .js .section-sm.in-view { opacity: 1; transform: none; }

/* Anchor jumps land below the fixed header */
section[id], [id] { scroll-margin-top: 96px; }

/* ---------- Page transition overlay ---------- */
.page-fade {
  position: fixed; inset: 0; z-index: 9999;
  background:
    radial-gradient(800px 500px at 30% 20%, rgba(45,140,255,0.25), transparent 60%),
    radial-gradient(700px 600px at 75% 80%, rgba(226,59,212,0.22), transparent 60%),
    var(--bg);
  pointer-events: none;
  animation: overlayOut .6s cubic-bezier(.5,.1,.2,1) forwards;
}
@keyframes overlayOut { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
.page-fade.leaving { animation: none; opacity: 0; visibility: visible; transition: opacity .34s ease; pointer-events: all; }
.page-fade.leaving.on { opacity: 1; }
.page-fade.done { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .section, .hero, .page-hero, .section-sm { opacity: 1 !important; transform: none !important; transition: none !important; }
  .page-fade { display: none; }
  body::before, body::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* float anim for hero orb */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes pulse-glow { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .section-head h2 { font-size: 30px; }
}

/* =========================================================
   PAGE COMPONENTS
   ========================================================= */

/* ---- Hero ---- */
.hero { position: relative; padding: 168px 0 110px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 78px); font-weight: 600; }
.hero .lede { color: var(--muted); font-size: 19px; max-width: 520px; margin: 24px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* rotating headline */
.rotator { position: relative; display: grid; align-items: start; }
.rot-item { grid-area: 1/1; opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rot-item.active { opacity: 1; transform: none; }

/* hero visual — glowing orb */
.hero-orb { position: relative; aspect-ratio: 1; max-width: 480px; margin-left: auto; }
.orb-core {
  position: absolute; inset: 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ff7ad9, transparent 45%),
    radial-gradient(circle at 70% 72%, #2d8cff, transparent 50%),
    conic-gradient(from 210deg, #2d8cff, #8a39ff, #e23bd4, #2d8cff);
  filter: blur(2px);
  box-shadow: 0 0 120px 10px rgba(138, 57, 255, 0.55), inset 0 0 80px rgba(255,255,255,0.18);
  animation: floaty 7s ease-in-out infinite;
}
.orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(180,160,255,0.4);
  animation: spin-slow 26s linear infinite;
}
.orb-ring::before, .orb-ring::after {
  content: ""; position: absolute; border-radius: 50%;
  width: 14px; height: 14px; background: var(--magenta);
  box-shadow: 0 0 18px var(--magenta);
  top: -7px; left: 50%; transform: translateX(-50%);
}
.orb-ring::after { background: var(--blue); box-shadow: 0 0 18px var(--blue); top: auto; bottom: -7px; }
.orb-ring.r2 { inset: 9%; animation-duration: 18s; animation-direction: reverse; border-color: rgba(45,140,255,0.35); }
.hero-badge {
  position: absolute; padding: 12px 16px; border-radius: 16px;
  background: var(--glass-fill-strong); border: 1px solid var(--line-strong);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight), var(--glass-shadow);
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600;
  animation: floaty 6s ease-in-out infinite;
}
.hero-badge .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); }
.hero-badge .ic svg { width: 16px; height: 16px; stroke: #fff; }
.hero-badge.b1 { top: 8%; left: -6%; }
.hero-badge.b2 { bottom: 12%; right: -4%; animation-delay: 1.5s; }

/* stat strip */
.stat-strip { display: flex; flex-wrap: wrap; gap: 14px 48px; margin-top: 48px; }
.stat .n { font-family: var(--font-display); font-size: 34px; font-weight: 600; }
.stat .l { color: var(--muted); font-size: 14px; }

/* logos / trust row */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scrollx 26s linear infinite; opacity: .7; }
.marquee-track span { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--muted); white-space: nowrap; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---- service card ---- */
.svc-card .num { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-size: 15px; color: var(--faint); }
.svc-card h3 { font-size: 22px; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: #cabfff; }
.svc-link svg { width: 16px; height: 16px; transition: transform .25s; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }

/* ---- feature / value ---- */
.value h3 { font-size: 20px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---- process steps ---- */
.steps { position: relative; display: grid; gap: 18px; }
.step {
  --accent: var(--blue);
  --accent2: var(--purple);
  --mx: 50%; --my: 0%;
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  position: relative; isolation: isolate;
  padding: 24px 26px;
  border-radius: 20px;
  background: var(--glass-fill);
  border: 1px solid transparent;
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s cubic-bezier(.2,.7,.2,1), background .4s ease;
}
/* per-step colourful accents */
.step:nth-child(1) { --accent: #2d8cff; --accent2: #3fd0d6; }
.step:nth-child(2) { --accent: #8a39ff; --accent2: #2d8cff; }
.step:nth-child(3) { --accent: #e23bd4; --accent2: #8a39ff; }
.step:nth-child(4) { --accent: #3fd0d6; --accent2: #2d8cff; }
.step:nth-child(5) { --accent: #ff4fa3; --accent2: #e23bd4; }

/* colourful gradient border (mask trick) */
.step::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 1.4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .65; transition: opacity .4s ease;
}
/* cursor-following spotlight */
.step::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%);
  opacity: 0; transition: opacity .4s ease;
}
.step:hover {
  transform: translateY(-4px);
  background: var(--glass-fill-strong);
  box-shadow: var(--glass-highlight), 0 28px 60px -28px color-mix(in srgb, var(--accent) 70%, rgba(4,16,44,0.9));
}
.step:hover::before { opacity: 1; }
.step:hover::after { opacity: 1; }

.step-num {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 24px; font-weight: 600; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 38%, rgba(255,255,255,0.12)), color-mix(in srgb, var(--accent2) 30%, rgba(255,255,255,0.04)));
  border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line-strong));
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight), 0 12px 28px -14px color-mix(in srgb, var(--accent) 80%, transparent);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.step:hover .step-num {
  transform: translateY(-2px) scale(1.06);
  box-shadow: var(--glass-highlight), 0 18px 36px -12px color-mix(in srgb, var(--accent) 90%, transparent);
}
.step h3 { font-size: 21px; margin-bottom: 6px; transition: color .3s ease; }
.step:hover h3 { color: color-mix(in srgb, var(--accent) 35%, #ffffff); }
.step p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--glass-fill); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--glass-highlight); overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item.open { border-color: var(--line-strong); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: 18.5px; }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: var(--grad-soft); transition: transform .3s; }
.faq-q .pm svg { width: 15px; height: 15px; stroke: #d7cfff; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { margin: 0; padding: 0 24px 24px; color: var(--muted); }

/* ---- CTA band ---- */
.cta-band { position: relative; border-radius: 32px; padding: 64px 56px; overflow: hidden; text-align: center; border: 1px solid var(--line-strong); }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 320px at 50% -20%, rgba(226,59,212,0.4), transparent 60%), linear-gradient(180deg, rgba(45,140,255,0.16), rgba(138,57,255,0.16));
}
.cta-band h2 { font-size: clamp(28px, 4.4vw, 46px); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 16px auto 30px; font-size: 18px; }

/* ---- contact form ---- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 13px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--ink); font-family: var(--font-body); font-size: 15.5px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.10); box-shadow: 0 0 0 3px rgba(90,150,255,0.22);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-info-item .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-strong); }
.contact-info-item .ic svg { width: 20px; height: 20px; stroke: #d7cfff; }
.contact-info-item h4 { font-family: var(--font-body); font-weight: 700; font-size: 15px; margin: 0 0 2px; }
.contact-info-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---- inner page hero ---- */
.page-hero { padding: 156px 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 6vw, 70px); }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 640px; margin: 22px auto 0; }

/* ---- team ---- */
.team-card { text-align: center; }
.team-avatar { width: 100%; aspect-ratio: 1; border-radius: 18px; margin-bottom: 16px; position: relative; overflow: hidden; border: 1px solid var(--line); }
.team-avatar .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 52px; font-weight: 600; color: rgba(255,255,255,0.92); }
.team-card h3 { font-size: 20px; }
.team-card .role { color: #cabfff; font-size: 14px; font-weight: 600; }

/* ---- blog cards ---- */
.blog-card { display: flex; flex-direction: column; padding: 0; }
.blog-thumb { aspect-ratio: 16/9; border-radius: var(--radius) var(--radius) 0 0; position: relative; overflow: hidden; }
.blog-body { padding: 24px 26px 28px; }
.blog-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #cabfff; }
.blog-card h3 { font-size: 20px; margin: 10px 0; }
.blog-card p { color: var(--muted); font-size: 15px; margin: 0; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-orb { margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 130px 0 70px; }
  .cta-band { padding: 44px 24px; }
  .hero-badge.b1 { left: 0; } .hero-badge.b2 { right: 0; }
}

/* =========================================================
   RESPONSIVE REFINEMENTS — phones, tablets, large screens
   (placed last so it wins the cascade)
   ========================================================= */

/* Never allow sideways scroll on any device */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }

/* Large / wide screens: let the layout breathe a little more */
@media (min-width: 1440px) {
  :root { --maxw: 1280px; }
  .hero h1 { font-size: clamp(48px, 5.4vw, 84px); }
}

/* Tablet landscape and below */
@media (max-width: 1024px) {
  .hero-badge.b1 { left: 0; }
  .hero-badge.b2 { right: 0; }
  .section { padding: 92px 0; }
}

/* Stack the two-column "feature" splits (process / who-we-are) earlier */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-orb { margin: 0 auto; max-width: 420px; }
  /* sticky process intro shouldn't stick once stacked */
  .section [style*="position:sticky"] { position: static !important; top: auto !important; }
  .steps { margin-top: 8px; }
}

/* Small tablets / large phones */
@media (max-width: 768px) {
  .nav { height: 66px; }
  .nav-logo img { height: 26px; }
  .mobile-menu { inset: 66px 0 0; }
  .hero { padding: 120px 0 64px; }
  .page-hero { padding: 124px 0 20px; }
  .section, .section-sm { padding: 72px 0; }
  .hero .lede { font-size: 17.5px; }
  .stat-strip { gap: 14px 32px; }
  .stat .n { font-size: 30px; }
}

/* Phones */
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .section, .section-sm { padding: 60px 0; }
  .hero { padding: 110px 0 56px; }
  .page-hero { padding: 112px 0 14px; }

  /* Full-width, wrap-friendly buttons so long labels never overflow */
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .btn { white-space: normal; text-align: center; }

  .hero-orb { max-width: 300px; }
  .hero-badge { font-size: 12.5px; padding: 10px 13px; }

  .stat-strip { gap: 18px 28px; margin-top: 36px; }
  .stat .n { font-size: 27px; }

  .card { padding: 24px; }
  .step { grid-template-columns: 52px 1fr; gap: 16px; }
  .step-num { width: 52px; height: 52px; border-radius: 15px; font-size: 21px; }

  .faq-q { padding: 18px 18px; font-size: 16.5px; }
  .faq-a p { padding: 0 18px 20px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
  .section-head p, .hero .lede, .page-hero p { font-size: 16.5px; }
}

/* Very small phones (≈320–360px) */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 38px; }
  .eyebrow { font-size: 11.5px; letter-spacing: 0.16em; padding: 7px 13px; }
  .hero-orb { max-width: 250px; }
  .hero-badge.b1 { top: 2%; }
  .nav-cta .btn { display: none; }
}

/* Touch devices: disable hover-lift transforms that feel laggy on tap */
@media (hover: none) {
  .card:hover { transform: none; }
  .btn-primary:hover, .btn-ghost:hover { transform: none; }
  .step:hover { transform: none; }
  .step:hover .step-num { transform: none; }
  .step::after, .card::after { display: none; }
}


/* =========================================================
   ADD-ONS: loader · theme toggle · 3D illustrations · horizontal scroll
   ========================================================= */

/* ---------- 1. Smoother loader ---------- */
.page-fade { display: grid; place-items: center; }
.page-fade .loader {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.page-fade.loading .loader { opacity: 1; }
.loader-spinner {
  width: 78px; height: 78px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--blue), var(--purple), var(--magenta), var(--blue));
  -webkit-mask: radial-gradient(farthest-side, transparent 60%, #000 62%);
  mask: radial-gradient(farthest-side, transparent 60%, #000 62%);
  animation: spin .9s linear infinite;
}
.loader-logo { height: 30px; opacity: .96; animation: loaderPulse 1.6s ease-in-out infinite; }
.loader-text { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loaderPulse { 0%,100% { opacity: .55; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

/* top navigation progress bar */
.nav-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 10000;
  background: var(--grad); box-shadow: 0 0 12px rgba(138,57,255,0.6);
  opacity: 0; transition: width .35s ease, opacity .3s ease;
}
.nav-progress.go { opacity: 1; }

/* ---------- 2. Theme toggle ---------- */
.theme-toggle {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--glass-fill); border: 1px solid var(--line-strong);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight); color: var(--ink);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.theme-toggle:hover { transform: translateY(-2px) rotate(-12deg); background: var(--glass-fill-strong); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .ic-sun { display: none; }
.theme-toggle .ic-moon { display: block; }
html[data-theme="light"] .theme-toggle .ic-sun { display: block; }
html[data-theme="light"] .theme-toggle .ic-moon { display: none; }
.mobile-theme { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding: 14px 0; border-top: 1px solid var(--line); }
.mobile-theme span { font-family: var(--font-display); font-size: 18px; }

/* ---------- 3. 3D illustrations (pure CSS) ---------- */
.illu { position: relative; display: inline-block; }
.illu-float { animation: floaty 7s ease-in-out infinite; }
.illu-float.d1 { animation-duration: 8.5s; animation-delay: -2s; }
.illu-float.d2 { animation-duration: 6.5s; animation-delay: -1s; }

/* glossy sphere */
.illu-sphere {
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, #ffffff 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 30% 28%, #bfe0ff 6%, #5aa0ff 42%, #2d6cf0 72%, #1c43c0 100%);
  box-shadow:
    inset -12px -16px 34px rgba(15,30,80,0.5),
    inset 10px 12px 26px rgba(255,255,255,0.45),
    0 34px 60px -22px rgba(45,120,255,0.65);
}
.illu-sphere.violet {
  background:
    radial-gradient(circle at 32% 26%, #ffffff 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 30% 28%, #e7c8ff 6%, #b06bff 42%, #8a39ff 72%, #5e1fbf 100%);
  box-shadow: inset -12px -16px 34px rgba(40,15,80,0.5), inset 10px 12px 26px rgba(255,255,255,0.4), 0 34px 60px -22px rgba(138,57,255,0.6);
}
.illu-sphere.magenta {
  background:
    radial-gradient(circle at 32% 26%, #ffffff 0%, rgba(255,255,255,0) 24%),
    radial-gradient(circle at 30% 28%, #ffd2f4 6%, #ff6fd6 42%, #e23bd4 72%, #a01f99 100%);
  box-shadow: inset -12px -16px 34px rgba(70,15,60,0.5), inset 10px 12px 26px rgba(255,255,255,0.4), 0 34px 60px -22px rgba(226,59,212,0.6);
}

/* faceted gem / octahedron */
.illu-gem { aspect-ratio: 1; position: relative; filter: drop-shadow(0 26px 34px rgba(45,120,255,0.5)); }
.illu-gem::before, .illu-gem::after { content: ""; position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.illu-gem::before { background: linear-gradient(135deg, #7db0ff 0%, #3a6cf0 48%, #6a3ff0 100%); }
.illu-gem::after { clip-path: polygon(50% 0, 100% 50%, 50% 50%, 0 50%); background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.08)); mix-blend-mode: screen; }

/* glassy ring / torus */
.illu-ring {
  border-radius: 50%;
  background: conic-gradient(from 210deg, #2d8cff, #8a39ff, #e23bd4, #3fd0d6, #2d8cff);
  -webkit-mask: radial-gradient(farthest-side, transparent 54%, #000 56%);
  mask: radial-gradient(farthest-side, transparent 54%, #000 56%);
  box-shadow: 0 26px 50px -20px rgba(138,57,255,0.55);
  filter: saturate(115%);
}

/* decorative shapes layer for hero / section corners */
.illu-scatter { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.illu-scatter > * { position: absolute; }

/* ---------- 4. Horizontal scroll ---------- */
.h-scroll { position: relative; }
.h-track {
  display: flex; gap: 22px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 4px 26px;
  -ms-overflow-style: none; scrollbar-width: none;
  cursor: grab; -webkit-overflow-scrolling: touch;
}
.h-track::-webkit-scrollbar { display: none; }
.h-track.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.h-track.dragging * { pointer-events: none; }
.h-track > .card {
  scroll-snap-align: center;
  flex: 0 0 clamp(258px, 78vw, 340px);
  min-height: 320px;
}
/* soft edge fades so cards melt out at the sides */
.h-scroll::before, .h-scroll::after {
  content: ""; position: absolute; top: 0; bottom: 26px; width: 70px; z-index: 2; pointer-events: none;
}
.h-scroll::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.h-scroll::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.h-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.h-nav { display: flex; gap: 10px; }
.h-arrow {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--glass-fill); border: 1px solid var(--line-strong);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-highlight); color: var(--ink);
  transition: transform .25s ease, background .25s ease, opacity .25s ease;
}
.h-arrow:hover { transform: translateY(-2px); background: var(--glass-fill-strong); }
.h-arrow:disabled { opacity: .35; cursor: default; transform: none; }
.h-arrow svg { width: 20px; height: 20px; }
@media (hover: none) { .h-scroll::before, .h-scroll::after { display: none; } }

/* ---------- Light theme ---------- */
html[data-theme="light"] {
  --bg: #e9f0fb;
  --bg-2: #d7e3f6;
  --panel: rgba(255, 255, 255, 0.6);
  --panel-solid: #ffffff;
  --line: rgba(22, 45, 95, 0.12);
  --line-strong: rgba(22, 45, 95, 0.22);
  --glass-fill: linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.45));
  --glass-fill-strong: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62));
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glass-shadow: 0 24px 50px -28px rgba(30, 60, 130, 0.4);
  --ink: #15233f;
  --muted: #51618a;
  --faint: #8493b5;
}
html[data-theme="light"] body::before {
  background:
    radial-gradient(1100px 800px at 14% -8%, rgba(120, 170, 255, 0.55), transparent 60%),
    radial-gradient(1000px 850px at 92% 6%, rgba(150, 140, 255, 0.45), transparent 60%),
    radial-gradient(1100px 950px at 72% 102%, rgba(190, 160, 255, 0.4), transparent 64%),
    radial-gradient(780px 700px at 26% 88%, rgba(140, 220, 235, 0.4), transparent 60%),
    linear-gradient(165deg, #f6faff 0%, var(--bg) 45%, var(--bg-2) 100%);
}
html[data-theme="light"] body::after {
  background-image:
    radial-gradient(circle, rgba(40, 80, 160, 0.07) 1px, transparent 1.5px),
    linear-gradient(rgba(40, 80, 160, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 80, 160, 0.045) 1px, transparent 1px);
}
/* fix hardcoded light-on-dark accents for light mode */
html[data-theme="light"] .eyebrow { color: #2f54c8; }
html[data-theme="light"] .icon-badge svg { stroke: #21407a; }
html[data-theme="light"] .icon-badge { box-shadow: var(--glass-highlight), 0 10px 24px -12px rgba(45,120,255,0.4); }
html[data-theme="light"] .step-num { color: #15233f; }
html[data-theme="light"] .nav-dropdown { background: rgba(255, 255, 255, 0.82); }
html[data-theme="light"] .nav-dropdown a { color: var(--ink); }
html[data-theme="light"] .nav-dropdown a svg { stroke: #3a5bd0; }
html[data-theme="light"] .faq-q .pm svg { stroke: #3a5bd0; }
html[data-theme="light"] .site-header.scrolled { background: rgba(244, 248, 255, 0.7); }
html[data-theme="light"] .mobile-menu { background: rgba(240, 246, 255, 0.92); }
html[data-theme="light"] .svc-link, html[data-theme="light"] .blog-tag, html[data-theme="light"] .team-card .role { color: #6a3ff0; }
html[data-theme="light"] .social-row svg { stroke: #3a5bd0; }
html[data-theme="light"] .loader-text { color: var(--muted); }
html[data-theme="light"] .hero-badge .ic svg, html[data-theme="light"] .check-icon svg { stroke: #fff; }
html[data-theme="light"] .nav-toggle span { background: var(--ink); }
