/* ==========================================================================
   合久网络 · 体验专区
   1. 首屏与名额条
   2. 两个体验包卡片
   3. 名额规则 / 适合度清单
   4. 首页入口横幅
   依赖 style.css 的变量与基础组件，加载顺序放在 style.css、extra.css 之后。
   ========================================================================== */

/* ---------- 1. 首屏 ---------- */
.trial-hero { padding-bottom: 52px; }

.trial-hero .chip { margin-top: 22px; }

.trial-hero .h1 { margin: 18px 0 0; }

.trial-hero__lead {
  margin: 20px 0 0;
  max-width: 740px;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(246, 241, 231, .78);
}

.trial-hero__meta {
  display: flex;
  flex-wrap: wrap;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.trial-hero__meta li {
  padding: 0 28px;
  border-left: 1px solid rgba(246, 241, 231, .16);
}

.trial-hero__meta li:first-child { padding-left: 0; border-left: 0; }

.trial-hero__meta b {
  display: block;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.2px;
  color: #F6F1E7;
}

.trial-hero__meta span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(246, 241, 231, .55);
}

.trial-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* 名额条 */
.slotbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: 46px;
  padding: 18px 24px;
  border: 1px solid rgba(246, 241, 231, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
}

.slotbar__label {
  display: block;
  margin-bottom: 7px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--c-accent);
}

.slotbar__text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(246, 241, 231, .66);
}

.slotbar__text b {
  font-size: 20px;
  font-weight: 800;
  color: #F6F1E7;
}

.slotbar__dots {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  flex: 0 0 auto;
}

.slot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(246, 241, 231, .3);
}

.slot.is-left {
  background: var(--c-accent);
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(236, 227, 148, .12);
}

.slot.is-used {
  background: rgba(246, 241, 231, .14);
  border-color: transparent;
}

/* ---------- 2. 两个体验包 ---------- */
.tcards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: stretch;
}

.tcard {
  display: flex;
  flex-direction: column;
  padding: 32px 30px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #DECBA8;
}

.tcard__label {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--c-bg-blue);
  color: var(--c-primary-deep);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
}

.tcard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-line);
}

.tcard__name {
  margin: 0 0 8px;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--c-text-1);
}

.tcard__fit {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-text-3);
}

.tcard__price {
  flex: 0 0 auto;
  text-align: right;
}

.tcard__price em {
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-primary-deep);
  vertical-align: 8px;
}

.tcard__price b {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.4px;
  color: var(--c-primary-deep);
}

.tcard__price span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--c-text-3);
}

.tcard__block { margin-top: 22px; }

.tcard__block h4 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--c-text-3);
}

.tcard__block--bound h4 { color: #A8A29A; }

.tcard__foot {
  margin-top: auto;
  padding-top: 24px;
}

.tcard__foot p {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--c-text-3);
}

/* ---------- 3. 名额规则 / 适合度 ---------- */
.rule-list {
  counter-reset: rule;
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-list li {
  counter-increment: rule;
  position: relative;
  padding-left: 40px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--c-text-2);
}

.rule-list li::before {
  content: counter(rule);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--c-bg-blue);
  color: var(--c-primary-deep);
  font-size: 12px;
  font-weight: 800;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fit-block {
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
}

.fit-block--no {
  background: rgba(28, 26, 22, .035);
  border-color: #E0D9CA;
}

.fit-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 800;
  color: var(--c-text-1);
}

.fit-block ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-block li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--c-text-2);
}

.fit-block li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  font-size: 15px;
}

.fit-block--yes li::before { content: "✓"; color: var(--c-primary); }
.fit-block--no li::before { content: "×"; color: #A8A29A; }

.trial-note {
  margin-top: 28px;
  padding: 16px 20px;
  border-left: 3px solid var(--c-primary);
  border-radius: 0 10px 10px 0;
  background: var(--c-bg-light);
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-2);
}

/* ---------- 4. 首页入口横幅 ---------- */
.trial-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 56px;
  padding: 32px 36px;
  border-radius: var(--radius-lg);
  color: #F6F1E7;
  background:
    radial-gradient(700px 300px at 88% 0%, rgba(236, 227, 148, .16), transparent 62%),
    linear-gradient(140deg, #241F18, #14120E);
}

.trial-band__label {
  display: block;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--c-accent);
}

.trial-band h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
  color: #F6F1E7;
}

.trial-band p {
  margin: 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(246, 241, 231, .7);
}

.trial-band__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 0 0 auto;
}

.trial-band__price { text-align: right; }

.trial-band__price b {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--c-accent);
}

.trial-band__price span {
  display: block;
  font-size: 11.5px;
  color: rgba(246, 241, 231, .55);
  margin-top: 4px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .tcards { grid-template-columns: 1fr; }
  .trial-band { flex-direction: column; align-items: flex-start; gap: 22px; }
  .trial-band__actions { width: 100%; justify-content: space-between; }
}

@media (max-width: 820px) {
  .fit-grid { grid-template-columns: 1fr; }
  .slotbar { flex-direction: column; align-items: flex-start; gap: 14px; }
}

@media (max-width: 640px) {
  .trial-hero__meta li { padding: 0 18px; }
  .trial-hero__meta b { font-size: 19px; }
  .trial-hero__meta span { font-size: 11.5px; }
  .trial-hero__lead { font-size: 15.5px; }
  .tcard { padding: 26px 22px; }
  .tcard__head { flex-direction: column; gap: 12px; }
  .tcard__price { text-align: left; }
  .tcard__price span { display: inline; margin-left: 8px; }
  .trial-band { padding: 26px 22px; }
  .trial-band h3 { font-size: 20px; }
  .trial-band__actions { flex-direction: column; align-items: stretch; gap: 16px; }
  .trial-band__price { text-align: left; }
}
