/* =========================================================
   BigNext Technologies — Global design system
   Shared by every page (tokens, base, components, motion)
   ========================================================= */

:root {
  /* Brand (from logo) */
  --primary: #0043d1;
  --primary-700: #002a85;
  --primary-600: #0036ab;
  --primary-500: #0043d1;
  --primary-400: #2f6bff;
  --primary-300: #6e9bff;
  --primary-200: #b3c9ff;
  --primary-100: #dce6ff;
  --primary-50: #eef3ff;
  --sky: #5fb4ff;

  --ink: #070b1a;
  --ink-2: #2b3247;
  --muted: #646e86;
  --line: #e3e9f5;
  --bg: #ffffff;
  --bg-soft: #f5f8ff;
  --navy: #040a23;
  --navy-2: #08133d;
  --navy-3: #0d1c55;
  --success: #12b76a;
  --whatsapp: #25d366;

  --grad: linear-gradient(135deg, #0043d1 0%, #2f6bff 55%, #5fb4ff 100%);
  --grad-text: linear-gradient(100deg, #0043d1 0%, #2f6bff 25%, #5fb4ff 50%, #2f6bff 75%, #0043d1 100%);
  --grad-text-light: linear-gradient(100deg, #6e9bff 0%, #b9d4ff 25%, #5fb4ff 50%, #b9d4ff 75%, #6e9bff 100%);

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(7, 11, 26, 0.06);
  --shadow: 0 10px 30px -10px rgba(0, 40, 140, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(0, 40, 140, 0.28);
  --shadow-glow: 0 10px 40px -8px rgba(0, 67, 209, 0.55);

  --container: 1220px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

body.is-loading { overflow: hidden; }
/* contain decorative overflow without breaking position: sticky */
main { overflow-x: clip; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; transition: color 0.25s; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #fff; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #c5d0ee; }
.section-dark h2, .section-dark h3 { color: #fff; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.grad-text {
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s linear infinite;
}
.section-dark .grad-text, .page-hero .grad-text, .hero .grad-text, .nf .grad-text, .cta-band .grad-text { background-image: var(--grad-text-light); background-size: 200% auto; }

@keyframes gradShift { to { background-position: 200% center; } }

/* ---------- Section heading ---------- */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-head p { color: #a9b6dc; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid var(--primary-100);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 67, 209, 0.15);
  animation: pulseDot 2s infinite;
}
.section-dark .eyebrow, .page-hero .eyebrow, .eyebrow.on-dark {
  background: rgba(47, 107, 255, 0.12);
  border-color: rgba(110, 155, 255, 0.25);
  color: #9fbcff;
}
.section-dark .eyebrow::before, .page-hero .eyebrow::before, .eyebrow.on-dark::before { background: #6e9bff; }

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 107, 255, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(47, 107, 255, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  --bx: 50%; --by: 50%;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn i { transition: transform 0.35s var(--ease); }
.btn:hover i.fa-arrow-right, .btn:hover i.fa-arrow-up-right-from-square { transform: translateX(4px); }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(160px circle at var(--bx) var(--by), rgba(255, 255, 255, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.btn:hover::after { opacity: 1; }

.btn-primary { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 44px -10px rgba(0, 67, 209, 0.7); background-position: 100% 0; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; background: var(--primary); transform: translateY(-3px); }

.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow); }

.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.12); transform: translateY(-3px); }

.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { color: var(--primary-700); transform: translateY(-3px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.4); }

.btn-sm { padding: 11px 20px; font-size: 0.88rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
}
.link-arrow i { transition: transform 0.3s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

/* ---------- Cards ---------- */
.card {
  --mx: 50%; --my: 50%;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
  overflow: hidden;
  isolation: isolate;
}
.card.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(47, 107, 255, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: -1;
}
.card.spotlight:hover::before { opacity: 1; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary-200); }

.icon-box {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 24px -8px rgba(0, 67, 209, 0.6);
  margin-bottom: 22px;
  transition: transform 0.5s var(--ease-back);
}
.card:hover .icon-box { transform: rotate(-8deg) scale(1.08); }
.icon-box.soft { background: var(--primary-50); color: var(--primary); box-shadow: none; }

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
}

.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.65rem;
  display: grid; place-items: center;
}

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 110px;
  background: var(--navy);
  color: #b9c6ea;
  overflow: hidden;
  isolation: isolate;
}
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); max-width: 820px; }
.page-hero p.lead { font-size: 1.15rem; max-width: 620px; color: #b9c6ea; }
.page-hero .bg-grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(110, 155, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 155, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { background-position: 56px 56px, 56px 56px; } }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  opacity: 0.55;
  animation: orbFloat 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.orb.o1 { width: 460px; height: 460px; background: #0043d1; top: -140px; right: -80px; }
.orb.o2 { width: 340px; height: 340px; background: #2f6bff; bottom: -160px; left: -100px; animation-delay: -5s; opacity: 0.4; }
.orb.o3 { width: 220px; height: 220px; background: #5fb4ff; top: 40%; left: 45%; animation-delay: -9s; opacity: 0.25; }
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

.breadcrumb {
  display: flex; width: fit-content; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 0.9rem; margin-bottom: 22px; color: #8d9cc9;
}
.text-center .breadcrumb { margin-inline: auto; }
.breadcrumb a { color: #c9d6ff; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 0.65rem; }

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 70px; display: block; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
[data-reveal="up"] { transform: translateY(50px); }
[data-reveal="down"] { transform: translateY(-40px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"] { transform: scale(0.88); }
[data-reveal="blur"] { filter: blur(12px); transform: translateY(20px); }
[data-reveal="flip"] { transform: perspective(900px) rotateX(25deg) translateY(40px); transform-origin: top; }
[data-reveal].revealed { opacity: 1; transform: none; filter: none; }

/* split words */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split-words .w > span {
  display: inline-block;
  transform: translateY(110%) rotate(6deg);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--i) * 0.06s + var(--d, 0s));
}
.split-words.revealed .w > span { transform: none; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .label { margin-top: 10px; color: var(--muted); font-weight: 500; font-size: 0.95rem; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee var(--speed, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.open { border-color: var(--primary-200); box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 26px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary);
  display: grid; place-items: center;
  transition: transform 0.45s var(--ease-back), background 0.3s, color 0.3s;
}
.faq-item.open .plus { transform: rotate(135deg); background: var(--primary); color: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 22px; margin: 0; color: var(--muted); }

/* ---------- Forms ---------- */
.field { position: relative; margin-bottom: 18px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 22px 18px 10px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.field select { padding-top: 22px; appearance: none; cursor: pointer; }
.field label {
  position: absolute; left: 19px; top: 17px;
  color: var(--muted); pointer-events: none;
  transition: all 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 67, 209, 0.1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 7px; font-size: 0.74rem; color: var(--primary); font-weight: 600; }
.field.error input, .field.error textarea { border-color: #e5484d; animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- Loader ---------- */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: grid; place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.page-loader.hide { opacity: 0; visibility: hidden; }
.page-loader .loader-inner { display: grid; justify-items: center; gap: 22px; }
.page-loader img { width: 74px; animation: loaderPop 1.4s var(--ease) infinite; filter: drop-shadow(0 0 24px rgba(47, 107, 255, 0.7)); }
.page-loader .bar { width: 140px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.page-loader .bar span { display: block; height: 100%; width: 40%; background: var(--grad); border-radius: 3px; animation: loaderBar 1.1s var(--ease) infinite; }
@keyframes loaderPop { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.08) translateY(-6px); } }
@keyframes loaderBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* page transition curtain */
.page-curtain {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
  transition: transform 0.5s var(--ease);
}
.page-curtain.in { transform: scaleY(1); }

/* ---------- Floating UI ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 1001;
  height: 3px; width: 100%;
  background: var(--grad);
  transform-origin: left; transform: scaleX(0);
}

.to-top, .wa-float {
  position: fixed; right: 24px; z-index: 900;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  border: 0; cursor: pointer;
  transition: transform 0.4s var(--ease-back), opacity 0.4s, box-shadow 0.3s;
}
.to-top { bottom: 92px; background: #fff; color: var(--primary); box-shadow: var(--shadow); opacity: 0; transform: translateY(20px) scale(0.6); pointer-events: none; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--primary); color: #fff; }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; transition: stroke-dashoffset 0.1s; }
.wa-float { bottom: 26px; background: var(--whatsapp); color: #fff; font-size: 1.6rem; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.6); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp); animation: ring 2s infinite;
}
.wa-float:hover { color: #fff; transform: scale(1.1) rotate(-8deg); }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }

.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 0;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.14), transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
}

/* Tilt */
[data-tilt] { transform-style: preserve-3d; transition: transform 0.25s ease-out; }

/* ---------- CTA band (inside footer partial) ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  background: var(--grad);
  background-size: 200% 200%;
  animation: ctaShift 10s ease infinite;
  color: #e6edff;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 30px;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.cta-band .ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: -1;
  animation: spin 30s linear infinite;
}
.cta-band .ring.r1 { width: 420px; height: 420px; right: -120px; top: -180px; border-style: dashed; }
.cta-band .ring.r2 { width: 260px; height: 260px; right: 80px; bottom: -160px; animation-direction: reverse; }
@keyframes ctaShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Utilities ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mt-0 { margin-top: 0; }

.float-y { animation: floatY 6s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .cta-actions { justify-content: center; }
}
@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 32px); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card { padding: 26px; }
  .btn { padding: 14px 22px; }
  .to-top, .wa-float { right: 16px; width: 48px; height: 48px; }
  .to-top { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal], .split-words .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---------- Busy Cloud API sub-navigation (shared by Busy pages) ---------- */
.busy-subnav {
  position: sticky; top: 68px; z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.busy-subnav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.busy-subnav .bs-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.busy-subnav .bs-title i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 0.9rem; }
.busy-subnav .bs-links { display: flex; gap: 4px; padding: 4px; border-radius: 100px; background: var(--bg-soft); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.busy-subnav .bs-links::-webkit-scrollbar { display: none; }
.busy-subnav .bs-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 100px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.busy-subnav .bs-links a:hover { color: var(--primary); background: #fff; }
.busy-subnav .bs-links a.active { background: var(--grad); color: #fff; box-shadow: var(--shadow-glow); }
@media (max-width: 760px) {
  .busy-subnav { top: 60px; }
  .busy-subnav .bs-title span, .busy-subnav .btn { display: none; }
  .busy-subnav .bs-links { flex: 1; justify-content: space-between; }
  .busy-subnav .bs-links a { padding: 8px 12px; font-size: 0.85rem; }
}
