/* =====================================================================
   promo.css — 主推定价落地页 /pay 专属样式
   只引用 style.css 的既有变量；渐变端色用局部变量集中定义。
   ===================================================================== */

:root {
  --pr-g1: var(--accent);
  --pr-g2: #a78bfa;      /* 渐变第二端（淡紫），仅落地页用 */
  --pr-gold: var(--warning);
}

/* ---------------- Hero ---------------- */
.pr-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  text-align: center;
}
.pr-hero::before,
.pr-hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .16;
  pointer-events: none;
}
.pr-hero::before { background: var(--pr-g1); top: -320px; left: -180px; }
.pr-hero::after  { background: var(--pr-g2); top: -300px; right: -180px; }

.pr-hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* 双栏模式：左文右图（有主推产品时） */
.pr-hero-cols {
  max-width: 1120px;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 48px; align-items: center;
  text-align: left;
}
.pr-hero-cols .pr-chips { justify-content: flex-start; }
.pr-hero-cols .pr-anchor, .pr-hero-cols .pr-hero-cta { justify-content: flex-start; }
.pr-hero-cols .pr-countdown { margin-bottom: 26px; }
.pr-hero-cols .pr-hero h1, .pr-hero-cols h1 { font-size: 38px; }
.pr-hero-cols .pr-hero-sub { font-size: 15.5px; white-space: normal; }

/* 限时购买理由清单（hero 左侧，替代长介绍） */
.pr-reasons {
  list-style: none; margin: 0 0 24px; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--glass-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.pr-reasons li {
  position: relative; padding-left: 26px;
  font-size: 13.5px; color: var(--text-dim); line-height: 1.6;
}
.pr-reasons li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pr-g1), var(--pr-g2));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.pr-reasons li b { color: var(--text-strong); font-weight: 700; }
.pr-reasons li s { color: var(--text-faint); }

.pr-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.pr-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-dim);
  background: var(--chip-soft-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 5px 14px;
}
.pr-chip svg { width: 13px; height: 13px; color: var(--success); }

.pr-hero h1 {
  font-size: 44px; line-height: 1.22; font-weight: 800;
  margin: 0 0 14px; letter-spacing: .5px;
  background: linear-gradient(100deg, var(--pr-g1) 10%, var(--pr-g2) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pr-hero-sub { font-size: 17px; color: var(--text-dim); margin: 0 0 18px; line-height: 1.7; }

.pr-anchor { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 26px; }
.pr-anchor .num { font-size: 40px; font-weight: 800; color: var(--pr-gold); font-family: var(--font-heading); }
.pr-anchor .cur { font-size: 20px; font-weight: 700; color: var(--pr-gold); }
.pr-anchor .suf { font-size: 14px; color: var(--text-mute); }

/* ---------------- Hero 右侧产品大图 ---------------- */
.pr-hero-right { position: relative; }
.pr-visual { position: relative; }
.pr-visual-glow {
  position: absolute; inset: -34px -26px auto; height: 70%;
  background: linear-gradient(120deg, var(--pr-g1), var(--pr-g2));
  filter: blur(70px); opacity: .3; border-radius: 50%;
  pointer-events: none;
}
.pr-visual-frame {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--glass-bg-strong); backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-strong); border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(59, 130, 246, .12);
  transform: rotate(1.2deg);
  transition: transform .25s ease;
}
.pr-visual-frame:hover { transform: rotate(0deg) translateY(-4px); }
.pr-visual-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-visual-empty {
  display: flex; align-items: center; justify-content: center;
  height: 100%; font-size: 44px; color: var(--text-faint);
}
.pr-visual-plat {
  position: absolute; left: 16px; top: 16px;
  font-size: 12px; font-weight: 700; padding: 4px 13px;
  color: var(--text-strong); background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.pr-visual-price {
  position: absolute; right: -14px; bottom: 22px;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  background: var(--glass-bg-strong); backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-strong); border-radius: var(--radius-md);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
}
.pr-visual-price .k { font-size: 12px; color: var(--text-mute); }
.pr-visual-price .v { font-size: 19px; font-weight: 800; color: var(--pr-gold); font-family: var(--font-heading); }

/* 倒计时 */
.pr-countdown { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; }
.pr-countdown .cd-label { font-size: 13px; color: var(--text-mute); margin-right: 2px; }
.pr-cd-box {
  min-width: 46px; padding: 7px 8px; text-align: center;
  font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--text-strong); background: var(--glass-bg-strong);
  border: 1px solid var(--border); border-radius: var(--radius-md);
}
.pr-cd-sep { color: var(--text-faint); font-weight: 700; }

.pr-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.pr-btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 34px; font-size: 15.5px; font-weight: 700;
  border-radius: var(--radius); border: 1px solid transparent;
  color: #fff; background: linear-gradient(100deg, var(--pr-g1), var(--pr-g2));
  box-shadow: 0 8px 28px rgba(59, 130, 246, .32);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none;
}
.pr-btn-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(59, 130, 246, .42); color: #fff; }
.pr-btn-ghost {
  display: inline-flex; align-items: center;
  padding: 13px 30px; font-size: 15px;
  border-radius: var(--radius); border: 1px solid var(--border-strong);
  color: var(--text-dim); transition: border-color .15s ease, color .15s ease;
  text-decoration: none;
}
.pr-btn-ghost:hover { border-color: var(--accent); color: var(--text-strong); }

/* ---------------- 定价卡片区 ---------------- */
.pr-plans { max-width: 1080px; margin: 8px auto 0; padding: 0 20px; }
.pr-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px; align-items: stretch;
}
.pr-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--glass-bg-strong); backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border); border-radius: 18px;
  padding: 30px 26px 26px;
  transition: transform .18s ease, border-color .18s ease;
}
.pr-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }

/* 推荐卡：放大 + 渐变描边 + 发光 */
.pr-card.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
    linear-gradient(140deg, var(--pr-g1), var(--pr-g2)) border-box;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, .18), 0 18px 50px rgba(59, 130, 246, .22);
  transform: scale(1.045);
  z-index: 2;
}
.pr-card.featured:hover { transform: scale(1.045) translateY(-4px); }
@media (min-width: 900px) { .pr-card.featured { transform: scale(1.06); } }

.pr-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  padding: 5px 20px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  color: #fff; background: linear-gradient(100deg, var(--pr-g1), var(--pr-g2));
  border-radius: var(--radius); box-shadow: 0 6px 18px rgba(59, 130, 246, .4);
}
.pr-ribbon.plain { color: var(--text-strong); background: var(--chip-bg); box-shadow: none; }

.pr-plan-name { font-size: 19px; font-weight: 700; color: var(--text-strong); text-align: center; }
.pr-plan-desc { font-size: 12.5px; color: var(--text-mute); text-align: center; margin-top: 5px; }

.pr-price { text-align: center; margin: 18px 0 4px; }
.pr-price .now { font-size: 42px; font-weight: 800; color: var(--text-strong); font-family: var(--font-heading); }
.pr-price .cur { font-size: 19px; font-weight: 700; color: var(--text-strong); margin-right: 2px; }
.pr-price .was { display: block; margin-top: 3px; font-size: 14px; color: var(--text-faint); text-decoration: line-through; }

.pr-save { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.pr-save .tag {
  font-size: 12px; font-weight: 700; padding: 3px 12px;
  border-radius: var(--radius); color: var(--pr-gold);
  background: rgba(251, 191, 36, .12); border: 1px solid rgba(251, 191, 36, .3);
}
.pr-save .tag.blue { color: var(--accent-soft); background: rgba(59, 130, 246, .1); border-color: rgba(59, 130, 246, .28); }

/* 卡内倒计时 */
.pr-cd-mini { display: flex; justify-content: center; align-items: center; gap: 5px; margin-bottom: 16px; }
.pr-cd-mini .t {
  min-width: 34px; padding: 3px 5px; text-align: center;
  font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--pr-gold); background: rgba(251, 191, 36, .1);
  border-radius: 6px;
}
.pr-cd-mini .s { font-size: 12px; color: var(--text-mute); }

.pr-features { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.pr-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; color: var(--text-dim); line-height: 1.6;
  padding: 6.5px 0;
}
.pr-features li svg { flex: none; width: 15px; height: 15px; margin-top: 2.5px; color: var(--success); }

.pr-quota {
  font-size: 12px; color: var(--text-mute); text-align: center;
  padding: 9px 0; margin-bottom: 16px;
  border-top: 1px dashed var(--line-soft);
}
.pr-quota strong { color: var(--text-dim); font-weight: 600; }

.pr-buy {
  display: block; text-align: center; width: 100%;
  padding: 12px 0; font-size: 15px; font-weight: 700;
  border-radius: var(--radius-md); border: 1px solid transparent;
  color: #fff; background: linear-gradient(100deg, var(--pr-g1), var(--pr-g2));
  box-shadow: 0 6px 20px rgba(59, 130, 246, .28);
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none; cursor: pointer;
}
.pr-buy:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(59, 130, 246, .4); color: #fff; }
.pr-buy.solid { background: var(--invert-bg); color: var(--invert-text); box-shadow: none; }
.pr-buy[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.pr-buy-hint { text-align: center; font-size: 11.5px; color: var(--text-faint); margin-top: 9px; }

/* ---------------- 支付方式条 ---------------- */
.pr-paybar {
  max-width: 720px; margin: 30px auto 0; padding: 18px 24px;
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  background: var(--glass-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.pr-paybar .lab { font-size: 13.5px; color: var(--text-mute); }
.pr-paybar label { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text-dim); cursor: pointer; }
.pr-paybar input { accent-color: var(--accent); }

/* ---------------- 信任背书行 ---------------- */
.pr-trust { max-width: 1080px; margin: 54px auto 0; padding: 0 20px; }
.pr-trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.pr-trust-item {
  text-align: center; padding: 22px 12px;
  background: var(--glass-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.pr-trust-item svg { width: 26px; height: 26px; color: var(--accent); margin-bottom: 10px; }
.pr-trust-item .t { font-size: 14.5px; font-weight: 700; color: var(--text-strong); margin-bottom: 5px; }
.pr-trust-item .d { font-size: 12px; color: var(--text-mute); line-height: 1.55; }

/* ---------------- 数据背书条 ---------------- */
.pr-stats { max-width: 1080px; margin: 34px auto 0; padding: 0 20px; }
.pr-stats-bar {
  display: flex; justify-content: center; gap: clamp(30px, 8vw, 90px); flex-wrap: wrap;
  padding: 26px 20px;
  background: var(--glass-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.pr-stat { text-align: center; }
.pr-stat .num {
  font-size: 30px; font-weight: 800; font-family: var(--font-heading);
  background: linear-gradient(100deg, var(--pr-g1), var(--pr-g2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pr-stat .lab { font-size: 12.5px; color: var(--text-mute); margin-top: 4px; }

/* ---------------- 通用区头（方案区 / 产品介绍区） ---------------- */
.pr-sec-head { text-align: center; margin-bottom: 32px; }
.pr-sec-head .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent-soft); text-transform: uppercase;
}
.pr-sec-head .kicker::before,
.pr-sec-head .kicker::after {
  content: ""; width: 26px; height: 1px; background: var(--border-strong);
}
.pr-sec-head h2 { font-size: 30px; font-weight: 800; color: var(--text-strong); margin: 10px 0 8px; }
.pr-sec-head .sub { font-size: 14px; color: var(--text-mute); }

/* ---------------- 产品介绍大区块（单栏流式：文字在上，图片随正文） ---------------- */
.pr-intro { max-width: 1080px; margin: 64px auto 0; padding: 0 20px; }
.pr-intro-flow { max-width: 960px; margin: 0 auto; }
.pr-intro-frame {
  overflow: hidden;
  background: var(--glass-bg-strong); border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
}
.pr-intro-frame img { width: 100%; display: block; transition: transform .35s ease; }
.pr-intro-frame:hover img { transform: scale(1.02); }

.pr-intro-lead {
  font-size: 16.5px; color: var(--text-dim); line-height: 1.85;
  white-space: pre-line;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px dashed var(--line-soft);
}
.pr-intro-detail { margin-top: 18px; }
.pr-intro-detail p { font-size: 15.5px; color: var(--text-dim); line-height: 1.95; margin: 0 0 12px; }
.pr-intro-detail img { max-width: 100%; border-radius: var(--radius-md); }
.pr-intro-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.pr-show-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-show-tags .tg {
  font-size: 11.5px; color: var(--text-dim);
  background: var(--chip-soft-bg); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 3px 11px;
}

/* ---------------- 限时活动：产品网格 ---------------- */
.pr-promo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.pr-promo-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--glass-bg-strong); border: 1px solid var(--border);
  border-radius: 18px; text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pr-promo-card:hover {
  transform: translateY(-4px); border-color: var(--border-strong);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .45);
}
.pr-promo-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--field-bg); }
.pr-promo-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pr-promo-card:hover .pr-promo-media img { transform: scale(1.05); }
.pr-promo-media .plat {
  position: absolute; left: 10px; top: 10px;
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  color: var(--text-strong); background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.pr-promo-media .fold {
  position: absolute; right: 10px; top: 10px;
  font-size: 12px; font-weight: 800; padding: 4px 12px;
  color: #fff; background: linear-gradient(100deg, var(--warning), #f97316);
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(251, 191, 36, .4);
}
.pr-promo-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.pr-promo-body .t {
  font-size: 15.5px; font-weight: 700; color: var(--text-strong);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pr-promo-body .d {
  font-size: 12.5px; color: var(--text-mute); line-height: 1.65; margin-top: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pr-promo-price { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; }
.pr-promo-price .cur { font-size: 14px; font-weight: 700; color: var(--pr-gold); }
.pr-promo-price .now { font-size: 28px; font-weight: 800; color: var(--pr-gold); font-family: var(--font-heading); }
.pr-promo-price .was { font-size: 13px; color: var(--text-faint); text-decoration: line-through; }
.pr-promo-price .save {
  font-size: 11px; font-weight: 700; padding: 2px 9px;
  color: var(--pr-gold); background: rgba(251, 191, 36, .12);
  border: 1px solid rgba(251, 191, 36, .3); border-radius: var(--radius);
}
.pr-promo-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-soft);
}
.pr-promo-foot .views { font-size: 11.5px; color: var(--text-faint); }
.pr-promo-foot .go {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; color: var(--accent-soft);
  transition: gap .15s ease;
}
.pr-promo-card:hover .pr-promo-foot .go { gap: 9px; }

/* ---------------- 限时详情页：横向购买面板 ---------------- */
.pr-buy-card {
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 26px 30px;
  background: var(--glass-bg-strong); backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-strong); border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, .12), 0 14px 44px rgba(0, 0, 0, .4);
}
.pr-buy-info h3 { font-size: 19px; font-weight: 800; color: var(--text-strong); margin: 0 0 6px; }
.pr-buy-info p { font-size: 13.5px; color: var(--text-mute); margin: 0; line-height: 1.7; }
.pr-buy-info p b { color: var(--text-dim); }
.pr-buy-action { min-width: 260px; }
.pr-buy-action .pr-buy { padding: 12px 34px; }

/* ---------------- 限时详情页：同类推荐 ---------------- */
.pr-related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.pr-related-card {
  position: relative; display: block; padding: 18px 18px 16px;
  background: var(--glass-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: transform .18s ease, border-color .18s ease;
}
.pr-related-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.pr-related-card .plat {
  position: absolute; right: 12px; top: 12px;
  font-size: 10.5px; font-weight: 700; padding: 2px 9px;
  color: var(--text-mute); background: var(--chip-soft-bg);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.pr-related-card .t {
  font-size: 14px; font-weight: 700; color: var(--text-strong); line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding-right: 52px;
}
.pr-related-card .m { font-size: 12px; color: var(--text-mute); margin-top: 6px; }

/* ---------------- 底部说明 ---------------- */
.pr-note { max-width: 760px; margin: 34px auto 10px; padding: 0 20px; text-align: center; }
.pr-note p { font-size: 13px; color: var(--text-mute); line-height: 1.8; margin: 0; }

@media (max-width: 960px) {
  .pr-hero-cols { grid-template-columns: 1fr; gap: 36px; }
  .pr-hero-cols .pr-chips, .pr-hero-cols .pr-anchor, .pr-hero-cols .pr-hero-cta { justify-content: center; }
  .pr-hero-cols h1 { font-size: 30px; }
  .pr-hero-cols .pr-hero-sub { text-align: center; }
  .pr-countdown { justify-content: center; }
  .pr-visual { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .pr-hero h1 { font-size: 32px; }
  .pr-card.featured { transform: none; }
  .pr-price .now { font-size: 36px; }
  .pr-visual-price { right: 10px; }
}
