/* price.css - 价格中心 三档卡 + Tab 价格表 */

/* === HERO === */
.pr-hero {
  background: #faf7f2;
  padding: 100px 0 90px;
  text-align: center;
}
.pr-hero-eyebrow {
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #9a3412;
  font-weight: 600;
  margin-bottom: 18px;
}
.pr-hero-title {
  font-size: 44px;
  color: #7c2d12;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -1px;
}
.pr-hero-desc {
  font-size: 16px;
  color: #78716c;
  margin: 0 0 56px;
}

/* === 三档价格卡 === */
.pr-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}
.pr-tier-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px 32px;
  border: 1.5px solid #f1ece6;
  box-shadow: 0 8px 24px rgba(124, 45, 18, 0.06);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.pr-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(124, 45, 18, 0.12);
}
.pr-tier-card-hot {
  border: 2.5px solid #9a3412;
  box-shadow: 0 18px 40px rgba(154, 52, 18, 0.2);
  transform: translateY(-8px);
  background: linear-gradient(180deg, #fff8ee 0%, #ffffff 60%);
}
.pr-tier-card-hot:hover { transform: translateY(-14px); }
.pr-tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c2d12, #9a3412);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 999px;
  letter-spacing: 1px;
  box-shadow: 0 6px 14px rgba(124, 45, 18, 0.3);
  white-space: nowrap;
}
.pr-tier-name {
  font-size: 15px;
  font-weight: 700;
  color: #9a3412;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.pr-tier-price {
  margin-bottom: 24px;
}
.pr-tier-num {
  font-size: 56px;
  font-weight: 800;
  color: #7c2d12;
  line-height: 1;
  letter-spacing: -2px;
}
.pr-tier-unit {
  font-size: 15px;
  color: #78716c;
  margin-left: 6px;
  font-weight: 600;
}
.pr-tier-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}
.pr-tier-features li {
  font-size: 14px;
  color: #57534e;
  line-height: 1.6;
  padding: 9px 0;
  border-bottom: 1px dashed #f1ece6;
}
.pr-tier-features li:last-child { border-bottom: none; }
.pr-tier-btn {
  display: block;
  padding: 13px 24px;
  border-radius: 999px;
  background: #faf7f2;
  color: #7c2d12;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: 1.5px solid #d6a07a;
  transition: background .2s, color .2s;
}
.pr-tier-btn:hover { background: #fde68a; }
.pr-tier-btn-hot {
  background: linear-gradient(135deg, #7c2d12, #9a3412);
  color: #fff;
  border: none;
  box-shadow: 0 10px 22px rgba(124, 45, 18, 0.3);
}
.pr-tier-btn-hot:hover { background: linear-gradient(135deg, #9a3412, #b45309); color: #fff; }

/* === Section === */
.pr-section {
  padding: 90px 0;
  background: #fff;
}
.pr-section-tint { background: #faf7f2; }
.pr-section-head {
  text-align: center;
  margin-bottom: 48px;
}
.pr-section-head h2 {
  font-size: 32px;
  color: #7c2d12;
  font-weight: 800;
  margin: 0 0 10px;
}
.pr-section-head p {
  color: #78716c;
  font-size: 15px;
  margin: 0;
}

/* === Tab === */
.pr-tabs {
  max-width: 880px;
  margin: 0 auto;
}
.pr-tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: #faf7f2;
  padding: 8px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.pr-tab-btn {
  border: none;
  background: transparent;
  color: #78716c;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pr-tab-btn:hover { color: #7c2d12; }
.pr-tab-btn.active {
  background: #7c2d12;
  color: #fff;
  box-shadow: 0 4px 12px rgba(124, 45, 18, 0.25);
}
.pr-tab-panel { display: none; }
.pr-tab-panel.active { display: block; animation: prFade .25s ease; }
@keyframes prFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === 价格表 === */
.pr-price-table {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(124, 45, 18, 0.08);
  border: 1px solid #f1ece6;
}
.pr-price-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  padding: 16px 24px;
  align-items: center;
  border-bottom: 1px solid #f1ece6;
  font-size: 14px;
  color: #57534e;
}
.pr-price-row:last-child { border-bottom: none; }
.pr-price-row-head {
  background: #faf7f2;
  font-weight: 700;
  color: #7c2d12;
  font-size: 13px;
  letter-spacing: 1px;
}
.pr-price-row:nth-child(even):not(.pr-price-row-head) {
  background: #fffbf5;
}
.pr-price {
  font-weight: 800;
  color: #9a3412;
  font-size: 15px;
}

/* === 保障卡 === */
.pr-guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.pr-guarantee-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  border: 1px solid #f1ece6;
  box-shadow: 0 8px 22px rgba(124, 45, 18, 0.06);
}
.pr-guarantee-icon { font-size: 36px; margin-bottom: 14px; }
.pr-guarantee-card h3 {
  font-size: 18px;
  color: #7c2d12;
  font-weight: 800;
  margin: 0 0 10px;
}
.pr-guarantee-card p {
  font-size: 14px;
  color: #78716c;
  line-height: 1.8;
  margin: 0;
}

/* === CTA === */
.pr-cta {
  background: linear-gradient(135deg, #7c2d12 0%, #9a3412 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.pr-cta-inner h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 10px;
}
.pr-cta-inner > p {
  font-size: 15px;
  opacity: 0.9;
  margin: 0 0 28px;
}
.pr-cta-btn {
  display: inline-block;
  background: #fff;
  color: #7c2d12;
  font-weight: 800;
  padding: 16px 44px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  transition: transform .2s;
}
.pr-cta-btn:hover { transform: translateY(-2px); }
.pr-cta-wechat {
  margin-top: 22px;
  font-size: 14px;
  opacity: 0.9;
}
.pr-cta-wechat strong { color: #fde68a; font-size: 16px; }

/* === 响应式 === */
@media (max-width: 960px) {
  .pr-tier-grid { grid-template-columns: 1fr; max-width: 420px; }
  .pr-tier-card-hot { transform: none; }
  .pr-tier-card-hot:hover { transform: translateY(-4px); }
  .pr-guarantee-grid { grid-template-columns: 1fr; }
  .pr-hero-title { font-size: 34px; }
  .pr-price-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .pr-price-row-head { display: none; }
}
@media (max-width: 560px) {
  .pr-hero { padding: 70px 0 60px; }
  .pr-hero-title { font-size: 28px; }
  .pr-section { padding: 60px 0; }
  .pr-tier-num { font-size: 44px; }
  .pr-tab-btn { padding: 8px 14px; font-size: 13px; }
}
