/* ═══════════════════════════════════════════════════════════
   BusinessWelder — Homepage Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Pulse animation for beta badge ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* ── Comparison table ── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th { text-align: left; padding: var(--space-3) var(--space-4); background: var(--ink); color: var(--white); border-radius: var(--radius-sm) var(--radius-sm) 0 0; font-size: 13px; }
.compare-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--green); font-weight: 700; }
.compare-table .cross { color: var(--red); font-weight: 700; }
.compare-table .partial { color: var(--orange); font-weight: 700; }
.compare-table tr:hover td { background: var(--paper); }

/* ── Council flow diagram ── */
.council-flow { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: var(--space-5); font-size: 13px; font-weight: 600; }
.council-step { padding: 8px 14px; background: var(--surface2); border-radius: 999px; color: var(--ink); }
.council-arrow { color: var(--orange); font-size: 18px; }

/* ── Decision inbox mockup ── */
.inbox-mockup { max-width: 480px; margin: var(--space-5) auto 0; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); }
.inbox-header { padding: var(--space-3) var(--space-4); background: var(--ink); color: var(--white); font-weight: 700; font-size: 14px; }
.inbox-item { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.inbox-item:last-child { border-bottom: none; }
.inbox-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }

/* ── Industry grid ── */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.industry-chip { padding: 12px 16px; background: var(--surface2); border-radius: var(--radius-sm); text-align: center; font-size: 14px; font-weight: 500; transition: all .2s; }
.industry-chip:hover { background: var(--orange-soft); color: var(--orange-dark); transform: translateY(-2px); }

/* ── Stat callout ── */
.stat-callout { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-4); margin-top: var(--space-5); }
.stat-item { text-align: center; padding: var(--space-4); background: var(--surface2); border-radius: var(--radius-sm); }
.stat-item .num { font-size: 32px; font-weight: 800; color: var(--orange); }
.stat-item .label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ── Trust badges ── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }

/* ── Hero ── */
.hero { padding: var(--space-8) 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-7); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-text h1 { margin-bottom: var(--space-4); }
.accent { color: var(--orange); }
.hero-sub { font-size: 18px; color: var(--muted); line-height: 1.7; max-width: 540px; margin-bottom: var(--space-5); }

.hero-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-6); }

.hero-stats { display: flex; gap: var(--space-6); flex-wrap: wrap; }
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* ── Hero visual card ── */
.hero-card { padding: var(--space-6); }
.hero-card-header { display: flex; justify-content: space-between; align-items: center; }
.build-steps { display: flex; flex-direction: column; gap: 10px; margin: var(--space-4) 0; }
.build-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--muted);
  padding: 6px 0;
}
.build-step .step-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--line);
  flex-shrink: 0;
}
.build-step.done { color: var(--ink); }
.build-step.done .step-dot { background: var(--green); border-color: var(--green); }
.build-step.active { color: var(--ink); font-weight: 600; }
.build-step.active .step-dot { background: var(--orange); border-color: var(--orange); animation: pulse 1.5s ease infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,122,26,.4); } 50% { box-shadow: 0 0 0 6px rgba(255,122,26,0); } }
.hero-card-footer { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-4); border-top: 1px solid var(--line); }

/* ── Section header ── */
.section-header { margin-bottom: var(--space-6); }
.section-header h2 { margin-bottom: var(--space-3); }

/* ── Stage cards ── */
.stage-card { position: relative; padding-top: var(--space-6); }
.stage-num {
  position: absolute; top: var(--space-4); right: var(--space-4);
  font-size: 40px; font-weight: 800; color: var(--line);
  letter-spacing: -.04em;
}
.stage-card h3 { margin-bottom: var(--space-2); }
.stage-card p { font-size: 14px; margin-bottom: 0; }

/* ── Pricing card price ── */
.price { font-size: 36px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: var(--space-2) 0; }

/* ── Live screenshot frames ── */
.shot-stack { display: flex; flex-direction: column; gap: var(--space-8); }
.shot {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-6);
  align-items: center;
  margin: 0;
}
.shot-reverse { grid-template-columns: 1fr 1.4fr; }
.shot-reverse .shot-frame { order: 2; }
.shot-reverse figcaption { order: 1; }
.shot-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
}
/* Subtle browser chrome so the screenshot reads as a real product surface */
.shot-frame::before {
  content: "";
  display: block;
  height: 28px;
  background: var(--ink);
  background-image:
    radial-gradient(circle at 14px 14px, #ff5f57 0 6px, transparent 7px),
    radial-gradient(circle at 34px 14px, #febc2e 0 6px, transparent 7px),
    radial-gradient(circle at 54px 14px, #28c840 0 6px, transparent 7px);
  background-repeat: no-repeat;
}
.shot-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid var(--line);
}
.shot figcaption h3 { margin: var(--space-2) 0 var(--space-2); }
.shot figcaption p { font-size: 15px; line-height: 1.7; }
@media (max-width: 900px) {
  .shot, .shot-reverse { grid-template-columns: 1fr; }
  .shot-reverse .shot-frame, .shot-reverse figcaption { order: unset; }
}
