/* =============================================================================
   Vahan Check Tools — Shared Styles
   Used by: /buyer-tools/index.html, vahan-verify.html, ai-vahan-inspection.html,
            report-result.html, faq.html
   ============================================================================= */

:root {
  --vb-bg: #0d1117;
  --vb-surface: #161b22;
  --vb-surface-2: #1e232d;
  --vb-border: rgba(255,255,255,0.1);
  --vb-border-strong: rgba(255,255,255,0.18);
  --vb-text: #e6edf3;
  --vb-text-muted: #8b949e;
  --vb-text-dim: rgba(255,255,255,0.55);
  --vb-orange: #FF700A;
  --vb-orange-light: #ff8a3d;
  --vb-blue: #2D6EEF;
  --vb-green: #22c55e;
  --vb-red: #f87171;
  --vb-yellow: #facc15;
}

* { box-sizing: border-box; }

body.buyer-tools-body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(255,112,10,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 70% 70% at 90% 85%, rgba(45,110,239,0.10) 0%, transparent 50%),
    linear-gradient(160deg, #1a1f2e 0%, #0f1419 50%, #0c1015 100%);
  background-attachment: fixed;
  color: var(--vb-text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

.bt-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.bt-container.narrow { max-width: 820px; }  /* matches #seoContent so form and SEO sections align */

/* ============ Hero ============ */
.bt-hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
}
.bt-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.5px;
  color: var(--vb-text);
}
.bt-hero h1 span {
  -webkit-text-fill-color: initial;
}
.bt-hero .subtitle {
  font-size: 1.1rem;
  color: var(--vb-text-muted);
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 640px) {
  .bt-hero h1 { font-size: 1.8rem; }
  .bt-hero .subtitle { font-size: 1rem; }
}

/* ============ Product cards grid ============ */
.bt-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.bt-card {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--vb-text);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}
.bt-card:hover {
  border-color: var(--vb-orange);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,112,10,0.12);
}
.bt-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,112,10,0.15), rgba(255,112,10,0.05));
  border: 1px solid rgba(255,112,10,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--vb-orange);
  margin-bottom: 1rem;
}
.bt-card h3 {
  font-size: 1.2rem; font-weight: 700;
  margin: 0 0 0.4rem;
}
.bt-card .tagline {
  font-size: 0.9rem;
  color: var(--vb-text-muted);
  flex: 1;
  margin-bottom: 1rem;
}
.bt-card .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--vb-border);
  padding-top: 1rem;
  margin-top: auto;
}
.bt-card .price {
  font-size: 1.1rem; font-weight: 700;
  color: var(--vb-orange);
}
.bt-card .price .subtext {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--vb-text-muted);
  margin-left: 4px;
}
.bt-card .cta-arrow {
  font-size: 1.25rem;
  color: var(--vb-text-muted);
  transition: transform 0.2s, color 0.2s;
}
.bt-card:hover .cta-arrow {
  color: var(--vb-orange);
  transform: translateX(4px);
}

/* ============ Forms / Input groups ============ */
.bt-form-card {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
}
.bt-form-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.bt-form-card .hint {
  color: var(--vb-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.bt-field { margin-bottom: 1.25rem; }
.bt-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vb-text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bt-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--vb-bg);
  border: 1px solid var(--vb-border-strong);
  border-radius: 10px;
  color: var(--vb-text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s;
}
.bt-input:focus {
  outline: none;
  border-color: var(--vb-orange);
  background: #0a0d12;
}
.bt-input.reg-input {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 1.15rem;
}

/* ============ Buttons ============ */
.bt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  background: linear-gradient(180deg, var(--vb-orange-light) 0%, #e86200 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(255,112,10,0.3);
}
.bt-btn:hover:not(:disabled) {
  background: linear-gradient(180deg, #ff9a55 0%, #ff700a 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,112,10,0.4);
}
.bt-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.bt-btn.full { width: 100%; }
.bt-btn.secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--vb-border-strong);
  box-shadow: none;
  color: var(--vb-text);
}
.bt-btn.secondary:hover:not(:disabled) {
  background: rgba(255,255,255,0.1);
  transform: none;
  box-shadow: none;
}
/* ============ Pre-payment consent checkbox ============ */
.bt-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  margin: 1rem 0 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--vb-text-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.bt-consent:hover { border-color: var(--vb-border-strong); background: rgba(255,255,255,0.05); }
.bt-consent:has(input:checked) { border-color: var(--vb-orange-light); background: rgba(255,112,10,0.07); }
.bt-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: var(--vb-orange-light);
  cursor: pointer;
}
.bt-consent a { color: var(--vb-orange-light); font-weight: 600; text-decoration: underline; }
.bt-consent a:hover { color: #ff9a55; }

.bt-btn.green {
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
  box-shadow: 0 4px 14px rgba(34,197,94,0.3);
}
.bt-btn.green:hover:not(:disabled) {
  background: linear-gradient(180deg, #4ade80 0%, #10b981 100%);
}

/* ============ Status banners ============ */
.bt-banner {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.bt-banner.warn {
  background: rgba(250,204,21,0.08);
  border: 1px solid rgba(250,204,21,0.3);
  color: #fde047;
}
.bt-banner.danger {
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.3);
  color: #fca5a5;
}
.bt-banner.success {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  color: #86efac;
}
.bt-banner.info {
  background: rgba(45,110,239,0.08);
  border: 1px solid rgba(45,110,239,0.3);
  color: #93c5fd;
}

/* ============ Report sections (results page) ============ */
.bt-section {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.bt-section h2 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--vb-border);
}
.bt-section h2 .icon {
  color: var(--vb-orange);
  font-size: 1.1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bt-section h2 .icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bt-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.6rem;
  color: var(--vb-text);
}

/* Data table for key/value pairs */
.bt-data {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0.6rem 1.5rem;
  font-size: 0.95rem;
}
.bt-data dt {
  color: var(--vb-text-muted);
  font-weight: 500;
}
.bt-data dd {
  margin: 0;
  color: var(--vb-text);
  font-weight: 500;
  word-break: break-word;
}
.bt-data dd.empty { color: var(--vb-text-dim); font-style: italic; }
@media (max-width: 600px) {
  .bt-data { grid-template-columns: 1fr; gap: 0.1rem 0; }
  .bt-data dt { margin-top: 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
  .bt-data dd { margin-bottom: 0.35rem; }
}

/* Status chips */
.bt-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bt-chip.active   { background: rgba(34,197,94,0.15); color: #86efac; border: 1px solid rgba(34,197,94,0.3); }
.bt-chip.warn     { background: rgba(250,204,21,0.15); color: #fde047; border: 1px solid rgba(250,204,21,0.3); }
.bt-chip.danger   { background: rgba(248,113,113,0.15); color: #fca5a5; border: 1px solid rgba(248,113,113,0.3); }
.bt-chip.neutral  { background: rgba(255,255,255,0.06); color: var(--vb-text-muted); border: 1px solid var(--vb-border); }

/* ============ Challan cards ============ */
.bt-challan-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bt-challan-card {
  background: var(--vb-surface-2);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.bt-challan-card .info { flex: 1; min-width: 200px; }
.bt-challan-card .offence {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.bt-challan-card .meta {
  font-size: 0.8rem;
  color: var(--vb-text-muted);
}
.bt-challan-card .amount {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vb-yellow);
  white-space: nowrap;
}
.bt-challan-card .pay-btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  background: rgba(255,112,10,0.12);
  color: var(--vb-orange);
  border: 1px solid rgba(255,112,10,0.35);
  border-radius: 100px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.15s;
}
.bt-challan-card .pay-btn:hover {
  background: rgba(255,112,10,0.2);
  border-color: var(--vb-orange);
}

/* ============ Photo upload slots (AI Inspection) ============ */
.bt-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.bt-photo-slot {
  aspect-ratio: 4/3;
  border: 2px dashed var(--vb-border-strong);
  border-radius: 12px;
  background: var(--vb-surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.15s;
}
.bt-photo-slot:hover:not(.locked) {
  border-color: var(--vb-orange);
  background: rgba(255,112,10,0.04);
}
.bt-photo-slot.locked {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.bt-photo-slot.filled {
  border: 1px solid var(--vb-border);
  border-style: solid;
}
.bt-photo-slot.filled img {
  width: 100%; height: 100%; object-fit: cover;
}
.bt-photo-slot .slot-label {
  font-size: 0.8rem;
  color: var(--vb-text-muted);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 0 0.5rem;
}
.bt-photo-slot .slot-icon {
  color: var(--vb-orange);
  opacity: 0.75;
  transition: all 0.2s;
}
.bt-photo-slot:hover:not(.locked) .slot-icon { opacity: 1; transform: scale(1.05); }
.bt-photo-slot.locked .slot-icon { color: var(--vb-text-dim); opacity: 0.3; }

/* ============ Question cards (AI Inspection) ============ */
.bt-question {
  background: var(--vb-surface-2);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}
.bt-question .q {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--vb-text);
}
.bt-question .q::before {
  content: "❓";
  margin-right: 0.4rem;
}
.bt-question .answer-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.bt-question .answer-row .label {
  font-weight: 600;
  white-space: nowrap;
}
.bt-question .ideal .label { color: #86efac; }
.bt-question .red-flag .label { color: #fca5a5; }
.bt-question .why .label { color: var(--vb-text-muted); font-style: italic; }
.bt-question .text { color: var(--vb-text); }

/* ============ Do's and Don'ts ============ */
.bt-dos-donts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 600px) { .bt-dos-donts { grid-template-columns: 1fr; } }
.bt-dos, .bt-donts {
  background: var(--vb-surface-2);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  padding: 1.25rem;
}
.bt-dos h3 { color: #86efac; }
.bt-donts h3 { color: #fca5a5; }
.bt-dos ul, .bt-donts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bt-dos li, .bt-donts li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}
.bt-dos li::before { content: "✓ "; color: #86efac; font-weight: 700; margin-right: 4px; }
.bt-donts li::before { content: "✗ "; color: #fca5a5; font-weight: 700; margin-right: 4px; }

/* ============ Download banner (ephemeral warning) ============ */
.bt-download-banner {
  position: sticky;
  top: 56px;
  z-index: 90;
  background: linear-gradient(180deg, rgba(250,204,21,0.1), rgba(250,204,21,0.03));
  border: 1px solid rgba(250,204,21,0.4);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.bt-download-banner .msg {
  flex: 1;
  min-width: 240px;
  font-size: 0.95rem;
  color: #fde047;
  line-height: 1.35;
}
.bt-download-banner .msg strong { color: #facc15; display: block; margin-bottom: 0.2rem; }
.bt-download-banner .bt-btn { margin-left: auto; }

/* ============ Processing / loading ============ */
.bt-processing {
  text-align: center;
  padding: 3rem 1rem;
}
.bt-processing .spinner {
  width: 48px; height: 48px;
  border: 3px solid rgba(255,112,10,0.2);
  border-top-color: var(--vb-orange);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  animation: bt-spin 0.9s linear infinite;
}
@keyframes bt-spin { to { transform: rotate(360deg); } }
.bt-processing h2 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.bt-processing p { color: var(--vb-text-muted); margin: 0; }
.bt-processing-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 400px;
  text-align: left;
}
.bt-processing-steps li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--vb-text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.bt-processing-steps li.done { color: #86efac; }
.bt-processing-steps li.active { color: var(--vb-text); }
.bt-processing-steps li::before {
  content: "○";
  font-size: 1.1em;
}
.bt-processing-steps li.done::before { content: "✓"; color: #86efac; }
.bt-processing-steps li.active::before { content: "●"; color: var(--vb-orange); animation: bt-pulse 1.2s ease-in-out infinite; }
@keyframes bt-pulse { 50% { opacity: 0.4; } }

/* ============ Negotiation / price estimate box ============ */
.bt-price-box {
  background: var(--vb-surface-2);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1rem;
}
.bt-price-range {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  text-align: center;
  margin: 1rem 0;
}
.bt-price-range .price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vb-orange);
  margin-top: 0.15rem;
}
.bt-price-range .label {
  font-size: 0.7rem;
  color: var(--vb-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============ Issue list (model intelligence) ============ */
.bt-issue {
  background: var(--vb-surface-2);
  border-left: 3px solid var(--vb-yellow);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0 8px 8px 0;
}
.bt-issue .title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.bt-issue .desc {
  color: var(--vb-text-muted);
  font-size: 0.85rem;
}

/* ============ SEO content container — uniform width across all sections ============ */
#seoContent {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
  text-align: left;
}
#seoContent > * {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}
#seoContent .bt-section {
  padding: 1.25rem 1.5rem;
  text-align: left;
}
/* Paragraphs, lists and subheadings inside SEO sections — always left aligned */
#seoContent p,
#seoContent ul,
#seoContent ol,
#seoContent li,
#seoContent h3,
#seoContent h3.bt-sub,
#seoContent .bt-section h2,
#seoContent .bt-feature-card,
#seoContent .bt-feature-card * {
  text-align: left;
}
/* Explicit exceptions — centered heads/steps */
#seoContent .bt-faq-head,
#seoContent .bt-faq-head *,
#seoContent .bt-step,
#seoContent .bt-step * { text-align: center; }

/* ============ FAQ section wrapper (matches sell-my-car layout) ============ */
.bt-faq-wrap {
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
  padding: 0;
  box-sizing: border-box;
}
.bt-faq-head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.bt-faq-head h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--vb-text);
}
.bt-faq-head p {
  color: var(--vb-text-muted);
  margin: 0;
  font-size: 1rem;
}
@media (max-width: 640px) {
  .bt-faq-head h2 { font-size: 1.5rem; }
  .bt-faq-head p { font-size: 0.92rem; }
}

/* ============ FAQ accordion (matches site-wide smc-faq pattern) ============ */
.bt-faq-item {
  background: var(--vb-surface);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  /* Lock width regardless of content — stops cards from growing when opened.
     `contain: layout` isolates the element so its internals cannot affect
     parent layout — the strongest possible width lock. */
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  contain: layout style;
}
.bt-faq-item * { min-width: 0; max-width: 100%; }
.bt-faq-item .answer { overflow-wrap: anywhere; word-break: break-word; }
.bt-faq-item summary { min-width: 0; }
.bt-faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--vb-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
}
.bt-faq-item summary::-webkit-details-marker { display: none; }
.bt-faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--vb-orange);
  font-weight: 300;
  flex-shrink: 0;
}
.bt-faq-item[open] summary::after { content: "−"; }
.bt-faq-item .answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--vb-text-muted);
  line-height: 1.65;
  text-align: left;
}
.bt-faq-item .answer a { color: var(--vb-orange); text-decoration: none; }
.bt-faq-item .answer a:hover { text-decoration: underline; }

/* ============ Feature card (SEO content) ============ */
.bt-feature-card {
  background: var(--vb-surface-2);
  border: 1px solid var(--vb-border);
  border-left: 3px solid var(--vb-orange);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  transition: all 0.15s;
}
.bt-feature-card:hover {
  border-color: rgba(255,112,10,0.3);
  border-left-color: var(--vb-orange);
  transform: translateY(-1px);
}
.bt-feature-card h3 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  color: var(--vb-text);
  font-weight: 700;
}
.bt-feature-card p {
  color: var(--vb-text-muted);
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ============ SEO comparison tables ============ */
.bt-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
  background: var(--vb-surface-2);
  border-radius: 12px;
  overflow: hidden;
}
.bt-compare-table th {
  background: rgba(255,255,255,0.04);
  padding: 0.85rem 1rem;
  color: var(--vb-text);
  font-weight: 700;
  text-align: left;
}
.bt-compare-table th:nth-child(2),
.bt-compare-table th:nth-child(3) { text-align: center; }
.bt-compare-table td {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--vb-border);
  color: var(--vb-text-muted);
}
.bt-compare-table td:nth-child(2),
.bt-compare-table td:nth-child(3) { text-align: center; }
.bt-compare-table .yes { color: #86efac; font-weight: 600; }
.bt-compare-table .no { color: var(--vb-text-dim); }

/* ============ SEO "when-to-use" + "how-it-works" layouts ============ */
.bt-use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.bt-use-case {
  background: var(--vb-surface-2);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  padding: 1.25rem;
}
.bt-use-case h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--vb-text);
}
.bt-use-case p {
  color: var(--vb-text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
}

.bt-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.bt-step {
  background: var(--vb-surface-2);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}
.bt-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,112,10,0.2), rgba(255,112,10,0.08));
  border: 1px solid rgba(255,112,10,0.3);
  color: var(--vb-orange);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.bt-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--vb-text);
}
.bt-step p {
  color: var(--vb-text-muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

/* ============ Related tools cards ============ */
.bt-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.bt-related-card {
  background: var(--vb-surface-2);
  border: 1px solid var(--vb-border);
  border-radius: 12px;
  padding: 1.25rem;
  text-decoration: none;
  color: var(--vb-text);
  display: block;
  transition: all 0.2s;
}
.bt-related-card:hover {
  border-color: var(--vb-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,112,10,0.1);
}
.bt-related-card h3 {
  margin: 0 0 0.4rem;
  color: var(--vb-orange);
  font-size: 1.05rem;
}
.bt-related-card p {
  color: var(--vb-text-muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* ============ Photo legend (AI inspection 12 slots) ============ */
.bt-photo-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.bt-photo-legend-card {
  background: var(--vb-surface-2);
  border: 1px solid var(--vb-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}
.bt-photo-legend-card strong {
  color: var(--vb-text);
  font-size: 0.92rem;
  display: block;
  margin-bottom: 0.25rem;
}
.bt-photo-legend-card span {
  color: var(--vb-text-muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

/* ============ Inline report hint links (AI inspection SEO section titles) ============ */
.bt-section h3.bt-sub {
  color: var(--vb-orange);
  margin-top: 1.35rem;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.bt-section h3.bt-sub + p {
  color: var(--vb-text-muted);
  font-size: 0.92rem;
  margin: 0;
  line-height: 1.55;
}

/* ============ Utility ============ */
.bt-spacer { height: 1.5rem; }
.bt-center { text-align: center; }
.bt-mt-0 { margin-top: 0 !important; }
.bt-mb-0 { margin-bottom: 0 !important; }
.bt-hidden { display: none !important; }

/* ============ Print styles (for PDF) ============ */
@media print {
  body.buyer-tools-body {
    background: #fff !important;
    color: #111 !important;
  }
  .vb-header, .bt-download-banner, .bt-hide-in-pdf { display: none !important; }
  .bt-section {
    background: #fff !important;
    border: 1px solid #ddd !important;
    color: #111 !important;
    page-break-inside: avoid;
  }
  .bt-section h2, .bt-section h3 { color: #111 !important; }
  .bt-data dt { color: #666 !important; }
  .bt-data dd { color: #111 !important; }
  .bt-challan-card, .bt-question, .bt-dos, .bt-donts, .bt-price-box, .bt-issue {
    background: #fafafa !important;
    border: 1px solid #eee !important;
    color: #111 !important;
  }
  .bt-container { max-width: 100% !important; }
}

/* =============================================================================
   Vahan Check landing page — buyer-tools/index.html
   ============================================================================= */

/* ---- Trust strip (4 pills under hero — left-to-right row, glassmorphic) ---- */
.bt-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 2rem 0 1rem;
}
@media (max-width: 900px) { .bt-trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bt-trust-strip { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.bt-trust-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-radius: 18px;
  /* Glass recipe — frosted panel with subtle top highlight */
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.06) 100%);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid;
  border-color: rgba(255,255,255,0.22) rgba(255,255,255,0.08) rgba(255,255,255,0.08) rgba(255,255,255,0.22);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.22),
    inset 0 0 20px rgba(255,255,255,0.03),
    0 0 0 0.5px rgba(255,255,255,0.06),
    0 4px 16px rgba(0,0,0,0.2),
    0 12px 32px rgba(0,0,0,0.24);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bt-trust-item::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: inherit;
}
.bt-trust-item:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.28),
    inset 0 0 24px rgba(255,255,255,0.05),
    0 0 0 0.5px rgba(255,255,255,0.1),
    0 6px 20px rgba(0,0,0,0.26),
    0 16px 40px rgba(255,112,10,0.1);
}
.bt-trust-item > * { position: relative; z-index: 1; }
.bt-trust-item-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,112,10,0.2) 0%, rgba(255,112,10,0.05) 100%);
  border: 1px solid rgba(255,112,10,0.3);
  color: var(--vb-orange);
}
.bt-trust-item-icon svg {
  width: 24px;
  height: 24px;
}
.bt-trust-item svg {
  color: var(--vb-orange);
}
.bt-trust-item .hdr {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--vb-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.bt-trust-item .sub {
  font-size: 0.85rem;
  color: var(--vb-text-muted);
  margin-top: 3px;
}

/* ---- Feature bullets inside product cards ---- */
.bt-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  color: var(--vb-text-muted);
}
.bt-card-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}
.bt-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--vb-orange);
  font-weight: 700;
}

/* ---- Value pillars grid (Why Vahan Check) ---- */
.bt-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.bt-value-item {
  padding: 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--vb-border);
  border-radius: 14px;
}
.bt-value-item .bt-value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,112,10,0.18) 0%, rgba(255,112,10,0.06) 100%);
  border: 1px solid rgba(255,112,10,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vb-orange);
  margin-bottom: 0.85rem;
}
.bt-value-item .bt-value-icon svg {
  width: 22px;
  height: 22px;
}
.bt-value-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--vb-text);
}
.bt-value-item p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--vb-text-muted);
  margin: 0;
}

/* ---- How it works grid (3 numbered steps) ---- */
.bt-how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.bt-how-step {
  position: relative;
  padding: 1.5rem 1.25rem 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--vb-border);
  border-radius: 14px;
}
.bt-how-step .bt-how-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,112,10,0.2) 0%, rgba(255,112,10,0.06) 100%);
  border: 1px solid rgba(255,112,10,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vb-orange);
  margin-bottom: 0.9rem;
}
.bt-how-step .bt-how-icon svg {
  width: 26px;
  height: 26px;
}
.bt-how-step .bt-how-step-num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--vb-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.bt-how-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.bt-how-step p {
  font-size: 0.9rem;
  color: var(--vb-text-muted);
  margin: 0;
  line-height: 1.55;
}

/* ---- Data source grid ---- */
.bt-source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.bt-source {
  padding: 1.25rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--vb-border);
  border-radius: 14px;
}
.bt-source-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255,112,10,0.12);
  border: 1px solid rgba(255,112,10,0.3);
  color: var(--vb-orange);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.6rem;
}
.bt-source h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--vb-text);
}
.bt-source p {
  font-size: 0.88rem;
  color: var(--vb-text-muted);
  line-height: 1.55;
  margin: 0;
}
.bt-source strong { color: var(--vb-text); font-weight: 600; }

/* ---- Comparison table wrapper (horizontal scroll on mobile) ---- */
.bt-compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
}
.bt-compare-wrap .bt-compare-table { min-width: 0; width: 100%; }
@media (max-width: 700px) {
  .bt-compare-wrap .bt-compare-table { min-width: 620px; }
}

/* ---- Final CTA block ---- */
.bt-cta-final {
  text-align: center;
  background: linear-gradient(135deg, rgba(255,112,10,0.1) 0%, rgba(45,110,239,0.08) 100%) !important;
  border: 1px solid rgba(255,112,10,0.25) !important;
}
.bt-cta-final h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--vb-text);
}
.bt-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bt-cta-buttons .bt-btn { min-width: 220px; }
@media (max-width: 520px) {
  .bt-cta-final h2 { font-size: 1.4rem; }
  .bt-cta-buttons .bt-btn { width: 100%; }
}

/* =============================================================================
   Force every top-level section on buyer-tools to fill its container.
   Guards against intrinsic-width shrinkage when a child (e.g. a table with
   min-width inside an overflow-x:auto wrapper) would otherwise shrink the
   parent block.
   ============================================================================= */
body.buyer-tools-body > main.bt-container > section.bt-section {
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

/* =============================================================================
   Glassmorphic pass — applies the frosted-glass recipe to every panel on
   buyer-tools pages. Uses layered background gradient + backdrop-filter blur
   + inset & drop shadows + top-edge highlight via ::after.
   Scoped with body.buyer-tools-body so other pages are untouched.
   ============================================================================= */
body.buyer-tools-body .bt-card,
body.buyer-tools-body .bt-section,
body.buyer-tools-body .bt-value-item,
body.buyer-tools-body .bt-how-step,
body.buyer-tools-body .bt-source,
body.buyer-tools-body .bt-use-case,
body.buyer-tools-body .bt-faq-item,
body.buyer-tools-body .bt-related-card,
body.buyer-tools-body .bt-banner,
body.buyer-tools-body .bt-form-card,
body.buyer-tools-body .bt-consent {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.06) 100%) !important;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid !important;
  border-color: rgba(255,255,255,0.22) rgba(255,255,255,0.08) rgba(255,255,255,0.08) rgba(255,255,255,0.22) !important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.22),
    inset 0 0 20px rgba(255,255,255,0.03),
    0 0 0 0.5px rgba(255,255,255,0.06),
    0 4px 16px rgba(0,0,0,0.2),
    0 12px 32px rgba(0,0,0,0.24) !important;
  overflow: hidden;
}
body.buyer-tools-body .bt-card::after,
body.buyer-tools-body .bt-section::after,
body.buyer-tools-body .bt-value-item::after,
body.buyer-tools-body .bt-how-step::after,
body.buyer-tools-body .bt-source::after,
body.buyer-tools-body .bt-use-case::after,
body.buyer-tools-body .bt-faq-item::after,
body.buyer-tools-body .bt-related-card::after,
body.buyer-tools-body .bt-banner::after,
body.buyer-tools-body .bt-form-card::after,
body.buyer-tools-body .bt-consent::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: inherit;
}
body.buyer-tools-body .bt-card > *,
body.buyer-tools-body .bt-section > *,
body.buyer-tools-body .bt-value-item > *,
body.buyer-tools-body .bt-how-step > *,
body.buyer-tools-body .bt-source > *,
body.buyer-tools-body .bt-use-case > *,
body.buyer-tools-body .bt-faq-item > *,
body.buyer-tools-body .bt-related-card > *,
body.buyer-tools-body .bt-banner > *,
body.buyer-tools-body .bt-form-card > *,
body.buyer-tools-body .bt-consent > * { position: relative; z-index: 1; }

/* Coloured banner variants — keep the tint but layer it over the glass */
body.buyer-tools-body .bt-banner.warn {
  background: linear-gradient(135deg, rgba(250,204,21,0.2) 0%, rgba(250,204,21,0.06) 50%, rgba(250,204,21,0.12) 100%) !important;
  border-color: rgba(250,204,21,0.4) rgba(250,204,21,0.18) rgba(250,204,21,0.18) rgba(250,204,21,0.4) !important;
}
body.buyer-tools-body .bt-banner.danger {
  background: linear-gradient(135deg, rgba(248,113,113,0.2) 0%, rgba(248,113,113,0.06) 50%, rgba(248,113,113,0.12) 100%) !important;
  border-color: rgba(248,113,113,0.4) rgba(248,113,113,0.18) rgba(248,113,113,0.18) rgba(248,113,113,0.4) !important;
}
body.buyer-tools-body .bt-banner.success {
  background: linear-gradient(135deg, rgba(34,197,94,0.2) 0%, rgba(34,197,94,0.06) 50%, rgba(34,197,94,0.12) 100%) !important;
  border-color: rgba(34,197,94,0.4) rgba(34,197,94,0.18) rgba(34,197,94,0.18) rgba(34,197,94,0.4) !important;
}
body.buyer-tools-body .bt-banner.info {
  background: linear-gradient(135deg, rgba(45,110,239,0.2) 0%, rgba(45,110,239,0.06) 50%, rgba(45,110,239,0.12) 100%) !important;
  border-color: rgba(45,110,239,0.4) rgba(45,110,239,0.18) rgba(45,110,239,0.18) rgba(45,110,239,0.4) !important;
}

/* Final CTA block keeps its orange-blue gradient but gets glass treatment */
body.buyer-tools-body .bt-cta-final {
  position: relative;
  background: linear-gradient(135deg, rgba(255,112,10,0.18) 0%, rgba(45,110,239,0.14) 100%) !important;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255,112,10,0.3) !important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.2),
    inset 0 0 24px rgba(255,112,10,0.04),
    0 0 0 0.5px rgba(255,255,255,0.06),
    0 8px 24px rgba(0,0,0,0.25),
    0 20px 48px rgba(255,112,10,0.12) !important;
  overflow: hidden;
}
body.buyer-tools-body .bt-cta-final::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  border-radius: inherit;
}
body.buyer-tools-body .bt-cta-final > * { position: relative; z-index: 1; }
