/* style.css — Nubien-style components for Dancing Sky */

/* ========== layout helpers ========== */
.section__head,
.about,
.cta__inner,
.support__inner {
  text-align: center;
}

main > section {
  position: relative;
  padding-block: clamp(var(--space-16), 9vw, var(--space-24));
  padding-inline: var(--space-6);
}

/* Soft gradient transition between sections. Wider + softer than before so
   sections genuinely blend into each other with no visible seam. Uses two
   overlapping radial gradients for an organic aurora-style handoff. */
main > section + section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(-1 * clamp(120px, 16vw, 240px));
  transform: translateX(-50%);
  width: 200vw;
  height: clamp(240px, 32vw, 480px);
  background:
    radial-gradient(ellipse 50% 100% at 35% 50%,
      rgba(34, 229, 195, 0.055) 0%,
      rgba(34, 229, 195, 0.025) 40%,
      transparent 100%),
    radial-gradient(ellipse 50% 100% at 65% 50%,
      rgba(138, 91, 255, 0.06) 0%,
      rgba(138, 91, 255, 0.028) 40%,
      transparent 100%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  /* Radial fade mask — guarantees no visible edges at viewport bounds. */
  -webkit-mask-image: radial-gradient(ellipse 60% 100% at 50% 50%, #000 0%, transparent 100%);
          mask-image: radial-gradient(ellipse 60% 100% at 50% 50%, #000 0%, transparent 100%);
}

main > section > * {
  max-width: var(--content-default);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.section__head { margin-bottom: var(--space-12); display:flex; flex-direction:column; align-items:center; gap: var(--space-5); }

.section__title {
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.section__title .muted { color: var(--color-text-muted); font-weight: 500; }

.section__lede {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 60ch;
  margin: var(--space-6) auto 0;
}

/* ========== pills & buttons ========== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px 6px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--color-text);
  letter-spacing: -0.01em;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.pill--eyebrow .pill__dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-violet));
  box-shadow: 0 0 14px rgba(34, 229, 195, 0.6);
  flex: none;
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 14px rgba(34, 229, 195, 0.6); transform: scale(1); }
  50%      { box-shadow: 0 0 22px rgba(34, 229, 195, 0.9); transform: scale(1.08); }
}
.pill--year {
  background: rgba(124,91,255,0.15);
  border-color: rgba(124,91,255,0.35);
  color: #C7B6FF;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.pill--featured {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  /* Smooth multi-property ease so every state change — hover lift,
     press settle, color tint, shadow bloom — blends together instead
     of snapping. Same curve used site-wide for coherent motion feel. */
  transition:
    transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 380ms cubic-bezier(0.22, 1, 0.36, 1),
    background 300ms ease,
    border-color 300ms ease,
    color 300ms ease,
    filter 300ms ease;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
/* Tactile press — gentle spring into the surface, then release.
   Combined with the transition above this reads as a soft push
   rather than a click-and-jump. */
.btn:active {
  transform: translateY(1px) scale(0.985);
  transition:
    transform 120ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 120ms ease,
    filter 120ms ease;
  filter: brightness(0.94);
}
.btn:focus-visible {
  outline: 2px solid var(--aurora-teal);
  outline-offset: 3px;
}
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--primary {
  background: linear-gradient(135deg, var(--aurora-violet), #6E3DFF);
  color: white;
  box-shadow: 0 8px 28px rgba(138,91,255,0.38), 0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-120%);
  transition: transform 700ms cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(138,91,255,0.5), 0 0 30px rgba(34,229,195,0.25); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:active { transform: translateY(1px) scale(0.985); box-shadow: 0 4px 14px rgba(138,91,255,0.35), 0 0 0 1px rgba(255,255,255,0.08) inset; }
.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--ghost:hover { background: rgba(255,255,255,0.07); border-color: #34344E; transform: translateY(-1px); }
.btn--ghost:active { transform: translateY(1px) scale(0.985); background: rgba(255,255,255,0.10); }

/* ========== nav ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: var(--space-4) var(--space-6);
  /* Nav itself is transparent so its bottom edge is invisible. A feathered
     backdrop is painted by the ::after pseudo-element below, extending
     beyond the nav bounds so the darkening fades smoothly into the page. */
  background: transparent;
  box-shadow: none;
}
/* Feathered backdrop — extends BELOW the nav so the darkening fades out
   gradually instead of ending in a hard horizontal line. Masked with a
   vertical gradient so both the darkening AND the backdrop-filter blur
   feather out. Sits behind nav content (z-index: -1). */
.nav::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: -40px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(5, 5, 9, 0.78) 0%,
    rgba(5, 5, 9, 0.68) 40%,
    rgba(5, 5, 9, 0.35) 75%,
    rgba(5, 5, 9, 0) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%);
}
/* Remove the old hard-line divider. */
.nav::after { content: none; }
.nav {
  /* Smooth aurora wipe: fade + gentle lift. Mask only applied during transitions. */
  transition:
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.55s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform, opacity;
  position: sticky;
}

/* Aurora wipe effect removed — nav::before is now used for the feathered
   backdrop above. Nav hide/reveal is just a fade + slide. */

.nav--hidden {
  transform: translateY(-18%);
  opacity: 0;
}

.nav--revealing {
  opacity: 1;
  transform: translateY(0);
}

.nav--scrolled { background: transparent; box-shadow: none; }
/* When scrolled, darken the feathered backdrop a touch for contrast with
   content underneath. Still feathered — still no hard edge. */
.nav--scrolled::before {
  background: linear-gradient(to bottom,
    rgba(5, 5, 9, 0.88) 0%,
    rgba(5, 5, 9, 0.75) 40%,
    rgba(5, 5, 9, 0.4) 75%,
    rgba(5, 5, 9, 0) 100%);
}
.nav__inner {
  max-width: var(--content-default);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav__mark {
  height: 26px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(124,180,255,0.25));
}
.nav__links {
  display: flex;
  gap: var(--space-6);
  font-size: 14px;
  color: var(--color-text-muted);
}
.nav__links a:hover { color: var(--color-text); }

@media (max-width: 820px) {
  .nav__links { display: none; }
}

@media (max-width: 520px) {
  .nav { padding: var(--space-3) var(--space-4); }
  .nav__inner { gap: var(--space-3); }
  .nav__logo { font-size: 14px; gap: 8px; white-space: nowrap; }
  .nav__mark { height: 22px; }
  .nav .btn--sm { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
}

/* ========== hero ========== */
.hero {
  position: relative;
  text-align: center;
  /* Tight padding-top so the headline sits just a beat below the aurora's
     luminous core — aurora above, headline immediately below, no dead
     black gap in between. */
  padding-top: clamp(var(--space-16), 11vw, var(--space-28)) !important;
  padding-bottom: var(--space-24) !important;
  /* No overflow:hidden — we fade the halo with a mask instead so the aurora
     dissolves into the galaxy background without a hard horizontal edge. */
}



/* ========== AURORA v2 — Horizontal Folded Ribbons ==========
   Real aurora is not vertical rays shooting down. It's volumetric
   curtains of ionized gas that fold and ripple as they drift across
   the sky. We paint that with SVG: three soft radial-gradient
   ellipses, each warped by an animated feTurbulence + feDisplacementMap
   filter. The displacement distorts the ellipse into an organic,
   folded ribbon; the gaussian blur softens it into glowing light;
   the animated baseFrequency makes the folds slowly breathe and flow.
   Three ribbons stacked with mix-blend-mode: screen give the additive
   luminous look of real aurora against a black sky.
============================================================= */
.aurora-v2 {
  position: absolute;
  /* Bleed wider than the viewport so the radial gradient falloff
     happens OFF-screen — viewers only see the luminous middle of
     each ribbon, never the dim edges. That kills the 'bordered' look
     and gives real edge-to-edge coverage across any screen size. */
  left: 50%;
  top: -160px;
  transform: translateX(-50%);
  width: 140vw;
  height: 900px;
  max-width: none;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* Smooth vertical fade aligned to where the ribbons actually live.
     Ribbons sit in the top 40% of the container; mask holds full
     opacity across that band, then eases to transparent before the
     headline so text stays readable against a mostly-dark sky with
     aurora glowing above it. No hard stops anywhere. */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.35) 4%,
    #000 14%,
    #000 42%,
    rgba(0, 0, 0, 0.70) 54%,
    rgba(0, 0, 0, 0.30) 70%,
    rgba(0, 0, 0, 0.08) 85%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0,0,0,0.35) 4%,
    #000 14%,
    #000 42%,
    rgba(0, 0, 0, 0.70) 54%,
    rgba(0, 0, 0, 0.30) 70%,
    rgba(0, 0, 0, 0.08) 85%,
    transparent 100%
  );
}

.aurora-v2__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Screen blend so overlapping colors add up to white-hot cores
     and the ribbons bloom against the black background. */
  mix-blend-mode: screen;
  will-change: transform;
}

/* Each ribbon group gets a slow horizontal drift ON TOP of the
   turbulence warping, so the curtain flows sideways like real
   aurora caught in solar wind. Different durations + phases so
   the three layers never sync up — that's what sells "organic". */
.aurora-v2__ribbon {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform, opacity;
}

.aurora-v2__ribbon--back {
  animation:
    aurora-drift-a 38s ease-in-out infinite,
    aurora-breathe-a 17s ease-in-out infinite;
  opacity: 0.85;
}

.aurora-v2__ribbon--mid {
  animation:
    aurora-drift-b 46s ease-in-out infinite,
    aurora-breathe-b 13s ease-in-out infinite;
  opacity: 0.95;
}

.aurora-v2__ribbon--front {
  animation:
    aurora-drift-c 32s ease-in-out infinite,
    aurora-breathe-c 11s ease-in-out infinite;
  opacity: 0.9;
}

/* ===== Mobile: shrink the ribbons =====
   On narrow screens the aurora dominates the hero — text feels crowded.
   Scale each ribbon down and pull the whole container up so the bands
   read as a slim crown above the headline instead of a full drape. */
@media (max-width: 720px) {
  .aurora-v2 {
    top: -80px;
    height: 520px;
    width: 180vw;
    /* Mask aligned to where ribbons render on mobile — the luminous
       band sits in the top ~55% of the container, then fades into
       the dark sky before the headline. */
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0,0,0,0.3) 4%,
      #000 14%,
      #000 46%,
      rgba(0, 0, 0, 0.65) 60%,
      rgba(0, 0, 0, 0.25) 76%,
      transparent 100%
    );
            mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0,0,0,0.3) 4%,
      #000 14%,
      #000 46%,
      rgba(0, 0, 0, 0.65) 60%,
      rgba(0, 0, 0, 0.25) 76%,
      transparent 100%
    );
  }
  .aurora-v2__ribbon--back  { transform-origin: center; }
  .aurora-v2__ribbon--mid   { transform-origin: center; }
  .aurora-v2__ribbon--front { transform-origin: center; }
  /* Keep full ribbon volume on mobile — just softer drift. Scaling
     the ribbons flat made them disappear behind the mask. */
  .aurora-v2__ribbon--back {
    animation:
      aurora-drift-a-mobile 38s ease-in-out infinite,
      aurora-breathe-a 17s ease-in-out infinite;
  }
  .aurora-v2__ribbon--mid {
    animation:
      aurora-drift-b-mobile 46s ease-in-out infinite,
      aurora-breathe-b 13s ease-in-out infinite;
  }
  .aurora-v2__ribbon--front {
    animation:
      aurora-drift-c-mobile 32s ease-in-out infinite,
      aurora-breathe-c 11s ease-in-out infinite;
  }
}

/* Mobile drift variants — gentler horizontal flow, no vertical squish
   so the ribbons keep full volume and remain visible through the mask. */
@keyframes aurora-drift-a-mobile {
  0%   { transform: translate3d(-3%, 0, 0); }
  50%  { transform: translate3d(3%, -1%, 0); }
  100% { transform: translate3d(-3%, 0, 0); }
}
@keyframes aurora-drift-b-mobile {
  0%   { transform: translate3d(2%, 0.5%, 0); }
  50%  { transform: translate3d(-4%, -0.5%, 0); }
  100% { transform: translate3d(2%, 0.5%, 0); }
}
@keyframes aurora-drift-c-mobile {
  0%   { transform: translate3d(-2%, -0.5%, 0); }
  50%  { transform: translate3d(4%, 0.5%, 0); }
  100% { transform: translate3d(-2%, -0.5%, 0); }
}

/* Horizontal drift — ribbons slide sideways through the sky.
   Small vertical component so they also rise/fall slightly. */
@keyframes aurora-drift-a {
  0%   { transform: translate3d(-4%, 0, 0); }
  50%  { transform: translate3d(4%, -2%, 0); }
  100% { transform: translate3d(-4%, 0, 0); }
}
@keyframes aurora-drift-b {
  0%   { transform: translate3d(3%, 1%, 0); }
  50%  { transform: translate3d(-5%, -1%, 0); }
  100% { transform: translate3d(3%, 1%, 0); }
}
@keyframes aurora-drift-c {
  0%   { transform: translate3d(-2%, -1%, 0); }
  50%  { transform: translate3d(5%, 2%, 0); }
  100% { transform: translate3d(-2%, -1%, 0); }
}

/* Brightness breathing — ribbons pulse in and out of visibility
   like real aurora that surges then fades as charged particles
   hit the upper atmosphere. */
@keyframes aurora-breathe-a {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1.00; }
}
@keyframes aurora-breathe-b {
  0%, 100% { opacity: 0.70; }
  50%      { opacity: 1.00; }
}
@keyframes aurora-breathe-c {
  0%, 100% { opacity: 0.50; }
  50%      { opacity: 0.95; }
}


/* ===== Falling light particles =====
   Canvas of tiny drifting motes that look like sun rays / light shafts
   descending through the aurora. Positioned to overlap the full aurora
   area and fade out before reaching the headline. */
.aurora-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
  /* Fade particles out toward the bottom so they don't clutter the text. */
  -webkit-mask-image: linear-gradient(to bottom,
      #000 0%, #000 30%, rgba(0,0,0,0.5) 55%, transparent 85%);
          mask-image: linear-gradient(to bottom,
      #000 0%, #000 30%, rgba(0,0,0,0.5) 55%, transparent 85%);
}

@media (prefers-reduced-motion: reduce) {
  .aurora-v2__ribbon { animation: none !important; }
  .aurora-v2__svg feTurbulence animate { display: none; }
  .aurora-particles { display: none; }
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  max-width: 880px;
  margin: 0 auto;
}
.hero__title {
  font-size: var(--text-hero);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1;
}
.hero__title .muted { color: var(--color-text-muted); font-weight: 500; }
.hero__sub {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  max-width: 56ch;
}
.hero__cta { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; margin-top: var(--space-3); }

/* logos strip */
.logos {
  position: relative;
  z-index: 1;
  margin-top: clamp(var(--space-16), 10vw, var(--space-24));
  display: flex; flex-direction: column; align-items: center; gap: var(--space-6);
}
.logos > span { color: var(--color-text-faint); font-size: 13px; }
.logos__viewport {
  width: 100%;
  max-width: var(--content-default);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logos__track {
  display: flex;
  gap: var(--space-12);
  width: max-content;
  animation: logos-scroll 40s linear infinite;
}
.logos__row {
  display: flex; gap: var(--space-12);
  align-items: center;
  flex-shrink: 0;
  padding-right: var(--space-12);
}
.logos__mark {
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 14px;
  color: var(--color-text-muted);
  opacity: 0.7;
  white-space: nowrap;
  transition: color 250ms, opacity 250ms;
}
.logos__mark:hover { color: var(--aurora-teal); opacity: 1; }
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; }
  .logos__viewport { mask-image: none; -webkit-mask-image: none; }
}

/* ========== about ========== */
.about {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-6);
}

/* ========== cards (capabilities + process) ========== */
.cards {
  display: grid;
  gap: var(--space-5);
}
.cards--6 { grid-template-columns: repeat(3, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .cards--6, .cards--3 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 1.2px) 0 0 / 14px 14px,
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  background-color: rgba(10, 10, 18, 0.55);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 220px;
  transition: transform 400ms cubic-bezier(0.16,1,0.3,1), border-color 400ms, box-shadow 400ms;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(138, 91, 255, 0.4);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 0 30px rgba(34,229,195,0.15);
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.card p {
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--aurora-teal), var(--aurora-violet));
  box-shadow: 0 6px 18px rgba(34,229,195,0.28), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 400ms cubic-bezier(0.16,1,0.3,1), box-shadow 400ms;
}
.card:hover .card__icon {
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: 0 10px 28px rgba(34,229,195,0.45), inset 0 1px 0 rgba(255,255,255,0.28);
}
.card__step {
  font-size: 13px;
  color: var(--color-primary);
  letter-spacing: 0.18em;
  font-weight: 600;
}
.card__arrow {
  position: absolute;
  top: var(--space-5); right: var(--space-5);
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  font-size: 16px;
}
.card__arrow:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* ========== services grid ========== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 1000px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services__grid { grid-template-columns: 1fr; } }

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(10, 10, 18, 0.55);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 450ms cubic-bezier(0.16,1,0.3,1), border-color 450ms, box-shadow 450ms;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 229, 195, 0.45);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55), 0 0 40px rgba(138, 91, 255, 0.18);
}
.service-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0a0a13;
}
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.16,1,0.3,1), filter 600ms;
}
.service-card:hover .service-card__media img { transform: scale(1.07); filter: saturate(1.1); }
.service-card__body {
  position: relative;
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.service-card__body h3 { font-size: 18px; font-weight: 600; }
.service-card__body p { color: var(--color-text-muted); font-size: 14.5px; }

/* ========== portfolio ========== */
.portfolio { display: flex; flex-direction: column; gap: var(--space-6); }
.feature {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(10, 10, 18, 0.55);
  overflow: hidden;
  transition: border-color 450ms, box-shadow 450ms;
}
.feature:hover {
  border-color: rgba(138, 91, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 40px rgba(34, 229, 195, 0.14);
}
.feature__media img { transition: transform 1200ms cubic-bezier(0.16,1,0.3,1); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature--reverse { grid-template-columns: 1.1fr 1fr; }
.feature--reverse .feature__body { order: 2; }
.feature--reverse .feature__media { order: 1; }
.feature__body {
  padding: clamp(var(--space-8), 4vw, var(--space-12));
  display: flex; flex-direction: column; gap: var(--space-5);
  justify-content: center;
}
.feature__body h3 {
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.feature__media {
  background: #0a0a13;
  min-height: 360px;
}
.feature__media img {
  width: 100%; height: 100%; object-fit: cover;
}

.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--color-text);
  font-size: 14.5px;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-primary)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M5 12l4 4 10-10'/></svg>")
    center / 11px no-repeat;
  box-shadow: 0 0 10px rgba(124,91,255,0.4);
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--color-text-muted);
  background: rgba(255,255,255,0.025);
}

@media (max-width: 800px) {
  .feature, .feature--reverse { grid-template-columns: 1fr; }
  .feature--reverse .feature__body { order: 2; }
  .feature--reverse .feature__media { order: 1; }
  .feature__media { min-height: 240px; aspect-ratio: 4/3; }
}

/* ========== support / testimonial ========== */
.support__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  text-align: left;
}
.support__copy { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; }
.support__copy .section__title { font-size: var(--text-xl); }
.support__copy p { color: var(--color-text-muted); }
.support__stack {
  position: relative;
  height: 460px;
}
.support__img {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}
.support__img--1 { width: 60%; height: 70%; left: 0; top: 0; transform: rotate(-4deg); }
.support__img--2 { width: 55%; height: 60%; right: 0; top: 18%; transform: rotate(3deg); z-index: 2; }
.support__img--3 { width: 50%; height: 55%; left: 18%; bottom: 0; transform: rotate(-2deg); z-index: 1; }

@media (max-width: 800px) {
  .support__inner { grid-template-columns: 1fr; text-align: center; }
  .support__copy { align-items: center; }
  .support__stack { height: 320px; }
}

/* ========== pricing ========== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.pricing__grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .pricing__grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pricing__grid--4 { grid-template-columns: 1fr; } }

.tier--custom {
  border-style: dashed;
  border-color: rgba(255,255,255,0.18);
}
.tier--custom .tier__price { font-size: 28px; }

.commit-note {
  max-width: 680px;
  margin: var(--space-10) auto 0;
  text-align: center;
  padding: var(--space-5) var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  background-color: rgba(20, 20, 34, 0.4);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
}
.commit-note p { color: var(--color-text-muted); font-size: 14.5px; }
.commit-note strong { color: var(--color-text); }

/* ========== profit boosters ========== */
.boosters__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
@media (max-width: 900px) { .boosters__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .boosters__grid { grid-template-columns: 1fr; } }

.booster {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(20, 20, 34, 0.5);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.booster h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
.booster p { color: var(--color-text-muted); font-size: 14.5px; line-height: 1.55; }
.booster__price {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.booster__price span { font-size: 13px; color: var(--color-text-muted); font-weight: 500; margin-left: 2px; }
.booster--cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(124,91,255,0.18), transparent 70%),
    rgba(20,20,34,0.6);
  border-color: rgba(124,91,255,0.35);
  justify-content: space-between;
}

.tier {
  position: relative;
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(20, 20, 34, 0.5);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.tier--featured {
  border-color: rgba(124,91,255,0.4);
  background:
    radial-gradient(circle at 50% 0%, rgba(124,91,255,0.18), transparent 70%),
    rgba(20,20,34,0.6);
  box-shadow: 0 0 60px rgba(124,91,255,0.18);
}
.tier h3 { font-size: 18px; }
.tier__price {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tier__price span { font-size: 14px; color: var(--color-text-muted); font-weight: 500; margin-left: 4px; }
.tier__note { color: var(--color-text-muted); font-size: 14px; }
.tier .checklist { margin-top: var(--space-2); }
.tier .btn { margin-top: auto; align-self: flex-start; }

/* ========== faq ========== */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(20, 20, 34, 0.5);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  font-size: 18px; line-height: 1;
  flex: none;
  transition: transform var(--transition-interactive), background var(--transition-interactive);
}
.faq__item[open] summary::after { content: "−"; background: var(--color-primary); color: white; border-color: var(--color-primary); }
.faq__item p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.faq__item p a { color: var(--color-primary); }
.faq__item p a:hover { color: var(--color-primary-hover); }

/* ========== cta / contact ========== */
.cta {
  position: relative;
}
.cta__inner {
  max-width: 820px;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-5);
}
.form {
  width: 100%;
  margin-top: var(--space-8);
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  background-color: rgba(14, 14, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: var(--space-5);
  text-align: left;
  /* Anchor for the animated aurora gradient backdrop */
  position: relative;
  isolation: isolate;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* NOTE: the rectangular conic gradient that used to sit around the form
   card (.form::before) has been replaced with an organic aurora-wash on
   the enclosing section — see .aurora-wash--magenta on the .cta section.
   The form itself is now a clean rounded card on top of that wash. */
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field span { font-size: 13px; color: var(--color-text-muted); letter-spacing: -0.005em; }
.form__field input,
.form__field select,
.form__field textarea {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--color-text);
  width: 100%;
  font-family: inherit;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124,91,255,0.15);
}
.form__field textarea { resize: vertical; min-height: 110px; }

/* Prefill pulse — when a pricing CTA lands the visitor on the form with
   a package already selected, the select briefly glows in the aurora
   teal/violet gradient so the pre-selection is visible without being loud. */
.form__field select.is-prefilled {
  animation: prefill-pulse 1.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes prefill-pulse {
  0% {
    border-color: rgba(94, 230, 210, 0.9);
    box-shadow: 0 0 0 3px rgba(94, 230, 210, 0.28), 0 0 24px rgba(138, 91, 255, 0.45);
  }
  40% {
    border-color: rgba(138, 91, 255, 0.75);
    box-shadow: 0 0 0 4px rgba(138, 91, 255, 0.22), 0 0 28px rgba(94, 230, 210, 0.30);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 0 rgba(138, 91, 255, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .form__field select.is-prefilled { animation: none; }
}
.form__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; }
.form__optional { font-style: normal; opacity: 0.6; font-size: 12px; margin-left: 4px; }
.form__status { font-size: 13px; color: var(--color-text-muted); min-height: 1em; }
.form__status.is-success { color: #9CFFAA; }
.form__status.is-error { color: #FF8FB1; }
.form__status.is-sending { color: var(--color-text-muted); }

/* Honeypot — positioned off-screen so it's invisible to humans and
   screen readers (via aria-hidden on the wrapper), but present in the
   DOM so form-autofill bots see and fill the "website" field. Any
   submission with a non-empty value is silently rejected by /api/lead. */
.form__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Submit button — pending state while the /api/lead call is in flight.
   We don't want a loud spinner (brand tone is quiet confidence) so we
   just dim the button and disable pointer events. */
.btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
  cursor: progress;
}

/* ========== footer ========== */
.footer {
  position: relative;
  padding: var(--space-16) var(--space-6) var(--space-10);
  text-align: center;
}
/* No hard divider above footer — let it blend into the page. */
.footer::before { content: none; }
.footer__inner {
  max-width: var(--content-default);
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: var(--space-4);
}
.footer__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.footer__mark { height: 24px; width: auto; }
.footer__addr { color: var(--color-text-muted); font-size: 14px; }
.footer__addr a { color: var(--color-text); }
.footer__addr a:hover { color: var(--color-primary); }
.footer__small { color: var(--color-text-faint); font-size: 12.5px; }
