/* /{lang}/premium: hero, the features-style advantages blocks (the same
   visual + content grid the features page uses, pm-prefixed so it stands on
   its own), the "how it works" strip and the purchase card. Loaded alongside
   bot-portal.css, which provides the bp-* card shell (flow, card, errors,
   spinner). Uses fancy.css tokens. */

:root {
  --pm-gold: #c9942f;
  --pm-gold-soft: rgba(224, 180, 85, 0.16);
  --pm-gold-glow: drop-shadow(0 6px 18px rgba(201, 148, 47, 0.35));
}

/* ---- Hero ---- */
.pm-hero {
  padding: 140px 0 40px;
  text-align: center;
}
.pm-hero-badge {
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 253, 244, 0.98), rgba(255, 253, 244, 0.35));
  box-shadow: 0 16px 40px rgba(31, 35, 33, 0.1);
}
.pm-hero-badge img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  filter: var(--pm-gold-glow);
}
.pm-hero .eyebrow-d {
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12.5px;
}
.pm-hero h1 {
  font-family: var(--font-display, inherit);
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--w-ink);
}
.pm-hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--w-mut);
  max-width: 620px;
  margin: 0 auto;
}
/* Big number on top, the qualifier on its own line underneath. */
.pm-hero-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 22px 0 0;
}
.pm-hero-price strong {
  font-family: var(--font-display, inherit);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--w-ink);
}
.pm-hero-price span { margin-top: 4px; font-size: 14px; color: var(--w-mut2); }
.pm-hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.pm-hero-cta .btn-f i { margin: 0 0 0 8px; }
.pm-hero-cta .btn-f-secondary i { margin: 0 8px 0 0; }

/* ---- Feature blocks (features-page pattern) ---- */
.pm-features-wrap { padding: 30px 24px 20px; }
.pm-features-wrap .section-header { margin-bottom: 48px; }

.pm-features {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 40px;
}
.pm-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.pm-feature.reverse { direction: rtl; }
.pm-feature.reverse > * { direction: ltr; }

.pm-feature-visual {
  background: linear-gradient(135deg, rgba(51, 117, 77, 0.07), rgba(224, 180, 85, 0.12));
  border: 1px solid rgba(51, 117, 77, 0.14);
  border-radius: 20px;
  padding: 32px;
}
.pm-feature-visual > .pm-demo {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.pm-feature-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pm-gold);
  background: var(--pm-gold-soft);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.pm-feature-content h3 {
  font-family: var(--font-display, inherit);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--w-ink);
}
.pm-feature-content p {
  font-size: 16px;
  color: var(--w-mut);
  line-height: 1.6;
  margin: 0 0 20px;
}
.pm-feature-benefits { list-style: none; margin: 0; padding: 0; }
.pm-feature-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--w-ink2);
  margin-bottom: 8px;
}
.pm-feature-benefits i {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(51, 117, 77, 0.12);
  color: var(--green-600);
  font-size: 11px;
}

/* ---- The demos ---- */
.pm-demo { position: relative; }
.pm-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.pm-avatar-a { background: linear-gradient(135deg, #4f8f63, #2e6b4b); }
.pm-avatar-b { background: linear-gradient(135deg, #e0b455, #c9942f); }
.pm-avatar-c { background: linear-gradient(135deg, #7fae88, #33754d); }
.pm-avatar-bot { background: var(--w-ink); font-size: 13px; }

.pm-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.pm-chip-gold { color: #8a5f12; background: rgba(224, 180, 85, 0.28); }
.pm-chip-role { color: var(--green-700); background: rgba(51, 117, 77, 0.14); }
.pm-chip-bot { color: #fff; background: var(--w-ink); }

/* shine: a few chat lines with badges and roles */
.pm-demo-shine { display: flex; flex-direction: column; gap: 14px; }
.pm-msg { display: flex; gap: 12px; align-items: flex-start; }
.pm-msg-body { min-width: 0; }
.pm-msg-head { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--w-ink); }
.pm-msg-head img { width: 18px; height: 18px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(201, 148, 47, 0.4)); }
.pm-msg-body p { margin: 3px 0 0; font-size: 14px; line-height: 1.45; color: var(--w-ink3); }

/* share: uploads and a long message */
.pm-demo-share { display: flex; flex-direction: column; gap: 12px; }
.pm-file {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 253, 244, 0.85);
  border: 1px solid var(--w-line);
}
.pm-file > i { flex: 0 0 auto; width: 30px; text-align: center; color: var(--green-600); font-size: 16px; }
.pm-file-done { color: var(--green-500) !important; }
.pm-file-body { flex: 1 1 auto; min-width: 0; }
.pm-file-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--w-ink); }
.pm-file-head span { color: var(--w-mut2); font-size: 12.5px; white-space: nowrap; }
.pm-bar { height: 5px; margin-top: 7px; border-radius: 999px; background: rgba(51, 117, 77, 0.14); overflow: hidden; }
.pm-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--green-400), var(--green-600)); }
.pm-compose {
  position: relative;
  padding: 12px 14px 26px;
  border-radius: 12px;
  background: rgba(255, 253, 244, 0.85);
  border: 1px solid var(--w-line);
}
.pm-compose p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--w-ink2); }
.pm-counter { position: absolute; right: 12px; bottom: 8px; font-size: 11px; font-weight: 650; color: var(--w-mut2); font-variant-numeric: tabular-nums; }

/* yours: a pinned chat list with emotes drifting up */
.pm-demo-yours { display: flex; flex-direction: column; gap: 10px; }
.pm-chat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 253, 244, 0.85);
  border: 1px solid var(--w-line);
}
.pm-chat-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pm-chat-body strong { font-size: 14px; color: var(--w-ink); display: flex; align-items: center; gap: 8px; }
.pm-chat-body span { font-size: 12.5px; color: var(--w-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-chat-body span i { color: var(--pm-gold); margin-right: 2px; }
.pm-chat > i { color: var(--pm-gold); font-size: 13px; }
.pm-nick {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: #b0474a;
  background: rgba(214, 90, 94, 0.12);
  border-radius: 999px;
  padding: 1px 7px;
}
.pm-emote { position: absolute; font-size: 26px; pointer-events: none; animation: pm-float 3.2s ease-in-out infinite; }
.pm-emote-1 { right: 18px; top: 6px; animation-delay: 0s; }
.pm-emote-2 { right: 52px; top: 60px; animation-delay: 1s; font-size: 22px; }
.pm-emote-3 { right: 30px; top: 116px; animation-delay: 2s; }
@keyframes pm-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); opacity: 0.85; }
  50% { transform: translateY(-12px) rotate(8deg); opacity: 1; }
}

/* streak: one restored counter */
.pm-streak {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 253, 244, 0.85);
  border: 1px solid var(--w-line);
}
.pm-flame { font-size: 40px; line-height: 1; filter: drop-shadow(0 6px 14px rgba(224, 120, 40, 0.35)); }
.pm-streak-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.pm-streak-count { font-family: var(--font-display, inherit); font-size: 30px; font-weight: 800; color: var(--w-ink); line-height: 1.1; }
.pm-streak-count s { color: var(--w-faint); font-weight: 600; font-size: 20px; margin-right: 4px; }
.pm-streak-label { font-size: 13px; color: var(--w-mut); }

/* ---- How it works ---- */
.pm-how { padding: 10px 0 30px; }
.pm-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pm-how-item {
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(255, 253, 244, 0.7);
  border: 1px solid var(--w-line);
}
.pm-how-item i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--pm-gold-soft);
  color: var(--pm-gold);
  font-size: 15px;
  margin-bottom: 12px;
}
.pm-how-item h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; color: var(--w-ink); }
.pm-how-item p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--w-mut); }

/* ---- Purchase card (bp-* shell from bot-portal.css) ---- */
.pm-flow { padding: 30px 20px 90px; min-height: 0; scroll-margin-top: 90px; }
.pm-flow .bp-card h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--w-ink);
}
.pm-flow .bp-card h2:focus { outline: none; }
.pm-flow .bp-success-icon img { width: 64px; height: 64px; object-fit: contain; filter: var(--pm-gold-glow); }
.pm-flow .btn-f-full + .btn-f-full { margin-top: 10px; }

.pm-status {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: -8px 0 18px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--pm-gold-soft);
  color: #7a5310;
  font-size: 13.5px;
  line-height: 1.5;
}
.pm-status i { margin-top: 3px; color: var(--pm-gold); }

.pm-review {
  border: 1px solid var(--w-line);
  border-radius: 12px;
  padding: 6px 16px;
  margin-bottom: 18px;
}
.pm-review-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--w-line);
}
.pm-review-row:last-child { border-bottom: none; }
.pm-review-row span { color: var(--w-mut); }
.pm-review-row strong { color: var(--w-ink); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.pm-shortfall {
  margin: 0 0 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--pm-gold-soft);
}
.pm-shortfall p { margin: 0 0 12px; font-size: 14px; color: var(--w-ink2); }
.pm-shortfall strong { color: var(--w-ink); }

.pm-assurance {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 16px 0 0;
  color: var(--w-mut);
  font-size: 13px;
  line-height: 1.5;
}
.pm-assurance i { margin-top: 3px; color: var(--green-600); }

.pm-balance-after { margin: -10px 0 20px; font-size: 14px; color: var(--w-mut); }
.pm-balance-after strong { color: var(--w-ink); }
.pm-flow .bp-linkbtn { display: block; margin: 12px auto 0; }

.pm-legal {
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--w-mut);
  margin-top: 18px;
}
.pm-legal a { color: var(--green-600); font-weight: 600; }

.pm-flow [hidden] { display: none !important; }

/* ---- Responsive ---- */
@media (min-width: 769px) and (max-width: 1024px) {
  .pm-feature .pm-feature-visual { width: 100%; max-width: 560px; align-self: center; }
}
@media (max-width: 1024px) {
  .pm-features { gap: 40px; }
  .pm-feature,
  .pm-feature.reverse {
    display: flex;
    flex-direction: column;
    direction: ltr;
    gap: 24px;
  }
  .pm-feature.reverse > * { direction: ltr; }
  .pm-feature .pm-feature-content { order: 1; }
  .pm-feature .pm-feature-visual { order: 2; width: auto; max-width: none; align-self: stretch; }
}
@media (max-width: 860px) {
  .pm-how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pm-hero { padding-top: 120px; }
  .pm-hero h1 { font-size: 36px; }
  .pm-hero-lead { font-size: 16px; }
  .pm-hero-badge { width: 140px; height: 140px; }
  .pm-hero-badge img { width: 104px; height: 104px; }
  .pm-feature-visual { padding: 18px; }
  .pm-feature-content h3 { font-size: 22px; }
  .pm-feature-content p { font-size: 15px; }
}
@media (max-width: 420px) {
  .pm-review-row { flex-direction: column; gap: 4px; }
  .pm-review-row strong { text-align: left; }
}
