/* ═══════════════════════════════════════════════════════════
   LANDING PAGE v3 — Dark Hero, Bold Sections, Teal Accent
   ═══════════════════════════════════════════════════════════ */

/* ══ HERO — Dark gradient ══ */
.hero {
  padding: 120px var(--sp-6) 100px;
  text-align: center;
  background: linear-gradient(160deg, #0F172A 0%, #1E293B 40%, #0F172A 80%, #134E4A 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 16px;
  background: rgba(13, 148, 136, 0.15);
  color: #5EEAD4;
  border-radius: var(--r-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--sp-6);
  border: 1px solid rgba(13, 148, 136, 0.3);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
  color: #fff;
  margin-bottom: var(--sp-5);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}
.hero-title em {
  color: #5EEAD4;
  font-style: normal;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-400);
  max-width: 560px;
  margin: 0 auto var(--sp-8);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-16);
  position: relative;
  z-index: 1;
}
.hero-actions .btn-primary {
  background: var(--primary);
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
}
.hero-actions .btn-primary:hover {
  box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.5);
}
.hero-actions .btn-ghost {
  color: rgba(255, 255, 255, 0.7);
}
.hero-actions .btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ── STATS BAR ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--sp-2);
}
.stat-item {
  text-align: center;
  padding: var(--sp-5) var(--sp-4);
}
.stat-item + .stat-item {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-value {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-label {
  font-size: var(--text-xs);
  color: var(--gray-400);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ══ TRUST BAR ══ */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-10);
  padding: var(--sp-6);
}
.trust-logo {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ══ STEPS ══ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
  z-index: 0;
  border-radius: 1px;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 800;
  margin: 0 auto var(--sp-5);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3);
}
.step-title {
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: var(--sp-2);
  color: var(--gray-900);
}
.step-desc {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

/* ══ FEATURES ══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.feature-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  border: 1px solid var(--gray-200);
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(var(--primary-rgb), 0.12);
  transform: translateY(-6px);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-subtle));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
}
.feature-title {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--sp-1);
  color: var(--gray-900);
}
.feature-desc {
  font-size: var(--text-xs);
  color: var(--gray-500);
  line-height: 1.6;
}

/* ══ TREATMENTS ══ */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}
.treatment-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-3);
  text-align: center;
  transition: all var(--t-base) var(--ease);
}
.treatment-card:hover {
  border-color: var(--primary);
  background: var(--primary-subtle);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.treatment-emoji { font-size: 28px; margin-bottom: var(--sp-2); }
.treatment-name { font-size: var(--text-sm); font-weight: 600; color: var(--gray-900); margin-bottom: 2px; }
.treatment-price { font-size: var(--text-xs); color: var(--gray-400); }

/* ══ TESTIMONIALS ══ */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
.testimonial {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  border: 1px solid var(--gray-200);
  transition: all var(--t-base) var(--ease);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 72px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  pointer-events: none;
}
.testimonial:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--gray-300);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--sp-3);
}
.testimonial-text {
  font-size: var(--text-sm);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
  position: relative;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-xs);
  flex-shrink: 0;
}
.testimonial-name { font-size: var(--text-sm); font-weight: 600; color: var(--gray-900); }
.testimonial-location { font-size: var(--text-xs); color: var(--gray-500); }

/* ══ CTA BANNER ══ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0E7490 100%);
  color: #fff;
  padding: var(--sp-20) var(--sp-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.07), transparent 60%);
}
.cta-banner h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-3);
  position: relative;
}
.cta-banner p {
  font-size: var(--text-md);
  opacity: 0.8;
  margin-bottom: var(--sp-6);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-banner .btn {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  position: relative;
  border: none;
}
.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ══ FAQ ══ */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-5) 0;
  background: none;
  border: none;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease);
}
.faq-question:hover { color: var(--primary); }
.faq-arrow {
  transition: transform var(--t-fast) var(--ease);
  color: var(--gray-400);
  flex-shrink: 0;
}
.faq-arrow.open { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--t-base) var(--ease);
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-answer.open { max-height: 500px; opacity: 1; padding: 0 0 var(--sp-5); }

/* ══ CROSS-SELL CTA ══ */
.dentist-cta {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #134E4A 100%);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: var(--sp-12) var(--sp-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.dentist-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.15), transparent 60%);
}
.dentist-cta h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-3);
  position: relative;
}
.dentist-cta p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-base);
  margin-bottom: var(--sp-5);
  line-height: 1.65;
  position: relative;
}
.dentist-cta-benefits { list-style: none; position: relative; }
.dentist-cta-benefits li {
  padding: var(--sp-2) 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.dentist-cta-benefits li::before {
  content: '✓';
  width: 24px; height: 24px;
  border-radius: var(--r-md);
  background: rgba(13, 148, 136, 0.3);
  color: #5EEAD4;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ══ FOOTER ══ */
.footer {
  background: #0C111D;
  color: rgba(255, 255, 255, 0.5);
  padding: var(--sp-16) var(--sp-6) var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
.footer-brand {
  font-size: var(--text-xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--sp-3);
  letter-spacing: -0.02em;
}
.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.35);
  max-width: 280px;
}
.footer h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--sp-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-link {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.4);
  padding: 4px 0;
  transition: color var(--t-fast) var(--ease);
  text-decoration: none;
}
.footer-link:hover { color: var(--primary); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--sp-6);
  font-size: var(--text-xs);
  text-align: center;
  color: rgba(255, 255, 255, 0.25);
}

/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .hero { padding: 80px var(--sp-6) 60px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); border-radius: var(--r-lg); }
  .stat-item + .stat-item { border-left: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.08); }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .treatment-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .dentist-cta { grid-template-columns: 1fr; padding: var(--sp-8); gap: var(--sp-6); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 60px var(--sp-4) 48px; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero-subtitle { font-size: var(--text-base); }
  .hero-actions { flex-direction: column; gap: var(--sp-2); }
  .hero-actions .btn { width: 100%; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-value { font-size: var(--text-2xl); }
  .steps-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .steps-grid::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .treatment-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: var(--sp-12) var(--sp-4); }
  .cta-banner h2 { font-size: var(--text-2xl); }
  .dentist-cta { padding: var(--sp-6) var(--sp-4); }
  .dentist-cta h2 { font-size: var(--text-2xl); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .trust-bar { flex-wrap: wrap; gap: var(--sp-4); }
}
