/* DentOS landing — Clinical Intelligence: precise, confident, restrained.
   One teal job per screen: the primary CTA. */

:root {
  --primary: #00616c;
  --primary-hover: #00505a;
  --primary-faint: rgba(0, 97, 108, 0.08);
  --bg: #f8fafb;
  --surface: #ffffff;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: rgba(0, 0, 0, 0.1);
  --border-faint: rgba(0, 0, 0, 0.05);
  --shadow: rgba(15, 23, 42, 0.08);
  --hero-band: linear-gradient(180deg, #f8fafb 0%, #eef4f5 100%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #00909e;
    --primary-hover: #00a5b5;
    --primary-faint: rgba(0, 144, 158, 0.12);
    --bg: #0d1117;
    --surface: #161b22;
    --text: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --border: rgba(255, 255, 255, 0.12);
    --border-faint: rgba(255, 255, 255, 0.05);
    --shadow: rgba(0, 0, 0, 0.4);
    --hero-band: linear-gradient(180deg, #0d1117 0%, #10161d 100%);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Manrope', 'Inter', sans-serif; letter-spacing: -0.02em; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { color: var(--text-secondary); border: 1px solid var(--border); background: transparent; }
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-faint);
}
.nav-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.wordmark-icon { width: 26px; height: 26px; color: var(--primary); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { background: var(--hero-band); padding: 88px 0 0; overflow: hidden; }
.hero-copy { text-align: center; max-width: 780px; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-faint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 800; line-height: 1.08; }
.lede {
  font-size: 1.18rem;
  color: var(--text-secondary);
  margin: 22px auto 34px;
  max-width: 600px;
}
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-note { font-size: 0.85rem; color: var(--text-muted); }

.hero-shot-wrap { margin-top: 64px; }
.hero-shot {
  border-radius: 16px 16px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--surface);
  box-shadow: 0 -8px 60px var(--shadow);
  overflow: hidden;
}
.browser-chrome {
  display: flex;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-faint);
}
.browser-chrome span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--border);
}
.hero-shot img { display: block; width: 100%; height: auto; }

/* ── Sections ────────────────────────────────────────────────────────── */
section h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}
.section-lede {
  text-align: center;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 14px auto 0;
  font-size: 1.05rem;
}

/* ── Features ────────────────────────────────────────────────────────── */
.features { padding: 104px 0; border-top: 1px solid var(--border-faint); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 8px var(--shadow);
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--primary-faint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.06rem; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: 0.92rem; color: var(--text-secondary); }
.tag {
  display: inline-block;
  vertical-align: 2px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1px 8px;
  margin-left: 6px;
}

/* ── Pricing ─────────────────────────────────────────────────────────── */
.pricing { padding: 104px 0; background: var(--hero-band); border-top: 1px solid var(--border-faint); }
.price-card {
  max-width: 460px;
  margin: 48px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 4px 16px var(--shadow);
}
.price-head { text-align: center; padding-bottom: 26px; border-bottom: 1px solid var(--border-faint); }
.price-plan {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.price-amount {
  font-family: 'Manrope', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  margin-top: 6px;
  line-height: 1;
}
.rupee { font-size: 1.8rem; vertical-align: 14px; margin-right: 2px; }
.per { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); margin-left: 6px; }
.price-trial { margin-top: 12px; color: var(--primary); font-weight: 600; font-size: 0.95rem; }
.price-list { list-style: none; padding: 26px 0; display: grid; gap: 12px; }
.price-list li { padding-left: 28px; position: relative; font-size: 0.95rem; color: var(--text-secondary); }
.price-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary-faint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300616c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.price-foot { margin-top: 16px; text-align: center; font-size: 0.82rem; color: var(--text-muted); }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { padding: 104px 0; }
.faq-inner { max-width: 720px; }
.faq h2 { margin-bottom: 40px; }
.faq details {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--text-muted); font-size: 1.3rem; font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; color: var(--text-secondary); font-size: 0.95rem; }

/* ── Closer / footer ─────────────────────────────────────────────────── */
.closer { padding: 104px 0; background: var(--hero-band); border-top: 1px solid var(--border-faint); }
.closer-inner { display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.closer h2 { max-width: 620px; }
.footer { border-top: 1px solid var(--border-faint); padding: 28px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-shot-wrap { margin-top: 44px; }
  .btn-ghost { display: none; }
  .features, .pricing, .faq, .closer { padding: 72px 0; }
  .price-card { padding: 28px 22px; }
}
