:root {
  --bg: #ffffff;
  --muted: #f8fafc;
  --dark: #0f172a;
  --dark-2: #111827;
  --ink: #0f172a;
  --ink-muted: #475569;
  --border: #e2e8f0;
  --red: #c81e1e;
  --red-hover: #a61414;
  --red-soft: #fef2f2;
  --green: #15803d;
  --green-soft: #dcfce7;
  --gold: #f59e0b;
  --radius: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 820px;
}

/* Top Confirmation Bar */
.upsell-topbar {
  background: #064e3b;
  color: #ecfdf5;
  padding: 10px 0;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.confirm-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #064e3b;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.step-track {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  opacity: 0.95;
}

.step {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.step.done {
  background: rgba(16, 185, 129, 0.28);
  font-weight: 600;
}

.step.active {
  background: #ffffff;
  color: #064e3b;
  font-weight: 700;
}

/* Hero */
.hero {
  background: linear-gradient(155deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 56px 0 64px;
  border-bottom: 4px solid var(--red);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(200, 30, 30, 0.22);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.3vw, 2.65rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: #f87171;
}

.hero-lead {
  margin: 0 0 22px;
  font-size: 1.05rem;
  color: #cbd5e1;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: #e2e8f0;
}

.bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--red);
  color: #ffffff;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(200, 30, 30, 0.38);
  transition: background 0.15s ease, transform 0.12s ease;
  text-align: center;
}

.btn-cta:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

.btn-cta-large {
  width: 100%;
  font-size: 1.1rem;
  padding: 18px 24px;
}

.cta-sub {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Mockup Card */
.mockup-window {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mockup-bar {
  background: #111827;
  color: #f8fafc;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 2px solid var(--red);
}

.dots {
  display: flex;
  gap: 5px;
}

.dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #475569;
}

.mockup-title {
  font-size: 0.78rem;
  font-weight: 700;
}

.mockup-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--red);
  padding: 2px 7px;
  border-radius: 6px;
}

.mockup-body {
  padding: 16px;
}

.mockup-score-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.m-eyebrow {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
}

.m-score {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.m-score strong {
  font-size: 1.8rem;
  line-height: 1.1;
}

.m-score span {
  font-size: 0.85rem;
  color: #64748b;
}

.m-pill {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
}

.m-belt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--muted);
  border: 1px solid var(--border);
}

.m-belt-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: #16a34a;
}

.mockup-canvas-wrap {
  display: flex;
  justify-content: center;
  margin: 10px 0;
  background: var(--muted);
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 4px;
}

.mockup-bars {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}

.m-bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 8px;
  font-size: 0.75rem;
}

.m-track {
  grid-column: span 2;
  height: 5px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.m-track div {
  height: 100%;
  background: var(--red);
  border-radius: 999px;
}

.mockup-footer-btn {
  text-align: center;
  background: var(--red);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 9px;
  border-radius: 8px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-light {
  background: #ffffff;
}

.section-muted {
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--dark);
  color: #f8fafc;
}

.section-offer {
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
}

.section-head {
  margin-bottom: 36px;
}

.section-head.center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  line-height: 1.22;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

.light-text p {
  color: #cbd5e1;
}

.eyebrow-red {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
}

.eyebrow-gold {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fbbf24;
}

/* Pain Grid */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.pain-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid #fecaca;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.pain-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.pain-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.step-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  background: var(--dark);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.step-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

/* Pillars Showcase */
.pillars-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.p-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: #ffffff;
}

.p-card-accent {
  background: var(--red-soft);
  border-color: #fecaca;
}

.p-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--muted);
  color: var(--ink-muted);
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.p-badge-red {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
}

.p-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.p-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* Comparison */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compare-col {
  border-radius: var(--radius);
  padding: 26px;
}

.compare-bad {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.compare-good {
  background: #ffffff;
  color: var(--ink);
  border: 3px solid var(--red);
}

.compare-col h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.94rem;
}

.compare-bad li {
  color: #cbd5e1;
}

.compare-good li {
  color: var(--ink);
  font-weight: 500;
}

/* Final Offer Card */
.offer-card {
  background: #ffffff;
  border: 2px solid var(--red);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.offer-header {
  text-align: center;
  margin-bottom: 24px;
}

.offer-pill {
  display: inline-block;
  background: var(--red-soft);
  color: var(--red);
  border: 1px solid #fecaca;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.offer-header h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  line-height: 1.22;
}

.offer-header p {
  margin: 0;
  color: var(--ink-muted);
}

.value-stack {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.value-stack li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.value-stack li:last-child {
  border-bottom: none;
}

.value-stack li:nth-child(even) {
  background: var(--muted);
}

.stack-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-reveal {
  text-align: center;
}

.price-context {
  margin: 0 0 20px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.price-box {
  background: var(--dark);
  color: #ffffff;
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 20px;
}

.price-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cbd5e1;
  font-weight: 700;
}

.price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 6px 0;
}

.currency {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f87171;
}

.amount {
  font-size: 3.35rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-note {
  font-size: 0.86rem;
  color: #94a3b8;
}

#hotmart-sales-funnel {
  margin: 18px auto 0;
  max-width: 520px;
}

.guarantee-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.decline-wrap {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.decline-link {
  color: #64748b;
  font-size: 0.82rem;
  text-decoration: underline;
}

.decline-link:hover {
  color: var(--ink);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 0.96rem;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--ink-muted);
  font-size: 0.91rem;
}

/* Footer */
.upsell-footer {
  background: var(--dark-2);
  color: #94a3b8;
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
}

.upsell-footer p {
  margin: 0;
}

/* Toast */
.upsell-toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  max-width: 380px;
  background: #0f172a;
  color: #ffffff;
  padding: 13px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 50;
}

.upsell-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid,
  .steps-grid,
  .pillars-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .pain-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    padding: 24px 18px;
  }

  .value-stack li {
    flex-direction: column;
    align-items: flex-start;
  }
}
