:root {
  color-scheme: dark;
  --page: #0d1028;
  --surface: #171a3d;
  --surface-soft: #20244c;
  --text: #f8fbff;
  --muted: #cbd5eb;
  --green: #19b85f;
  --green-dark: #087a3a;
  --orange: #f47618;
  --yellow: #ffcf33;
  --border: rgba(255, 207, 51, 0.30);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 181, 38, 0.18), transparent 26rem),
    radial-gradient(circle at 100% 100%, rgba(53, 168, 220, 0.14), transparent 28rem),
    var(--page);
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

button {
  font: inherit;
}

.page-shell {
  width: min(100%, 940px);
  margin: 0 auto;
  padding: 18px;
}

.hero {
  overflow: hidden;
  padding: 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(28, 32, 73, 0.97), rgba(13, 15, 39, 0.96));
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(5, 7, 20, 0.34);
}

.hero-core {
  width: min(100%, 610px);
  margin: 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.brand-avatar {
  width: 78px;
  height: 78px;
  display: block;
  object-fit: cover;
  border: 4px solid var(--yellow);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(244, 118, 24, 0.24);
}

.brand-name {
  margin: 0;
  color: var(--orange);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.primary-cta,
.fixed-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
}

.primary-cta {
  width: min(100%, 460px);
  min-height: 58px;
  margin-top: 18px;
  padding: 15px 18px;
  box-shadow: 0 14px 32px rgba(8, 122, 58, 0.32);
}

.primary-cta:focus-visible,
.fixed-cta:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.primary-cta:disabled,
.fixed-cta:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.primary-cta svg,
.fixed-cta svg {
  flex: 0 0 auto;
}

.whatsapp-icon {
  flex: 0 0 auto;
}

.fixed-cta-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 0 20px 20px;
  pointer-events: none;
}

.fixed-cta {
  width: min(100%, 500px);
  min-height: 56px;
  padding: 13px 18px;
  pointer-events: auto;
  box-shadow: 0 10px 26px rgba(8, 122, 58, 0.30);
}

.cta-note,
.status-message {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.status-message.error {
  color: #ffb4a9;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}

.trust-row span {
  padding: 7px 10px;
  color: #7b3908;
  font-size: 12px;
  font-weight: 800;
  background: #fff4cf;
  border: 1px solid #ffda72;
  border-radius: 999px;
}

.product-preview {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
}

.product-preview h2 {
  margin: 0;
  text-align: center;
  font-size: 20px;
}

.product-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.product-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
}

.product-image {
  width: 92px;
  height: 92px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}

.product-name {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin-top: 8px;
}

.product-old-price {
  color: #aeb8cf;
  font-size: 12px;
  text-decoration: line-through;
}

.product-current-price {
  color: #fff0b8;
  font-size: 20px;
  font-weight: 800;
}

.discount-badge {
  padding: 4px 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  background: var(--orange);
  border-radius: 999px;
}

.product-savings {
  margin: 4px 0 0;
  color: #8de5ad;
  font-size: 12px;
}

.price-note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
}

.price-note strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.message-preview {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.message-preview h2 {
  margin: 0;
  font-size: 20px;
}

.coupon-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 14px;
  text-align: left;
  margin-top: 12px;
}

.coupon-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 8px;
  background: #10131a;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
}

.coupon-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: left top;
  border-radius: 9px;
}

.shirt-image {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.coupon-caption {
  width: 100%;
  margin-top: 8px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
}

.coupon-caption strong {
  display: block;
  color: #fff0b8;
  font-size: 13px;
}

@media (max-width: 520px) {
  body {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }

  .page-shell {
    padding: 10px;
  }

  .hero {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .brand-lockup {
    margin-bottom: 10px;
  }

  .brand-avatar {
    width: 68px;
    height: 68px;
  }

  .brand-name {
    font-size: 13px;
  }

  h1 {
    font-size: 29px;
    line-height: 1.03;
  }

  .hero-copy {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.4;
  }

  .primary-cta {
    min-height: 56px;
    margin-top: 14px;
    padding: 13px 14px;
  }

  .trust-row {
    margin-top: 10px;
  }

  .product-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .product-image {
    width: 76px;
    height: 76px;
  }

  .product-name {
    font-size: 13px;
  }

  .product-current-price {
    font-size: 18px;
  }

  .message-preview {
    margin-top: 18px;
    padding-top: 16px;
  }

  .coupon-proof {
    grid-template-columns: 1fr;
  }

  .coupon-image {
    max-height: 360px;
  }

  .fixed-cta-bar {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(13, 16, 40, 0.92);
    border-top: 1px solid rgba(255, 207, 51, 0.18);
  }
}
