/* ============================================================
   Burst Analytics — Home (front page) sections
   Ported from designs/Home.html.
   ============================================================ */

/* ---------- hero ---------- */
.hero { padding: 84px 0 96px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 {
  font-size: clamp(2.75rem, 5.4vw, var(--text-6xl)); font-weight: 800;
  color: var(--ink); margin: 0 0 22px; max-width: 14ch;
}
.hero h1 .accent { color: var(--blue-600); }
.hero-sub { font-size: var(--text-xl); color: var(--text-muted); line-height: var(--leading-normal); max-width: 46ch; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--text-subtle); font-size: var(--text-sm); }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); flex: none; }

.hero-media { position: relative; }
.hero-media .photo {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
  clip-path: var(--clip-cut); box-shadow: var(--shadow-lg);
}
.hero-badge {
  position: absolute; left: -22px; bottom: 34px; background: var(--white);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 16px 18px; display: flex; align-items: center; gap: 14px;
  max-width: 270px;
}
.hero-badge .chip { width: 42px; height: 42px; border-radius: 10px; background: var(--teal-50); display: grid; place-items: center; color: var(--teal-500); flex: none; }
.hero-badge .chip .i { width: 22px; height: 22px; }
.hero-badge b { font-family: var(--font-display); color: var(--ink); display: block; font-size: var(--text-md); }
.hero-badge span { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.35; }

/* ---------- value cards ---------- */
#platform { background: var(--neutral-50); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vcard {
  background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: 32px 28px 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.vcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent-bar, var(--blue-600)); }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.vcard .ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; }
.vcard .ico .i { width: 26px; height: 26px; }
.vcard h3 { font-size: var(--text-xl); font-weight: 700; color: var(--ink); margin: 0 0 10px; }
.vcard p { font-size: var(--text-md); color: var(--text-muted); margin: 0 0 16px; line-height: var(--leading-relaxed); }
.vcard ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.vcard li { display: flex; gap: 9px; align-items: flex-start; font-size: var(--text-sm); color: var(--text-body); }
.vcard li .i { width: 17px; height: 17px; color: var(--teal-500); flex: none; margin-top: 2px; }
.vcard .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--blue-600); text-decoration: none; }
.vcard .more:hover { color: var(--blue-700); text-decoration: none; gap: 9px; }
.vcard .more .i { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.c-blue { --accent-bar: var(--blue-600); } .c-blue .ico { background: var(--blue-50); color: var(--blue-600); }
.c-teal { --accent-bar: var(--teal-400); } .c-teal .ico { background: var(--teal-50); color: var(--teal-500); }
.c-gold { --accent-bar: var(--gold-400); } .c-gold .ico { background: var(--gold-50); color: var(--gold-600); }

/* ---------- how it works (flow) ---------- */
.how { background: var(--white); }
.flow-overview { display: flex; align-items: flex-start; justify-content: center; gap: 6px; flex-wrap: nowrap; margin: 0 0 46px; padding: 30px 22px; background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.ov-step { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1 1 0; min-width: 0; text-align: center; padding: 0 6px; }
.ov-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--ov-soft); color: var(--ov-ink); }
.ov-ico .i { width: 28px; height: 28px; }
.ov-label { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--ink); line-height: 1.1; }
.ov-sub { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.3; }
.ov-blue { --ov-soft: var(--blue-50); --ov-ink: var(--blue-600); }
.ov-gold { --ov-soft: var(--gold-50); --ov-ink: var(--gold-600); }
.ov-teal { --ov-soft: var(--teal-50); --ov-ink: var(--teal-500); }
.ov-arrow { display: grid; place-items: center; color: var(--neutral-300); flex: none; align-self: center; margin-top: 18px; }
.ov-arrow .i { width: 26px; height: 26px; }
.flow { list-style: none; margin: 0; padding: 0; }
.flow-step { display: grid; grid-template-columns: 58px 1fr; gap: 30px; position: relative; padding-bottom: 38px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before { content: ""; position: absolute; left: 28px; top: 64px; bottom: 6px; width: 2px; background: repeating-linear-gradient(var(--border-default) 0 7px, transparent 7px 14px); }
.flow-step:last-child::before { display: none; }
.flow-node { width: 58px; height: 58px; border-radius: 50%; background: var(--white); border: 2px solid var(--border-default); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); color: var(--blue-600); z-index: 1; box-shadow: var(--shadow-sm); }
.flow-body { min-width: 0; }
.flow-card { display: flex; gap: 22px; align-items: flex-start; background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px 28px; }
.flow-card .fc-ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.flow-card .fc-ico .i { width: 28px; height: 28px; }
.fc-ico.c-blue { background: var(--blue-50); color: var(--blue-600); }
.fc-ico.c-teal { background: var(--teal-50); color: var(--teal-500); }
.fc-ico.c-gold { background: var(--gold-50); color: var(--gold-600); }
.fc-text h3 { font-size: var(--text-xl); font-weight: 700; color: var(--ink); margin: 0 0 8px; line-height: 1.2; }
.fc-tag { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; margin: 0 0 7px; display: block; }
.fc-tag.t-blue { color: var(--blue-600); }
.fc-tag.t-teal { color: var(--teal-600); }
.fc-tag.t-gold { color: var(--gold-600); }
.flow-card.engine .fc-tag { color: var(--gold-400); }
.fc-text p { font-size: var(--text-md); color: var(--text-muted); margin: 0; line-height: var(--leading-relaxed); }
.flow-card.engine { background: var(--grad-brand); border: none; box-shadow: var(--shadow-brand); }
.flow-card.engine .fc-ico { background: rgba(255,255,255,0.12); color: var(--gold-400); }
.flow-card.engine .fc-text h3 { color: #fff; }
.flow-card.engine .fc-text p { color: rgba(255,255,255,0.84); }
.stages { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: stretch; margin-top: 18px; }
.stage { background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px 24px; position: relative; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--st-acc); }
.stage.s-one { --st-acc: var(--teal-400); --st-ink: var(--teal-600); }
.stage.s-mid { --st-acc: var(--blue-500); --st-ink: var(--blue-600); }
.stage.s-two { --st-acc: var(--gold-400); --st-ink: var(--gold-600); }
.stage-ico { width: 60px; height: 60px; color: var(--st-ink); margin-bottom: 16px; }
.stage-ico .si { width: 100%; height: 100%; display: block; }
.stage-tag { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xs); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--st-ink); margin-bottom: 7px; }
.stage h4 { font-size: var(--text-lg); font-weight: 700; color: var(--ink); margin: 0 0 9px; line-height: 1.2; }
.stage p { font-size: var(--text-sm); color: var(--text-muted); margin: 0; line-height: 1.55; }
.stage-arrow { display: grid; place-items: center; color: var(--neutral-400); }
.stage-arrow .i { width: 26px; height: 26px; }

/* ---------- stats / proof ---------- */
.stats { background: var(--neutral-50); border-bottom: 1px solid var(--border-subtle); }
.stat-group + .stat-group { margin-top: 56px; }
.g-cx  { --acc: var(--teal-400); --acc-soft: var(--teal-50); --acc-ink: var(--teal-600); }
.g-epm { --acc: var(--gold-400); --acc-soft: var(--gold-50); --acc-ink: var(--gold-600); }
.group-label { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; }
.group-label .gl-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; background: var(--acc-soft); color: var(--acc-ink); }
.group-label .gl-ico .i { width: 22px; height: 22px; }
.group-label h3 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; color: var(--ink); margin: 0; }
.group-label .gl-rule { flex: 1; height: 1px; background: var(--border-subtle); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 26px 24px 22px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.stat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--acc); }
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); line-height: 1; color: var(--acc-ink); letter-spacing: -0.02em; }
.stat .num.icon .i { width: 34px; height: 34px; }
.stat .lbl { font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); color: var(--ink); margin: 12px 0 8px; line-height: 1.22; }
.stat p { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 16px; line-height: 1.5; }
.stat .src { margin-top: auto; font-size: var(--text-2xs); color: var(--text-subtle); padding-top: 12px; border-top: 1px solid var(--border-subtle); display: flex; gap: 7px; align-items: flex-start; line-height: 1.3; }
.stat .src .i { width: 13px; height: 13px; flex: none; margin-top: 1px; color: var(--acc-ink); }

/* ---------- customers ---------- */
.customers { text-align: center; }
.customers .lede { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-subtle); margin: 0 0 44px; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 72px; }
.logo-row .logo-item { height: 56px; display: flex; align-items: center; }
.logo-row img { height: 100%; width: auto; object-fit: contain; }
.logo-row .rp img { height: 38px; }
.logo-row .rb img { height: 50px; }

/* ---------- contact / CTA ---------- */
.contact { background: var(--neutral-50); border-top: 1px solid var(--border-subtle); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(2rem, 3.4vw, var(--text-4xl)); font-weight: 800; color: var(--ink); margin: 0 0 16px; max-width: 16ch; }
.contact .lead { font-size: var(--text-lg); color: var(--text-muted); margin: 0 0 28px; max-width: 44ch; }
.belief { display: grid; gap: 14px; margin-top: 6px; padding: 0; list-style: none; }
.belief li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--text-md); color: var(--text-body); list-style: none; }
.belief .i { width: 20px; height: 20px; color: var(--gold-500); flex: none; margin-top: 3px; }

.form-card { background: var(--white); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--text-body); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: var(--text-md); color: var(--text-body);
  padding: 12px 14px; border: 1px solid var(--border-default); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: var(--focus-ring); }
.field textarea { resize: vertical; min-height: 104px; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: var(--text-xs); margin: 6px 0 0; }
.field.has-error .field-error { display: block; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form-note { font-size: var(--text-xs); color: var(--text-subtle); margin: 14px 0 0; text-align: center; }
.form-message { border-radius: var(--radius-sm); padding: 12px 14px; margin: 0 0 18px; font-size: var(--text-sm); }
.form-message.is-success { background: var(--success-bg); color: var(--teal-700); border: 1px solid var(--teal-200); }
.form-message.is-error { background: var(--danger-bg); color: #8f261d; border: 1px solid #f1b3ad; }

/* ---------- home: visually-hidden honeypot ---------- */
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 460px; }
  .cards { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .stage-arrow { transform: rotate(90deg); padding: 2px 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  .flow-overview { flex-direction: column; gap: 4px; }
  .ov-step { flex-direction: row; gap: 16px; text-align: left; width: 100%; max-width: 340px; margin: 0 auto; }
  .ov-ico { flex: none; }
  .ov-arrow { transform: rotate(90deg); margin: 0; }
}
@media (max-width: 560px) {
  .hero { padding: 60px 0; }
  .flow-step { grid-template-columns: 46px 1fr; gap: 18px; }
  .flow-node { width: 46px; height: 46px; font-size: var(--text-lg); }
  .flow-step::before { left: 22px; top: 52px; }
  .flow-card { flex-direction: column; gap: 16px; padding: 22px; }
  .stat-grid { grid-template-columns: 1fr; }
  .logo-row { gap: 40px 48px; }
}
