/* ============================================================================
   Digiability — Coming Soon landing
   Custom theme on top of Bootstrap 5
   ============================================================================ */

:root {
  --navy:      #0B0B2E;
  --navy-2:    #14104F;
  --navy-3:    #1B1664;
  --purple:    #9B4DFF;
  --purple-d:  #551A8B;
  --gold:      #F5B82E;
  --gold-2:    #FFC94A;
  --gold-d:    #D99914;
  --cream:     #FFF8EC;
  --cream-2:   #E8DFC8;
  --lavender:  #C9C2E8;
  --slate:     #8A8DA3;
  --card-bg:   rgba(255, 255, 255, 0.04);
  --card-bdr:  rgba(255, 255, 255, 0.08);
}

/* ─── Base ──────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  /* iOS safe-area padding for notched devices */
  padding-left:  env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font: inherit; }

/* ─── Decorative background ─────────────────────────────────────────────── */
.bg-blob {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.5;
  border-radius: 50%;
  /* GPU hint for smoother scrolling on mobile */
  will-change: transform;
}
.bg-blob-1 {
  top: -10%; left: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle at center, rgba(155, 77, 255, 0.35), transparent 70%);
  animation: drift-1 22s ease-in-out infinite alternate;
}
.bg-blob-2 {
  bottom: -20%; right: -15%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle at center, rgba(245, 184, 46, 0.18), transparent 70%);
  animation: drift-2 26s ease-in-out infinite alternate;
}
@keyframes drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.06); }
}
@keyframes drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-50px, -25px) scale(1.08); }
}
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Make Bootstrap sections sit above the background blobs */
nav, section, footer, main { position: relative; z-index: 1; }

/* ─── Starfield ─────────────────────────────────────────────────────────── */
.starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: transparent;
  /* `box-shadow` lets us paint hundreds of dots from one element */
}

/* Three depth layers — different sizes, opacities, and drift speeds.
   The box-shadow lists below are random positions across a 2000×2000 area,
   then doubled via the ::after trick so the loop is seamless. */
.stars-back {
  box-shadow:
    52px 1322px #fff, 178px 891px #fff, 312px 1645px #fff, 487px 233px #fff,
    634px 1788px #fff, 798px 412px #fff, 940px 1067px #fff, 1112px 1505px #fff,
    1287px 743px #fff, 1456px 1980px #fff, 1612px 89px #fff, 1788px 1234px #fff,
    1934px 587px #fff, 145px 1955px #fff, 388px 1100px #fff, 542px 67px #fff,
    721px 1444px #fff, 889px 1812px #fff, 1023px 322px #fff, 1198px 887px #fff,
    1377px 1654px #fff, 1565px 411px #fff, 1730px 1890px #fff, 1894px 956px #fff,
    72px 522px #fff, 234px 1377px #fff, 401px 1822px #fff, 588px 998px #fff,
    767px 256px #fff, 922px 1690px #fff, 1099px 1133px #fff, 1265px 522px #fff,
    1444px 1944px #fff, 1623px 712px #fff, 1789px 1455px #fff, 1955px 199px #fff,
    99px 1166px #fff, 277px 644px #fff, 444px 1810px #fff, 622px 367px #fff,
    811px 1290px #fff, 988px 1733px #fff, 1166px 88px #fff, 1344px 989px #fff,
    1511px 1577px #fff, 1689px 422px #fff, 1855px 1844px #fff, 1988px 1066px #fff,
    166px 412px #fff, 333px 1255px #fff, 522px 1933px #fff, 700px 833px #fff,
    877px 211px #fff, 1056px 1499px #fff, 1233px 1788px #fff, 1411px 644px #fff,
    1577px 1399px #fff, 1755px 88px #fff, 1922px 1822px #fff, 222px 256px #fff;
  animation: drift-back 180s linear infinite;
}
.stars-back::after {
  content: '';
  position: absolute;
  top: 2000px; left: 0;
  width: 1px; height: 1px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inherit;
}

.stars-mid {
  width: 2px;
  height: 2px;
  box-shadow:
    122px 488px #FFF8EC, 311px 1233px #FFF8EC, 522px 1888px #FFF8EC,
    711px 322px #FFF8EC, 933px 1455px #FFF8EC, 1144px 977px #FFF8EC,
    1366px 1622px #FFF8EC, 1577px 244px #FFF8EC, 1788px 1377px #FFF8EC,
    1955px 822px #FFF8EC, 89px 1755px #FFF8EC, 277px 555px #FFF8EC,
    488px 1166px #FFF8EC, 700px 1844px #FFF8EC, 911px 411px #FFF8EC,
    1122px 1322px #FFF8EC, 1344px 1788px #FFF8EC, 1555px 644px #FFF8EC,
    1766px 1488px #FFF8EC, 1922px 977px #FFF8EC, 200px 855px #FFF8EC,
    411px 1666px #FFF8EC, 622px 233px #FFF8EC, 833px 1099px #FFF8EC,
    1044px 1755px #FFF8EC, 1255px 522px #FFF8EC, 1466px 1411px #FFF8EC,
    1677px 922px #FFF8EC, 1888px 1666px #FFF8EC, 155px 1377px #FFF8EC,
    366px 711px #FFF8EC, 577px 1955px #FFF8EC, 788px 1244px #FFF8EC,
    1000px 477px #FFF8EC, 1211px 1844px #FFF8EC, 1422px 1100px #FFF8EC,
    1633px 322px #FFF8EC, 1844px 1599px #FFF8EC, 244px 188px #FFF8EC,
    455px 1488px #FFF8EC;
  opacity: 0.85;
  animation: drift-mid 120s linear infinite;
}
.stars-mid::after {
  content: '';
  position: absolute;
  top: 2000px; left: 0;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inherit;
}

.stars-front {
  width: 3px;
  height: 3px;
  box-shadow:
    155px 244px #F5B82E, 444px 1188px #FFD56A, 733px 1855px #F5B82E,
    1022px 533px #FFD56A, 1311px 1444px #F5B82E, 1600px 877px #FFD56A,
    1888px 1722px #F5B82E, 89px 933px #FFD56A, 377px 1733px #F5B82E,
    666px 322px #FFD56A, 955px 1488px #F5B82E, 1244px 911px #FFD56A,
    1533px 1822px #F5B82E, 1822px 444px #FFD56A, 211px 1611px #F5B82E,
    500px 855px #FFD56A, 788px 1377px #F5B82E, 1077px 1955px #FFD56A,
    1366px 233px #F5B82E, 1655px 1144px #FFD56A;
  opacity: 0.9;
  animation: drift-front 90s linear infinite, twinkle 4s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(245, 184, 46, 0.6));
}
.stars-front::after {
  content: '';
  position: absolute;
  top: 2000px; left: 0;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inherit;
  filter: inherit;
}

/* All three drift animations now run TOP → BOTTOM:
   the painted layer starts at its natural position and animates DOWNWARD
   by 2000px. ::after (positioned top:-2000px above parent) slides into
   view from above to make the loop seamless. */
@keyframes drift-back {
  from { transform: translateY(0); }
  to   { transform: translateY(-2000px); }
}
@keyframes drift-mid {
  from { transform: translateY(0); }
  to   { transform: translateY(-2000px); }
}
@keyframes drift-front {
  from { transform: translateY(0); }
  to   { transform: translateY(-2000px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1;   }
}

/* Glowing floating orbs (soft, large, very subtle) */
.glow-orb {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
}
.glow-orb-1 {
  top: 18%; left: 12%;
  background: rgba(155, 77, 255, 0.85);
  box-shadow: 0 0 20px 6px rgba(155, 77, 255, 0.45);
  animation: float-orb-1 14s ease-in-out infinite alternate, twinkle-soft 3s ease-in-out infinite;
}
.glow-orb-2 {
  top: 65%; right: 18%;
  background: rgba(245, 184, 46, 0.9);
  box-shadow: 0 0 24px 8px rgba(245, 184, 46, 0.5);
  animation: float-orb-2 18s ease-in-out infinite alternate, twinkle-soft 4.5s ease-in-out 1s infinite;
}
.glow-orb-3 {
  top: 38%; right: 8%;
  background: rgba(201, 194, 232, 0.9);
  box-shadow: 0 0 18px 5px rgba(201, 194, 232, 0.45);
  animation: float-orb-3 16s ease-in-out infinite alternate, twinkle-soft 5s ease-in-out 2s infinite;
}
@keyframes float-orb-1 {
  from { transform: translate(0, 0); }
  to   { transform: translate(80px, 120px); }
}
@keyframes float-orb-2 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-100px, -60px); }
}
@keyframes float-orb-3 {
  from { transform: translate(0, 0); }
  to   { transform: translate(-60px, 90px); }
}
@keyframes twinkle-soft {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1;   }
}

/* Shooting stars — diagonal streaks, very occasional */
.shooting-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.shoot {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #FFF;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08),
              0 0 10px 4px rgba(255, 255, 255, 0.4),
              0 0 30px 12px rgba(245, 184, 46, 0.15);
  opacity: 0;
}
.shoot::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85));
  transform: translateY(-50%);
}
/* Shooting stars streak diagonally DOWNWARD (top-right → bottom-left).
   Each starts just outside the top-right of the viewport. */
.shoot.s1 {
  bottom: -8%;
  right: -10%;
  animation: shoot-1 7s ease-in 2s infinite;
}
.shoot.s2 {
  bottom: -8%;
  right: -10%;
  animation: shoot-2 9s ease-in 5s infinite;
}
.shoot.s3 {
  bottom: -8%;
  right: -10%;
  animation: shoot-3 11s ease-in 8s infinite;
}
@keyframes shoot-1 {
  0%   { transform: translate(0, 0)        rotate(-22deg); opacity: 0; }
  5%   { opacity: 1; }
  20%  { transform: translate(-110vw, -90vh) rotate(22deg); opacity: 0; }
  100% { transform: translate(-110vw, -90vh) rotate(22deg); opacity: 0; }
}
@keyframes shoot-2 {
  0%   { transform: translate(0, 0)        rotate(-18deg); opacity: 0; }
  6%   { opacity: 1; }
  22%  { transform: translate(-120vw, -75vh) rotate(18deg); opacity: 0; }
  100% { transform: translate(-120vw, -75vh) rotate(18deg); opacity: 0; }
}
@keyframes shoot-3 {
  0%   { transform: translate(0, 0)         rotate(-25deg); opacity: 0; }
  5%   { opacity: 1; }
  18%  { transform: translate(-100vw, -100vh) rotate(25deg); opacity: 0; }
  100% { transform: translate(-100vw, -100vh) rotate(25deg); opacity: 0; }
}

/* ─── Navbar / Brand ────────────────────────────────────────────────────── */
.navbar { background: transparent; }
.navbar-brand .brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  object-fit: cover;            /* fill the rounded square cleanly */
  background: #FFF;             /* prevents flicker on slow loads */
  box-shadow: 0 8px 22px -8px rgba(245, 184, 46, 0.45);
  display: block;
  flex-shrink: 0;
}
.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: #FFF;
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.badge-launch {
  color: var(--cream-2);
  font-size: 14px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(245, 184, 46, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 184, 46, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(245, 184, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 184, 46, 0); }
}

/* ─── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 80px 0 60px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(245, 184, 46, 0.12);
  border: 1px solid rgba(245, 184, 46, 0.35);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #C9C2E8 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero-title .accent {
  background: linear-gradient(120deg,
              #F5B82E 0%,
              #FFD56A 25%,
              #FF9A2E 50%,
              #FFD56A 75%,
              #F5B82E 100%);
  background-size: 250% 250%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--lavender);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* ─── Section helpers ───────────────────────────────────────────────────── */
.section-eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 38px);
  color: #FFF;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-lede {
  color: var(--lavender);
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
}

/* ─── Services ──────────────────────────────────────────────────────────── */
.services { padding: 60px 0; }

.service-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-bdr) !important;
  border-radius: 18px !important;
  padding: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition:
    opacity .7s ease,
    transform .7s ease,
    border-color .25s ease,
    background .25s ease;
  /* initial state for scroll-reveal */
  opacity: 0;
  transform: translateY(24px);
  transition-delay: var(--reveal-delay, 0ms);
}
.service-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  opacity: 0;
  transition: opacity .25s ease;
}
/* Only apply hover lift on devices that support real hover (i.e. not touch) */
@media (hover: hover) {
  .service-card.in-view:hover {
    transform: translateY(-6px);
    border-color: rgba(155, 77, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.06) !important;
  }
  .service-card:hover::before { opacity: 1; }
  .service-card:hover .card-icon {
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 10px 22px -10px rgba(245, 184, 46, 0.55);
    border-color: rgba(245, 184, 46, 0.45);
  }
}
.service-card:active::before { opacity: 1; }
.service-card .card-body { padding: 28px 24px; }

.service-card .card-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(155, 77, 255, 0.25), rgba(245, 184, 46, 0.15));
  display: grid; place-items: center;
  color: var(--gold);
  margin-bottom: 18px;
  border: 1px solid rgba(245, 184, 46, 0.2);
  font-size: 22px;
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1),
              box-shadow .35s ease,
              border-color .35s ease;
}
.service-card .card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #FFF;
  margin-bottom: 8px;
}
.service-card .card-text {
  font-size: 14px;
  color: var(--lavender);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ─── Partners strip ────────────────────────────────────────────────────── */
.partners { padding: 60px 0 30px; }
.partners-label {
  color: var(--slate);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 50px;
}
.partner {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--cream-2);
  opacity: .85;
}
.partners-row .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
  opacity: .6;
}

/* ─── Footer ────────────────────────────────────────────────────────────── */
footer {
  margin-top: 40px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--card-bdr);
  background: rgba(0, 0, 0, 0.15);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--slate);
}
.footer-copy { font-size: 13px; }
.footer-built {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(138, 141, 163, 0.7);
  opacity: 0.8;
  transition: opacity .2s ease, color .2s ease;
}
.footer-built span {
  color: var(--cream-2);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.footer-built:hover {
  opacity: 1;
  color: var(--gold);
}
@media (max-width: 576px) {
  .footer-row { flex-direction: column; gap: 6px; text-align: center; }
  .footer-built { font-size: 10px; }
}

/* ─── Animations ────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards;
}
.fade-in.d2 { animation-delay: .12s; }
.fade-in.d3 { animation-delay: .22s; }
.fade-in.d4 { animation-delay: .32s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* Brand entrance on page load */
.navbar-brand {
  opacity: 0;
  transform: translateY(-8px);
  animation: brand-in .7s cubic-bezier(.2,.7,.2,1) .05s forwards;
}
.badge-launch {
  opacity: 0;
  animation: fade-soft .7s ease .3s forwards;
}
@keyframes brand-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-soft {
  to { opacity: 1; }
}

/* Reveal-on-scroll utility (applied via JS once IntersectionObserver fires) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* ─── Accessibility ─────────────────────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ─── Responsive tweaks ─────────────────────────────────────────────────── */

/* Tablet & smaller (≤768) */
@media (max-width: 768px) {
  .hero          { padding: 64px 0 48px; }
  .services      { padding: 48px 0; }
  .partners      { padding: 48px 0 24px; }
  .service-card .card-body { padding: 24px 20px; }
  .service-card .card-icon { width: 46px; height: 46px; font-size: 20px; margin-bottom: 14px; }
  .service-card .card-title { font-size: 17px; }
  .service-card .card-text { font-size: 13.5px; }
  /* Slightly cheaper blobs on tablet */
  .bg-blob { filter: blur(60px); opacity: 0.45; }
  .grid-bg { background-size: 48px 48px; }
}

/* Phone (≤576) */
@media (max-width: 576px) {
  .hero          { padding: 44px 0 36px; }
  .services      { padding: 36px 0; }
  .partners      { padding: 36px 0 16px; }
  footer         { padding: 22px 0 28px; }

  .navbar { padding-top: 14px !important; padding-bottom: 14px !important; }
  .navbar-brand .brand-logo { width: 40px; height: 40px; border-radius: 10px; }
  .brand-name    { font-size: 16px; letter-spacing: 0.03em; }
  .brand-sub     { font-size: 10px; }

  .badge-launch  { font-size: 12px; gap: 6px !important; }
  .pulse-dot     { width: 7px; height: 7px; }

  .eyebrow       { font-size: 11px; padding: 6px 14px; letter-spacing: 0.14em; }
  .hero-title    { font-size: clamp(28px, 8.5vw, 40px); margin-bottom: 18px; }
  .hero-sub      { font-size: 14.5px; margin-bottom: 0; padding: 0 4px; }

  .section-title { font-size: 22px; }
  .section-lede  { font-size: 14px; padding: 0 8px; }

  .partners-row { gap: 14px 28px; }
  .partner       { font-size: 14px; }

  .footer-row    { font-size: 12px; padding: 0 8px; }

  /* Even cheaper blobs on phone */
  .bg-blob       { filter: blur(50px); opacity: 0.4; }
  .grid-bg       { background-size: 40px 40px; }
}

/* Very small phones (≤380px) — iPhone SE / older Android */
@media (max-width: 380px) {
  .container     { padding-left: 18px; padding-right: 18px; }
  .hero          { padding: 36px 0 28px; }

  .navbar-brand .brand-logo { width: 36px; height: 36px; border-radius: 9px; }
  .brand-name    { font-size: 15px; }
  .brand-sub     { font-size: 9.5px; }

  .badge-launch  { font-size: 0; }   /* hide label, keep pulse dot */
  .badge-launch .pulse-dot { width: 8px; height: 8px; }

  .eyebrow       { font-size: 10.5px; padding: 5px 12px; }
  .hero-title    { font-size: 26px; line-height: 1.1; }
  .hero-sub      { font-size: 14px; line-height: 1.6; }

  .service-card .card-body { padding: 20px 18px; }
  .service-card .card-icon { width: 42px; height: 42px; font-size: 18px; margin-bottom: 12px; }
  .service-card .card-title { font-size: 16px; }
  .service-card .card-text  { font-size: 13px; }

  .partners-row { flex-direction: column; gap: 8px; }
  .partners-row .dot { display: none; }
}

/* Honour reduced motion preferences */
@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;
  }
  .pulse-dot { animation: none; box-shadow: none; }
  .fade-in   { opacity: 1; transform: none; }
  .reveal, .service-card { opacity: 1 !important; transform: none !important; }
  .bg-blob   { animation: none !important; }
  .hero-title .accent { animation: none !important; }
  /* Hide all the motion-heavy starfield bits */
  .stars, .glow-orb, .shooting-stars { animation: none !important; }
  .shooting-stars { display: none; }
}

/* Mobile — drop the shooting stars + glow orbs so we save battery and DOM cost.
   Keep the static + drifting stars so the magic stays. */
@media (max-width: 576px) {
  .shooting-stars { display: none; }
  .glow-orb-3     { display: none; }
  .stars-front    { animation-duration: 60s, 4s; }
}
