/* ==========================================================================
   REVYN STUDIO — One-Page Site
   Dark theme matched to brand logo: near-black ink, blue accent, grey neutrals
   ========================================================================== */

:root {
  --bg: #0a0c10;
  --bg-soft: #0d1015;
  --surface: #12151b;
  --surface-2: #171b23;
  --border: rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);

  --blue: #4f8ff7;
  --blue-2: #93c5fd;
  --blue-deep: #1e40af;
  --grey: #94a3b8;
  --grey-2: #cbd5e1;
  --grey-deep: #334155;

  /* Blue -> grey brand gradient, used for headline text, glow rings, borders */
  --blue-grad: linear-gradient(135deg, #93c5fd 0%, #4f8ff7 45%, #2f6fe0 75%, #1e40af 100%);
  --brand-grad: linear-gradient(120deg, #93c5fd 0%, #4f8ff7 35%, #94a3b8 70%, #334155 100%);
  --glow-grad: conic-gradient(from 0deg, #4f8ff7, #94a3b8, #1e40af, #4f8ff7);

  --text: #f6f3f2;
  --text-muted: #aca7b8;
  --text-faint: #726d80;

  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --maxw: 1180px;
  --font-head: "Baloo 2", "Poppins", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

::selection { background: var(--blue); color: #08101f; }

/* Custom scrollbar (webkit) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-deep); }

/* -------------------------- Background field -------------------------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  will-change: transform;
}
.blob--1 { width: 640px; height: 640px; background: radial-gradient(circle, var(--blue) 0%, transparent 70%); top: -220px; left: -160px; opacity: 0.4; animation: driftA 26s ease-in-out infinite; }
.blob--2 { width: 560px; height: 560px; background: radial-gradient(circle, var(--grey) 0%, transparent 70%); top: 24%; right: -220px; opacity: 0.32; animation: driftB 32s ease-in-out infinite; }
.blob--3 { width: 480px; height: 480px; background: radial-gradient(circle, var(--blue-2) 0%, transparent 70%); bottom: -200px; left: 18%; opacity: 0.22; animation: driftA 22s ease-in-out infinite reverse; }
.blob--4 { width: 380px; height: 380px; background: radial-gradient(circle, var(--grey-deep) 0%, transparent 70%); top: 55%; left: 42%; opacity: 0.12; animation: driftB 28s ease-in-out infinite reverse; }

/* Fine grain texture for depth, laid over the blobs */
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@keyframes driftA {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, 50px) scale(1.12); }
}
@keyframes driftB {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-70px, 40px) scale(1.08); }
}

/* Floating spark particles (echo the logo's starburst) */
.spark {
  position: absolute;
  color: var(--blue);
  opacity: 0;
  font-size: 18px;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(0) rotate(0deg) scale(0.7); opacity: 0; }
  10% { opacity: 0.55; }
  85% { opacity: 0.35; }
  100% { transform: translateY(-620px) rotate(140deg) scale(1.1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .spark, .reveal, .marquee-track { animation: none !important; transition: none !important; }
}

/* ------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14.5px;
  font-family: var(--font-body);
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--brand-grad);
  background-size: 180% auto;
  color: #08101f;
  box-shadow: 0 10px 30px -10px rgba(148,163,184,0.4), 0 10px 30px -14px rgba(79,143,247,0.55);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .5s ease;
}
.btn-primary:hover { background-position: 100% center; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -8px rgba(79,143,247,0.7); }
.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
  background: rgba(255,255,255,0.02);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); border-color: var(--blue); transform: translateY(-3px); }

.btn-sm { padding: 11px 20px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* -------------------------------- Navbar --------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled {
  padding: 12px 0;
  background: rgba(10,12,16,0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 40px -22px rgba(0,0,0,0.9);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand {
  display: flex; align-items: center;
  position: relative;
  padding: 6px 4px;
}
.brand-glow {
  position: absolute;
  left: -14px; top: 50%;
  width: 92px; height: 92px;
  transform: translateY(-50%);
  background: var(--glow-grad);
  border-radius: 50%;
  filter: blur(26px);
  opacity: 0.35;
  animation: spin 8s linear infinite;
  transition: width .35s ease, height .35s ease, opacity .35s ease;
  z-index: -1;
}
.navbar.is-scrolled .brand-glow { width: 70px; height: 70px; opacity: 0.28; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

.brand-img-wrap { position: relative; overflow: hidden; }
.brand img {
  height: 78px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(79,143,247,0.4));
  transition: height .35s var(--ease), filter .3s ease, transform .35s var(--ease);
}
.navbar.is-scrolled .brand img { height: 58px; }
.brand:hover img { filter: drop-shadow(0 0 22px rgba(79,143,247,0.6)); transform: scale(1.03); }

/* Shine sweep: a light band that periodically sweeps across the logo,
   masked to the logo's own opaque pixels so it only lights up the artwork. */
.brand-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.85) 48%, rgba(255,255,255,0.85) 52%, transparent 65%);
  background-size: 260% 100%;
  background-position: 150% 0;
  -webkit-mask-image: url("assets/logo.png");
  mask-image: url("assets/logo.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: logoShine 5s ease-in-out infinite;
  animation-delay: 1.2s;
  pointer-events: none;
}
@keyframes logoShine {
  0%, 40% { background-position: 150% 0; }
  60%, 100% { background-position: -60% 0; }
}

/* Little bounce triggered by JS when the navbar crosses its scroll threshold */
.brand.logo-pop img { animation: logoPop .5s var(--ease); }
@keyframes logoPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color .2s ease, background .2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--blue-2); background: rgba(79,143,247,0.1); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--blue-2); display:block; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #08080b;
  padding: 100px 30px 40px;
  flex-direction: column;
  gap: 4px;
}
.mobile-panel.is-open { display: flex; }
.mobile-panel a {
  padding: 16px 6px;
  font-size: 21px;
  font-family: var(--font-head);
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-panel .btn { margin-top: 22px; }
body.nav-open .nav-cta > .btn-primary { display: none; }

/* -------------------------------- Marquee -------------------------------- */
.marquee {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 26s linear infinite;
}
.marquee-track span {
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
}
.marquee-track span em { color: var(--blue-2); font-style: normal; }
.marquee-track .dot { color: var(--blue); }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* -------------------------------- Hero ----------------------------------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 170px 0 90px;
  text-align: center;
}

/* Big hero logo: entrance pop, continuous float, rotating aura, and a
   scroll-tied parallax handled in JS via the --scroll-y custom property. */
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 34px;
  transition: transform .1s linear, opacity .1s linear;
}
.hero-logo-inner {
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  animation: heroLogoIn 1s var(--ease) forwards, heroLogoFloat 6s ease-in-out infinite 1s;
}
@keyframes heroLogoIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-logo-aura {
  position: absolute;
  left: 50%; top: 50%;
  width: 340px; height: 340px;
  transform: translate(-50%, -50%);
  background: var(--glow-grad);
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.28;
  animation: spin 10s linear infinite;
  z-index: -1;
}
.hero-logo-inner img {
  width: min(72vw, 420px);
  height: auto;
  filter: drop-shadow(0 0 26px rgba(79,143,247,0.35)) drop-shadow(0 0 60px rgba(148,163,184,0.18));
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(79,143,247,0.06);
  color: var(--blue-2);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.hero-tag .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 0 rgba(79,143,247,0.6);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(79,143,247,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(79,143,247,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,143,247,0); }
}

.hero h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  max-width: 920px;
  margin: 0 auto 26px;
}
.hero h1 .grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 220% auto;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 42px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 70px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 860px;
  margin: 0 auto;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.hero-stat { background: rgba(22,22,29,0.7); padding: 24px 18px; }
.hero-stat .num {
  font-family: var(--font-head);
  font-size: 32px;
  color: var(--blue-2);
}
.hero-stat .label { font-size: 11.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }

/* -------------------------------- Sections -------------------------------- */
.section { position: relative; z-index: 1; padding: 110px 0; }
.section--tight { padding: 80px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.012) 25%, rgba(255,255,255,0.012) 75%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--blue-2); font-weight: 700; margin-bottom: 16px;
}
.section-label::before { content: "\2726"; font-size: 12px; color: var(--blue); }

.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 44px); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 16.5px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* -------------------------------- Cards (tilt) ---------------------------- */
.tilt-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .25s var(--ease), border-color .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.tilt-card:hover {
  border-color: rgba(79,143,247,0.35);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(79,143,247,0.12);
}
.tilt-card .card-glow {
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle 220px at var(--mx,50%) var(--my,50%), rgba(79,143,247,0.13), transparent 70%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.tilt-card:hover .card-glow { opacity: 1; }

.card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(79,143,247,0.1);
  border: 1px solid rgba(79,143,247,0.28);
  margin-bottom: 22px; font-size: 24px;
}
.card-num { font-family: var(--font-head); font-size: 13px; color: var(--blue); letter-spacing: 0.16em; display: block; margin-bottom: 16px; }
.tilt-card h3 { font-size: 23px; margin-bottom: 12px; }
.tilt-card p { color: var(--text-muted); font-size: 15px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip-list span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  padding: 6px 13px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Small card (used in why-us / work) */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  transition: transform .3s var(--ease), border-color .3s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 14.5px; }

/* -------------------------------- Process (scroll-draw line) -------------- */
.process-wrap { position: relative; }
.process-line-svg { position: absolute; top: 46px; left: 0; width: 100%; height: 4px; z-index: 0; }
.process-line-svg path { fill: none; stroke: var(--border-strong); stroke-width: 2; }
.process-line-svg path.fill {
  stroke: var(--blue);
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.6s var(--ease);
}
.process-line-svg path.fill.is-drawn { stroke-dashoffset: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 1; }
.step { text-align: left; }
.step-dot {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  display: grid; place-items: center;
  margin-bottom: 22px;
  font-family: var(--font-head);
  font-size: 30px;
  color: var(--text-faint);
  transition: border-color .4s ease, color .4s ease, background .4s ease, transform .4s ease;
}
.step.is-active .step-dot,
.step:hover .step-dot {
  border-color: var(--blue);
  color: var(--blue-2);
  background: rgba(79,143,247,0.08);
  transform: scale(1.05);
}
.step h4 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* -------------------------------- Why / values ----------------------------- */
.value-row { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.value-row:first-child { border-top: 1px solid var(--border); }
.value-icon {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px;
  background: rgba(79,143,247,0.1); border: 1px solid rgba(79,143,247,0.25);
  display: grid; place-items: center; font-size: 18px; color: var(--blue-2);
}
.value-row h4 { font-size: 18px; margin-bottom: 6px; }
.value-row p { color: var(--text-muted); font-size: 14.5px; }

/* -------------------------------- Contact -------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: flex-start; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 42px 38px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); font-weight: 700; }
.field input, .field select, .field textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: rgba(79,143,247,0.05);
}
.field textarea { resize: vertical; min-height: 120px; }
#formSuccess {
  display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(79,143,247,0.1); border: 1px solid rgba(79,143,247,0.3);
  color: var(--blue-2); font-size: 13.5px; font-weight: 700;
}
#formSuccess.show { display: block; }

.contact-info-card { background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 34px; }
.contact-info-row { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-info-row:last-child { border-bottom: none; }
.contact-icon {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-grad); display: grid; place-items: center;
  font-weight: 800; color: #08101f; font-size: 18px;
}
.contact-info-row .k { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 3px; }
.contact-info-row .v { font-weight: 700; font-size: 16px; }
.contact-info-row .v a:hover { color: var(--blue-2); }

/* -------------------------------- CTA banner -------------------------------- */
.cta-banner {
  position: relative; border-radius: var(--radius-lg); padding: 66px 54px; overflow: hidden;
  background: linear-gradient(135deg, #131a26 0%, #0e131c 60%, #0a0d12 100%);
  border: 1px solid rgba(79,143,247,0.2); text-align: center;
}
.cta-banner::before {
  content: ""; position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 620px; height: 320px;
  background: radial-gradient(ellipse, rgba(79,143,247,0.22), transparent 70%),
              radial-gradient(ellipse 300px 200px at 80% 20%, rgba(148,163,184,0.18), transparent 70%);
}
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-banner p { color: var(--text-muted); max-width: 540px; margin: 0 auto 30px; position: relative; z-index: 1; font-size: 16px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* -------------------------------- Footer -------------------------------- */
.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer-top img { height: 48px; filter: drop-shadow(0 0 10px rgba(79,143,247,0.3)); }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--blue-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: 12.5px; color: var(--text-faint); }
.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--blue-2); }

/* -------------------------------- Reveal on scroll -------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.94); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* -------------------------------- Back to top -------------------------------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue-grad); color: #08101f;
  display: grid; place-items: center; font-size: 18px; font-weight: 800;
  box-shadow: 0 12px 30px -8px rgba(79,143,247,0.6);
  opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.9);
  transition: opacity .3s ease, transform .3s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }

/* -------------------------------- Responsive -------------------------------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .process-line-svg { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 46px 26px; }
}
@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 60px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .navbar .container { flex-wrap: nowrap; gap: 10px; }
  .brand img { height: 46px; }
  .navbar.is-scrolled .brand img { height: 38px; }
  .brand-glow { width: 66px; height: 66px; left: -10px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 11.5px; }
  .nav-toggle { width: 38px; height: 38px; }
  .hero { padding: 120px 0 56px; }
  .hero-logo-inner img { width: min(78vw, 320px); }
}
