/* ===================================================================
   Seoul 365 Dental — ELECTRIC BLUE INNOVATION v5.0
   선명한 일렉트릭 블루. 네온 글로우. 오로라. 모핑. 글리치.
   "헉" — 사용자가 보는 순간 감탄하는 디자인
   =================================================================== */

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Custom cursor only for desktop with fine pointer (mouse) */
@media (pointer: fine) and (min-width: 1025px) {
  body { cursor: none; }
}

::selection {
  background: rgba(0, 102, 255, 0.25);
  color: #020814;
}

/* =========================================
   ELECTRIC BLUE COLOR VARIABLES v5
   ========================================= */
:root {
  --blue: #0066FF;
  --blue-bright: #2979FF;
  --blue-dark: #0050CC;
  --blue-deep: #003399;
  --blue-light: #E3F0FF;
  --blue-glow: rgba(0, 102, 255, 0.5);
  --blue-glow-intense: rgba(0, 102, 255, 0.7);
  --cyan: #00E5FF;
  --cyan-glow: rgba(0, 229, 255, 0.4);
  --navy: #040B18;
  --navy-mid: #0A1628;
  --navy-light: #111827;
  --electric-gradient: linear-gradient(135deg, #0066FF, #00E5FF);
  --electric-gradient-reverse: linear-gradient(135deg, #00E5FF, #0066FF);
}

/* === CUSTOM CURSOR — ELECTRIC === */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px var(--blue-glow), 0 0 40px rgba(0, 102, 255, 0.2);
}
.cursor-ring {
  position: fixed;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(0, 102, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s, background 0.3s;
  transform: translate(-50%, -50%);
}
.cursor-dot.hovering {
  width: 60px; height: 60px;
  background: rgba(0, 102, 255, 0.08);
  mix-blend-mode: normal;
  box-shadow: 0 0 40px var(--blue-glow), 0 0 80px rgba(0, 229, 255, 0.15);
}
.cursor-ring.hovering {
  width: 60px; height: 60px;
  border-color: var(--cyan);
}

/* === PRELOADER — ELECTRIC === */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--electric-gradient);
  display: flex; align-items: center; justify-content: center;
  animation: preloaderPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 80px var(--blue-glow), 0 0 160px rgba(0, 229, 255, 0.15);
  position: relative;
}
.preloader-logo::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 22px;
  background: var(--electric-gradient);
  z-index: -1;
  filter: blur(12px);
  opacity: 0.5;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 80px var(--blue-glow); }
  50% { transform: scale(1.08); box-shadow: 0 0 120px var(--blue-glow), 0 0 200px rgba(0, 229, 255, 0.2); }
}
.preloader-bar {
  width: 120px; height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-top: 32px;
  overflow: hidden;
}
.preloader-bar-inner {
  width: 0;
  height: 100%;
  background: var(--electric-gradient);
  border-radius: 2px;
  animation: preloaderFill 0.7s ease-out forwards;
}
@keyframes preloaderFill {
  0% { width: 0; }
  100% { width: 100%; }
}

/* === TYPOGRAPHY === */
.hero-display {
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.section-headline {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-sub-headline {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.section-body {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.8;
  letter-spacing: -0.005em;
}

/* === ANIMATED GRADIENT TEXT — VIVID === */
.gradient-text-white {
  background: linear-gradient(135deg, #ffffff 0%, #80BFFF 20%, #ffffff 40%, #00E5FF 60%, #ffffff 80%, #80BFFF 100%);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}

.gradient-text-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 25%, var(--blue-bright) 50%, var(--cyan) 75%, var(--blue) 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

.gradient-text-premium {
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 25%, #10B981 50%, var(--cyan) 75%, var(--blue) 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

.gradient-text-dark {
  background: linear-gradient(135deg, #040B18, var(--blue), var(--cyan), var(--blue), #040B18);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease-in-out infinite;
}

/* NEW: Electric glitch text */
.gradient-text-electric {
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue-bright), var(--cyan));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: electricSlide 3s linear infinite;
}

@keyframes electricSlide {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================================
   CINEMATIC HERO v5 — ELECTRIC SHOCK
   ========================================= */
.hero-premium {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #020814;
  overflow: hidden;
}

.hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 65% at 10% 40%, rgba(0, 102, 255, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 65% 80% at 85% 10%, rgba(0, 229, 255, 0.25) 0%, transparent 40%),
    radial-gradient(ellipse 50% 55% at 50% 110%, rgba(0, 102, 255, 0.2) 0%, transparent 45%);
  animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.7; transform: scale(1) rotate(0deg); }
  100% { opacity: 1; transform: scale(1.06) rotate(0.5deg); }
}

.hero-premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 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.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* === HERO PORTRAIT (대표원장 사진) === */
.hero-portrait-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  will-change: transform;
  animation: portraitFloat 6s ease-in-out infinite;
}

.hero-portrait {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 15%;
  aspect-ratio: 3 / 4;
  filter: brightness(0.9) contrast(1.08) saturate(0.95);
  transition: filter 0.6s ease;
}

.hero-portrait-wrap:hover .hero-portrait {
  filter: brightness(1) contrast(1.05) saturate(1);
}

@keyframes portraitFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Orbs — VIVID ELECTRIC BLUE */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  animation: orbFloat 15s ease-in-out infinite;
  will-change: transform;
}
.orb-1 {
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.6), transparent 55%);
  top: -25%; right: -20%;
}
.orb-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.4), transparent 55%);
  bottom: -15%; left: -15%;
  animation-delay: -5s;
}
.orb-3 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(41, 121, 255, 0.35), transparent 55%);
  top: 30%; left: 45%;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -50px) scale(1.12); }
  50% { transform: translate(-40px, 35px) scale(0.9); }
  75% { transform: translate(30px, -25px) scale(1.08); }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,102,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 0%, transparent 70%);
  pointer-events: none;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Particles */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* === SCROLL PROGRESS — ELECTRIC === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--electric-gradient);
  z-index: 200;
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 16px var(--blue-glow), 0 0 40px rgba(0, 229, 255, 0.2);
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.reveal-3d {
  opacity: 0;
  transform: perspective(1200px) rotateX(12deg) translateY(60px);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-3d.visible { opacity: 1; transform: perspective(1200px) rotateX(0) translateY(0); }

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

/* Stagger */
.stagger-children > * {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* =========================================
   GLASSMORPHISM — ELECTRIC AURORA
   ========================================= */
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(0, 102, 255, 0.15);
}

.glass-white {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(0, 102, 255, 0.06);
  box-shadow:
    0 0 0 1px rgba(0, 102, 255, 0.03),
    0 2px 8px rgba(0, 0, 0, 0.02),
    0 12px 48px rgba(0, 0, 0, 0.05);
  border-radius: 1.75rem;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,102,255,0.2), rgba(0,229,255,0.15), transparent);
}
.glass-card:hover {
  border-color: rgba(0, 102, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(0, 102, 255, 0.1),
    0 8px 24px rgba(0, 102, 255, 0.12),
    0 32px 80px rgba(0, 102, 255, 0.14);
  transform: translateY(-8px);
}

/* NEW: Aurora border on hover */
.glass-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 180deg, transparent 60%, rgba(0,102,255,0.3) 70%, rgba(0,229,255,0.3) 80%, transparent 90%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s;
  animation: auroraRotate 4s linear infinite;
}
.glass-card:hover::after {
  opacity: 1;
}

@keyframes auroraRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* =========================================
   PREMIUM HEADER
   ========================================= */
.header-premium {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-premium.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  box-shadow: 0 1px 0 rgba(0, 102, 255, 0.08), 0 4px 24px rgba(0, 0, 0, 0.04);
}
.header-premium:not(.scrolled) { background: transparent; }
.header-premium:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.7); }
.header-premium:not(.scrolled) .nav-link:hover { color: white; }
.header-premium:not(.scrolled) .logo-text { color: white; }
.header-premium:not(.scrolled) .mobile-menu-icon { color: white; }

/* Logo pulse glow */
.logo-pulse {
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(0, 102, 255, 0); }
  50% { box-shadow: 0 0 20px rgba(0, 102, 255, 0.3), 0 0 40px rgba(0, 229, 255, 0.1); }
}

/* =========================================
   BUTTONS — ELECTRIC BLUE INNOVATION
   ========================================= */
.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9rem 2.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 100px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  border: none;
  letter-spacing: -0.01em;
}

.btn-premium-fill {
  background: var(--electric-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4), 0 0 0 1px rgba(0, 102, 255, 0.15);
}
.btn-premium-fill:hover {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 40px rgba(0, 102, 255, 0.5), 0 0 80px rgba(0, 229, 255, 0.15);
  transform: translateY(-3px) scale(1.02);
}

.btn-premium-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid rgba(0, 102, 255, 0.3);
}
.btn-premium-outline:hover {
  background: rgba(0, 102, 255, 0.06);
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.15), 0 0 40px rgba(0, 102, 255, 0.05);
}

.btn-premium-white {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}
.btn-premium-white:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.08);
}

.btn-premium-dark {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
  box-shadow: 0 4px 16px rgba(4, 11, 24, 0.3);
}
.btn-premium-dark:hover {
  box-shadow: 0 8px 40px rgba(4, 11, 24, 0.4);
  transform: translateY(-3px);
}

.btn-premium-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1.75rem;
}
.btn-premium-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* Shimmer sweep */
.btn-premium-fill::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.7s;
}
.btn-premium-fill:hover::after { left: 100%; }

.btn-magnetic { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }

/* NEW: Electric glow button */
.btn-electric-glow {
  position: relative;
}
.btn-electric-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  background: var(--electric-gradient);
  z-index: -1;
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s;
}
.btn-electric-glow:hover::before {
  opacity: 0.6;
}

/* =========================================
   CARDS — ELECTRIC INNOVATION
   ========================================= */
.premium-card {
  background: white;
  border-radius: 1.75rem;
  border: 1px solid rgba(0, 102, 255, 0.05);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02), 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}
.premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}
.premium-card:hover::before { opacity: 1; }
.premium-card:hover {
  border-color: rgba(0, 102, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08), 0 32px 80px rgba(0, 102, 255, 0.12);
  transform: translateY(-8px);
}

.premium-card-dark {
  background: rgba(0, 102, 255, 0.03);
  border-radius: 1.75rem;
  border: 1px solid rgba(0, 102, 255, 0.08);
  color: white;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.premium-card-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.75rem;
  background: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s;
}
.premium-card-dark:hover::before { opacity: 1; }
.premium-card-dark:hover {
  border-color: rgba(0, 102, 255, 0.4);
  background: rgba(0, 102, 255, 0.06);
  box-shadow: 0 0 80px rgba(0, 102, 255, 0.15), 0 0 160px rgba(0, 229, 255, 0.06);
  transform: translateY(-6px);
}

.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* =========================================
   ICONS — ELECTRIC BLUE
   ========================================= */
.icon-circle {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-light), #CCE0FF);
  color: var(--blue);
  font-size: 1.25rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.premium-card:hover .icon-circle,
.glass-card:hover .icon-circle {
  background: var(--electric-gradient);
  color: white;
  transform: scale(1.12) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.4), 0 0 50px rgba(0, 102, 255, 0.12);
}

.icon-circle-sm {
  width: 44px; height: 44px;
  border-radius: 14px;
  font-size: 1rem;
}

/* =========================================
   SECTION BACKGROUNDS — ELECTRIC
   ========================================= */
.bg-premium-dark {
  background: #020814;
  color: white;
}

.bg-mesh {
  background:
    radial-gradient(at 40% 20%, rgba(0, 102, 255, 0.06) 0, transparent 50%),
    radial-gradient(at 80% 80%, rgba(0, 229, 255, 0.04) 0, transparent 50%),
    radial-gradient(at 0% 100%, rgba(0, 102, 255, 0.05) 0, transparent 50%),
    #f8faff;
}

.bg-mesh-dark {
  background:
    radial-gradient(at 20% 30%, rgba(0, 102, 255, 0.25) 0, transparent 50%),
    radial-gradient(at 80% 70%, rgba(0, 229, 255, 0.12) 0, transparent 50%),
    radial-gradient(at 50% 50%, rgba(41, 121, 255, 0.06) 0, transparent 40%);
}

.section-lg { padding: clamp(5rem, 12vh, 12rem) 0; }
.section-md { padding: clamp(4rem, 8vh, 8rem) 0; }

.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--blue) 30%, var(--cyan) 50%, var(--blue) 70%, transparent 95%);
  opacity: 0.25;
}

/* === HORIZONTAL SCROLL === */
.horizontal-scroll-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 20px;
}
.horizontal-scroll-wrapper::-webkit-scrollbar { display: none; }
.horizontal-scroll-wrapper > * { scroll-snap-align: start; flex-shrink: 0; }

/* === MARQUEE === */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
}
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--marquee-bg, white), transparent);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--marquee-bg, white), transparent);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

/* === STAT === */
.stat-number {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

/* === TREATMENT HERO === */
.treatment-hero {
  position: relative;
  background: linear-gradient(145deg, #020814 0%, #051b3e 40%, #030f22 100%);
  overflow: hidden;
}
.treatment-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 50%, rgba(0, 102, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 40% 40% at 75% 30%, rgba(0, 229, 255, 0.15), transparent 50%);
}
.treatment-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,102,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black 0%, transparent 70%);
  pointer-events: none;
}

/* === TIMELINE === */
.timeline-dot {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--electric-gradient);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4), 0 0 0 4px rgba(0, 102, 255, 0.1);
  position: relative;
  z-index: 2;
}
.timeline-line { position: relative; }
.timeline-line::before {
  content: '';
  position: absolute;
  left: 25px; top: 56px; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.3), rgba(0, 229, 255, 0.1), rgba(0, 102, 255, 0.05));
}
.timeline-line:last-child::before { display: none; }

/* === FAQ === */
.faq-item {
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 102, 255, 0.06);
  background: white;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item:hover {
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.1);
  transform: translateY(-2px);
}
.faq-icon { transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.faq-icon.rotate-180 { transform: rotate(180deg); }

/* === MOBILE CTA === */
.mobile-cta-bar {
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(32px) saturate(200%);
  -webkit-backdrop-filter: blur(32px) saturate(200%);
  background: rgba(255, 255, 255, 0.95);
}
.safe-bottom { padding-bottom: env(safe-area-inset-bottom, 0px); }

/* === INLINE RESERVATION FORM === */
.reservation-inline-form {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(32px);
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 1.75rem;
  padding: 2.5rem;
  max-width: 520px;
  margin: 0 auto;
}
.reservation-inline-form input,
.reservation-inline-form select {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 0.875rem;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s;
  outline: none;
}
.reservation-inline-form input::placeholder { color: rgba(255, 255, 255, 0.3); }
.reservation-inline-form select { color: rgba(255, 255, 255, 0.7); }
.reservation-inline-form select option { background: #0A1628; color: white; }
.reservation-inline-form input:focus,
.reservation-inline-form select:focus {
  border-color: var(--blue);
  background: rgba(0, 102, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

/* === FLOATING === */
.floating-btn {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.floating-btn:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Electric border glow for floating buttons */
.electric-border-glow {
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.3), 0 0 30px rgba(0, 229, 255, 0.1);
  animation: electricPulse 2s ease-in-out infinite;
}
@keyframes electricPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(0, 102, 255, 0.3); }
  50% { box-shadow: 0 0 25px rgba(0, 102, 255, 0.5), 0 0 50px rgba(0, 229, 255, 0.15); }
}

/* === TRUST BADGE === */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* === LINK UNDERLINE — ELECTRIC === */
.link-underline { position: relative; text-decoration: none; }
.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0;
  height: 2px;
  background: var(--electric-gradient);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.link-underline:hover::after { width: 100%; }

/* === CTA DARK — ELECTRIC === */
.cta-dark {
  position: relative;
  background: #020814;
  overflow: hidden;
}
.cta-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0, 102, 255, 0.35), transparent 50%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0, 229, 255, 0.1), transparent 50%);
}
/* NEW: Electric lines in CTA */
.cta-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,102,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  pointer-events: none;
}

/* === REVIEWS === */
.review-card-premium {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.75rem;
  padding: 2rem;
  border: 1px solid rgba(0, 102, 255, 0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02), 0 12px 48px rgba(0,0,0,0.05);
  min-width: 340px;
  max-width: 380px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.review-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.08), 0 24px 64px rgba(0, 102, 255, 0.12);
  border-color: rgba(0, 102, 255, 0.15);
}

@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.reviews-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: scrollReviews 45s linear infinite;
}
.reviews-track:hover { animation-play-state: paused; }

/* === IMAGE REVEAL === */
.img-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-reveal.visible { clip-path: inset(0 0 0 0); }

/* === PULSE RING — ELECTRIC === */
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}
.pulse-ring { position: relative; }
.pulse-ring::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--blue);
  animation: pulseRing 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
/* Second ring with delay */
.pulse-ring::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  animation: pulseRing 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: 0.5s;
}

/* === BENTO GRID === */
.bento-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }
  .bento-wide { grid-column: span 2; }
  .bento-tall { grid-row: span 2; }
}

/* === HIGHLIGHT WORD — ELECTRIC === */
.highlight-word {
  position: relative;
  display: inline-block;
}
.highlight-word::after {
  content: '';
  position: absolute;
  bottom: 0; left: -4px; right: -4px;
  height: 35%;
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.15), rgba(0, 229, 255, 0.1));
  border-radius: 4px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.highlight-word.visible::after { transform: scaleX(1); }

/* === NEON GLOW LINE === */
.neon-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), var(--blue), transparent);
  box-shadow: 0 0 12px var(--blue-glow), 0 0 24px rgba(0, 229, 255, 0.2);
}

/* =========================================
   NEW: INNOVATIVE EFFECTS v5
   ========================================= */

/* Aurora shimmer animation for mobile CTA */
@keyframes shimmerSlow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
.animate-shimmer-slow {
  animation: shimmerSlow 3s ease-in-out infinite;
}

/* Electric number counter glow */
.stat-number-glow {
  text-shadow: 0 0 30px rgba(0, 102, 255, 0.3), 0 0 60px rgba(0, 229, 255, 0.1);
}

/* Morphing background blob */
@keyframes morphBlob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50% { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75% { border-radius: 60% 30% 60% 40% / 70% 40% 50% 60%; }
}
.morph-blob {
  animation: morphBlob 8s ease-in-out infinite;
}

/* Electric spark on card borders */
@keyframes electricSpark {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.electric-card-border {
  position: relative;
}
.electric-card-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, transparent 30%, var(--blue) 45%, var(--cyan) 50%, var(--blue) 55%, transparent 70%);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  animation: electricSpark 3s linear infinite;
}
.electric-card-border:hover::before {
  opacity: 1;
}

/* Floating dots background animation */
@keyframes floatDot {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-10px); opacity: 0.6; }
}

/* Glowing focus ring for inputs */
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15), 0 0 20px rgba(0, 102, 255, 0.08);
}

/* =========================================
   SCROLLBAR — ELECTRIC
   ========================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.3), rgba(0, 229, 255, 0.15));
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.5), rgba(0, 229, 255, 0.3));
}

/* === SHIMMER === */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .hero-premium { min-height: auto; padding-top: 80px; padding-bottom: 2rem; }
  .orb { filter: blur(70px); opacity: 0.45; }
  .orb-1 { width: 500px; height: 500px; }
  .orb-2 { width: 300px; height: 300px; }
  .orb-3 { width: 220px; height: 220px; }
  .hero-grid { display: none; }
  .glass-card:hover { transform: translateY(-4px); }
  .premium-card:hover { transform: translateY(-4px); }
  .glass-card::after { display: none; }
  /* Ensure CTA bar doesn't overlap content */
  footer { padding-bottom: 5rem !important; }
}

@media (max-width: 480px) {
  .hero-display { font-size: 2.6rem; }
  .section-headline { font-size: 1.8rem; }
  .stat-number { font-size: 2.2rem; }
}
