/* ============================================
   AI DENTIST — Premium Landing Page Styles
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #3B82F6;
  --secondary: #14B8A6;
  --secondary-dark: #0D9488;
  --accent: #60A5FA;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #0F172A;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --border: rgba(15, 23, 42, 0.08);
  --glass: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(37, 99, 235, 0.12);
  --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.15);
  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- Utility --- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary-custom {
  color: var(--primary);
}

.section-padding {
  padding: 120px 0;
}

.section-header {
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.glass-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* --- Buttons --- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3), 0 0 0 0 rgba(37, 99, 235, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary-custom:hover::before {
  transform: translateX(100%);
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45), 0 0 20px rgba(37, 99, 235, 0.2);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
}

.btn-outline-custom:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-ghost:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all var(--transition);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  color: var(--primary-dark);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: ripple-effect 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-effect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* --- Scroll Reveal --- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navbar --- */
.site-header .navbar {
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.site-header .navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  padding: 10px 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.brand-text {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

.navbar-toggler {
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* --- Hero --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37, 99, 235, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(20, 184, 166, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(96, 165, 250, 0.08) 0%, transparent 50%);
  animation: mesh-shift 12s ease-in-out infinite alternate;
}

@keyframes mesh-shift {
  0% { opacity: 1; filter: hue-rotate(0deg); }
  100% { opacity: 0.85; filter: hue-rotate(15deg); }
}

.hero-aurora {
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    rgba(37, 99, 235, 0.06) 60deg,
    rgba(20, 184, 166, 0.08) 120deg,
    rgba(96, 165, 250, 0.06) 180deg,
    transparent 240deg,
    rgba(37, 99, 235, 0.04) 300deg,
    transparent 360deg
  );
  animation: aurora-spin 25s linear infinite;
  pointer-events: none;
}

@keyframes aurora-spin {
  to { transform: rotate(360deg); }
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: blob-float 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  background: rgba(37, 99, 235, 0.15);
  top: -10%;
  right: -5%;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(20, 184, 166, 0.12);
  bottom: 10%;
  left: -10%;
  animation-delay: -3s;
}

.hero-blob-3 {
  width: 300px;
  height: 300px;
  background: rgba(96, 165, 250, 0.1);
  top: 40%;
  left: 30%;
  animation-delay: -5s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.2;
  animation: particle-drift 12s linear infinite;
}

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

.hero-3d-tooth {
  display: none;
}

/* ============================================
   3D FLOATING TEETH SYSTEM
   ============================================ */
.floating-teeth-scene,
.section-teeth-bg,
.cta-teeth-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  perspective: 1200px;
  z-index: 1;
}

.section-teeth-bg {
  opacity: 0.5;
}

.scan-teeth-bg {
  opacity: 0.35;
}

.tooth-3d {
  position: absolute;
  transform-style: preserve-3d;
  will-change: transform;
}

.tooth-3d-inner {
  position: relative;
  transform-style: preserve-3d;
  animation: tooth-3d-float var(--float-duration, 6s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

.tooth-crown {
  position: relative;
  width: var(--tooth-w, 48px);
  height: var(--tooth-h, 64px);
  background:
    linear-gradient(155deg,
      #FFFFFF 0%,
      #F8FAFC 15%,
      #F1F5F9 40%,
      #E2E8F0 70%,
      #CBD5E1 100%
    );
  border-radius: 45% 45% 38% 38% / 55% 55% 35% 35%;
  box-shadow:
    inset 6px 6px 16px rgba(255, 255, 255, 0.9),
    inset -4px -4px 12px rgba(148, 163, 184, 0.25),
    0 2px 0 rgba(255, 255, 255, 0.8),
    0 20px 40px rgba(37, 99, 235, 0.12),
    0 8px 16px rgba(15, 23, 42, 0.08);
  transform: translateZ(8px);
}

.tooth-crown::before {
  content: '';
  position: absolute;
  top: 8%;
  left: 15%;
  width: 35%;
  height: 30%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.95) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(1px);
}

.tooth-crown::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 25%;
  background: linear-gradient(180deg, transparent, rgba(203, 213, 225, 0.4));
  border-radius: 0 0 30% 30%;
}

.tooth-shine {
  position: absolute;
  top: 12%;
  right: 18%;
  width: 18%;
  height: 22%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  filter: blur(2px);
  transform: translateZ(12px);
}

.tooth-root {
  position: absolute;
  bottom: -18%;
  left: 50%;
  transform: translateX(-50%) translateZ(-4px);
  width: calc(var(--tooth-w, 48px) * 0.55);
  height: calc(var(--tooth-h, 64px) * 0.35);
  background: linear-gradient(180deg, #E2E8F0 0%, #CBD5E1 50%, #94A3B8 100%);
  border-radius: 0 0 40% 40%;
  opacity: 0.7;
  clip-path: polygon(15% 0%, 85% 0%, 70% 100%, 30% 100%);
}

.tooth-shadow {
  position: absolute;
  bottom: -25%;
  left: 50%;
  transform: translateX(-50%) rotateX(75deg);
  width: calc(var(--tooth-w, 48px) * 1.2);
  height: calc(var(--tooth-w, 48px) * 0.4);
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  filter: blur(6px);
  animation: tooth-shadow-pulse var(--float-duration, 6s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

/* Tooth variants */
.tooth-3d.molar .tooth-crown {
  border-radius: 40% 40% 35% 35% / 50% 50% 40% 40%;
  width: calc(var(--tooth-w, 48px) * 1.15);
  height: calc(var(--tooth-h, 64px) * 0.95);
}

.tooth-3d.molar .tooth-crown::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 25%;
  width: 20%;
  height: 15%;
  background: rgba(203, 213, 225, 0.3);
  border-radius: 30%;
  bottom: auto;
}

.tooth-3d.incisor .tooth-crown {
  border-radius: 42% 42% 30% 30% / 60% 60% 30% 30%;
  width: calc(var(--tooth-w, 48px) * 0.85);
}

.tooth-3d.canine .tooth-crown {
  border-radius: 50% 50% 35% 35% / 65% 65% 28% 28%;
  width: calc(var(--tooth-w, 48px) * 0.9);
  height: calc(var(--tooth-h, 64px) * 1.1);
}

/* Sizes */
.tooth-3d.size-sm { --tooth-w: 32px; --tooth-h: 44px; }
.tooth-3d.size-md { --tooth-w: 48px; --tooth-h: 64px; }
.tooth-3d.size-lg { --tooth-w: 64px; --tooth-h: 84px; }
.tooth-3d.size-xl { --tooth-w: 80px; --tooth-h: 104px; }

/* Glow variant for CTA */
.cta-teeth-scene .tooth-crown {
  box-shadow:
    inset 6px 6px 16px rgba(255, 255, 255, 0.95),
    inset -4px -4px 12px rgba(148, 163, 184, 0.2),
    0 0 30px rgba(255, 255, 255, 0.25),
    0 20px 50px rgba(0, 0, 0, 0.15);
}

.cta-teeth-scene .tooth-3d {
  opacity: 0.35;
}

@keyframes tooth-3d-float {
  0%, 100% {
    transform: translateY(0) rotateX(var(--rx, 15deg)) rotateY(var(--ry, -20deg)) rotateZ(var(--rz, 5deg));
  }
  25% {
    transform: translateY(-18px) rotateX(calc(var(--rx, 15deg) + 8deg)) rotateY(calc(var(--ry, -20deg) + 12deg)) rotateZ(calc(var(--rz, 5deg) + 3deg));
  }
  50% {
    transform: translateY(-30px) rotateX(calc(var(--rx, 15deg) - 5deg)) rotateY(calc(var(--ry, -20deg) - 8deg)) rotateZ(calc(var(--rz, 5deg) - 2deg));
  }
  75% {
    transform: translateY(-12px) rotateX(calc(var(--rx, 15deg) + 5deg)) rotateY(calc(var(--ry, -20deg) + 6deg)) rotateZ(calc(var(--rz, 5deg) + 4deg));
  }
}

@keyframes tooth-shadow-pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) rotateX(75deg) scale(1); }
  50% { opacity: 0.3; transform: translateX(-50%) rotateX(75deg) scale(0.8); }
}

@keyframes tooth-float {
  0%, 100% { transform: translateY(0) rotate(15deg); }
  50% { transform: translateY(-20px) rotate(20deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 24px;
  text-shadow: 0 2px 40px rgba(37, 99, 235, 0.08);
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shimmer 4s ease-in-out infinite;
}

@keyframes gradient-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero-description {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  margin-bottom: 48px;
}

.hero-trust {
  gap: 32px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trust-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.trust-suffix {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.trust-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-icon {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 2px;
}

/* --- Hero Phone Mockup --- */
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-phone-scene {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
  perspective: 1200px;
}

.phone-mockup-3d {
  position: relative;
  transform-style: preserve-3d;
  animation: phone-float 5s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(37, 99, 235, 0.2));
}

.phone-mockup-3d::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: phone-glow 4s ease-in-out infinite;
}

@keyframes phone-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(2deg); }
  50% { transform: translateY(-15px) rotateY(5deg) rotateX(-2deg); }
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #1E293B 0%, #0F172A 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(15, 23, 42, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0F172A;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  border-radius: 32px;
  padding: 48px 20px 24px;
  overflow: hidden;
}

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.phone-app-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.phone-app-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.phone-health-score {
  text-align: center;
  margin-bottom: 32px;
}

.score-ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 12px;
}

.score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-ring-bg {
  fill: none;
  stroke: rgba(37, 99, 235, 0.1);
  stroke-width: 8;
}

.score-ring-fill {
  fill: none;
  stroke: url(#scoreGradient);
  stroke: var(--primary);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-ring-fill.animated {
  stroke-dashoffset: calc(327 - (327 * var(--score, 82) / 100));
}

.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.score-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}

.score-total {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  align-self: flex-end;
  margin-bottom: 8px;
}

.score-label {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.score-good {
  background: rgba(20, 184, 166, 0.12);
  color: var(--secondary-dark);
}

.phone-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xs);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.metric-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.metric-dot-green { background: var(--secondary); }
.metric-dot-yellow { background: #F59E0B; }

.phone-reflection {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  filter: blur(8px);
}

/* Floating cards around phone */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  z-index: 3;
  animation: card-float 4s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
  transform: translateY(-4px) scale(1.02);
}

.floating-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
}

.floating-card-1 {
  top: 8%;
  left: -5%;
  animation-delay: 0s;
}

.floating-card-2 {
  top: 25%;
  right: -8%;
  animation-delay: -1s;
}

.floating-card-3 {
  bottom: 30%;
  left: -10%;
  animation-delay: -2s;
}

.floating-card-4 {
  bottom: 15%;
  right: -5%;
  animation-delay: -0.5s;
}

.floating-card-5 {
  top: 50%;
  right: -12%;
  animation-delay: -1.5s;
}

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

.icon-alignment { background: linear-gradient(135deg, #DBEAFE, #93C5FD); }
.icon-gum { background: linear-gradient(135deg, #CCFBF1, #5EEAD4); }
.icon-plaque { background: linear-gradient(135deg, #FEF3C7, #FCD34D); }
.icon-jaw { background: linear-gradient(135deg, #EDE9FE, #C4B5FD); }
.icon-score { background: linear-gradient(135deg, #DBEAFE, #60A5FA); }

/* --- Trusted By --- */
.trusted-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.trusted-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
}

.trusted-logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity var(--transition);
  letter-spacing: -0.01em;
}

.trusted-logo:hover {
  opacity: 0.8;
}

/* --- Features --- */
.features-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.feature-card-highlight {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04) 0%, rgba(20, 184, 166, 0.04) 100%);
  border-color: rgba(37, 99, 235, 0.15);
}

.feature-icon-3d {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin-bottom: 24px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

/* 3D Icon Placeholders */
.icon-3d-alignment {
  background: linear-gradient(145deg, #DBEAFE 0%, #60A5FA 50%, #2563EB 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25), inset 0 2px 4px rgba(255,255,255,0.3);
}

.icon-3d-gum {
  background: linear-gradient(145deg, #CCFBF1 0%, #2DD4BF 50%, #14B8A6 100%);
  box-shadow: 0 8px 24px rgba(20, 184, 166, 0.25), inset 0 2px 4px rgba(255,255,255,0.3);
}

.icon-3d-plaque {
  background: linear-gradient(145deg, #FEF3C7 0%, #FBBF24 50%, #F59E0B 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25), inset 0 2px 4px rgba(255,255,255,0.3);
}

.icon-3d-jaw {
  background: linear-gradient(145deg, #EDE9FE 0%, #A78BFA 50%, #7C3AED 100%);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.25), inset 0 2px 4px rgba(255,255,255,0.3);
}

.icon-3d-brain {
  background: linear-gradient(145deg, #DBEAFE 0%, #818CF8 50%, #4F46E5 100%);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25), inset 0 2px 4px rgba(255,255,255,0.3);
}

.icon-3d-camera {
  background: linear-gradient(145deg, #F1F5F9 0%, #94A3B8 50%, #475569 100%);
  box-shadow: 0 8px 24px rgba(71, 85, 105, 0.2), inset 0 2px 4px rgba(255,255,255,0.3);
}

.icon-3d-report {
  background: linear-gradient(145deg, #FFF 0%, #E2E8F0 50%, #94A3B8 100%);
  box-shadow: 0 8px 24px rgba(100, 116, 139, 0.2), inset 0 2px 4px rgba(255,255,255,0.5);
}

.icon-3d-dentist {
  background: linear-gradient(145deg, #DBEAFE 0%, #3B82F6 50%, #1D4ED8 100%);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.25), inset 0 2px 4px rgba(255,255,255,0.3);
}

.icon-3d-robot {
  background: linear-gradient(145deg, #E0E7FF 0%, #818CF8 50%, #6366F1 100%);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25), inset 0 2px 4px rgba(255,255,255,0.3);
  border-radius: 50%;
}

.icon-3d-scan {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, #DBEAFE 0%, #60A5FA 50%, #2563EB 100%);
  border-radius: 20px;
  margin: 0 auto 16px;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.2);
}

.icon-3d-family {
  width: 100%;
  height: 300px;
  background:
    radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 35%, rgba(20, 184, 166, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 70%, rgba(96, 165, 250, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
  border-radius: var(--radius);
  position: relative;
}

.icon-3d-family::before,
.icon-3d-family::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.icon-3d-family::before {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, #DBEAFE, #60A5FA);
  top: 25%;
  left: 25%;
}

.icon-3d-family::after {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #CCFBF1, #2DD4BF);
  top: 20%;
  right: 28%;
}

.icon-3d-tooth-float {
  display: none;
}

/* --- Scan Demo --- */
.scan-demo-section {
  background:
    linear-gradient(180deg, var(--bg) 0%, #EFF6FF 40%, #DBEAFE 60%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.scan-demo-section::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.scan-upload-area {
  border: 2px dashed rgba(37, 99, 235, 0.25);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: rgba(255, 255, 255, 0.6);
}

.scan-upload-area:hover,
.scan-upload-area.dragover {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
}

.scan-upload-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.scan-upload-text {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.scan-upload-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.scan-demo-phone {
  display: flex;
  justify-content: center;
}

.scan-phone-frame {
  width: 320px;
  background: linear-gradient(145deg, #1E293B, #0F172A);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

.scan-phone-screen {
  background: #F8FAFC;
  border-radius: 28px;
  min-height: 480px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.scan-preview {
  flex: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  min-height: 280px;
}

.scan-placeholder {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.scan-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scan-progress {
  margin-bottom: 16px;
}

.scan-progress-bar {
  height: 6px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 8px;
}

.scan-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 100px;
  transition: width 0.3s ease;
}

.scan-progress-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}

.scan-results {
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.scan-score-display {
  text-align: center;
  margin-bottom: 20px;
}

.scan-score-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.scan-score-label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.scan-result-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scan-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  font-weight: 500;
}

.scan-result-good {
  background: rgba(20, 184, 166, 0.08);
  color: var(--secondary-dark);
}

.scan-result-good i { color: var(--secondary); }

.scan-result-warn {
  background: rgba(245, 158, 11, 0.08);
  color: #B45309;
}

.scan-result-warn i { color: #F59E0B; }

/* --- How It Works --- */
.how-section {
  background: var(--card);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 100px;
  z-index: 0;
}

.timeline-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 100px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.timeline-step {
  text-align: center;
}

.timeline-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.timeline-3d-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.timeline-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* --- AI Assistant --- */
.assistant-section {
  background: var(--bg);
}

.assistant-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.assistant-features i {
  color: var(--secondary);
  font-size: 1.125rem;
}

.chat-ui {
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 520px;
  margin-left: auto;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.chat-name {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 500;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.chat-messages {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 400px;
  overflow-y: auto;
}

.chat-bubble {
  max-width: 85%;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.chat-bubble p {
  margin-bottom: 8px;
}

.chat-bubble p:last-of-type {
  margin-bottom: 0;
}

.chat-bubble ul {
  margin: 8px 0;
  padding-left: 20px;
  list-style: disc;
}

.chat-bubble li {
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.chat-bubble-user {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.chat-bubble-ai {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
}

.chat-time {
  display: block;
  font-size: 0.6875rem;
  opacity: 0.6;
  margin-top: 6px;
}

.chat-input-area {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
}

.chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-family: var(--font);
  background: #fff;
  outline: none;
}

.chat-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.chat-send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

/* --- Dentists --- */
.dentists-section {
  background: var(--card);
}

.dentists-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

.dentists-map {
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 50%, #E0F2FE 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-pin {
  position: absolute;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  animation: pin-bounce 2s ease-in-out infinite;
}

.map-pin i {
  transform: rotate(45deg);
  font-size: 0.875rem;
}

.map-pin-1 { top: 30%; left: 35%; }
.map-pin-2 { top: 50%; left: 60%; animation-delay: -0.5s; }
.map-pin-3 { top: 65%; left: 25%; animation-delay: -1s; }

@keyframes pin-bounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-6px); }
}

.map-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  z-index: 1;
}

.dentists-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dentist-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.dentist-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.15);
}

.dentist-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.dentist-avatar-2 {
  background: linear-gradient(135deg, var(--secondary), #2DD4BF);
}

.dentist-avatar-3 {
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
}

.dentist-info {
  flex: 1;
  min-width: 0;
}

.dentist-name {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.dentist-specialty {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.dentist-meta {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  font-weight: 600;
}

.dentist-rating { color: #F59E0B; }
.dentist-rating i { margin-right: 2px; }
.dentist-distance { color: var(--text-muted); }
.dentist-distance i { margin-right: 2px; }

/* --- Family --- */
.family-section {
  background: var(--bg);
}

.family-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.family-member-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.family-member-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(37, 99, 235, 0.12);
}

.family-member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  flex-shrink: 0;
}

.avatar-you { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.avatar-father { background: linear-gradient(135deg, #475569, #64748B); }
.avatar-mother { background: linear-gradient(135deg, #EC4899, #F472B6); }
.avatar-child { background: linear-gradient(135deg, var(--secondary), #2DD4BF); }

.family-member-info {
  flex: 1;
}

.family-member-name {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.family-score-bar {
  height: 6px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 4px;
}

.family-score-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.family-score-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.family-trend {
  padding: 28px;
}

.family-trend-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.trend-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  margin-bottom: 12px;
}

.trend-bar {
  flex: 1;
  height: 0%;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 6px 6px 0 0;
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.trend-bar-active {
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.trend-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- App Showcase --- */
.app-showcase-section {
  background: linear-gradient(180deg, var(--card) 0%, var(--bg) 100%);
}

.app-carousel-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}

.app-nav-btn {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.app-nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.app-nav-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.app-carousel-stage {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-screen {
  display: none;
  width: 100%;
  animation: fadeInUp 0.5s ease;
}

.app-screen.active {
  display: flex;
  justify-content: center;
}

.app-phone-float {
  animation: phone-float 5s ease-in-out infinite;
}

.app-phone-mockup {
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #1E293B, #0F172A);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
}

.app-phone-screen-content {
  width: 100%;
  height: 100%;
  background: #F8FAFC;
  border-radius: 28px;
  padding: 40px 20px 20px;
  overflow: hidden;
}

.screen-home-content .app-screen-header {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.screen-home-content .app-screen-score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}

.screen-home-content .app-screen-score span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.app-screen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.app-mini-card {
  padding: 20px 8px;
  background: #fff;
  border-radius: var(--radius-xs);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border);
}

.scan-viewfinder {
  width: 160px;
  height: 160px;
  border: 2px dashed var(--primary);
  border-radius: var(--radius-sm);
  margin: 60px auto 16px;
  position: relative;
}

.scan-viewfinder::before,
.scan-viewfinder::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--primary);
  border-style: solid;
}

.scan-viewfinder::before {
  top: -2px;
  left: -2px;
  border-width: 3px 0 0 3px;
}

.scan-viewfinder::after {
  bottom: -2px;
  right: -2px;
  border-width: 0 3px 3px 0;
}

.screen-scan-content {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.report-header,
.history-header,
.docs-header {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
}

.report-item,
.history-entry {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
}

.report-good { color: var(--secondary); font-weight: 600; }
.report-warn { color: #F59E0B; font-weight: 600; }

.doc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 0.8125rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.doc-item i {
  color: var(--primary);
  font-size: 1.125rem;
}

.mini-chat-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.75rem;
  margin-bottom: 10px;
  max-width: 80%;
}

.mini-chat-bubble.user {
  background: var(--primary);
  color: #fff;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.mini-chat-bubble.ai {
  background: #fff;
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 40px auto 12px;
}

.profile-name {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.profile-stat {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Testimonials --- */
.testimonials-section {
  background: var(--bg);
}

.testimonial-card {
  padding: 32px;
  height: 100%;
  transition: all var(--transition);
  border: none;
}

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

.testimonial-stars {
  color: #F59E0B;
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}

.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.testimonial-avatar-2 {
  background: linear-gradient(135deg, var(--secondary), #2DD4BF);
}

.testimonial-avatar-3 {
  background: linear-gradient(135deg, #8B5CF6, #A78BFA);
}

.testimonial-name {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  font-style: normal;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Pricing --- */
.pricing-section {
  background: var(--card);
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  height: 100%;
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card-featured {
  background: var(--card);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}

.pricing-card-featured:hover {
  transform: scale(1.04) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-amount {
  margin-bottom: 12px;
}

.pricing-currency {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: super;
  color: var(--text);
}

.pricing-value {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-features {
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.pricing-features i {
  color: var(--secondary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* --- FAQ --- */
.faq-section {
  background: var(--bg);
}

.faq-accordion .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card);
}

.faq-accordion .accordion-button {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  padding: 20px 24px;
  background: transparent;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(37, 99, 235, 0.04);
  color: var(--primary);
}

.faq-accordion .accordion-button::after {
  background-size: 16px;
  transition: transform 0.3s ease;
}

.faq-accordion .accordion-body {
  padding: 0 24px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- CTA --- */
.cta-tooth-3d {
  display: none;
}

.cta-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 35%, #1E40AF 60%, var(--secondary) 100%);
  background-size: 200% 200%;
  animation: cta-gradient-shift 8s ease infinite;
}

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

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  margin-bottom: 40px;
}

.cta-store-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xs);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.store-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.store-badge i {
  font-size: 1.5rem;
}

.store-badge small {
  display: block;
  font-size: 0.625rem;
  font-weight: 400;
  opacity: 0.8;
}

/* --- Footer --- */
.site-footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .brand-text {
  color: #fff;
}

.footer-tagline {
  font-size: 0.875rem;
  margin: 16px 0 24px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-heading {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 0.75rem;
  opacity: 0.4;
}

/* --- Modal --- */
.modal-content.glass-card {
  border: none;
  border-radius: var(--radius);
}

.demo-video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.demo-video-placeholder i {
  font-size: 4rem;
  margin-bottom: 12px;
  opacity: 0.6;
}

.demo-video-placeholder p {
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   POLICY PAGE
   ============================================ */
.policy-page {
  background: var(--bg);
}

.policy-main {
  padding-top: 80px;
}

.policy-hero {
  padding: 80px 0 48px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 99, 235, 0.1) 0%, transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.policy-hero-content {
  max-width: 640px;
}

.policy-hero-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text);
}

.policy-hero-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.policy-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}

.policy-body {
  padding-top: 64px;
  padding-bottom: 100px;
}

.policy-nav {
  padding: 24px;
  position: sticky;
  top: 100px;
}

.policy-nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.policy-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.policy-nav-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.policy-nav-link:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

.policy-nav-link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  border-left-color: var(--primary);
  font-weight: 600;
}

.policy-article {
  padding: 40px 48px;
  margin-bottom: 32px;
  scroll-margin-top: 100px;
}

.policy-article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.policy-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.policy-icon-teal {
  background: linear-gradient(135deg, var(--secondary), #2DD4BF);
}

.policy-icon-purple {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
}

.policy-icon-amber {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
}

.policy-article-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.policy-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.policy-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 12px;
}

.policy-content h3:first-child {
  margin-top: 0;
}

.policy-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.policy-content ul {
  margin-bottom: 20px;
  padding-left: 0;
  list-style: none;
}

.policy-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.policy-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.6;
}

.policy-content a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-content a:hover {
  color: var(--primary-dark);
}

.policy-callout {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-xs);
  padding: 20px 24px;
  margin: 24px 0;
}

.policy-callout p {
  margin: 0;
  color: var(--text);
  font-size: 0.9375rem;
}

.policy-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.policy-table th,
.policy-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.policy-table th {
  background: rgba(37, 99, 235, 0.04);
  font-weight: 700;
  color: var(--text);
}

.policy-table td {
  color: var(--text-secondary);
}

.policy-table tr:last-child td {
  border-bottom: none;
}

.policy-page .nav-link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

