/* ===========================================================
   DentInsurance — Custom Design System
   Premium Insurance Startup + Healthcare SaaS Aesthetic
   =========================================================== */

/* --- Custom Properties --- */
:root {
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 12px 48px rgba(13, 180, 167, 0.15);
  --shadow-glow-teal: 0 0 40px rgba(13, 180, 167, 0.3);
  --shadow-glow-cyan: 0 0 40px rgba(0, 212, 255, 0.2);
  --shadow-hero-card: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(13, 180, 167, 0.15);
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --noise-filter: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}

/* --- Selection --- */
::selection {
  background: rgba(13, 180, 167, 0.3);
  color: #f8fafc;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1628;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0db4a7, #00d4ff);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #0fc9ba, #33ddff);
}

/* --- Smooth Scroll (fallback for Lenis) --- */
html {
  scroll-behavior: smooth;
}
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;
}

/* --- Body Base --- */
body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   KEYFRAME ANIMATIONS
   ============================================= */

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(0.5deg); }
  66% { transform: translateY(-6px) rotate(-0.3deg); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(10px); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(13, 180, 167, 0.2); }
  50% { box-shadow: 0 0 40px rgba(13, 180, 167, 0.5), 0 0 80px rgba(13, 180, 167, 0.15); }
}

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

@keyframes shine-sweep {
  0%, 85% { transform: translateX(-100%) rotate(30deg); }
  100% { transform: translateX(200%) rotate(30deg); }
}

@keyframes blob-morph-1 {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  25% { transform: translate(30px, -50px) scale(1.1); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { transform: translate(-20px, 20px) scale(0.95); border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  75% { transform: translate(15px, 30px) scale(1.05); border-radius: 50% 40% 60% 50% / 35% 55% 45% 65%; }
}

@keyframes blob-morph-2 {
  0%, 100% { transform: translate(0, 0) scale(1); border-radius: 50% 60% 40% 70% / 55% 40% 65% 45%; }
  33% { transform: translate(-40px, 30px) scale(1.08); border-radius: 65% 35% 55% 45% / 40% 65% 35% 60%; }
  66% { transform: translate(25px, -20px) scale(0.92); border-radius: 40% 55% 65% 35% / 60% 45% 55% 40%; }
}

@keyframes particle-drift {
  0% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(50px) scale(0.5); opacity: 0; }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scale-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes stamp-in {
  0% { transform: scale(3) rotate(-15deg); opacity: 0; }
  60% { transform: scale(0.9) rotate(2deg); opacity: 1; }
  80% { transform: scale(1.05) rotate(-1deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes underline-grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes dash-draw {
  to { stroke-dashoffset: 0; }
}

/* =============================================
   GLASS MORPHISM
   ============================================= */

.glass-nav {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transition: all 0.4s var(--transition-smooth);
}

.glass-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero-gradient-bg {
  background: radial-gradient(ellipse at 20% 50%, rgba(13, 180, 167, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 40%),
              radial-gradient(ellipse at 50% 80%, rgba(13, 180, 167, 0.04) 0%, transparent 50%),
              #0a1628;
}

/* Noise overlay for texture */
.noise-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

/* Gradient blobs */
.hero-blob {
  position: absolute;
  filter: blur(100px);
  pointer-events: none;
  will-change: transform;
}
.hero-blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(13, 180, 167, 0.2) 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation: blob-morph-1 25s ease-in-out infinite;
}
.hero-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  bottom: -15%;
  right: -8%;
  animation: blob-morph-2 30s ease-in-out infinite;
}
.hero-blob-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  top: 40%;
  left: 55%;
  animation: blob-morph-1 20s ease-in-out infinite reverse;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(13, 180, 167, 0.6);
  border-radius: 50%;
  animation: particle-drift linear infinite;
}
.hero-particle:nth-child(odd) {
  background: rgba(0, 212, 255, 0.5);
  width: 2px;
  height: 2px;
}

/* Insurance Card */
.insurance-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 40, 71, 0.9) 0%, rgba(10, 22, 40, 0.95) 100%);
  backdrop-filter: blur(30px);
  border: 1px solid rgba(13, 180, 167, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-hero-card);
  animation: float 8s ease-in-out infinite;
  overflow: hidden;
  transform-style: preserve-3d;
}
.insurance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0db4a7, #00d4ff, #0db4a7);
  background-size: 200% 100%;
  animation: gradient-shift 4s linear infinite;
}
.insurance-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 180, 167, 0.05) 0%, transparent 50%, rgba(0, 212, 255, 0.03) 100%);
  pointer-events: none;
  border-radius: 24px;
}

/* Card holographic accent */
.card-holographic {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(13, 180, 167, 0.03),
    transparent,
    rgba(0, 212, 255, 0.03),
    transparent
  );
  animation: rotate-slow 20s linear infinite;
  pointer-events: none;
}

/* Approval badge stamp */
.approval-badge {
  animation: stamp-in 0.8s var(--transition-bounce) forwards;
  animation-delay: 1.5s;
  opacity: 0;
}

/* =============================================
   TEXT EFFECTS
   ============================================= */

.text-gradient {
  background: linear-gradient(135deg, #0db4a7, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-shimmer {
  background: linear-gradient(90deg, #f8fafc, #0db4a7, #00d4ff, #f8fafc);
  background-size: 400% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 6s linear infinite;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #0db4a7, #0aa89c);
  color: #fff;
  font-weight: 600;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(13, 180, 167, 0.3);
  letter-spacing: 0.01em;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00d4ff, #0db4a7);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13, 180, 167, 0.45);
}
.btn-primary:hover::before {
  opacity: 1;
}
.btn-primary span {
  position: relative;
  z-index: 1;
}
.btn-primary .btn-arrow {
  position: relative;
  z-index: 1;
  transition: transform 0.3s var(--transition-smooth);
}
.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: #f8fafc;
  font-weight: 600;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  letter-spacing: 0.01em;
}
.btn-outline:hover {
  border-color: #0db4a7;
  background: rgba(13, 180, 167, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(13, 180, 167, 0.15);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #0a1628;
  color: #f8fafc;
  font-weight: 600;
  border-radius: 14px;
  border: 1px solid rgba(13, 180, 167, 0.2);
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
}
.btn-dark:hover {
  background: #0f2847;
  border-color: #0db4a7;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-teal);
}

/* =============================================
   BADGES
   ============================================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  background: rgba(13, 180, 167, 0.1);
  color: #0db4a7;
  border: 1px solid rgba(13, 180, 167, 0.2);
  letter-spacing: 0.02em;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.2);
}

/* =============================================
   SECTION STYLES
   ============================================= */

.section-dark {
  background: #0a1628;
  color: #f8fafc;
}

.section-navy {
  background: #0f2847;
  color: #f8fafc;
}

.section-light {
  background: #f8fafc;
  color: #0a1628;
}

.section-gray {
  background: #f1f5f9;
  color: #0a1628;
}

/* =============================================
   COST CALCULATOR
   ============================================= */

.calculator-card {
  position: relative;
  border-radius: 24px;
  padding: 2rem;
  overflow: hidden;
}

.calculator-card-before {
  background: linear-gradient(135deg, #fef2f2, #fff1f2);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.calculator-card-after {
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.savings-badge {
  background: linear-gradient(135deg, #10b981, #0db4a7);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
  animation: pulse-glow 3s ease-in-out infinite;
}

.price-strike {
  text-decoration: line-through;
  color: #ef4444;
  opacity: 0.7;
}

.price-new {
  color: #10b981;
  font-weight: 700;
}

/* =============================================
   HOW IT WORKS — TIMELINE
   ============================================= */

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, #0db4a7, #00d4ff, transparent);
  transform: translateX(-50%);
}

.timeline-step {
  position: relative;
}

.timeline-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0db4a7, #00d4ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  box-shadow: 0 0 30px rgba(13, 180, 167, 0.4);
  position: relative;
  z-index: 2;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(13, 180, 167, 0.3);
  animation: scale-pulse 2s ease-in-out infinite;
}

/* =============================================
   PLAN CARDS
   ============================================= */

.plan-card {
  position: relative;
  border-radius: 24px;
  padding: 2.5rem;
  background: rgba(15, 40, 71, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s var(--transition-smooth);
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(13, 180, 167, 0.3);
  box-shadow: var(--shadow-glow-teal);
}

/* Shine sweep effect */
.plan-card .shine-sweep {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 100%
  );
  animation: shine-sweep 8s infinite;
  pointer-events: none;
}

/* Featured plan */
.plan-card-featured {
  background: linear-gradient(135deg, rgba(13, 180, 167, 0.15), rgba(15, 40, 71, 0.8));
  border: 1px solid rgba(13, 180, 167, 0.3);
  transform: scale(1.05);
  box-shadow: var(--shadow-glow-teal);
}
.plan-card-featured:hover {
  transform: scale(1.05) translateY(-8px);
}

/* =============================================
   BENTO GRID — TREATMENTS
   ============================================= */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 1.5rem;
}
.bento-grid .bento-item:nth-child(1) {
  grid-column: span 2;
}
.bento-grid .bento-item:nth-child(4) {
  grid-column: span 2;
}

.bento-item {
  position: relative;
  border-radius: 20px;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.5s var(--transition-smooth);
  overflow: hidden;
  cursor: pointer;
}

.bento-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 180, 167, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.bento-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(13, 180, 167, 0.2);
}

.bento-item:hover::before {
  opacity: 1;
}

.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13, 180, 167, 0.1), rgba(0, 212, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--transition-smooth);
}

.bento-item:hover .bento-icon {
  background: linear-gradient(135deg, #0db4a7, #00d4ff);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(13, 180, 167, 0.3);
}

.bento-item:hover .bento-icon svg {
  color: #fff;
}

/* =============================================
   CLINIC CARDS
   ============================================= */

.clinic-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.5s var(--transition-smooth);
}

.clinic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.clinic-card-cta {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--transition-smooth);
}

.clinic-card:hover .clinic-card-cta {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   DR. VIKRAM JHA SECTION
   ============================================= */

.doctor-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.doctor-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.5));
  pointer-events: none;
}

.stat-counter {
  position: relative;
}

.stat-counter::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #0db4a7, #00d4ff);
  border-radius: 2px;
}

/* =============================================
   TESTIMONIALS
   ============================================= */

.testimonial-card {
  border-radius: 24px;
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 5rem;
  font-family: 'Outfit', sans-serif;
  color: rgba(13, 180, 167, 0.1);
  line-height: 1;
  pointer-events: none;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */

.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
  background: #fff;
}

.faq-item:hover {
  border-color: rgba(13, 180, 167, 0.2);
}

.faq-item.active {
  border-color: rgba(13, 180, 167, 0.3);
  box-shadow: 0 4px 20px rgba(13, 180, 167, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0a1628;
  font-family: 'Outfit', sans-serif;
  transition: color 0.3s ease;
}

.faq-item.active .faq-question {
  color: #0db4a7;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(13, 180, 167, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: #0db4a7;
  transform: rotate(45deg);
}

.faq-item.active .faq-icon svg {
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition-smooth), padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* =============================================
   FINAL CTA SECTION
   ============================================= */

.cta-gradient-mesh {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(13, 180, 167, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(16, 185, 129, 0.08) 0%, transparent 40%),
    #0a1628;
}

/* =============================================
   FOOTER
   ============================================= */

.footer-gradient-mesh {
  background:
    radial-gradient(ellipse at 15% 85%, rgba(13, 180, 167, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(0, 212, 255, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 50%, rgba(13, 180, 167, 0.03) 0%, transparent 60%),
    #080e1a;
}

.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-trust-badge:hover {
  background: rgba(13, 180, 167, 0.1);
  border-color: rgba(13, 180, 167, 0.3);
  color: #0db4a7;
}

/* Newsletter input */
.newsletter-input-group {
  position: relative;
  display: flex;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.newsletter-input-group:focus-within {
  border-color: #0db4a7;
  box-shadow: 0 0 20px rgba(13, 180, 167, 0.15);
}

.newsletter-input-group input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  color: #f8fafc;
  outline: none;
  font-family: 'DM Sans', sans-serif;
}

.newsletter-input-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-input-group button {
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #0db4a7, #00d4ff);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'DM Sans', sans-serif;
}

.newsletter-input-group button:hover {
  background: linear-gradient(135deg, #00d4ff, #0db4a7);
}

/* =============================================
   LEAD GEN POPUP
   ============================================= */

.lead-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fade-in-up 0.3s ease;
}

.lead-popup-overlay.active {
  display: flex;
}

.lead-popup {
  background: #fff;
  border-radius: 28px;
  padding: 3rem;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.lead-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lead-popup-close:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Form fields with glow border */
.form-field {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #0a1628;
  background: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.form-field:focus {
  border-color: #0db4a7;
  box-shadow: 0 0 0 4px rgba(13, 180, 167, 0.1);
}

.form-field::placeholder {
  color: #94a3b8;
}

/* =============================================
   STICKY MOBILE CTA
   ============================================= */

.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0.75rem 1rem;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(13, 180, 167, 0.2);
  display: none;
  gap: 0.5rem;
}

/* =============================================
   ANIMATED LINK UNDERLINE
   ============================================= */

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link:hover {
  color: #ffffff;
}

.glass-nav.scrolled .nav-link {
  color: #334155;
}

.glass-nav.scrolled .nav-link:hover {
  color: #0a1628;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #0db4a7, #00d4ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--transition-smooth);
  border-radius: 1px;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: #0db4a7;
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* =============================================
   MAP SECTION
   ============================================= */

.map-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  min-height: 400px;
}

.map-pin {
  position: absolute;
  cursor: pointer;
  transition: transform 0.3s var(--transition-bounce);
}

.map-pin:hover {
  transform: scale(1.2) translateY(-4px);
}

.map-pin-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0db4a7;
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(13, 180, 167, 0.4);
  position: relative;
}

.map-pin-dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(13, 180, 167, 0.3);
  animation: scale-pulse 2s infinite;
}

/* =============================================
   BLOG CARDS
   ============================================= */

.blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.5s var(--transition-smooth);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-image img {
  transition: transform 0.6s var(--transition-smooth);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

/* =============================================
   RESPONSIVE OVERRIDES
   ============================================= */

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid .bento-item:nth-child(1),
  .bento-grid .bento-item:nth-child(4) {
    grid-column: span 1;
  }
  .plan-card-featured {
    transform: scale(1);
  }
  .plan-card-featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .hero-blob {
    opacity: 0.5;
  }
  .insurance-card {
    animation: none;
  }
  .sticky-mobile-cta {
    display: flex;
  }
  .timeline-line {
    left: 28px;
  }
}

@media (max-width: 480px) {
  .lead-popup {
    padding: 2rem;
    border-radius: 20px;
  }
}

/* =============================================
   UTILITY ANIMATIONS
   ============================================= */

.animate-float { animation: float 8s ease-in-out infinite; }
.animate-float-reverse { animation: float-reverse 6s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
.animate-gradient { animation: gradient-shift 4s linear infinite; }
.animate-shimmer { animation: shimmer 6s linear infinite; }

/* Stagger delay utilities */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-700 { animation-delay: 0.7s; }
.delay-1000 { animation-delay: 1s; }

/* =============================================
   MOBILE MENU
   ============================================= */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(30px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #0db4a7;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f8fafc;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.glass-nav.scrolled .hamburger span {
  background: #0a1628;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   CATEGORY FILTER TABS
   ============================================= */

.filter-tab {
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #64748b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
}

.filter-tab:hover {
  border-color: #0db4a7;
  color: #0db4a7;
}

.filter-tab.active {
  background: linear-gradient(135deg, #0db4a7, #00d4ff);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(13, 180, 167, 0.3);
}

/* =============================================
   FLOATING ACTION BUTTON (FAB)
   ============================================= */

.fab-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Sub-action items (WhatsApp & Email) */
.fab-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
  transition: all 0.4s var(--transition-bounce);
}

.fab-container.open .fab-actions {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.fab-action {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s var(--transition-smooth);
  border: none;
}

.fab-action:hover {
  transform: scale(1.12);
}

/* WhatsApp button */
.fab-action-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}
.fab-action-whatsapp:hover {
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

/* Email button */
.fab-action-email {
  background: linear-gradient(135deg, #0db4a7, #00d4ff);
}
.fab-action-email:hover {
  box-shadow: 0 6px 24px rgba(13, 180, 167, 0.4);
}

/* Tooltip labels */
.fab-action-label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: 0.375rem 0.875rem;
  background: #0a1628;
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s ease;
  pointer-events: none;
  font-family: 'DM Sans', sans-serif;
}

.fab-action-label::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid #0a1628;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.fab-action:hover .fab-action-label {
  opacity: 1;
  transform: translateX(0);
}

/* Main FAB trigger button */
.fab-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0db4a7, #0aa89c);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 28px rgba(13, 180, 167, 0.4);
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.fab-trigger::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00d4ff, #0db4a7);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50%;
}

.fab-trigger:hover {
  transform: rotate(135deg);
  box-shadow: 0 8px 36px rgba(13, 180, 167, 0.55);
}

.fab-trigger:hover::before {
  opacity: 1;
}

.fab-container.open .fab-trigger {
  transform: rotate(135deg);
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 6px 28px rgba(239, 68, 68, 0.35);
}

.fab-container.open .fab-trigger::before {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.fab-trigger svg {
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--transition-smooth);
}

/* Pulse ring animation on the FAB */
.fab-trigger::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(13, 180, 167, 0.4);
  animation: scale-pulse 2.5s ease-in-out infinite;
  z-index: -1;
}

.fab-container.open .fab-trigger::after {
  border-color: rgba(239, 68, 68, 0.3);
}

@media (max-width: 768px) {
  .fab-container {
    bottom: 5.5rem;
    right: 1rem;
  }
  .fab-trigger {
    width: 52px;
    height: 52px;
  }
  .fab-action {
    width: 42px;
    height: 42px;
  }
  .fab-action-label {
    display: none;
  }
}

/* --- Treatment Savings Table --- */
#treatment-savings table,
#plan-comparison table {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

#treatment-savings table {
  background: white;
}

#plan-comparison table {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Glass Card (Discount Section) --- */
.glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --- Responsive Tables --- */
@media (max-width: 640px) {
  #treatment-savings table th,
  #treatment-savings table td,
  #plan-comparison table th,
  #plan-comparison table td {
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
  }
}
