/* ============================================================
   StarTech Prestige — 3D PREMIUM ENHANCEMENT LAYER  v4
   Loaded AFTER startech.css. Overrides and extends the base
   design system with:
     • Deep 3D card perspective transforms + shimmer
     • Animated gradient borders on key cards/CTAs
     • Floating particle depth canvas (hero)
     • Holographic hero headline accent
     • Layered glassmorphism with refraction shimmer
     • Neon accent glow pulses
     • 3D stats counter tiles
     • Cinematic section dividers
     • Enhanced service card flip/reveal
     • Improved nav with 3D depth shadow
     • SEO-friendly structured enhancements
   All GPU-only (transform/opacity/filter). CWV-safe.
   ============================================================ */

/* ---- Extended design tokens ---- */
:root {
  /* 3D depth tokens */
  --depth-sm:   perspective(800px);
  --depth-md:   perspective(1200px);
  --depth-lg:   perspective(1800px);

  /* Glow palette */
  --glow-blue:  rgba(79, 158, 255, 0.55);
  --glow-blue2: rgba(79, 158, 255, 0.25);
  --glow-rim:   rgba(127, 181, 255, 0.18);

  /* Animated gradient border */
  --grad-border: linear-gradient(135deg, #4F9EFF, #2C6FD6, #7FB5FF, #4F9EFF);

  /* Glass surfaces */
  --glass-bg:   rgba(18, 20, 27, 0.55);
  --glass-bg2:  rgba(14, 16, 22, 0.72);
  --glass-rim:  rgba(255, 255, 255, 0.10);
  --glass-top:  rgba(255, 255, 255, 0.18);

  /* Section glow colours */
  --sec-glow-1: rgba(79, 158, 255, 0.12);
  --sec-glow-2: rgba(44, 111, 214, 0.10);

  /* Transition presets */
  --t3d: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
         box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
         border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   SECTION BACKGROUNDS — layered depth glows
   ============================================================ */
.stp .sec {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Primary sections: dual radial glow anchors */
.stp .sec::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 8% 10%,  var(--sec-glow-1), transparent 65%),
    radial-gradient(ellipse 55% 45% at 95% 90%,  var(--sec-glow-2), transparent 60%);
  opacity: 0;
  transition: opacity 0.8s ease;
}
.stp .sec.on::before { opacity: 1; }

/* Alt sections: flipped glow anchors */
.stp .sec--alt::before {
  background:
    radial-gradient(ellipse 65% 50% at 90% 5%,   var(--sec-glow-1), transparent 62%),
    radial-gradient(ellipse 50% 60% at 5% 95%,   var(--sec-glow-2), transparent 58%);
}

/* Thin animated top-edge light streak on alt sections */
.stp .sec--alt::after {
  content: "";
  position: absolute;
  top: 0; left: -100%; right: -100%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(79,158,255,0.0) 20%,
    rgba(79,158,255,0.35) 50%,
    rgba(79,158,255,0.0) 80%, transparent 100%);
  animation: secLine 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes secLine {
  0%   { transform: translateX(-60%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(60%); opacity: 0; }
}

/* ============================================================
   HERO — cinematic depth + particle canvas placeholder
   ============================================================ */
.stp .hero {
  position: relative;
  overflow: hidden;
}

/* Animated multi-layer radial depth gradient behind hero content */
.stp .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(79,158,255,0.07), transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(44,111,214,0.08), transparent 55%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1.0; transform: scale(1.04); }
}

/* Hero photo frame — 3D tilt + glowing rim */
.stp .hero-photo,
.stp .hero .media {
  position: relative;
}
.stp .hero-photo::before,
.stp .hero .media::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  background: var(--grad-border);
  background-size: 300% 300%;
  animation: borderSpin 4s linear infinite;
  z-index: -1;
  opacity: 0.55;
  filter: blur(4px);
}
@keyframes borderSpin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero headline — holographic shimmer on gradient text */
.stp .hero h1 .grad-text,
.stp .hero-cine h1 .grad-text {
  background: linear-gradient(90deg, #9CC6FF 0%, #4F9EFF 30%, #FFFFFF 50%, #4F9EFF 70%, #9CC6FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 3.5s linear infinite;
}
@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ============================================================
   NAVBAR — frosted glass with 3D depth shadow
   ============================================================ */
.stp .nav {
  background: rgba(8, 9, 14, 0.78);
  -webkit-backdrop-filter: blur(22px) saturate(140%) brightness(0.9);
  backdrop-filter: blur(22px) saturate(140%) brightness(0.9);
  border-bottom: 1px solid rgba(79, 158, 255, 0.12);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.04),
    0 8px 32px -8px rgba(0,0,0,0.65),
    0 0 60px -30px rgba(79,158,255,0.18);
}

/* Active nav link indicator */
.stp .nav-links a:hover {
  color: var(--ink);
  text-shadow: 0 0 12px rgba(79,158,255,0.45);
}

/* Book Online button — animated glow ring */
.stp .nav .btn-primary {
  position: relative;
  overflow: hidden;
}
.stp .nav .btn-primary::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--grad-border);
  background-size: 300% 300%;
  animation: borderSpin 3s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.stp .nav .btn-primary:hover::before { opacity: 1; }

/* ============================================================
   CARDS — advanced glassmorphism + 3D perspective tilt
   ============================================================ */
.stp .card {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.065) 0%,
    rgba(255,255,255,0.022) 50%,
    rgba(79,158,255,0.04) 100%
  );
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.06) inset,
    0 -1px 0 rgba(0,0,0,0.3) inset,
    0 18px 50px -20px rgba(0,0,0,0.70),
    0 0 0 1px rgba(79,158,255,0.04);
  transition: var(--t3d);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Top-edge specular highlight */
.stp .card::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.30), transparent);
  border-radius: 1px;
  pointer-events: none;
}

/* Bottom-edge subtle shadow rim */
.stp .card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,158,255,0.20), transparent);
  border-radius: 1px;
  pointer-events: none;
}

/* Hover: lift + glow */
.stp .card:hover {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.085) 0%,
    rgba(255,255,255,0.030) 50%,
    rgba(79,158,255,0.06) 100%
  );
  border-color: rgba(79,158,255,0.28);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.08) inset,
    0 -1px 0 rgba(0,0,0,0.3) inset,
    0 28px 70px -22px rgba(0,0,0,0.75),
    0 0 0 1px rgba(79,158,255,0.12),
    0 0 30px -10px rgba(79,158,255,0.20);
  transform: translateY(-6px) scale(1.012);
}

/* Tilt CSS variables (set by JS) */
.stp .card.tilt {
  transform:
    perspective(900px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateY(var(--ty, 0px));
}
.stp .card.tilt.reset {
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}

/* ============================================================
   SERVICE CARDS — photo cards with 3D overlay reveal
   ============================================================ */
.stp .card.svc {
  overflow: hidden;
  position: relative;
}
.stp .card.svc .ph {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}
.stp .card.svc .ph img {
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), filter 0.6s ease;
  transform: scale(1.0);
  filter: brightness(0.88) saturate(0.9);
}
.stp .card.svc:hover .ph img {
  transform: scale(1.07);
  filter: brightness(0.95) saturate(1.05);
}

/* Gradient overlay on service card photo */
.stp .card.svc .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(10,11,16,0.55) 100%
  );
  pointer-events: none;
}

/* "Learn more" arrow — animated */
.stp .card.svc .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 14px;
  transition: gap 0.25s ease, color 0.25s ease;
}
.stp .card.svc:hover .more {
  gap: 10px;
  color: var(--accent-2);
}

/* ============================================================
   STATS — 3D elevated tiles with glow numerals
   ============================================================ */
.stp .stats {
  background: transparent;
  border: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stp .stat {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.06) 0%,
    rgba(255,255,255,0.02) 60%,
    rgba(79,158,255,0.05) 100%
  );
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.06) inset,
    0 16px 44px -18px rgba(0,0,0,0.65),
    0 0 0 1px rgba(79,158,255,0.05);
  transition: var(--t3d);
  position: relative;
  overflow: hidden;
}

.stp .stat::before {
  content: "";
  position: absolute;
  top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

.stp .stat:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(79,158,255,0.22);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.08) inset,
    0 24px 60px -20px rgba(0,0,0,0.70),
    0 0 24px -8px rgba(79,158,255,0.25);
}

.stp .stat .n {
  font-family: var(--fh);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  background: linear-gradient(180deg, #B8D8FF 0%, #4F9EFF 50%, #2C6FD6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(79,158,255,0.45));
  line-height: 1;
  letter-spacing: -0.02em;
}

/* ============================================================
   CHIP ICONS — glowing accent chips
   ============================================================ */
.stp .chip {
  background: linear-gradient(
    145deg,
    rgba(79,158,255,0.14) 0%,
    rgba(44,111,214,0.08) 100%
  );
  border: 1px solid rgba(79,158,255,0.22);
  box-shadow:
    0 0 16px -6px rgba(79,158,255,0.35),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.stp .card:hover .chip {
  border-color: rgba(79,158,255,0.40);
  box-shadow:
    0 0 24px -4px rgba(79,158,255,0.55),
    inset 0 1px 0 rgba(255,255,255,0.12);
}
.stp .chip svg {
  filter: drop-shadow(0 0 4px rgba(79,158,255,0.50));
}

/* ============================================================
   BUTTONS — 3D depth + animated gradient
   ============================================================ */
.stp .btn-primary {
  background: linear-gradient(135deg, #4F9EFF 0%, #2C6FD6 60%, #3A85E8 100%);
  border: none;
  box-shadow:
    0 6px 20px -6px rgba(79,158,255,0.55),
    0 2px 0 rgba(255,255,255,0.12) inset,
    0 -2px 0 rgba(0,0,0,0.25) inset;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.3s cubic-bezier(0.22,1,0.36,1);
}

/* Animated shimmer sweep on primary button */
.stp .btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.22),
    transparent
  );
  transform: skewX(-20deg);
  animation: btnShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShimmer {
  0%   { left: -100%; opacity: 0; }
  20%  { opacity: 1; }
  60%  { left: 140%; opacity: 0; }
  100% { left: 140%; opacity: 0; }
}

.stp .btn-primary:hover {
  background: linear-gradient(135deg, #6AAFFF 0%, #3A85E8 60%, #4F9EFF 100%);
  box-shadow:
    0 10px 30px -8px rgba(79,158,255,0.70),
    0 2px 0 rgba(255,255,255,0.16) inset,
    0 -2px 0 rgba(0,0,0,0.20) inset;
  transform: translateY(-2px) scale(1.015);
}

.stp .btn-ghost {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: var(--t3d);
}
.stp .btn-ghost:hover {
  border-color: rgba(79,158,255,0.35);
  background: rgba(79,158,255,0.06);
  box-shadow: 0 0 20px -8px rgba(79,158,255,0.30);
}

/* ============================================================
   BADGES — glowing trust indicators
   ============================================================ */
.stp .badge {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.06),
    rgba(79,158,255,0.05)
  );
  border: 1px solid rgba(79,158,255,0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px -6px rgba(0,0,0,0.45);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.stp .badge:hover {
  border-color: rgba(79,158,255,0.35);
  box-shadow: 0 0 16px -4px rgba(79,158,255,0.25);
}

/* ============================================================
   CREDS STRIP — floating glass tiles
   ============================================================ */
.stp .cred {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.055),
    rgba(79,158,255,0.04)
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  box-shadow:
    0 2px 0 rgba(255,255,255,0.06) inset,
    0 12px 30px -14px rgba(0,0,0,0.55);
  transition: var(--t3d);
}
.stp .cred:hover {
  transform: translateY(-3px);
  border-color: rgba(79,158,255,0.22);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.08) inset,
    0 18px 40px -14px rgba(0,0,0,0.60),
    0 0 18px -6px rgba(79,158,255,0.20);
}

/* ============================================================
   GALLERY — 3D stacked photo grid
   ============================================================ */
.stp .gallery .media {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 16px 44px -18px rgba(0,0,0,0.70),
    0 0 0 1px rgba(79,158,255,0.04);
  transition: var(--t3d);
}
.stp .gallery .media img {
  transition: transform 0.65s cubic-bezier(0.22,1,0.36,1),
              filter 0.65s ease;
  filter: brightness(0.85) saturate(0.9);
}
.stp .gallery .media:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(79,158,255,0.22);
  box-shadow:
    0 24px 60px -18px rgba(0,0,0,0.75),
    0 0 24px -8px rgba(79,158,255,0.22);
}
.stp .gallery .media:hover img {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1.05);
}

/* ============================================================
   REVIEW CARDS — star glow
   ============================================================ */
.stp .card.review .stars {
  color: #FFD166;
  text-shadow: 0 0 10px rgba(255,209,102,0.55);
  letter-spacing: 3px;
}

/* ============================================================
   STEPS — 3D numbered process steps
   ============================================================ */
.stp .step {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.055),
    rgba(79,158,255,0.04)
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.06) inset,
    0 14px 38px -16px rgba(0,0,0,0.60);
  transition: var(--t3d);
}
.stp .step:hover {
  transform: translateY(-4px);
  border-color: rgba(79,158,255,0.22);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.08) inset,
    0 22px 55px -16px rgba(0,0,0,0.65),
    0 0 22px -8px rgba(79,158,255,0.22);
}

/* Step number — glowing */
.stp .step-n {
  background: linear-gradient(135deg, #4F9EFF, #2C6FD6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 8px rgba(79,158,255,0.40));
}

/* ============================================================
   BRANDS TICKER — depth fade edges
   ============================================================ */
.stp .brands {
  position: relative;
}
.stp .brands::before,
.stp .brands::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; width: 80px;
  z-index: 2;
  pointer-events: none;
}
.stp .brands::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}
.stp .brands::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

/* ============================================================
   FOOTER — elevated glass panel
   ============================================================ */
.stp footer {
  background: linear-gradient(
    180deg,
    rgba(10,11,16,0.0) 0%,
    var(--bg-2) 8%
  );
  border-top: 1px solid rgba(79,158,255,0.10);
  box-shadow: 0 -1px 0 rgba(255,255,255,0.04);
  position: relative;
}
.stp footer::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79,158,255,0.30), transparent);
  pointer-events: none;
}

/* Footer links hover glow */
.stp footer a:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(79,158,255,0.35);
}

/* ============================================================
   SCROLL REVEAL — enhanced 3D entrance
   ============================================================ */

/* Base hidden state for all .r elements */
.stp .r {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.stp .r.on {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.stp .d1 { transition-delay: 0.10s; }
.stp .d2 { transition-delay: 0.20s; }
.stp .d3 { transition-delay: 0.30s; }
.stp .d4 { transition-delay: 0.40s; }
.stp .d5 { transition-delay: 0.50s; }

/* 3D card reveal: rise from depth */
.stp .grid .card.r:not(.on),
.stp .steps .step.r:not(.on) {
  transform: translateY(40px) perspective(1000px) rotateX(10deg) scale(0.97);
  transform-origin: 50% 110%;
  opacity: 0;
}
.stp .grid .card.r.on,
.stp .steps .step.r.on {
  transform: none;
  opacity: 1;
}

/* Media / image reveal: slide in from side */
.stp .media.r:not(.on) {
  transform: translateX(-24px) scale(0.98);
  opacity: 0;
}
.stp .media.r.on {
  transform: none;
  opacity: 1;
}

/* ============================================================
   HERO PHOTO FRAME — 3D floating card effect
   ============================================================ */
.stp .hero-photo img,
.stp .hero .media img,
.stp .hero .media video {
  border-radius: 12px;
  box-shadow:
    0 30px 80px -24px rgba(0,0,0,0.80),
    0 0 0 1px rgba(79,158,255,0.12),
    0 0 60px -20px rgba(79,158,255,0.18);
  transition: box-shadow 0.5s ease;
}

/* Location tag on hero photo */
.stp .hero .tag {
  background: rgba(10,11,16,0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(79,158,255,0.22);
  box-shadow:
    0 8px 24px -8px rgba(0,0,0,0.55),
    0 0 16px -6px rgba(79,158,255,0.20);
}

/* ============================================================
   SECTION DIVIDERS — cinematic light lines
   ============================================================ */
.stp .sec + .sec::before {
  content: "";
  position: absolute;
  top: 0; left: 5%; right: 5%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(79,158,255,0.15) 30%,
    rgba(127,181,255,0.25) 50%,
    rgba(79,158,255,0.15) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   FLOATING BOOK PILL — glowing CTA
   ============================================================ */
.stp .float-book {
  background: linear-gradient(135deg, #4F9EFF, #2C6FD6);
  box-shadow:
    0 8px 28px -8px rgba(79,158,255,0.60),
    0 2px 0 rgba(255,255,255,0.12) inset;
  border: none;
}
.stp .float-book:hover {
  box-shadow:
    0 12px 36px -8px rgba(79,158,255,0.75),
    0 2px 0 rgba(255,255,255,0.16) inset;
  transform: translateY(-2px) scale(1.02);
}

/* ============================================================
   MOBILE ACTION BAR — glass bottom bar
   ============================================================ */
.stp .actionbar {
  background: rgba(10,11,16,0.88);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
  border-top: 1px solid rgba(79,158,255,0.12);
  box-shadow: 0 -8px 24px -8px rgba(0,0,0,0.55);
}

/* ============================================================
   MEGA MENU — glass dropdown
   ============================================================ */
.stp .mega {
  background: rgba(14,16,22,0.92);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
  border: 1px solid rgba(79,158,255,0.14);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.80),
    0 0 0 1px rgba(255,255,255,0.04);
}
.stp .nav-links .mega-grid a:hover {
  background: rgba(79,158,255,0.10);
  color: var(--ink);
  text-shadow: 0 0 8px rgba(79,158,255,0.30);
}

/* ============================================================
   FAQ — glass accordion
   ============================================================ */
.stp .fi {
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.stp .fq:hover {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(79,158,255,0.30);
}
.stp .fi.open {
  background: rgba(79,158,255,0.03);
  border-radius: 8px;
}

/* ============================================================
   SEARCH OVERLAY — glass modal
   ============================================================ */
.stps-modal {
  background: rgba(14,16,22,0.92) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  border: 1px solid rgba(79,158,255,0.16) !important;
  box-shadow:
    0 40px 100px -24px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.04) !important;
}

/* ============================================================
   BOOKING WIDGET — enhanced glass
   ============================================================ */
.stp-bw {
  box-shadow:
    0 50px 120px -30px rgba(7,12,24,0.80),
    0 0 0 4px rgba(79,158,255,0.16),
    0 0 100px -30px rgba(79,158,255,0.40) !important;
}

/* ============================================================
   SCROLL PROGRESS BAR — glowing accent line
   ============================================================ */
.stp .progress {
  background: linear-gradient(90deg, #4F9EFF, #7FB5FF) !important;
  box-shadow: 0 0 8px rgba(79,158,255,0.55) !important;
  height: 2px !important;
}

/* ============================================================
   BACK TO TOP — glowing ring
   ============================================================ */
.stp .to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow:
    0 0 20px -4px rgba(79,158,255,0.45),
    0 10px 24px rgba(0,0,0,0.5);
}

/* ============================================================
   EYEBROW LABELS — glowing accent line
   ============================================================ */
.stp .eyebrow {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(79,158,255,0.35);
}
.stp .eyebrow::before {
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  box-shadow: 0 0 6px rgba(79,158,255,0.40);
}

/* ============================================================
   GRAD TEXT — enhanced shimmer
   ============================================================ */
.stp .grad-text {
  background: linear-gradient(90deg, #9CC6FF 0%, #4F9EFF 40%, #FFFFFF 55%, #4F9EFF 70%, #9CC6FF 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 4s linear infinite;
}

/* ============================================================
   OPEN STATUS CHIP — enhanced glow
   ============================================================ */
.stp .open-chip.is-open {
  border-color: rgba(91,216,155,0.35);
  box-shadow: 0 0 14px -4px rgba(91,216,155,0.30);
}
.stp .open-chip.is-open i {
  box-shadow: 0 0 10px rgba(91,216,155,0.65);
}

/* ============================================================
   AREA / LOCAL SEO CARDS — suburb grid
   ============================================================ */
.stp .area-card,
.stp .card.area {
  background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(79,158,255,0.04));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.09);
  transition: var(--t3d);
}
.stp .area-card:hover,
.stp .card.area:hover {
  transform: translateY(-4px);
  border-color: rgba(79,158,255,0.25);
  box-shadow: 0 20px 50px -18px rgba(0,0,0,0.65), 0 0 20px -8px rgba(79,158,255,0.20);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 900px) {
  .stp .stats {
    gap: 10px;
  }
  .stp .stat .n {
    font-size: clamp(2rem, 6vw, 2.6rem);
  }
}

@media (max-width: 640px) {
  .stp .stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  /* Disable heavy blur on low-end mobile for performance */
  .stp .card,
  .stp .stat,
  .stp .cred,
  .stp .step {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  /* Simplify animations on small screens */
  .stp .sec::before,
  .stp .sec--alt::after {
    display: none;
  }
}

/* ============================================================
   REDUCED MOTION — override all animations
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .stp *,
  .stp *::before,
  .stp *::after {
    animation: none !important;
    transition: none !important;
  }
  .stp .r { opacity: 1; transform: none; }
  .stp .hero h1 .grad-text,
  .stp .grad-text { animation: none; }
  .stp .btn-primary::after { display: none; }
}
