/* ── Product intro page variables ─────────────────────────────── */
.product-intro-page {
  --pi-brand:      #08736f;
  --pi-brand-dark: #075855;
  --pi-brand-soft: #e8f6f3;
  --pi-gold:       #b8832d;
  --pi-gold-soft:  #fff5df;
  --pi-blue:       #1e5aa8;
  --pi-blue-soft:  #edf4ff;
  --pi-ink:        #172033;
  --pi-muted:      #637083;
  --pi-line:       #d9e2ec;
  --pi-shadow:     0 18px 48px rgba(23, 32, 51, .09);
  --pi-radius:     8px;
}

.product-intro-page { background: #f5f8fb; }
.product-intro-page a { color: inherit; text-decoration: none; }
.product-intro-page button { font: inherit; }

/* ── Hero ─────────────────────────────── */
.pi-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 36px 60px;
  color: #ffffff;
  background: #0f2d38;
}

.pi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,26,35,.92) 0%, rgba(5,26,35,.75) 38%, rgba(5,26,35,.22) 100%),
    radial-gradient(circle at 80% 20%, rgba(184,131,45,.34), transparent 32%),
    linear-gradient(135deg, #0e3f49 0%, #0f725e 52%, #1d5d8f 100%);
}

.pi-commerce-scene {
  position: absolute;
  right: clamp(-240px, -8vw, 20px);
  top: 96px;
  width: min(760px, 62vw);
  transform: rotate(-2deg);
  opacity: .98;
}

/* ── Screen mock ─────────────────────────────── */
.pi-screen {
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  color: var(--pi-ink);
  overflow: hidden;
}

.pi-screen-top {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--pi-line);
  background: #f8fafc;
}

.pi-dots { display: flex; gap: 6px; }
.pi-dot  { width: 10px; height: 10px; border-radius: 50%; background: #d0d5dd; }

.pi-screen-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.pi-metric-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pi-metric {
  border: 1px solid var(--pi-line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.pi-metric span   { display: block; color: var(--pi-muted); font-size: 12px; }
.pi-metric strong { display: block; margin-top: 7px; font-size: 22px; line-height: 28px; }

.pi-mock-panel {
  border: 1px solid var(--pi-line);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.pi-mock-panel h3 { margin: 0 0 12px; font-size: 15px; }

.pi-product-row,
.pi-order-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  border-top: 1px solid #eef2f6;
  font-size: 12px;
}

.pi-thumb {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0ea5a0, #f0b44f);
}

.pi-pill {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 8px;
  background: var(--pi-blue-soft);
  color: var(--pi-blue);
  font-size: 11px;
  font-weight: 800;
}

/* ── Hero content ─────────────────────────────── */
.pi-hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  padding-top: 10px;
}

.pi-eyebrow {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255,255,255,.1);
  color: #d9fff7;
  font-size: 13px;
  font-weight: 800;
}

.pi-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.06;
}

.pi-hero p {
  width: min(560px, 100%);
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.8;
}

.pi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pi-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 34px;
  width: min(560px, 100%);
}

.pi-proof-item { border-left: 2px solid #b8832d; padding-left: 12px; }
.pi-proof-item strong { display: block; color: #ffffff; font-size: 20px; line-height: 26px; }
.pi-proof-item span   { display: block; color: rgba(255,255,255,.64); font-size: 12px; line-height: 18px; }

/* ── Sections ─────────────────────────────── */
.pi-section     { padding: 72px 36px; background: #ffffff; }
.pi-section.alt { background: #f5f8fb; }
.pi-inner       { width: min(1180px, 100%); margin: 0 auto; }

.pi-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.pi-section-head h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.18; }
.pi-section-head p  { max-width: 500px; margin: 10px 0 0; color: var(--pi-muted); font-size: 15px; line-height: 1.8; }

/* ── Plans ─────────────────────────────── */
.pi-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pi-plan-card {
  border: 1px solid var(--pi-line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
  box-shadow: var(--pi-shadow);
}

.pi-plan-card.featured {
  border-color: rgba(184,131,45,.5);
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 46%);
}

.pi-plan-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.pi-plan-name h3 { margin: 0; font-size: 26px; line-height: 32px; }
.pi-plan-name p  { margin: 8px 0 0; color: var(--pi-muted); font-size: 14px; line-height: 1.7; }

.pi-badge {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: var(--pi-brand-soft);
  color: var(--pi-brand);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.pi-badge.gold { background: var(--pi-gold-soft); color: #8a5b13; }

.pi-price { display: flex; align-items: baseline; gap: 8px; margin: 24px 0 18px; }
.pi-price strong { font-size: 44px; line-height: 50px; }
.pi-price span   { color: var(--pi-muted); font-size: 14px; }

.pi-features { display: grid; gap: 11px; margin: 22px 0; padding: 0; list-style: none; }
.pi-features li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  color: #344054;
  font-size: 14px;
  line-height: 1.55;
}

.pi-check {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pi-brand-soft);
  color: var(--pi-brand);
  font-size: 13px;
  font-weight: 900;
}

.pi-plan-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }

/* ── Buttons (product page variants) ─────────────────────────────── */
.pi-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 16px;
  background: var(--pi-brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}

.pi-btn.secondary { border-color: var(--pi-line); background: #ffffff; color: var(--pi-ink); }
.pi-btn.gold      { background: var(--pi-gold); color: #ffffff; }

/* ── Compare table ─────────────────────────────── */
.pi-compare-table {
  overflow-x: auto;
  border: 1px solid var(--pi-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--pi-shadow);
}

.pi-compare-table table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.pi-compare-table th,
.pi-compare-table td { border-bottom: 1px solid var(--pi-line); padding: 16px; text-align: left; vertical-align: top; }
.pi-compare-table th { background: #f8fafc; color: #475467; font-size: 13px; font-weight: 900; }
.pi-compare-table td:first-child { font-weight: 900; color: var(--pi-ink); }

/* ── Scenarios ─────────────────────────────── */
.pi-scenarios {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pi-scenario {
  border: 1px solid var(--pi-line);
  border-radius: 8px;
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23,32,51,.06);
}

.pi-scenario-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 14px;
  background: var(--pi-brand-soft);
  color: var(--pi-brand);
  font-weight: 900;
}

.pi-scenario h3 { margin: 0 0 8px; font-size: 18px; line-height: 24px; }
.pi-scenario p  { margin: 0; color: var(--pi-muted); font-size: 14px; line-height: 1.75; }

/* ── CTA ─────────────────────────────── */
.pi-cta {
  padding: 76px 36px;
  color: #ffffff;
  background: linear-gradient(135deg, #0d4f4b 0%, #08736f 52%, #1e5aa8 100%);
}

.pi-cta-box {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.pi-cta h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.18; }
.pi-cta p  { max-width: 660px; margin: 12px 0 0; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.8; }
.pi-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ── Page footer ─────────────────────────────── */
.pi-footer { padding: 28px 36px; background: #0f172a; color: rgba(255,255,255,.72); font-size: 13px; }
.pi-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 980px) {
  .pi-hero { padding: 102px 20px 44px; }
  .pi-commerce-scene { position: relative; right: auto; top: auto; width: 100%; margin-top: 34px; transform: none; }
  .pi-hero-proof, .pi-plans, .pi-scenarios, .pi-cta-box { grid-template-columns: 1fr; }
  .pi-section, .pi-cta { padding: 54px 20px; }
  .pi-section-head { display: block; }
  .pi-cta-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .pi-hero h1 { font-size: 40px; }
  .pi-screen-body, .pi-metric-strip { grid-template-columns: 1fr; }
  .pi-plan-card { padding: 20px; }
  .pi-plan-top { display: block; }
  .pi-badge { margin-top: 12px; }
  .pi-price strong { font-size: 36px; }
  .pi-footer-inner { display: block; }
}







