/* ==========================================================================
   NEWTON THE TUTOR — PREMIUM LAYER (Jeton-style)
   Glassmorphism, aurora, scroll reveals, shimmer, tilt, particles
   No custom cursor — standard browser cursor only
   ========================================================================== */

/* ── SCROLL PROGRESS ─────────────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #6c63ff 0%, #a78bfa 50%, #ec4899 100%);
  z-index: 100000;
  pointer-events: none;
  box-shadow: 0 0 16px rgba(108, 99, 255, 0.65), 0 0 32px rgba(167, 139, 250, 0.35);
  transition: width 0.05s linear;
  border-radius: 0 2px 2px 0;
}

/* ── FILM GRAIN OVERLAY ─────────────────────────────────────────── */
#grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99990;
  opacity: 0.028;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.5s steps(2) infinite;
}
[data-theme="light"] #grain-overlay { opacity: 0.018; }
@keyframes grainShift {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-2%, -1%); }
}

/* ── AMBIENT ORBS ─────────────────────────────────────────────────── */
.ambient-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
  will-change: transform;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.28) 0%, transparent 70%);
  top: -10%; right: -5%;
  animation: orbFloat1 18s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.18) 0%, transparent 70%);
  bottom: 20%; left: -8%;
  animation: orbFloat2 22s ease-in-out infinite;
}
.orb-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  top: 45%; right: 15%;
  animation: orbFloat3 15s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-40px, 60px) scale(1.08); }
  66%       { transform: translate(30px, -30px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(50px, -40px); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-30px, 50px) scale(1.1); }
}

/* ── HERO CANVAS PARTICLES ───────────────────────────────────────── */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
}

/* ── HERO AURORA ──────────────────────────────────────────────────── */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-aurora::before,
.hero-aurora::after {
  content: '';
  position: absolute;
  width: 120%; height: 60%;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.22;
  animation: auroraDrift 12s ease-in-out infinite alternate;
}
.hero-aurora::before {
  top: -20%; left: -10%;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.45), rgba(167, 139, 250, 0.2));
}
.hero-aurora::after {
  bottom: -30%; right: -15%;
  background: linear-gradient(225deg, rgba(236, 72, 153, 0.3), rgba(108, 99, 255, 0.15));
  animation-delay: -6s;
}
@keyframes auroraDrift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(5%, 8%) rotate(5deg); }
}

/* ── SPLIT TEXT REVEAL ────────────────────────────────────────────── */
.split-text {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
.split-line {
  display: block;
  overflow: hidden;
  line-height: 0.92;
}
.split-inner {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.8s ease;
}
.split-inner.revealed {
  transform: translateY(0);
  opacity: 1;
}
.split-inner em {
  font-style: normal;
  background: linear-gradient(135deg, #6c63ff 0%, #a78bfa 50%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.split-inner em::after {
  content: '';
  position: absolute;
  bottom: 0.05em; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6c63ff, #a78bfa, transparent);
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
.split-inner.revealed em::after { transform: scaleX(1); }

/* ── SHIMMER TEXT (gradient sweep) ───────────────────────────────── */
.shimmer-text {
  background: linear-gradient(
    120deg,
    #6c63ff 0%, #a78bfa 35%, rgba(255, 255, 255, 0.9) 50%,
    #a78bfa 65%, #ec4899 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSlide 4s linear infinite;
}
@keyframes shimmerSlide {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* ── HERO ENHANCED ELEMENTS ───────────────────────────────────────── */
.hero-content.premium-loaded .hero-eyebrow {
  animation: none; opacity: 1; transform: translateY(0);
}
.hero-content.premium-loaded .hero-body,
.hero-content.premium-loaded .hero-actions { animation: none; }

.hero-fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-fade-in.revealed { opacity: 1; transform: translateY(0); }

.hero-badge {
  animation: badgeFloat 6s ease-in-out infinite, heroIn 0.8s 1.3s forwards ease !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-badge::before {
  content: '';
  position: absolute; inset: -1px;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.5), transparent 50%, rgba(167, 139, 250, 0.2));
  z-index: -1; opacity: 0.5;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ── GLASS CARD SHIMMER SWEEP ─────────────────────────────────────── */
.glass-card,
.service-card,
.why-card,
.price-card,
.testi-card,
.tutor-card,
.blog-card,
.subject-card {
  position: relative;
  overflow: hidden;
}
.glass-card::after,
.service-card::after,
.why-card::after,
.price-card::after,
.testi-card::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 10;
}
.glass-card:hover::after,
.service-card:hover::after,
.why-card:hover::after,
.price-card:hover::after,
.testi-card:hover::after {
  left: 150%;
}

/* ── MAGNETIC BUTTONS ─────────────────────────────────────────────── */
.btn.magnetic {
  position: relative;
  isolation: isolate;
}
.btn.magnetic::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}
.btn.magnetic:hover::before { opacity: 1; }

.btn-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover .btn-shine { left: 150%; }

/* ── 3D TILT CARDS ────────────────────────────────────────────────── */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
  transition: box-shadow 0.4s ease;
}
.tilt-card .tilt-glare {
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  z-index: 5;
}
.tilt-card:hover .tilt-glare { opacity: 1; }
.tilt-card:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35),
              0 0 0 1px rgba(108, 99, 255, 0.18);
}

/* ── GLASS GLOW ON HOVER ──────────────────────────────────────────── */
.service-card.tilt-card:hover { transform: translateY(-6px); }
.service-card.tilt-card:hover .service-card-img { transform: scale(1.06); filter: brightness(1.1); }
.service-card-img { transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease; }
.service-card-inner { position: relative; z-index: 2; }

/* ── ENHANCED NAVBAR ──────────────────────────────────────────────── */
#navbar {
  transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.5s ease,
              border-color 0.5s ease,
              padding 0.5s ease,
              box-shadow 0.5s ease !important;
}
#navbar.scrolled {
  background: rgba(5, 8, 20, 0.80) !important;
  backdrop-filter: blur(28px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.6) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.28), 0 0 40px rgba(108, 99, 255, 0.12);
  border-bottom: 1px solid rgba(108, 99, 255, 0.15);
}
[data-theme="light"] #navbar.scrolled {
  background: rgba(240, 242, 255, 0.88) !important;
  backdrop-filter: blur(28px) saturate(1.6) !important;
}

/* Nav link underline sweep */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, #6c63ff, #a78bfa);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── GLASS DROPDOWN PREMIUM ───────────────────────────────────────── */
.glass-dropdown {
  background: rgba(8, 12, 26, 0.90);
  backdrop-filter: blur(32px) saturate(1.8);
  -webkit-backdrop-filter: blur(32px) saturate(1.8);
  border: 1px solid rgba(108, 99, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(255, 255, 255, 0.04),
              0 0 32px rgba(108, 99, 255, 0.12);
}
[data-theme="light"] .glass-dropdown {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(108, 99, 255, 0.12);
  box-shadow: 0 16px 48px rgba(108, 99, 255, 0.12),
              0 0 0 1px rgba(108, 99, 255, 0.06);
}

/* ── MARQUEE PREMIUM ──────────────────────────────────────────────── */
.marquee-section { position: relative; overflow: hidden; }
.marquee-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #6c63ff, #a78bfa, #ec4899, #6c63ff);
  background-size: 300% 100%;
  animation: marqueeGradient 8s ease infinite;
  z-index: 0;
}
.marquee-section > * { position: relative; z-index: 1; }
@keyframes marqueeGradient {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
.marquee-item { transition: transform 0.3s ease, opacity 0.3s ease; }
.marquee-section:hover .marquee-item { opacity: 0.85; }

/* ── SECTION DIVIDERS ─────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  max-width: var(--container);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.4), rgba(167, 139, 250, 0.3), transparent);
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: #6c63ff;
  rotate: 45deg;
  box-shadow: 0 0 8px rgba(108, 99, 255, 0.6);
}

/* ── CLIP REVEAL IMAGES ───────────────────────────────────────────── */
.clip-reveal { position: relative; overflow: hidden; }
.clip-reveal::after {
  content: '';
  position: absolute; inset: 0;
  background: #6c63ff;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}
.clip-reveal.revealed::after { transform: scaleX(0); }
.clip-reveal img {
  transform: scale(1.15);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.clip-reveal.revealed img { transform: scale(1); }

/* ── STATS BAND PREMIUM ───────────────────────────────────────────── */
.stats-band { position: relative; overflow: hidden; }
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.08) 0%, transparent 50%, rgba(255,255,255,0.04) 100%);
  pointer-events: none;
}
.stat-block {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-block:hover { transform: translateY(-4px); }
.stat-big {
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.stat-block:hover .stat-big {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(108, 99, 255, 0.5));
}

/* ── PRICING CARD PREMIUM ─────────────────────────────────────────── */
.price-card.featured {
  position: relative;
  overflow: hidden;
}
.price-card.featured::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(108, 99, 255, 0.08), transparent 30%);
  animation: priceRotate 8s linear infinite;
  pointer-events: none;
}
@keyframes priceRotate { to { transform: rotate(360deg); } }
.price-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s ease,
              border-color 0.4s ease !important;
}
.price-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.35),
              0 0 0 1px rgba(108, 99, 255, 0.25) !important;
}

/* ── TESTIMONIALS PREMIUM ─────────────────────────────────────────── */
.testi-slider { position: relative; }
.testi-slider::before,
.testi-slider::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; width: 80px;
  z-index: 2; pointer-events: none;
}
.testi-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}
.testi-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary), transparent);
}
.testi-card { backdrop-filter: blur(12px); }
.testi-quote { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease; }
.testi-card:hover .testi-quote { transform: scale(1.15); opacity: 0.15; }

/* ── CTA SECTION PREMIUM ──────────────────────────────────────────── */
.cta-section { position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(108, 99, 255, 0.12) 0%, transparent 60%);
  pointer-events: none; z-index: 1;
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
  pointer-events: none; z-index: 1;
}
.cta-content { position: relative; z-index: 2; }

/* ── PAGE LOADER PREMIUM ──────────────────────────────────────────── */
#page-loader {
  background: radial-gradient(ellipse at center, #080c1a 0%, #050814 70%);
}
.loader-mark { position: relative; overflow: hidden; }
.loader-mark::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(108, 99, 255, 0.3) 50%, transparent 60%);
  animation: loaderShine 1.8s ease-in-out infinite;
}
@keyframes loaderShine {
  0%   { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(200%) rotate(45deg); }
}
.loader-percent {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #6c63ff, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: loaderFadeIn 0.6s 0.6s forwards ease;
}
@keyframes loaderFadeIn { to { opacity: 1; } }

/* ── SCROLL REVEAL ENHANCED ───────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }

.reveal-blur {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px);
  transition: opacity 0.9s ease, filter 0.9s ease,
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-blur.visible { opacity: 1; filter: blur(0); transform: translateY(0); }

/* ── LINE DRAW ANIMATION ──────────────────────────────────────────── */
.line-draw { position: relative; }
.line-draw::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0;
  background: linear-gradient(90deg, #6c63ff, #a78bfa);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.line-draw.visible::after { width: 100%; }

/* ── SUBJECT CARDS HOVER GLOW ─────────────────────────────────────── */
.subject-card { position: relative; overflow: hidden; }
.subject-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(108, 99, 255, 0.15) 0%, transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.subject-card:hover::before { opacity: 1; }
.subject-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(108, 99, 255, 0.4) !important;
  box-shadow: 0 16px 48px rgba(108, 99, 255, 0.15) !important;
}

/* ── TUTOR CARDS PREMIUM ──────────────────────────────────────────── */
.tutor-card { overflow: hidden; }
.tutor-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6c63ff, #a78bfa, #ec4899);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.tutor-card:hover::after { transform: scaleX(1); }

/* ── WHY CARDS PREMIUM ────────────────────────────────────────────── */
.why-card { position: relative; overflow: hidden; }
.why-card .why-icon {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}
.why-card:hover .why-icon {
  transform: scale(1.15) rotate(-5deg);
  filter: drop-shadow(0 0 12px rgba(108, 99, 255, 0.6));
}

/* ── BLOG CARDS PREMIUM ───────────────────────────────────────────── */
.blog-card:hover .blog-card-img { transform: scale(1.08); }
.blog-card-img { transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.blog-read-more i { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.blog-card:hover .blog-read-more i { transform: translateX(6px); }

/* ── FOOTER PREMIUM ───────────────────────────────────────────────── */
.footer { position: relative; }
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.45), rgba(167, 139, 250, 0.3), transparent);
}
.footer-logo-img {
  height: 44px; width: auto; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(108, 99, 255, 0.35));
  transition: filter 0.3s ease, transform 0.3s ease;
  display: block;
  margin-bottom: 1rem;
}
.footer-logo-link:hover .footer-logo-img {
  filter: drop-shadow(0 0 18px rgba(108, 99, 255, 0.55));
  transform: scale(1.04);
}

/* ── BACK TO TOP PREMIUM ──────────────────────────────────────────── */
#back-top {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease,
              box-shadow 0.4s ease !important;
}
#back-top.show {
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.35),
              0 0 0 1px rgba(108, 99, 255, 0.2);
}
#back-top:hover { transform: translateY(-4px) !important; }

/* ── PAGE HERO PREMIUM ────────────────────────────────────────────── */
.page-hero { position: relative; }
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  pointer-events: none; z-index: 2;
}

/* ── CARD GLOW HIGHLIGHT (mouse tracking) ─────────────────────────── */
.card-glow {
  position: relative;
  isolation: isolate;
}
.card-glow::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    var(--glow-angle, 135deg),
    rgba(108, 99, 255, 0.25), transparent 40%, rgba(167, 139, 250, 0.1)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.card-glow:hover::before { opacity: 1; }

/* ── SECTION GLOW ─────────────────────────────────────────────────── */
.section-glow { position: relative; }
.section-glow::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 80%; height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(108, 99, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.section-glow > * { position: relative; z-index: 1; }

/* ── SMOOTH SCROLL WRAPPER ────────────────────────────────────────── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ── REDUCED MOTION ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  #grain-overlay,
  .hero-aurora::before,
  .hero-aurora::after,
  .orb,
  .marquee-section::before,
  .price-card.featured::before,
  .loader-mark::after {
    animation: none !important;
  }
  .split-inner {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .tilt-card { transform: none !important; }
  .reveal-up, .reveal-blur {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .glass-card::after,
  .service-card::after,
  .why-card::after,
  .price-card::after,
  .testi-card::after { display: none; }
}

/* ── MOBILE ADJUSTMENTS ───────────────────────────────────────────── */
@media (max-width: 768px) {
  #hero-canvas { opacity: 0.3; }
  .ambient-orbs .orb { opacity: 0.2; filter: blur(60px); }
  .testi-slider::before,
  .testi-slider::after { width: 40px; }
  .orb-1 { width: 300px; height: 300px; }
  .orb-2 { width: 240px; height: 240px; }
  .orb-3 { width: 200px; height: 200px; }
}

/* ── LIGHT MODE PREMIUM OVERRIDES ─────────────────────────────────── */
[data-theme="light"] .glass-card::after,
[data-theme="light"] .service-card::after,
[data-theme="light"] .why-card::after,
[data-theme="light"] .price-card::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(108, 99, 255, 0.05),
    transparent
  );
}
[data-theme="light"] .orb-1 {
  background: radial-gradient(circle, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
}
[data-theme="light"] .orb-2 {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
}
[data-theme="light"] .orb-3 {
  background: radial-gradient(circle, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
}
[data-theme="light"] .section-glow::before {
  background: radial-gradient(ellipse, rgba(108, 99, 255, 0.04) 0%, transparent 70%);
}
[data-theme="light"] #scroll-progress {
  box-shadow: 0 0 12px rgba(108, 99, 255, 0.5), 0 0 24px rgba(167, 139, 250, 0.25);
}
