/* ═════════════════════════════════════════════════════════════════════
   DIGIRISE INDIA — NEXT-GEN TRANSFORMATION  (nextgen.css)
   Floating navbar · 3D hero · Package theater · Bento projects
   Velocity marquee · Scroll storytelling · Theme 2.0 · Motion system
   Loads AFTER existing styles — elevates without breaking.
   ═════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────
   0 · MOTION + DEPTH TOKENS
   ───────────────────────────────────────────── */
:root {
  --ng-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ng-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ng-snap: cubic-bezier(0.4, 0, 0.2, 1);
  --ng-dur-f: 160ms;
  --ng-dur-n: 280ms;
  --ng-dur-s: 450ms;
  --ng-shadow-1: 0 2px 8px rgba(90, 62, 15, 0.08);
  --ng-shadow-2: 0 8px 24px rgba(90, 62, 15, 0.12);
  --ng-shadow-3: 0 20px 50px rgba(90, 62, 15, 0.18);
  --ng-shadow-gold: 0 10px 30px rgba(184, 123, 10, 0.28);
  --ng-glass: rgba(255, 252, 245, 0.72);
  --ng-glass-border: rgba(184, 123, 10, 0.18);
}
[data-theme="dark"] {
  --ng-shadow-1: 0 2px 8px rgba(0, 0, 0, 0.4);
  --ng-shadow-2: 0 8px 24px rgba(0, 0, 0, 0.5);
  --ng-shadow-3: 0 20px 50px rgba(0, 0, 0, 0.6);
  --ng-shadow-gold: 0 10px 32px rgba(224, 157, 32, 0.32);
  --ng-glass: rgba(24, 20, 16, 0.78);
  --ng-glass-border: rgba(224, 157, 32, 0.22);
}

/* Smooth theme cross-fade */
html.ng-theme-fade body { transition: background-color 400ms ease, color 400ms ease; }

/* ─────────────────────────────────────────────
   1 · NAVBAR → FLOATING COMMAND BAR
   ───────────────────────────────────────────── */
#mainNav {
  top: 12px !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 24px)) !important;
  border-radius: 20px !important;
  background: var(--ng-glass) !important;
  -webkit-backdrop-filter: blur(18px) saturate(170%) !important;
  backdrop-filter: blur(18px) saturate(170%) !important;
  border: 1px solid var(--ng-glass-border) !important;
  box-shadow: var(--ng-shadow-2) !important;
  transition: padding var(--ng-dur-n) var(--ng-out),
              box-shadow var(--ng-dur-n) ease,
              border-radius var(--ng-dur-n) ease !important;
}
#mainNav.ng-compact {
  border-radius: 16px !important;
  box-shadow: var(--ng-shadow-3) !important;
}
#mainNav.ng-compact .nav-inner { padding-top: 8px !important; padding-bottom: 8px !important; }

/* Scrollspy sliding indicator */
.nav-links { position: relative; }
.ng-nav-indicator {
  position: absolute;
  bottom: -4px;
  height: 2.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: left var(--ng-dur-n) var(--ng-spring), width var(--ng-dur-n) var(--ng-spring), opacity 0.2s;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(184, 123, 10, 0.5);
}

/* Logo scroll-progress ring */
.ng-logo-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  pointer-events: none;
}
.ng-logo-ring circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.85;
  transition: stroke-dashoffset 0.1s linear;
}

/* ─────────────────────────────────────────────
   2 · HERO → 3D CINEMATIC
   ───────────────────────────────────────────── */
.hero { perspective: 1200px; }

/* Perspective grid floor */
.ng-grid-floor {
  position: absolute;
  left: -10%; right: -10%; bottom: -6%;
  height: 42%;
  background-image:
    linear-gradient(var(--gold-pale2) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold-pale2) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent 85%);
  mask-image: linear-gradient(to top, rgba(0,0,0,0.5), transparent 85%);
  pointer-events: none;
  z-index: 0;
  animation: ngGridDrift 24s linear infinite;
}
@keyframes ngGridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 46px, 46px 0; }
}

/* Cursor gold glow follower */
.ng-cursor-glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-pale2) 0%, transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.hero:hover .ng-cursor-glow { opacity: 1; }

/* Split-text word reveal */
.ng-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px) rotateX(45deg);
  transform-origin: bottom;
  animation: ngWordIn 0.6s var(--ng-spring) forwards;
}
@keyframes ngWordIn {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* Aside cards — layered 3D float */
.hero-aside { transform-style: preserve-3d; }
.aside-card {
  transition: transform var(--ng-dur-n) var(--ng-out), box-shadow var(--ng-dur-n) ease !important;
  will-change: transform;
}
.aside-card:hover {
  transform: translateY(-4px) scale(1.03) !important;
  box-shadow: var(--ng-shadow-gold) !important;
}

/* Primary CTA — shine sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  animation: ngShine 3.5s ease-in-out infinite;
}
@keyframes ngShine {
  0%, 70% { left: -80%; }
  100% { left: 130%; }
}

/* Scroll cue */
.ng-scroll-cue {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
}
.ng-scroll-cue .ng-mouse {
  width: 22px; height: 34px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  position: relative;
  opacity: 0.8;
}
.ng-scroll-cue .ng-mouse::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--gold);
  animation: ngWheel 1.6s ease-in-out infinite;
}
@keyframes ngWheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(9px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Client logo trust strip */
.ng-trust-logos {
  display: flex; align-items: center; gap: 34px;
  margin-top: 34px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ng-trust-track {
  display: flex; align-items: center; gap: 44px;
  animation: ngLogoScroll 26s linear infinite;
  flex-shrink: 0;
}
@keyframes ngLogoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ng-trust-logos img {
  height: 30px; width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--ng-dur-n) ease, transform var(--ng-dur-n) ease;
}
.ng-trust-logos img:hover { filter: grayscale(0) opacity(1); transform: scale(1.08); }
.ng-trust-label {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
  margin-right: 8px;
}

/* ─────────────────────────────────────────────
   3 · MARQUEE → VELOCITY RIBBON
   ───────────────────────────────────────────── */
.marquee-band { transform: skewY(-1.6deg); margin: 26px 0; }
.marquee-band .marquee-track { /* will-change managed dynamically by ios26.js animation gate */ }
.marquee-item {
  transition: transform var(--ng-dur-f) var(--ng-spring), color var(--ng-dur-f) ease, text-shadow var(--ng-dur-f) ease;
  cursor: default;
}
.marquee-item:hover {
  transform: scale(1.12);
  color: var(--gold) !important;
  text-shadow: 0 0 18px rgba(184, 123, 10, 0.45);
}

/* ─────────────────────────────────────────────
   4 · REELS → CINEMA MODE
   ───────────────────────────────────────────── */
#reels-showcase .reel-card,
#reels-showcase [class*="reel"] video {
  transition: transform var(--ng-dur-s) var(--ng-out), box-shadow var(--ng-dur-s) ease, filter var(--ng-dur-s) ease;
}
.ng-reel-active {
  transform: scale(1.05) !important;
  box-shadow: var(--ng-shadow-3), var(--ng-shadow-gold) !important;
  z-index: 2;
}
.ng-reel-dim { filter: brightness(0.6) saturate(0.7); transform: scale(0.96); }

/* ─────────────────────────────────────────────
   5 · ROI CALCULATOR → DASHBOARD WIDGET
   ───────────────────────────────────────────── */
#roi-calc .roi-box, #roi-calc .calc-card, #roi-calc form {
  position: relative;
}
.ng-animated-border {
  position: relative;
  border-radius: inherit;
}
.ng-animated-border::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(120deg, var(--gold), transparent 30%, transparent 70%, var(--gold-light));
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ngBorderFlow 6s linear infinite;
  pointer-events: none;
  opacity: 0.7;
}
@keyframes ngBorderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* Odometer digits */
.ng-odo { display: inline-block; font-variant-numeric: tabular-nums; }
.ng-odo span { display: inline-block; animation: ngOdoIn 0.4s var(--ng-spring) both; }
@keyframes ngOdoIn { from { transform: translateY(0.6em); opacity: 0; } to { transform: none; opacity: 1; } }

/* Range sliders — gold thumb */
input[type="range"] {
  accent-color: var(--gold);
}
input[type="range"]::-webkit-slider-thumb {
  transition: transform 0.12s var(--ng-spring), box-shadow 0.12s ease;
  box-shadow: 0 2px 8px rgba(184, 123, 10, 0.45);
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.25); }

/* ─────────────────────────────────────────────
   6 · QUIZ → CARD STACK FEEL
   ───────────────────────────────────────────── */
#quiz-section [class*="quiz-opt"], #quiz-section button[data-val] {
  transition: transform var(--ng-dur-f) var(--ng-spring), box-shadow var(--ng-dur-f) ease, border-color var(--ng-dur-f) ease !important;
}
#quiz-section [class*="quiz-opt"]:hover, #quiz-section button[data-val]:hover {
  transform: translateY(-3px) rotateX(4deg) !important;
  box-shadow: var(--ng-shadow-2) !important;
}

/* ─────────────────────────────────────────────
   8 · PACKAGES → PRICING THEATER  ⭐
   ───────────────────────────────────────────── */
#packages .pkg-card, #packages [class*="package-card"], #packages [class*="price-card"] {
  transform-style: preserve-3d;
  transition: transform var(--ng-dur-n) var(--ng-out), box-shadow var(--ng-dur-n) ease !important;
  will-change: transform;
}
.ng-tilt { transition: transform 0.12s ease-out !important; }

/* Featured card float + gradient border */
#packages [class*="featured"], #packages [class*="popular"], #packages .pkg-card.hi {
  animation: ngFloat 5s ease-in-out infinite;
}
@keyframes ngFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Check-draw list items */
.ng-check-in { animation: ngCheckIn 0.35s var(--ng-out) both; }
@keyframes ngCheckIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* CTA liquid fill */
#packages a[class*="btn"], #packages button {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
#packages a[class*="btn"]::before, #packages button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  transform: translateY(101%);
  transition: transform var(--ng-dur-n) var(--ng-out);
  z-index: -1;
  border-radius: inherit;
}
#packages a[class*="btn"]:hover::before, #packages button:hover::before { transform: translateY(0); }

/* ─────────────────────────────────────────────
   9 · TIMELINE → SCROLL-DRAWN JOURNEY
   ───────────────────────────────────────────── */
#results-timeline { position: relative; }
.ng-timeline-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: var(--divider);
}
.ng-timeline-line .ng-line-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--fill, 0%);
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 10px rgba(184, 123, 10, 0.5);
  transition: height 0.15s linear;
}

/* ─────────────────────────────────────────────
   10 · BEFORE/AFTER — poc-phone glow
   ───────────────────────────────────────────── */
.poc-phone {
  transition: transform var(--ng-dur-s) var(--ng-out), box-shadow var(--ng-dur-s) ease;
}
.poc-phone:hover {
  transform: rotateY(-4deg) rotateX(2deg) scale(1.015);
  box-shadow: var(--ng-shadow-3), var(--ng-shadow-gold);
}

/* ─────────────────────────────────────────────
   11 · PROCESS → ASSEMBLY LINE
   ───────────────────────────────────────────── */
#process { position: relative; }
.ng-flow-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold), 0 0 4px var(--gold-light);
  pointer-events: none;
  opacity: 0;
}

/* ─────────────────────────────────────────────
   13 · PROJECTS → BENTO SPOTLIGHT
   ───────────────────────────────────────────── */
#projects [class*="proj"], #projects .proj-hero-card {
  transition: transform var(--ng-dur-n) var(--ng-out), box-shadow var(--ng-dur-n) ease, filter var(--ng-dur-n) ease !important;
}
#projects [class*="proj"]:hover {
  transform: translateY(-5px) scale(1.015) !important;
  box-shadow: var(--ng-shadow-3) !important;
  z-index: 2;
}
/* Neighbor dim on grid hover */
.ng-grid-dim > *:not(:hover) { filter: brightness(0.86) saturate(0.9); }

/* ─────────────────────────────────────────────
   14 · AI TOOLS → CONSTELLATION HOVER
   ───────────────────────────────────────────── */
#ai-tools [class*="tool"], #ai-tools img {
  transition: transform var(--ng-dur-f) var(--ng-spring), filter var(--ng-dur-f) ease;
}
#ai-tools [class*="tool"]:hover {
  transform: translateY(-4px) scale(1.06);
  filter: drop-shadow(0 6px 16px rgba(184, 123, 10, 0.35));
}

/* ─────────────────────────────────────────────
   15 · TESTIMONIALS → PROOF THEATER
   ───────────────────────────────────────────── */
.ng-testi-real-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* ─────────────────────────────────────────────
   16 · FAQ 2.0 — search + micro CTA
   ───────────────────────────────────────────── */
.ng-faq-search {
  width: 100%;
  max-width: 460px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: var(--card, var(--bg2));
  border: 1.5px solid var(--divider);
  transition: border-color var(--ng-dur-f) ease, box-shadow var(--ng-dur-f) ease;
}
.ng-faq-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-pale);
}
.ng-faq-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
}
.ng-faq-search svg { flex-shrink: 0; opacity: 0.5; }
.ng-faq-hidden { display: none !important; }
.ng-faq-noresult {
  text-align: center;
  padding: 26px;
  color: var(--muted);
  font-size: 14px;
}

/* ─────────────────────────────────────────────
   17 · CTA → THE CLOSER (aurora)
   ───────────────────────────────────────────── */
.cta-section { position: relative; overflow: hidden; }
.ng-aurora {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 40% 35% at 25% 30%, var(--gold-pale2), transparent 65%),
    radial-gradient(ellipse 35% 45% at 75% 65%, rgba(224, 157, 32, 0.12), transparent 60%);
  animation: ngAurora 16s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes ngAurora {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(4%, -3%) rotate(3deg); }
}
.cta-section > * { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────
   18 · FOOTER → MEGA + WATERMARK
   ───────────────────────────────────────────── */
footer { position: relative; overflow: hidden; }
.ng-footer-watermark {
  position: absolute;
  bottom: -0.16em;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(90px, 18vw, 230px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-pale2);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
  z-index: 0;
}
footer > *:not(.ng-footer-watermark) { position: relative; z-index: 1; }

/* ─────────────────────────────────────────────
   BONUS · SECTION NAV DOTS (right edge)
   ───────────────────────────────────────────── */
.ng-dots-nav {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9990;
}
.ng-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--divider);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--ng-dur-f) var(--ng-spring);
  position: relative;
}
.ng-dot:hover { transform: scale(1.4); background: var(--gold-mid); }
.ng-dot.active {
  background: var(--gold);
  height: 22px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(184, 123, 10, 0.5);
}
.ng-dot .ng-dot-label {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--card, var(--bg2));
  border: 1px solid var(--divider);
  color: var(--text);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ng-dur-f) ease, transform var(--ng-dur-f) var(--ng-out);
  box-shadow: var(--ng-shadow-1);
}
.ng-dot:hover .ng-dot-label { opacity: 1; transform: translateY(-50%) translateX(0); }
@media (max-width: 900px) { .ng-dots-nav { display: none; } }

/* ─────────────────────────────────────────────
   BONUS · WHATSAPP WIDGET
   ───────────────────────────────────────────── */
.ng-wa-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9992;
}
.ng-wa-fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform var(--ng-dur-f) var(--ng-spring), box-shadow var(--ng-dur-f) ease;
  position: relative;
}
.ng-wa-fab:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55); }
.ng-wa-fab::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: ngWaPulse 2.2s ease-out infinite;
}
@keyframes ngWaPulse {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.35); opacity: 0; }
}
.ng-wa-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 288px;
  background: var(--card, var(--bg2));
  border: 1px solid var(--divider);
  border-radius: 18px;
  box-shadow: var(--ng-shadow-3);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity var(--ng-dur-n) var(--ng-out), transform var(--ng-dur-n) var(--ng-spring);
}
.ng-wa-panel.open { opacity: 1; transform: none; pointer-events: auto; }
.ng-wa-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #128C7E, #25D366);
  color: #fff;
}
.ng-wa-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.ng-wa-head-name { font-size: 13.5px; font-weight: 800; }
.ng-wa-head-status { font-size: 10.5px; opacity: 0.9; display: flex; align-items: center; gap: 5px; }
.ng-wa-head-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #7CFC9A;
}
.ng-wa-body { padding: 14px; }
.ng-wa-msg {
  background: var(--bg2, rgba(0,0,0,0.04));
  border-radius: 4px 14px 14px 14px;
  padding: 10px 13px;
  font-size: 12.5px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 12px;
}
.ng-wa-chips { display: flex; flex-direction: column; gap: 7px; }
.ng-wa-chip {
  text-align: left;
  padding: 9px 13px;
  border-radius: 11px;
  border: 1.5px solid var(--gold-pale2);
  background: var(--gold-pale);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--ng-dur-f) ease;
}
.ng-wa-chip:hover { border-color: var(--gold); background: var(--gold-pale2); transform: translateX(3px); }
@media (max-width: 560px) { .ng-wa-panel { width: min(288px, calc(100vw - 36px)); } }

/* ─────────────────────────────────────────────
   BONUS · EXIT INTENT MODAL
   ───────────────────────────────────────────── */
.ng-exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 5, 0.7);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ng-dur-n) ease;
}
.ng-exit-overlay.show { opacity: 1; pointer-events: auto; }
.ng-exit-modal {
  width: min(420px, 100%);
  background: var(--card, var(--bg));
  border: 1px solid var(--gold-pale2);
  border-radius: 22px;
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--ng-shadow-3), var(--ng-shadow-gold);
  transform: scale(0.92) translateY(14px);
  transition: transform var(--ng-dur-n) var(--ng-spring);
  position: relative;
}
.ng-exit-overlay.show .ng-exit-modal { transform: none; }
.ng-exit-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--divider);
  background: none;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  transition: all var(--ng-dur-f) ease;
}
.ng-exit-close:hover { color: var(--text); border-color: var(--text); }
.ng-exit-emoji { font-size: 42px; margin-bottom: 12px; animation: ngWave 1.6s ease-in-out infinite; display: inline-block; }
@keyframes ngWave { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.ng-exit-modal h3 { font-size: 21px; font-weight: 800; margin: 0 0 8px; color: var(--text); }
.ng-exit-modal p { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0 0 20px; }
.ng-exit-modal .btn-primary { display: inline-flex; width: auto; }

/* ─────────────────────────────────────────────
   GLOBAL POLISH
   ───────────────────────────────────────────── */
/* Universal reveal upgrade: directional variants */
.ng-reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.1s var(--ng-out), transform 0.1s var(--ng-out); }
.ng-reveal.ng-in { opacity: 1; transform: none; }
.ng-reveal-left { opacity: 0; transform: translateX(-16px); transition: opacity 0.1s var(--ng-out), transform 0.1s var(--ng-out); }
.ng-reveal-left.ng-in { opacity: 1; transform: none; }
.ng-reveal-right { opacity: 0; transform: translateX(16px); transition: opacity 0.1s var(--ng-out), transform 0.1s var(--ng-out); }
.ng-reveal-right.ng-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ng-reveal, .ng-reveal-left, .ng-reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Section headings underline draw */
.sec-title { position: relative; }

/* All CTA-ish anchors: press feedback */
a[class*="btn"], button { -webkit-tap-highlight-color: transparent; }
a[class*="btn"]:active { transform: scale(0.97); }

/* ─────────────────────────────────────────────
   REDUCED MOTION + MOBILE SAFEGUARDS
   ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ng-word { animation: none; opacity: 1; transform: none; }
  .ng-grid-floor, .btn-primary::after, .ng-trust-track,
  .ng-aurora, .ng-wa-fab::after, .ng-exit-emoji,
  #packages [class*="featured"], .marquee-band .marquee-track { animation: none !important; }
  .ng-reveal, .ng-reveal-left, .ng-reveal-right { opacity: 1; transform: none; transition: none; }
  .ng-scroll-cue { display: none; }
}
@media (max-width: 768px) {
  .ng-grid-floor { display: none; }        /* battery save */
  .ng-cursor-glow { display: none; }
  .ng-tilt { transform: none !important; } /* no tilt on touch */
  .ng-footer-watermark { font-size: clamp(64px, 22vw, 120px); }
}
