/* ============================================================
   DentSurge v2 look (19 Oct 2026)
   Direction picked by Shihab: clean dental-software style
   (bright blue, deep navy, proof green, sky sections, heavy
   rounded headings, pill buttons, curved section edges).
   Loaded after styles.css on the new homepage only.
   ============================================================ */
:root {
  --navy:        #0B2A4A;
  --navy-2:      #12385F;
  --blue:        #0B63E5;   /* white text 5.3:1 */
  --blue-ink:    #0A4FB8;
  --green:       #14A44D;   /* icons and pins only */
  --green-deep:  #0B7A37;   /* white text 5.5:1 */
  --sky:         #E8F3FE;
  --sky-2:       #F4F9FF;

  --primary:     var(--blue);
  --primary-2:   #2C7BF0;
  --primary-ink: var(--blue-ink);
  --accent:      var(--blue);
  --accent-2:    #2C7BF0;
  --accent-ink:  var(--blue-ink);

  --ink:         var(--navy);
  --muted:       #4A5D73;
  --bg:          #FFFFFF;
  --bg-soft:     var(--sky);
  --bg-deep:     var(--navy);
  --border:      #DCE7F3;
  --card:        #FFFFFF;

  --shadow-sm: 0 1px 3px rgba(11, 42, 74, .06);
  --shadow-md: 0 8px 24px rgba(11, 42, 74, .08);
  --shadow-lg: 0 24px 60px rgba(11, 42, 74, .14);
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --font:    "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Figtree", system-ui, sans-serif;
}

body { font-family: var(--font); color: var(--ink); background: #fff; }
p { color: var(--muted); }
h1, h2, h3 { font-family: var(--display); color: var(--navy); }
h1, h2 { font-weight: 900; letter-spacing: -0.015em; line-height: 1.08; text-wrap: balance; }
h3 { font-weight: 800; letter-spacing: -0.005em; }
strong { color: var(--navy); }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--sky); }
.section__head h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.7rem); }
.eyebrow {
  text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 700;
  color: var(--green-deep); margin-bottom: 8px;
}

/* ---------- Buttons: pill, solid blue ---------- */
.btn {
  background: var(--blue); color: #fff; border-radius: 999px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(11, 99, 229, .22);
  transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--blue-ink); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(11, 99, 229, .28); }
.btn--line { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--line:hover { background: var(--sky); color: var(--blue-ink); box-shadow: inset 0 0 0 2px var(--blue-ink); transform: none; }
.btn--ghost { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--ghost:hover { background: var(--sky); box-shadow: inset 0 0 0 2px var(--blue-ink); }
:focus-visible { outline-color: var(--blue); }

/* ---------- Header with nav ---------- */
.header { background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border); }
.header__inner { height: 72px; }
.brand { font-family: var(--display); font-weight: 900; }
.brand b { color: var(--navy); }
.brand span { color: var(--blue); }
.nav { display: none; gap: 28px; margin-left: auto; margin-right: 22px; }
.nav a { font-weight: 600; font-size: .96rem; color: var(--navy); }
.nav a:hover { color: var(--blue); }
.header__actions { gap: 10px; }
.header__actions .btn--line { display: none; }
@media (min-width: 980px) {
  .nav { display: flex; }
  .header__actions .btn--line { display: inline-flex; }
}
@media (max-width: 719px) { .header__actions { display: none; } }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(700px 420px at 88% 18%, rgba(20, 164, 77, .10), transparent 65%),
    radial-gradient(900px 520px at 70% 60%, rgba(11, 99, 229, .13), transparent 65%),
    linear-gradient(180deg, #FFFFFF 0%, #EEF6FE 100%);
  padding-block: clamp(40px, 6vw, 80px) clamp(70px, 9vw, 120px);
  border-bottom: 0;
}
.hero__badge {
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  color: var(--navy); font-weight: 600; font-size: .9rem; padding: 7px 14px; border-radius: 999px;
}
.hero__badge .dot { background: var(--green); }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4rem); margin-bottom: 20px; }
.hero h1 .hl { color: var(--blue); background: none; padding: 0; }
.hero__sub { color: var(--muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); }
.hero__micro svg { color: var(--green); }
.hero__proof { margin-top: 24px; gap: 12px; color: var(--muted); font-weight: 500; line-height: 1.4; }
.hero__proof a { color: var(--blue); font-weight: 700; }
.hero__face { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid #fff; box-shadow: var(--shadow-md); flex: none; }

/* Real scan card */
.hero__visual { position: relative; }
.scanshot { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.scanshot__head { padding: 14px 18px; border-bottom: 1px solid var(--border); display: grid; gap: 2px; }
.scanshot__kw { font-family: var(--display); font-weight: 800; color: var(--navy); font-size: 1.02rem; }
.scanshot__src { font-size: .82rem; color: var(--muted); }
.scanshot picture, .scanshot img { display: block; width: 100%; height: auto; }
.scanshot__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.scanshot__stats div { padding: 11px 14px; min-width: 0; }
.scanshot__stats div + div { border-left: 1px solid var(--border); }
.scanshot__stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.2rem; color: var(--green-deep); line-height: 1.15; white-space: nowrap; }
.scanshot__stats div:last-child b { color: var(--navy); font-size: 1rem; }
.scanshot__stats span { font-size: .76rem; color: var(--muted); font-weight: 600; }
.scanshot figcaption { font-size: .84rem; line-height: 1.5; color: var(--muted); padding: 12px 18px 15px; background: var(--sky-2); border-top: 1px solid var(--border); }
.scanshot figcaption a { color: var(--blue); font-weight: 700; white-space: nowrap; }

/* Floating chips around the scan (desktop only) */
.chip {
  position: absolute; z-index: 3; display: none; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 10px 14px 10px 10px; line-height: 1.2;
}
.chip b { display: block; font-family: var(--display); font-weight: 800; color: var(--navy); font-size: .95rem; }
.chip small { display: block; color: var(--muted); font-size: .74rem; font-weight: 600; }
.chip__ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.chip__ic svg { width: 18px; height: 18px; }
.chip__ic--green { background: var(--green); }
.chip__ic--blue { background: var(--blue); }
.chip--a { right: -36px; top: -28px; }
.chip--b { left: -48px; bottom: -46px; }
.hero__visual { margin-bottom: 30px; }
@media (min-width: 1240px) { .chip { display: flex; } }

/* ---------- Navy feature band with curved top ---------- */
.band { position: relative; background: var(--navy); color: #fff; padding: 22px 0 64px; }
.band::before {
  content: ""; position: absolute; left: 0; right: 0; top: -58px; height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 360 0 1080 0 1440 60 Z' fill='%230B2A4A'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
}
.band__grid { display: grid; gap: 28px; grid-template-columns: 1fr; text-align: center; }
.band__item h3 { color: #fff; font-size: 1.12rem; margin: 14px 0 6px; }
.band__item p { color: #B8CBE0; font-size: .96rem; max-width: 30ch; margin-inline: auto; }
.ring {
  width: 58px; height: 58px; border-radius: 50%; display: inline-grid; place-items: center;
  color: #fff; background: rgba(20, 164, 77, .16); box-shadow: inset 0 0 0 2px var(--green);
}
.ring svg { width: 26px; height: 26px; }
@media (min-width: 760px) { .band__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Bright blue stat band ---------- */
.trustbar {
  position: relative; color: #fff;
  background:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,.10) 0 2px, transparent 3px) 0 0 / 28px 28px,
    linear-gradient(135deg, #0B63E5 0%, #0A4FB8 100%);
}
.trustbar__inner { padding-block: clamp(44px, 6vw, 72px); }
.trustbar__line { color: #DDEBFF; font-weight: 600; font-size: 1rem; letter-spacing: 0; margin-bottom: 22px; }
.stats { gap: 22px; }
.stat .num { font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.2rem); line-height: 1; color: #fff; }
.stat .num span { color: #fff; }
.stat .lbl { color: #DDEBFF; font-weight: 600; margin-top: 8px; font-size: .95rem; }
.stat + .stat { border-color: rgba(255,255,255,.22) !important; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; } }

/* ---------- Problem ---------- */
.problem__lead {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.3rem, 1rem + 1.1vw, 1.75rem);
  line-height: 1.35; color: var(--navy); max-width: 820px; letter-spacing: -0.005em;
}
.pain { border-color: var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pain .ic { width: 46px; height: 46px; border-radius: 50%; background: #FDECEC; color: #B42318; }

/* ---------- Service and why cards: green ring icons ---------- */
.card, .whyitem, .step, .tier, .faqitem, .review, .leadform { border-color: var(--border); box-shadow: var(--shadow-sm); }
.card { border-radius: var(--radius); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #C6DAF0; }
.card .ic, .whyitem .ic {
  width: 52px; height: 52px; border-radius: 50%; background: #E7F6EC; color: var(--green-deep);
  box-shadow: inset 0 0 0 2px #BFE5CC;
}
.card h3 a:hover { color: var(--blue) !important; }
.card p a { color: var(--blue); font-weight: 700; }

/* ---------- How it works ---------- */
.step { border-radius: var(--radius); }
.step__n { width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 900; }
.step__when { background: #E7F6EC; color: var(--green-deep); letter-spacing: .02em; }

/* ---------- Results ---------- */
.case { background: var(--navy); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.case h3 { color: #fff; font-family: var(--display); font-weight: 900; }
.case p { color: #C9D8EA; }
.case__metric { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); border-radius: 12px; }
.case__metric .v { color: #6FE09A; font-family: var(--display); font-weight: 900; }
.case__metric .k { color: #B8CBE0; }
.case__verify { color: #fff; border-color: rgba(255,255,255,.5); }
.case .case__img { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); }
.case__cap { color: #4A5D73 !important; }
.rankmove { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; text-align: center; color: #fff; }
.rankmove span { display: block; font-size: .8rem; font-weight: 700; color: #B8CBE0; }
.rankmove b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 1.6rem + 3vw, 3.6rem); line-height: 1.05; color: #fff; }
.rankmove div:nth-child(3) b { color: #6FE09A; }
.rankmove small { display: block; font-size: .75rem; color: #B8CBE0; }
.rankmove__arrow { font-size: 1.8rem; color: #6FE09A; }
.rankmove p { grid-column: 1 / -1; margin-top: 10px; font-size: .82rem; color: #B8CBE0; }

/* Testimonial: green card like a quote band */
.review--quote { background: var(--green-deep); border: none; color: #fff; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.review--quote::after {
  content: "\201C"; position: absolute; right: 18px; top: -18px; font-family: Georgia, serif;
  font-size: 9rem; line-height: 1; color: rgba(255,255,255,.12);
}
.review--quote p { color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.12rem; line-height: 1.5; }
.review--quote .review__name { color: #fff; }
.review--quote .review__meta { color: #CDEBD8; }
.review--quote .review__ava { background: #fff; color: var(--green-deep); }
.review__ava { background: var(--blue); }
.review { border-radius: var(--radius); }

/* ---------- Founder ---------- */
#founder { background: var(--sky); }
.founder__photo img { border-radius: var(--radius-lg); }
.founder__body h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.5rem); }
.founder__sign small a { color: var(--blue) !important; }

/* ---------- Pricing ---------- */
.tier { border-radius: var(--radius-lg); }
.tier--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.tier__tag { background: var(--green-deep); letter-spacing: .04em; }
.tier__price { font-family: var(--display); font-weight: 900; color: var(--navy); }
.tier li svg, .guarantee svg { color: var(--green); }
.roi { background: #E7F6EC; border-color: #BFE5CC; }
.roi svg { color: var(--green-deep); }
.roi strong { color: var(--green-deep); }

/* ---------- FAQ ---------- */
#faq { background: #fff; }
.faqitem { border-radius: 12px; }
.faqitem__q { font-family: var(--display); font-weight: 800; color: var(--navy); }
.faqitem__q .pm { color: var(--blue); }

/* ---------- Final CTA: bright blue band ---------- */
.finalcta {
  background:
    radial-gradient(circle at 12% 30%, rgba(255,255,255,.10) 0 2px, transparent 3px) 0 0 / 28px 28px,
    linear-gradient(135deg, #0B63E5 0%, #0A4FB8 100%);
}
.finalcta h2 { color: #fff; }
.finalcta p { color: #DDEBFF; }
.finalcta .btn { background: #fff; color: var(--blue); box-shadow: 0 8px 22px rgba(0,0,0,.15); }
.finalcta .btn:hover { background: var(--sky); color: var(--blue-ink); }
.finalcta .audit__foot { font-size: .9rem; }
.audit { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.24); }
.audit li { color: #fff; }
.audit li svg { color: #6FE09A; }

/* ---------- Form ---------- */

.leadform { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.leadform input, .leadform select { background: #fff; border-color: #C9D8EA; border-radius: 10px; }
.leadform input::placeholder { color: #6B7C90; }
.leadform input:focus, .leadform select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,99,229,.15); }
.leadform__hint a { color: var(--blue); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #B8CBE0; }
.footer__contact .lbl, .footer__contact a { color: #E3ECF6; }
.footer__links a { display: inline-block; padding: 10px 0; }

/* ---------- Mobile bar ---------- */
.mbar { background: rgba(255,255,255,.97); }
.mbar__call { color: var(--blue); }

/* ---------- Review round 2 (19 Oct) ---------- */
/* Founder as the dark band so sky sections never touch */
#founder { background: var(--navy); }
#founder h2, .founder__sign { color: #fff; }
#founder p { color: #C9D8EA; }
#founder .eyebrow { color: #6FE09A; }
.founder__sign small { color: #B8CBE0; }
.founder__badge { color: var(--navy); }

/* Contrast on bright blue */
.trustbar__line, .stat .lbl, .finalcta p { color: #fff; }
.review--quote .review__meta { color: #E6F5EC; }

/* Slanted band edge and left-aligned items: our own shape */
.band::before {
  top: -48px; height: 50px; background: var(--navy);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.band__grid { text-align: left; }
.band__item { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; align-items: start; }
.band__item .ring { grid-row: span 2; }
.band__item h3 { margin: 4px 0 4px; }
.band__item p { margin: 0; max-width: none; }

/* Stat band: faint geo-grid of pins instead of dots */
.trustbar, .finalcta {
  background:
    radial-gradient(circle, rgba(255,255,255,.16) 0 5px, transparent 6px) 0 0 / 56px 56px,
    linear-gradient(135deg, #0B63E5 0%, #0A4FB8 100%);
}

/* Problem statement: calmer */
.problem__lead { font-weight: 600; font-size: clamp(1.2rem, 1rem + .7vw, 1.45rem); line-height: 1.5; }

/* Why section: checklist, not another card grid */
.whyitem { background: transparent; border: none; box-shadow: none; padding: 8px 0; }
#why .why { max-width: 920px; margin-inline: auto; column-gap: 48px; }

/* Second case card: single column, before/after inline */
#results .case + .case { grid-template-columns: minmax(0, 1fr); }
#results .case + .case .case__img { order: 0 !important; min-height: 0; padding: 18px; }

/* Final CTA + form in one band */
.finalcta { text-align: left; }
.finalcta__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; grid-template-columns: minmax(0, 1fr); }
.finalcta h2 { max-width: none; margin-inline: 0; }
.finalcta .audit { margin: 24px 0 0; max-width: none; background: rgba(10, 42, 110, .25); border-color: rgba(255,255,255,.22); }
.finalcta .audit h3 { text-align: left; color: #fff; }
.finalcta .audit__foot { color: #EAF2FF; text-align: left; }
.eyebrow--light { color: #fff; opacity: .9; }
.finalcta__form .leadform { margin: 0; max-width: none; }
.finalcta__form .btn { background: var(--blue); color: #fff; }
.finalcta__form .btn:hover { background: var(--blue-ink); color: #fff; }
@media (min-width: 940px) { .finalcta__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }

/* Mobile: small labels, metric tiles, header pill */
@media (max-width: 560px) {
  .case__metric .k { font-size: .74rem; }
}
@media (max-width: 480px) { .case__metrics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 719px) {
  .header__actions { display: flex; }
  .header__actions .btn { padding: 8px 14px; font-size: .85rem; }
}

/* Footer links */
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer__links a { padding: 6px 0; }
.finalcta__form p, .finalcta__form .leadform__hint { color: var(--muted); }
.finalcta__form .leadform__hint a { color: var(--blue); }

/* ---------- Site-wide pass (19 Oct): inner pages + mobile ---------- */
.step__when { font-size: .8rem; }
.chip small { font-size: .78rem; }

/* Bigger tap targets for standalone text links on phones */
@media (max-width: 719px) {
  .hero__proof a, .scanshot figcaption a, .case__verify, .card h3 a,
  .pagehero .crumb a, .related a { display: inline-block; padding-block: 8px; }
  .card h3 a { padding-block: 6px; }
}

/* Inner page hero */
.pagehero {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(20,164,77,.18), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.pagehero h1 { color: #fff; font-family: var(--display); font-weight: 900; }
.pagehero p, .pagehero .crumb { color: #DDE8F5; opacity: 1; }
.pagehero .crumb a { color: #fff; }

/* Inner page body */
.article p, .article li { color: #3D5066; }
.article h2, .article h3 { color: var(--navy); font-family: var(--display); }
.article h2 { font-weight: 900; }
.article a { color: var(--blue); }
.article th { background: var(--sky); color: var(--navy); }
.article th, .article td { border-bottom-color: var(--border); }
.callout { background: var(--sky); border-left-color: var(--blue); }
.keytake { background: #E7F6EC; border-color: #BFE5CC; }
.pagecta {
  background:
    radial-gradient(circle, rgba(255,255,255,.14) 0 5px, transparent 6px) 0 0 / 56px 56px,
    linear-gradient(135deg, #0B63E5 0%, #0A4FB8 100%);
  border-radius: var(--radius-lg);
}
.pagecta h2 { color: #fff; }
.pagecta p { color: #fff; }
.pagecta .btn { background: #fff; color: var(--blue); }
.pagecta .btn:hover { background: var(--sky); color: var(--blue-ink); }
.related a { color: var(--blue); }
.founder__photo .ph-fallback { background: var(--navy); }
@media (max-width: 560px) { .case__metric .k { font-size: .78rem; } }
.founder__badge small, .tier__tag { font-size: .78rem; }
@media (max-width: 719px) { .founder__sign small a { display: inline-block; padding-block: 8px; } }
