/* Dental Flow AI — Landing Page Styles */

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #ccfbf1;
  --slate: #1e293b;
  --muted: #64748b;
  --white: #ffffff;
  --off-white: #f8fafc;
  --border: #e2e8f0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-logo span { color: var(--teal); }
.nav-cta {
  background: var(--teal);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--teal-dark); }

/* Hero */
.hero {
  padding: 120px 0 60px;
  background: var(--off-white);
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-left {
  text-align: left;
}
.hero-right {
  position: relative;
}
.hero-tagline {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--slate);
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.65;
}
.hero-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
}
.hero-image-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 420px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Floating Analytics Cards */
.analytics-cards {
  position: absolute;
  right: -20px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 240px;
}
.analytics-card {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.analytics-card-icon {
  width: 32px;
  height: 32px;
  background: var(--teal-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.analytics-card-icon--star { background: #fef3c7; }
.analytics-card-body {
  flex: 1;
}
.analytics-card-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate);
  line-height: 1.1;
}
.analytics-card-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}
.analytics-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}
.analytics-card-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.analytics-card-stars span {
  font-size: 0.65rem;
  color: var(--muted);
  margin-left: 4px;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-secondary {
  background: var(--white);
  color: var(--slate);
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }

/* Trust bar */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar p {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-badge {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-badge svg { color: var(--teal); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--slate);
}
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal);
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(33.333% - 16px);
  right: calc(33.333% - 16px);
  height: 2px;
  background: var(--teal-light);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 auto 20px;
}
.step h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.pricing-card--featured {
  border-color: var(--teal);
  box-shadow: 0 20px 60px rgba(13,148,136,0.15);
  transform: translateY(-4px);
}
.pricing-card--featured:hover {
  transform: translateY(-6px);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  padding: 5px 18px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.pricing-label {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.pricing-label--teal { background: var(--teal); color: var(--white); }
.pricing-label--slate { background: var(--off-white); color: var(--slate); border: 1px solid var(--border); }
.pricing-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--slate);
  margin-bottom: 2px;
}
.pricing-price sup { font-size: 1.2rem; font-weight: 600; vertical-align: super; }
.pricing-price-sub { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.pricing-price-second {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}
.pricing-price-second sup { font-size: 1rem; font-weight: 600; vertical-align: super; }
.pricing-promise {
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}
.pricing-features li svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.pricing-monthly {
  background: var(--off-white);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: left;
  margin-bottom: 24px;
  line-height: 1.5;
}
.pricing-monthly strong { color: var(--slate); }

/* CTA Banner */
.cta-section {
  background: var(--slate);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-section p { color: #94a3b8; font-size: 1.05rem; margin-bottom: 36px; }
.cta-section .btn-primary {
  background: var(--white);
  color: var(--teal-dark);
}
.cta-section .btn-primary:hover { background: var(--teal-light); }

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer a { color: var(--teal-light); text-decoration: none; }

/* Mobile */
@media (max-width: 768px) {
  .services-grid, .steps-grid, .pricing-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .hero { padding: 100px 0 60px; }
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .hero-left { text-align: center; }
  .hero-sub { margin: 0 auto 0; }
  .hero-btns { justify-content: center; }
  .analytics-cards {
    position: static;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
  }
  .analytics-card { flex: 1 1 calc(50% - 8px); min-width: 140px; }
  .hero-image-wrap img { max-height: 280px; }
  .pricing-card { padding: 32px 24px; }
  .nav-cta { display: none; }
}
@media (max-width: 480px) {
  .analytics-cards { flex-direction: column; }
  .analytics-card { flex: none; width: 100%; }
}