/* ==========================================================================
   幻异阁网络科技 · 组件层
   按钮 / 卡片 / 标签页 / 手风琴 / 流程 / 价格 / 表单 / 表格 / 徽标
   ========================================================================== */

/* ---------- 1. 按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.btn svg { flex-shrink: 0; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad);
  color: #03121b;
  box-shadow: 0 14px 34px rgba(47, 107, 255, .30);
}
.btn--primary:hover { box-shadow: 0 20px 46px rgba(47, 107, 255, .42); }

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.btn--primary:hover::before {
  opacity: 1;
  animation: shimmer 1.1s var(--ease);
}

.btn--ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: rgba(0, 229, 192, .5);
  background: rgba(0, 229, 192, .08);
  color: #fff;
}

.btn--gold {
  background: var(--grad-gold);
  color: #2a1f08;
  box-shadow: 0 14px 34px rgba(217, 183, 121, .26);
}

.btn--light {
  background: #fff;
  color: #0a0f1a;
}
.btn--light:hover { box-shadow: 0 18px 40px rgba(255, 255, 255, .18); }

.btn--sm { padding: 10px 22px; font-size: .875rem; }
.btn--lg { padding: 17px 38px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--link {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--brand-2);
  box-shadow: none;
}
.btn--link::after {
  content: "→";
  transition: transform .3s var(--ease);
}
.btn--link:hover { transform: none; }
.btn--link:hover::after { transform: translateX(5px); }

/* 文字箭头链接 */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--brand-2);
}
.arrow-link svg { transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- 2. 徽标 / 标签 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .05);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text-2);
}

.badge--brand {
  border-color: rgba(47, 107, 255, .42);
  background: rgba(47, 107, 255, .14);
  color: #9dc0ff;
}

.badge--teal {
  border-color: rgba(0, 229, 192, .38);
  background: rgba(0, 229, 192, .12);
  color: #6ff0da;
}

.badge--gold {
  border-color: rgba(217, 183, 121, .42);
  background: rgba(217, 183, 121, .13);
  color: #e8cf9e;
}

.badge--solid {
  border-color: transparent;
  background: var(--grad);
  color: #04121a;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 5px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}

/* ---------- 3. 卡片 ---------- */
.card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease),
              box-shadow .45s var(--ease), background .45s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px 200px at var(--mx, 50%) var(--my, 0%), rgba(47, 107, 255, .16), transparent 70%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: var(--sh);
}

.card:hover::after { opacity: 1; }

.card--flat { background: rgba(255, 255, 255, .025); }
.card--flat:hover { background: rgba(255, 255, 255, .045); }

.card--glow:hover {
  border-color: rgba(47, 107, 255, .5);
  box-shadow: var(--sh-glow);
}

.card--accent {
  border-color: rgba(47, 107, 255, .34);
  background: linear-gradient(160deg, rgba(47, 107, 255, .13), rgba(0, 229, 192, .05));
}

.card--solid {
  background: var(--surface);
  border-color: var(--line);
}

.card__title { font-size: 1.16rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.card__text { font-size: .93rem; line-height: 1.8; color: var(--muted); }

/* 图标块 */
.icon-box {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 22px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--grad-soft);
  color: var(--brand-2);
  transition: transform .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}

.card:hover .icon-box {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(0, 229, 192, .5);
}

.icon-box--gold {
  background: linear-gradient(115deg, rgba(240, 217, 168, .18), rgba(217, 183, 121, .08));
  color: var(--gold);
}

.icon-box--sm { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px; }

/* 功能条目（图标 + 标题 + 说明） */
.feature-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.feature-row .icon-box { margin-bottom: 0; flex-shrink: 0; }
.feature-row h4 { margin-bottom: 7px; font-size: 1.02rem; font-weight: 700; color: #fff; }
.feature-row p { font-size: .9rem; line-height: 1.78; color: var(--muted); }

/* 序号列表 */
.check-list { display: grid; gap: 13px; }

.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: .93rem;
  line-height: 1.75;
  color: var(--text-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgba(0, 229, 192, .4);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 12px;
  width: 5px; height: 9px;
  border: solid var(--brand-2);
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}

.check-list--cross li::before { border-color: rgba(255, 107, 107, .4); background: rgba(255, 107, 107, .12); }
.check-list--cross li::after {
  left: 6px; top: 12px;
  width: 7px; height: 0;
  border: 0;
  border-top: 2px solid #ff8a8a;
  transform: rotate(0);
}

/* ---------- 4. 数据统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--line);
  overflow: hidden;
}

.stat {
  padding: 38px 28px;
  background: var(--ink-2);
  text-align: center;
  transition: background .45s var(--ease);
}

.stat:hover { background: var(--surface); }

.stat__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-num);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.035em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat__value i { font-style: normal; font-size: .52em; }

.stat__label { margin-top: 8px; font-size: .86rem; color: var(--muted); }

/* ---------- 5. 标签页 ---------- */
.tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  margin-bottom: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .03);
  width: fit-content;
  max-width: 100%;
}

.tabs__bar--center { margin-inline: auto; }

.tab {
  padding: 11px 26px;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color .3s var(--ease), background .3s var(--ease);
}

.tab:hover { color: var(--text); }

.tab[aria-selected="true"] {
  background: var(--grad);
  color: #04121a;
  box-shadow: 0 10px 26px rgba(47, 107, 255, .28);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .55s var(--ease-out) both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 6. 手风琴 / FAQ ---------- */
.accordion {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: rgba(255, 255, 255, .022);
}

.acc-item + .acc-item { border-top: 1px solid var(--line); }

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: background .3s var(--ease), color .3s var(--ease);
}

.acc-head:hover { background: rgba(255, 255, 255, .035); color: #fff; }
.acc-item.is-open .acc-head { color: #fff; }

.acc-icon {
  position: relative;
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 11px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}

.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.acc-item.is-open .acc-icon {
  border-color: transparent;
  background: var(--grad);
  color: #04121a;
  transform: rotate(135deg);
}

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}

.acc-body__inner {
  padding: 0 28px 26px;
  font-size: .93rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 7. 流程步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .022);
  transition: transform .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-num);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step::after {
  content: "";
  position: absolute;
  top: 44px; right: -13px;
  width: 26px; height: 1px;
  background: var(--line-2);
}

.step:last-child::after { display: none; }

.step:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 107, 255, .4);
  background: rgba(47, 107, 255, .06);
}

.step h4 { margin-bottom: 10px; font-size: 1.06rem; font-weight: 700; color: #fff; }
.step p { font-size: .9rem; line-height: 1.78; color: var(--muted); }

/* ---------- 8. 价格 ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 26px;
  align-items: start;
}

.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}

.price:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: var(--sh);
}

.price--featured {
  border-color: rgba(47, 107, 255, .5);
  background: linear-gradient(165deg, rgba(47, 107, 255, .16), rgba(0, 229, 192, .05));
  box-shadow: var(--sh-glow);
}

.price--featured::before {
  content: "最受欢迎";
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: var(--r-pill);
  background: var(--grad);
  color: #04121a;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  white-space: nowrap;
}

.price__name { font-size: 1.2rem; font-weight: 700; color: #fff; }
.price__desc { margin-top: 8px; font-size: .87rem; color: var(--muted); }

.price__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 26px 0 8px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.price__amount strong {
  font-family: var(--font-num);
  font-size: clamp(2.1rem, 3.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: #fff;
}

.price__amount span { font-size: .86rem; color: var(--muted); }

.price__list { display: grid; gap: 12px; margin: 26px 0 32px; }

.price__list li {
  display: flex;
  gap: 10px;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-2);
}

.price__list li svg { flex-shrink: 0; margin-top: 6px; color: var(--brand-2); }

.price .btn { margin-top: auto; }

/* ---------- 9. 表单 ---------- */
.form { display: grid; gap: 20px; }

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field { display: grid; gap: 9px; }

.field label {
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-2);
}

.field label .req { color: #ff8a8a; }

.input,
.textarea,
.select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .035);
  font-size: .94rem;
  color: var(--text);
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}

.input::placeholder,
.textarea::placeholder { color: #63708a; }

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: rgba(0, 229, 192, .6);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 0 0 4px rgba(0, 229, 192, .1);
}

.textarea { min-height: 148px; resize: vertical; }

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
                    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
  cursor: pointer;
}

.select option { background: var(--surface); color: var(--text); }

.field__error {
  min-height: 16px;
  font-size: .78rem;
  color: #ff8a8a;
}

.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select { border-color: rgba(255, 138, 138, .7); }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  width: 17px; height: 17px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.form-note {
  font-size: .8rem;
  color: var(--muted);
}

.form-status {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  display: none;
}

.form-status.is-visible { display: block; animation: fadeUp .4s var(--ease-out) both; }
.form-status--ok  { border: 1px solid rgba(0, 229, 192, .4); background: rgba(0, 229, 192, .1); color: #7ff1dc; }
.form-status--err { border: 1px solid rgba(255, 138, 138, .4); background: rgba(255, 138, 138, .1); color: #ffb3b3; }

/* ---------- 10. 表格 ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow-x: auto;
  background: rgba(255, 255, 255, .02);
}

.table {
  min-width: 620px;
  font-size: .9rem;
}

.table th,
.table td {
  padding: 17px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.table thead th {
  background: rgba(255, 255, 255, .04);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}

.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.table td { color: var(--muted); }
.table td strong { color: #fff; font-weight: 600; }
.table .is-yes { color: var(--brand-2); }
.table .is-no  { color: #5d6880; }

/* ---------- 11. 引言 / 证言 ---------- */
.quote {
  position: relative;
  padding: 36px 34px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .025);
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 12px; left: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(47, 107, 255, .3);
}

.quote p {
  position: relative;
  font-size: .96rem;
  line-height: 1.9;
  color: var(--text-2);
}

.quote__by {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.quote__avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad);
  color: #04121a;
  font-weight: 700;
  font-size: .95rem;
}

.quote__by strong { display: block; font-size: .92rem; color: #fff; }
.quote__by em { font-style: normal; font-size: .78rem; color: var(--muted); }

/* ---------- 12. 媒体块 ---------- */
.ratio {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface), var(--ink-2));
}

.ratio--16x9 { aspect-ratio: 16 / 9; }
.ratio--4x3  { aspect-ratio: 4 / 3; }
.ratio--1x1  { aspect-ratio: 1 / 1; }

.ratio > * { width: 100%; height: 100%; }

.media-fill { object-fit: cover; display: block; }
