/* Dark Buddha Media - homepage styles.
   Layout rides on Bootstrap (rows, columns, utilities) and the
   shared theme (assets/css/dbm-theme.css) owns the palette, the
   column, the header, and the footer. This file carries only the
   homepage's own components: hero, stats strip, leak and system
   cards, the dashboard illustration, signature builds, pricing
   steps, fit, team, FAQ, and the audit form card. The look is the
   approved live design, carried over rule for rule where the
   component itself did not change. */

body { font-size: 17px; }

section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 0; overflow: hidden; background: var(--bg-2); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.5; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg-2) 30%, transparent) 0%, var(--bg-2) 92%); }
.hero-inner { position: relative; z-index: 1; padding-bottom: 72px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; margin: 0 0 22px; max-width: 820px; }
.hero h1 .hl { color: var(--blue); }
.hero .sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 640px; margin: 0 0 34px; }
.hero-note { font-size: 14.5px; color: var(--faint); margin: 18px 0 0; }
.hero-stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-soft); border-top: 1px solid var(--line-soft);
}
.stat { background: color-mix(in srgb, var(--bg-2) 88%, transparent); padding: 26px 28px; }
.stat b { display: block; font-family: "Sora", sans-serif; font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.stat b em { font-style: normal; color: var(--blue); }
.stat span { font-size: 14.5px; color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; }
@media (max-width: 720px) { .hero-stats { grid-template-columns: 1fr; } }
.stat-src { position: relative; z-index: 1; font-size: 12.5px; color: var(--faint); padding: 10px 0 16px; background: var(--bg-2); margin: 0; }

/* ---------- Leaks ---------- */
.leak { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 30px 28px; height: 100%; }
.leak .icon {
  width: 46px; height: 46px; border-radius: 11px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.leak .icon svg { width: 23px; height: 23px; stroke: var(--blue); }
.leak h3 { font-size: 20px; margin: 0 0 10px; font-weight: 700; letter-spacing: -0.01em; }
.leak p { color: var(--muted); margin: 0; font-size: 15.5px; }
.leak .cost { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 700; color: var(--amber); }

/* ---------- System ---------- */
.system-sec { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sys { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 26px 24px; height: 100%; }
.sys h3 { font-size: 17.5px; margin: 0 0 8px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.sys h3 svg { width: 20px; height: 20px; stroke: var(--blue); flex: none; }
.sys p { color: var(--muted); font-size: 15px; margin: 0; }

.dash { margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 8px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); }
.dash-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); display: block; }
.dash-bar .dash-title { margin-left: 10px; font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.dash-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 0; }
@media (max-width: 820px) { .dash-body { grid-template-columns: 1fr; } }
.dash-main { padding: 26px; border-right: 1px solid var(--line-soft); }
@media (max-width: 820px) { .dash-main { border-right: none; border-bottom: 1px solid var(--line-soft); } }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
@media (max-width: 560px) { .dash-kpis { grid-template-columns: 1fr 1fr; } }
.kpi { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 10px; padding: 14px; }
.kpi b { font-family: "Sora", sans-serif; font-size: 22px; display: block; letter-spacing: -0.01em; }
.kpi span { font-size: 12.5px; color: var(--faint); font-weight: 600; }
.kpi .up { color: var(--green); font-size: 12px; font-weight: 800; display: block; margin-top: 5px; }
.pipe-label { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px; }
.pipe { display: flex; gap: 8px; flex-wrap: wrap; }
.pipe div { flex: 1 1 100px; background: var(--surface-2); border: 1px solid var(--line-soft); border-top: 3px solid var(--blue); border-radius: 8px; padding: 10px 12px; }
.pipe div b { display: block; font-size: 19px; font-family: "Sora", sans-serif; }
.pipe div span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.dash-side { padding: 26px; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feed li { display: flex; gap: 12px; font-size: 14.5px; color: var(--muted); }
.feed .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue); margin-top: 8px; flex: none; }
.feed .dot.g { background: var(--green); }
.feed .dot.a { background: var(--amber); }
.feed b { color: var(--text); font-weight: 700; }
.dash-note { font-size: 12.5px; color: var(--faint); margin-top: 18px; }

/* ---------- Signature builds ---------- */
.sig { border: 1px solid var(--line-soft); border-radius: 14px; padding: 30px 28px; background: var(--surface); height: 100%; }
.sig h3 { margin: 0 0 10px; font-size: 20px; font-weight: 700; }
.sig p { color: var(--muted); margin: 0; font-size: 15.5px; }
.sig .num { font-family: "Sora", sans-serif; font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: 0.12em; display: block; margin-bottom: 14px; }

/* ---------- Pricing ---------- */
.pricing-sec { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.step { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 34px 30px; display: flex; flex-direction: column; height: 100%; }
.step.featured { border-color: var(--blue); box-shadow: var(--shadow); }
.step .step-tag { font-size: 12.5px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.step.featured .step-tag { color: var(--blue); }
.step h3 { font-size: 22px; margin: 0 0 6px; font-weight: 700; }
.step .price { font-family: "Sora", sans-serif; font-size: clamp(30px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 4px; }
.step .price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.step .when { font-size: 14px; color: var(--faint); margin: 0 0 20px; font-weight: 600; }
.step ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.step li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.step li svg { width: 18px; height: 18px; stroke: var(--blue); flex: none; margin-top: 3px; }
.step .btn { margin-top: auto; justify-content: center; }
.pricing-note { text-align: center; color: var(--muted); font-size: 15.5px; margin: 34px auto 0; max-width: 680px; }
.pricing-note b { color: var(--text); }

/* ---------- Who it's for ---------- */
.fit-img { border-radius: 16px; border: 1px solid var(--line-soft); width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
#fit h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 700; }
#fit p { color: var(--muted); margin: 0 0 16px; }
.fit-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.fit-list li { display: flex; gap: 12px; font-size: 16px; }
.fit-list svg { width: 20px; height: 20px; stroke: var(--blue); flex: none; margin-top: 3px; }
.fit-list b { font-weight: 700; }
.fit-list span { color: var(--muted); }

/* ---------- Team ---------- */
.team-sec { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.person { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 16px; padding: 34px 30px; height: 100%; }
.person .role { font-size: 12.5px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: block; }
.person h3 { font-size: 24px; margin: 0 0 12px; font-weight: 700; }
.person p { color: var(--muted); margin: 0; font-size: 15.5px; }
.creds { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 56px; }
.creds div { flex: 1 1 200px; text-align: center; padding: 22px 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface); }
.creds b { font-family: "Sora", sans-serif; font-size: 24px; display: block; letter-spacing: -0.01em; }
.creds span { font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border: 1px solid var(--line-soft); border-radius: 12px; background: var(--surface); margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 700; font-size: 17px; font-family: "Sora", sans-serif; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; font-weight: 600; flex: none; }
.faq details[open] summary::after { content: "-"; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA / audit form ---------- */
.cta-sec { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.cta-copy h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 16px; font-weight: 700; }
.cta-copy p { color: var(--muted); margin: 0 0 16px; }
.cta-copy ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.cta-copy li { display: flex; gap: 11px; color: var(--muted); font-size: 15.5px; }
.cta-copy li svg { width: 19px; height: 19px; stroke: var(--blue); flex: none; margin-top: 3px; }
.audit-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 32px 30px; box-shadow: var(--shadow); }
.form-msg { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px; background: var(--blue-soft); border: 1px solid var(--line); font-size: 14.5px; color: var(--text); }
.form-msg.show { display: block; }
