/*
 * ChatGPT Recharge Landing Page - V8 Clean Pro
 * Scope: .ai-recharge-page only
 * Purpose: 修复页面偏素、按钮弱、编号无层级、卡片边框背景不明显、文档感过重的问题。
 */

.ai-recharge-page {
  --ai-bg: #f6f9ff;
  --ai-surface: rgba(255, 255, 255, .88);
  --ai-ink: #0f172a;
  --ai-muted: #64748b;
  --ai-line: rgba(15, 23, 42, .08);
  --ai-blue: #2563eb;
  --ai-blue-deep: #1e3a8a;
  --ai-cyan: #06b6d4;
  --ai-violet: #7c3aed;
  --ai-orange: #f97316;
  --ai-green: #10b981;
  --ai-shadow: 0 18px 45px rgba(15, 23, 42, .07);
  --ai-shadow-strong: 0 28px 75px rgba(37, 99, 235, .15);
  position: relative;
  color: var(--ai-ink);
}

.ai-recharge-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 6% 6%, rgba(37, 99, 235, .08), transparent 28%),
    radial-gradient(circle at 94% 22%, rgba(6, 182, 212, .08), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 42%, #ffffff 100%);
}

.ai-recharge-page .container.py-5 {
  padding-top: 2.7rem !important;
  padding-bottom: 3.5rem !important;
}

.ai-recharge-page section {
  scroll-margin-top: 7.5rem;
}

.ai-recharge-page section.mb-5 {
  margin-bottom: 4.25rem !important;
}

.ai-recharge-page a {
  text-decoration: none;
}

/* Breadcrumb */
.ai-recharge-page .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  padding: .62rem .9rem;
  margin-bottom: 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, .10);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .04);
}

.ai-recharge-page .breadcrumb-item,
.ai-recharge-page .breadcrumb-item a {
  font-size: .82rem;
  font-weight: 800;
}

.ai-recharge-page .breadcrumb-item a {
  color: rgba(15, 23, 42, .72);
}

.ai-recharge-page .breadcrumb-item.active {
  color: rgba(37, 99, 235, .78);
}

/* Hero */
.ai-recharge-page .ai-hero-v4 {
  min-height: auto !important;
  overflow: hidden;
  isolation: isolate;
  border-radius: 2.2rem !important;
  padding: 3.25rem 3.55rem !important;
  border: 1px solid rgba(37, 99, 235, .16) !important;
  background:
    radial-gradient(circle at 16% 16%, rgba(37, 99, 235, .14), transparent 34%),
    radial-gradient(circle at 78% 22%, rgba(6, 182, 212, .16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(239, 246, 255, .94) 54%, rgba(236, 254, 255, .88)) !important;
  box-shadow: var(--ai-shadow-strong) !important;
}

.ai-recharge-page .ai-hero-v4::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(37, 99, 235, .052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, .052) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.28));
}

.ai-recharge-page .ai-hero-v4::after {
  content: "";
  position: absolute;
  right: -14rem;
  bottom: -16rem;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  z-index: -2;
  background: radial-gradient(circle, rgba(37, 99, 235, .16), rgba(6, 182, 212, .10) 46%, transparent 72%);
}

.ai-recharge-page .ai-hero-v4 h1 {
  max-width: 760px;
  color: #0b1220 !important;
  font-size: clamp(2.45rem, 4vw, 4.15rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -.06em !important;
  font-weight: 950 !important;
}

.ai-recharge-page .ai-hero-v4 h1::after {
  content: "";
  display: block;
  width: 6.4rem;
  height: .36rem;
  margin-top: 1.05rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ai-blue), var(--ai-cyan));
}

.ai-recharge-page .ai-hero-v4 p.fs-lg {
  max-width: 760px;
  color: rgba(15, 23, 42, .66) !important;
  font-size: 1.04rem !important;
  line-height: 1.82 !important;
}

.ai-recharge-page .ai-pill {
  display: inline-flex !important;
  align-items: center;
  gap: .44rem;
  padding: .52rem .86rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(37, 99, 235, .13) !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #0f172a !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
  font-size: .82rem !important;
  font-weight: 850 !important;
  backdrop-filter: blur(12px);
}

.ai-recharge-page .ai-pill i {
  color: var(--ai-blue);
}

.ai-recharge-page .ai-hero-v4 .row.g-2 > [class*="col-"] > div {
  position: relative;
  min-height: 74px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .13) !important;
  background: rgba(255, 255, 255, .72) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
  backdrop-filter: blur(12px);
}

.ai-recharge-page .ai-hero-v4 .row.g-2 > [class*="col-"] > div::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--ai-blue), var(--ai-cyan));
}

/* Buttons */
.ai-recharge-page .btn {
  border-radius: .92rem !important;
  font-weight: 900 !important;
  letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
}

.ai-recharge-page .btn-dark {
  border: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0b1220 0%, #1d4ed8 62%, #06b6d4 118%) !important;
  box-shadow: 0 14px 30px rgba(37, 99, 235, .25) !important;
}

.ai-recharge-page .btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(37, 99, 235, .32) !important;
}

.ai-recharge-page .btn-outline-secondary {
  border: 1px solid rgba(37, 99, 235, .18) !important;
  color: #0f172a !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04) !important;
}

.ai-recharge-page .btn-outline-secondary:hover {
  color: #1d4ed8 !important;
  border-color: rgba(37, 99, 235, .36) !important;
  background: rgba(239, 246, 255, .96) !important;
  transform: translateY(-2px);
}

/* Right hero monitor */
.ai-recharge-page .ai-service-monitor {
  border-radius: 1.65rem !important;
  border: 1px solid rgba(255, 255, 255, .80) !important;
  background: rgba(255, 255, 255, .88) !important;
  box-shadow: 0 26px 64px rgba(15, 23, 42, .115) !important;
  backdrop-filter: blur(16px);
}

.ai-recharge-page .ai-status-dot {
  width: .58rem;
  height: .58rem;
  border-radius: 999px;
  display: inline-block;
  background: var(--ai-green);
  box-shadow: 0 0 0 .35rem rgba(16, 185, 129, .12);
}

.ai-recharge-page .ai-route-line {
  position: relative;
}

.ai-recharge-page .ai-route-line::before {
  content: "";
  position: absolute;
  left: 1.18rem;
  top: 2.7rem;
  bottom: 1.2rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(37, 99, 235, .32), rgba(6, 182, 212, .16));
}

.ai-recharge-page .ai-route-step {
  position: relative;
  display: grid;
  grid-template-columns: 2.35rem 1fr;
  gap: .95rem;
}

.ai-recharge-page .ai-route-step .num {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: .8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #2563eb);
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(37, 99, 235, .22);
}

/* Service strip */
.ai-recharge-page .ai-service-strip {
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .11) !important;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(239,246,255,.72)) !important;
  box-shadow: 0 16px 42px rgba(15,23,42,.055) !important;
}

.ai-recharge-page .ai-service-strip .item {
  min-width: 0;
  border-right: 1px solid rgba(15,23,42,.075);
}

.ai-recharge-page .ai-service-strip .item:last-child {
  border-right: 0;
}

.ai-recharge-page .ai-mini-label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(239,246,255,.95);
  color: #1d4ed8;
  border: 1px solid rgba(37,99,235,.14);
  font-size: .78rem;
  font-weight: 900;
}

/* Section header */
.ai-recharge-page .section-head {
  display: grid !important;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1.15rem !important;
  align-items: start;
  margin-bottom: 1.7rem !important;
}

.ai-recharge-page .section-num {
  position: relative;
  display: inline-flex !important;
  width: 3.85rem !important;
  height: 3.85rem !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 1.15rem !important;
  color: #fff !important;
  font-size: 1.18rem !important;
  font-weight: 950 !important;
  letter-spacing: -.04em !important;
  background: linear-gradient(135deg, var(--ai-blue), var(--ai-cyan)) !important;
  box-shadow: 0 16px 34px rgba(37, 99, 235, .25) !important;
}

.ai-recharge-page .section-num::before {
  content: "STEP";
  position: absolute;
  top: -.66rem;
  left: 50%;
  transform: translateX(-50%);
  padding: .13rem .4rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, .14);
  background: #fff;
  color: var(--ai-blue);
  font-size: .55rem;
  letter-spacing: .05em;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
}

.ai-recharge-page .section-title-new {
  margin: 0 0 .5rem !important;
  color: #0b1220 !important;
  font-size: clamp(1.6rem, 2.35vw, 2.4rem) !important;
  line-height: 1.14 !important;
  letter-spacing: -.052em !important;
  font-weight: 950 !important;
}

.ai-recharge-page .section-sub {
  max-width: 920px;
  margin: 0 !important;
  color: rgba(15, 23, 42, .62) !important;
  font-size: 1rem !important;
  line-height: 1.78 !important;
}

/* Cards */
.ai-recharge-page .card {
  border-radius: 1.45rem !important;
}

.ai-recharge-page .ai-trust-card,
.ai-recharge-page .ai-step-card,
.ai-recharge-page .ai-plan-card,
.ai-recharge-page .ai-guide-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.065) !important;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,252,.92)) !important;
  box-shadow: 0 16px 42px rgba(15,23,42,.06) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ai-recharge-page .ai-trust-card::before,
.ai-recharge-page .ai-step-card::before,
.ai-recharge-page .ai-plan-card::before,
.ai-recharge-page .ai-guide-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--ai-blue), var(--ai-cyan), var(--ai-violet));
}

.ai-recharge-page .ai-trust-card::after,
.ai-recharge-page .ai-step-card::after,
.ai-recharge-page .ai-plan-card::after {
  content: "";
  position: absolute;
  right: -3rem;
  top: -3rem;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, .055);
  pointer-events: none;
}

.ai-recharge-page .ai-trust-card:hover,
.ai-recharge-page .ai-step-card:hover,
.ai-recharge-page .ai-plan-card:hover,
.ai-recharge-page .ai-guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, .22) !important;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .095) !important;
}

.ai-recharge-page .ai-icon {
  width: 3.35rem !important;
  height: 3.35rem !important;
  border-radius: 1.1rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8 !important;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.72), transparent 36%),
    linear-gradient(135deg, rgba(37,99,235,.14), rgba(6,182,212,.14)) !important;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,.13), 0 10px 22px rgba(37,99,235,.095);
}

.ai-recharge-page .badge {
  border-radius: 999px !important;
  font-weight: 900 !important;
  padding: .42rem .68rem;
}

.ai-recharge-page .text-bg-light {
  color: #1d4ed8 !important;
  background: rgba(239, 246, 255, .95) !important;
  border: 1px solid rgba(37, 99, 235, .14) !important;
}

.ai-recharge-page .text-bg-primary {
  background: linear-gradient(135deg, var(--ai-blue), var(--ai-cyan)) !important;
}

.ai-recharge-page .text-bg-info {
  color: #fff !important;
  background: linear-gradient(135deg, #0891b2, var(--ai-blue)) !important;
}

/* Product cards */
.ai-recharge-page .ai-plan-featured {
  border-color: rgba(37, 99, 235, .24) !important;
  background: radial-gradient(circle at 100% 0%, rgba(37,99,235,.12), transparent 38%),
    linear-gradient(180deg, #ffffff, #f7fbff) !important;
}

.ai-recharge-page .ai-plan-card .display-6 {
  color: #0b1220 !important;
  font-size: 2.65rem !important;
  letter-spacing: -.07em !important;
}

.ai-recharge-page .ai-plan-card .display-6::first-letter {
  color: var(--ai-blue);
}

.ai-recharge-page .ai-plan-card ul li {
  margin-bottom: .45rem;
  line-height: 1.62;
}

/* Table */
.ai-recharge-page #compare > .card {
  overflow: hidden;
  border: 1px solid rgba(37,99,235,.11) !important;
  box-shadow: 0 18px 48px rgba(15,23,42,.06) !important;
}

.ai-recharge-page .table {
  --bs-table-bg: transparent;
  margin: 0;
}

.ai-recharge-page .table thead th {
  padding: 1.05rem 1rem !important;
  border-bottom: 1px solid rgba(37,99,235,.16) !important;
  background: linear-gradient(180deg, rgba(239,246,255,.95), rgba(248,250,252,.88)) !important;
  color: #0b1220 !important;
  font-weight: 950 !important;
}

.ai-recharge-page .table tbody td {
  padding: 1rem !important;
  border-color: rgba(15,23,42,.07) !important;
  color: rgba(15,23,42,.72);
  line-height: 1.6;
}

.ai-recharge-page .table tbody tr:hover td {
  background: rgba(239,246,255,.52) !important;
}

/* Guide section */
.ai-recharge-page .ai-guide-card {
  background: radial-gradient(circle at 0% 0%, rgba(37,99,235,.10), transparent 34%),
    linear-gradient(135deg,#fff,#f8fbff) !important;
}

.ai-recharge-page .ai-compact-list li {
  display: flex;
  gap: .6rem;
  margin-bottom: .68rem;
  color: rgba(15,23,42,.68);
  line-height: 1.65;
}

.ai-recharge-page .ai-compact-list li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: .45rem;
  color: #1d4ed8;
  background: rgba(239,246,255,.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
}

/* Avoid / notice / FAQ */
.ai-recharge-page .ai-section-soft {
  border-radius: 2rem !important;
  border: 1px solid rgba(37,99,235,.13) !important;
  background: radial-gradient(circle at 8% 8%, rgba(37,99,235,.10), transparent 32%),
    linear-gradient(135deg, #f8fbff, #eef4ff) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.76);
}

.ai-recharge-page .ai-section-soft .bg-white {
  border: 1px solid rgba(37,99,235,.10);
  box-shadow: 0 14px 38px rgba(15,23,42,.055) !important;
}

.ai-recharge-page .ai-risk-item {
  padding-left: 1rem !important;
  border-left: 4px solid var(--ai-orange) !important;
  background: linear-gradient(90deg, rgba(249,115,22,.055), transparent);
  border-radius: .35rem;
}

.ai-recharge-page #notice .alert-warning {
  overflow: hidden;
  border: 1px solid rgba(249,115,22,.18) !important;
  color: #9a3412 !important;
  background: radial-gradient(circle at 0% 0%, rgba(249,115,22,.15), transparent 28%),
    linear-gradient(135deg, #fff7ed, #fffbeb) !important;
}

.ai-recharge-page .accordion {
  overflow: hidden;
  border: 1px solid rgba(37,99,235,.10) !important;
  border-radius: 1.45rem !important;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15,23,42,.06) !important;
}

.ai-recharge-page .accordion-item {
  border-color: rgba(15,23,42,.07) !important;
}

.ai-recharge-page .accordion-button {
  padding: 1.15rem 1.3rem !important;
  color: #0b1220 !important;
  background: #fff !important;
  font-weight: 900 !important;
}

.ai-recharge-page .accordion-button:not(.collapsed) {
  color: #1d4ed8 !important;
  background: linear-gradient(180deg, rgba(239,246,255,.86), #fff) !important;
  box-shadow: none !important;
}

.ai-recharge-page .accordion-body {
  padding: 0 1.3rem 1.3rem !important;
  line-height: 1.85;
}

/* Bottom CTA and related */
.ai-recharge-page section .card.ai-section-soft h2 {
  font-weight: 950 !important;
  letter-spacing: -.04em;
}

.ai-recharge-page section.mb-2 .card.bg-body-tertiary {
  border: 1px solid rgba(37,99,235,.10) !important;
  background: linear-gradient(135deg, #fff, rgba(239,246,255,.82)) !important;
  box-shadow: 0 16px 42px rgba(15,23,42,.055) !important;
}

.ai-recharge-page section.mb-2 .btn-outline-secondary {
  border-radius: 999px !important;
}

/* Responsive */
@media (max-width: 991.98px) {
  .ai-recharge-page .container.py-5 {
    padding-top: 2rem !important;
  }

  .ai-recharge-page .ai-hero-v4 {
    padding: 2rem 1.25rem !important;
    border-radius: 1.55rem !important;
  }

  .ai-recharge-page .ai-hero-v4 h1 {
    font-size: 2.35rem !important;
  }

  .ai-recharge-page .ai-service-strip .item {
    border-right: 0;
    border-bottom: 1px solid rgba(15,23,42,.075);
  }

  .ai-recharge-page .ai-service-strip .item:last-child {
    border-bottom: 0;
  }

  .ai-recharge-page .section-head {
    grid-template-columns: 3.3rem minmax(0, 1fr);
    gap: .9rem !important;
  }

  .ai-recharge-page .section-num {
    width: 3.15rem !important;
    height: 3.15rem !important;
  }
}

@media (max-width: 575.98px) {
  .ai-recharge-page .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    border-radius: 1rem;
  }

  .ai-recharge-page .ai-hero-v4 h1 {
    font-size: 2rem !important;
  }

  .ai-recharge-page .section-head {
    grid-template-columns: 1fr;
  }

  .ai-recharge-page .section-title-new {
    font-size: 1.62rem !important;
  }

  .ai-recharge-page .btn {
    width: 100%;
  }

  .ai-recharge-page .d-flex.flex-wrap.gap-2 .btn,
  .ai-recharge-page section.mb-2 .btn {
    width: auto;
  }

  .ai-recharge-page .ai-plan-card .display-6 {
    font-size: 2.25rem !important;
  }
}
