/* iDentist.Live — static informational pages.
   Brand tokens match /blog/css/blog.css so the site reads as one product. */

:root {
  --primary-color: #00F2FE;
  --primary-gradient: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  --accent-color: #10B981;
  --bg-dark: #0F172A;
  --bg-dark-card: rgba(30, 41, 59, 0.7);
  --border-dark: rgba(255, 255, 255, 0.08);
  --text-dark-main: #F8FAFC;
  --text-dark-muted: #94A3B8;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--bg-dark);
  color: var(--text-dark-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-color); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: 1200px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--border-dark);
  background: rgba(15, 23, 42, 0.94);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.brand img {
  width: 32px; height: 32px; border-radius: 9px;
  border: 1.2px solid rgba(0, 242, 254, 0.45);
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3);
}
.brand:hover { text-decoration: none; }
.brand-title {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 19px; font-weight: 900; letter-spacing: -0.4px;
}
.brand-title .brand-dentist {
  color: #FFFFFF;
}
.brand-title .brand-live {
  color: #00F2FE;
}
.brand-title .brand-badge {
  color: #00F2FE;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(0 0 6px rgba(0, 242, 254, 0.5));
}
.nav {
  display: flex; align-items: center; gap: 6px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--text-dark-muted);
  font-weight: 600; font-size: 13.5px;
  padding: 6px 12px; border-radius: 9999px;
  white-space: nowrap; border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.nav a:hover {
  color: var(--text-dark-main);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}
.nav a[aria-current="page"] {
  color: #00F2FE;
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.18);
}

/* ── Quick Category Jump Bar ─────────────────────────────────────────────── */
.feature-tabs-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin: 0 auto 28px; padding: 4px;
  max-width: 680px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.feature-tabs-bar::-webkit-scrollbar { display: none; }
.tab-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 9999px;
  font-size: 12.5px; font-weight: 700;
  white-space: nowrap; text-decoration: none;
  background: rgba(30, 41, 59, 0.6);
  color: var(--text-dark-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.tab-chip:hover {
  color: #FFFFFF;
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(0, 242, 254, 0.3);
  text-decoration: none;
}
.tab-chip.active, .tab-chip:focus {
  color: #00F2FE;
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.2);
}
.tab-chip.gold {
  color: #FBBF24;
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.08);
}
.tab-chip.gold:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: #F59E0B;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 48px 0 24px; text-align: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 6px 14px; border-radius: 9999px;
  font-size: 12.5px; font-weight: 700; color: #38BDF8;
  margin-bottom: 18px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}
.hero-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 10px #38BDF8;
}
.hero h1 {
  font-size: clamp(28px, 5.4vw, 48px);
  font-weight: 900;
  line-height: 1.16; margin: 0 0 14px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E0F2FE 45%, #00F2FE 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.6px;
}
.hero p.lede {
  font-size: 16px; color: var(--text-dark-muted);
  margin: 0 auto; max-width: 720px; line-height: 1.6;
}

/* ── Content ────────────────────────────────────────────────────────────── */
main { padding-bottom: 48px; }
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 44px 0 8px; flex-wrap: wrap; gap: 10px;
  scroll-margin-top: 75px;
}
h2 {
  font-size: 21px; font-weight: 850; margin: 0; color: var(--text-dark-main);
  display: inline-flex; align-items: flex-start; gap: 10px;
  letter-spacing: -0.3px; line-height: 1.25;
}
h2 i {
  color: var(--primary-color); font-size: 19px;
  margin-top: 2px; flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}
.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 9999px; padding: 4px 11px;
  white-space: nowrap;
}
.section-badge.theme-cyan {
  color: #00F2FE;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.18);
}
.section-badge.theme-sky {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.18);
}
.section-badge.theme-gold {
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.2);
}
h3 { font-size: 16px; font-weight: 750; margin: 12px 0 6px; color: #FFFFFF; letter-spacing: -0.2px; }
p, li { color: #CBD5E1; }
ul { padding-left: 20px; }
li { margin-bottom: 7px; }
.updated { font-size: 13px; color: var(--text-dark-muted); margin-top: 6px; }

/* ── Interactive Color-Full Cards ───────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

.card {
  background: linear-gradient(145deg, rgba(22, 33, 54, 0.72) 0%, rgba(15, 23, 42, 0.82) 100%);
  border: 1.2px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 20px 20px;
  margin: 0;
  display: flex; flex-direction: column;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background-color 0.25s ease;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.32);
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, #00F2FE), transparent);
  opacity: 0.35;
  transition: opacity 0.25s ease, height 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: linear-gradient(145deg, rgba(28, 42, 68, 0.82) 0%, rgba(17, 26, 47, 0.9) 100%);
}
.card:hover::before {
  opacity: 1;
  height: 2.5px;
}

.card .card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}

.card .ico {
  width: 44px; height: 44px; border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover .ico {
  transform: scale(1.08);
}

.card p {
  font-size: 13px;
  line-height: 1.55;
  color: #94A3B8;
  margin: 0;
  flex-grow: 1;
}

/* Specific Accent Themes for Features */
.theme-sky { --accent: #38BDF8; }
.theme-pink { --accent: #EC4899; }
.theme-emerald { --accent: #10B981; }
.theme-amber { --accent: #F59E0B; }
.theme-indigo { --accent: #818CF8; }
.theme-cyan { --accent: #06B6D4; }
.theme-green { --accent: #25D366; }
.theme-rose { --accent: #F43F5E; }
.theme-purple { --accent: #A855F7; }
.theme-fuchsia { --accent: #E879F9; }
.theme-blue { --accent: #3B82F6; }
.theme-violet { --accent: #8B5CF6; }

.card[class*="theme-"] {
  border-color: rgba(255, 255, 255, 0.08);
}
.card[class*="theme-"] .ico {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  color: var(--accent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 20%, transparent);
}
.card[class*="theme-"]:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 28px -6px color-mix(in srgb, var(--accent) 30%, transparent);
}

.badge {
  display: inline-flex; align-items: center;
  font-size: 9.5px; font-weight: 800; letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 9999px; padding: 3.5px 9px;
  white-space: nowrap;
}
.card[class*="theme-"] .badge {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
}

/* Premium Card Special Styling */
.card.premium {
  --accent: #F59E0B;
  background: linear-gradient(145deg, rgba(34, 30, 20, 0.75) 0%, rgba(18, 22, 35, 0.88) 100%);
  border-color: rgba(245, 158, 11, 0.24);
}
.card.premium .ico {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.45);
  color: #FBBF24;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.22);
}
.card.premium .badge {
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.38);
}
.card.premium:hover {
  border-color: #F59E0B;
  box-shadow: 0 10px 28px -6px rgba(245, 158, 11, 0.35);
}

.section-note { color: var(--text-dark-muted); font-size: 13.5px; margin: 4px 0 18px; line-height: 1.5; }

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 8px;
  background: var(--primary-gradient);
  color: #0F172A; font-weight: 800; font-size: 14px;
  padding: 12px 22px; border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.3);
  text-decoration: none;
}
.cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0, 242, 254, 0.45); }
.cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4); }

.contact-line { font-size: 17px; font-weight: 700; }

/* ── Narrative Box & Ecosystem Grid ──────────────────────────────────────── */
.narrative-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1.2px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 28px;
  margin: 18px 0 28px;
  backdrop-filter: blur(10px);
}
.narrative-box h3 {
  font-size: 19px;
  font-weight: 800;
  color: #F8FAFC;
  margin: 0 0 10px;
}
.narrative-box p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #CBD5E1;
  margin: 0;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 16px;
  margin: 18px 0 32px;
}

.ecosystem-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1.2px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background-color 0.25s ease;
  backdrop-filter: blur(8px);
  text-decoration: none;
}
.ecosystem-card:hover {
  transform: translateY(-4px);
  background: rgba(20, 31, 55, 0.9);
  text-decoration: none;
}
.ecosystem-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.ecosystem-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}
.ecosystem-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.ecosystem-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #94A3B8;
  margin: 0;
}

/* Ecosystem Card Theme Accents */
.eco-cyan {
  border-color: rgba(0, 242, 254, 0.25);
}
.eco-cyan .ecosystem-pill {
  color: #00F2FE;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
}
.eco-cyan:hover {
  border-color: #00F2FE;
  box-shadow: 0 10px 26px -6px rgba(0, 242, 254, 0.35);
}

.eco-purple {
  border-color: rgba(168, 85, 247, 0.25);
}
.eco-purple .ecosystem-pill {
  color: #C084FC;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
}
.eco-purple:hover {
  border-color: #A855F7;
  box-shadow: 0 10px 26px -6px rgba(168, 85, 247, 0.35);
}

.eco-emerald {
  border-color: rgba(16, 185, 129, 0.25);
}
.eco-emerald .ecosystem-pill {
  color: #34D399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.eco-emerald:hover {
  border-color: #10B981;
  box-shadow: 0 10px 26px -6px rgba(16, 185, 129, 0.35);
}

.eco-amber {
  border-color: rgba(245, 158, 11, 0.25);
}
.eco-amber .ecosystem-pill {
  color: #FBBF24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.eco-amber:hover {
  border-color: #F59E0B;
  box-shadow: 0 10px 26px -6px rgba(245, 158, 11, 0.35);
}

.eco-rose {
  border-color: rgba(244, 63, 94, 0.25);
}
.eco-rose .ecosystem-pill {
  color: #FB7185;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
}
.eco-rose:hover {
  border-color: #F43F5E;
  box-shadow: 0 10px 26px -6px rgba(244, 63, 94, 0.35);
}

.eco-sky {
  border-color: rgba(56, 189, 248, 0.25);
}
.eco-sky .ecosystem-pill {
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.eco-sky:hover {
  border-color: #38BDF8;
  box-shadow: 0 10px 26px -6px rgba(56, 189, 248, 0.35);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-dark);
  padding: 34px 0 44px;
  color: var(--text-dark-muted);
  font-size: 14px;
}
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }
.footer-cols h4 { color: var(--text-dark-main); font-size: 14px; margin: 0 0 10px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: 7px; }
.footer-cols a { color: var(--text-dark-muted); }
.footer-cols a:hover { color: var(--primary-color); }
.footer-bottom {
  margin-top: 26px; padding-top: 18px;
  border-top: 1px solid var(--border-dark);
  text-align: center;
}
.footer-links-row {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 20px;
  margin-bottom: 16px;
}
.footer-links-row a {
  color: var(--text-dark-muted);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-links-row a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}
.footer-copyright-row {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dark-muted);
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}
.footer-patriot-row {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.footer-patriot-row .patriot-india { color: var(--text-dark-muted); }
.footer-patriot-row .patriot-flag { font-size: 14px; }
.footer-patriot-row .patriot-for { color: var(--primary-color); }

@media (max-width: 640px) {
  .wrap, .wrap.wide { padding: 0 16px; }
  .site-header .wrap {
    padding-top: 8px; padding-bottom: 8px; gap: 8px;
    flex-wrap: nowrap;
  }
  .brand img { width: 28px; height: 28px; }
  .brand-title { font-size: 17px; }
  .nav { gap: 4px; }
  .nav a { font-size: 12.5px; padding: 5px 10px; }

  .hero { padding: 26px 0 16px; }
  .hero-pill {
    font-size: 11.5px; padding: 5px 12px;
    margin-bottom: 12px; max-width: 100%;
    line-height: 1.35;
  }
  .hero h1 { font-size: 26px; line-height: 1.18; margin-bottom: 10px; letter-spacing: -0.4px; }
  .hero p.lede { font-size: 13.5px; line-height: 1.55; }

  .feature-tabs-bar {
    justify-content: flex-start;
    margin: 0 -16px 20px;
    gap: 8px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .feature-tabs-bar::-webkit-scrollbar { display: none; }
  .tab-chip { font-size: 12px; padding: 7px 14px; flex-shrink: 0; }

  .section-title {
    margin: 32px 0 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .section-title .section-badge {
    order: -1;
    font-size: 10px;
    padding: 4px 10px;
    letter-spacing: 0.6px;
    margin-bottom: 2px;
  }
  h2 { font-size: 18.5px; line-height: 1.25; font-weight: 850; color: #FFFFFF; letter-spacing: -0.3px; }
  h2 i { font-size: 17px; }
  .section-note { font-size: 13px; margin: 2px 0 16px; line-height: 1.5; color: #94A3B8; }

  .grid, .grid-4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card {
    padding: 18px 16px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(22, 33, 54, 0.85) 0%, rgba(15, 23, 42, 0.92) 100%);
    border: 1.2px solid rgba(255, 255, 255, 0.08);
  }
  .card .card-top { margin-bottom: 8px; }
  .card .ico { width: 42px; height: 42px; font-size: 17px; border-radius: 12px; }
  .card h3 { font-size: 16px; font-weight: 800; margin: 4px 0 6px; color: #FFFFFF; }
  .card p { font-size: 13px; line-height: 1.55; color: #94A3B8; }
  .badge { font-size: 9px; font-weight: 800; letter-spacing: 0.5px; padding: 3.5px 8.5px; border-radius: 6px; }

  .ecosystem-grid { grid-template-columns: 1fr; gap: 12px; }
  .narrative-box { padding: 18px 16px; border-radius: 16px; }

  .site-footer { padding: 26px 0 34px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .footer-links-row { gap: 8px 12px; font-size: 12px; }
  .cta { width: 100%; box-sizing: border-box; justify-content: center; }
}
