/* =========================================================
   赶考状元 AI 学伴 · 全局样式
   ========================================================= */

@import url("https://fonts.googleapis.cn/css2?family=Inter:wght@400;500;600;700&family=Noto+Serif+SC:wght@500;600;700;900&display=swap");

:root {
  --ink: #0b1e3f;
  --ink-soft: #1f3a6b;
  --gold: #f5b342;
  --gold-deep: #d89116;
  --warm: #fff6e8;
  --paper: #fbf8f2;
  --ai-blue: #3d7bff;
  --line: #e8dfcc;
  --text: #2a2f3a;
  --muted: #6b7280;

  --shadow-sm: 0 2px 8px rgba(11, 30, 63, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 30, 63, 0.1);
  --shadow-gold: 0 16px 40px rgba(245, 179, 66, 0.28);

  --radius-card: 16px;
  --radius-pill: 999px;
  --radius-img: 12px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  cursor: pointer;
  background: none;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.2;
}
h2 {
  font-size: clamp(26px, 3vw, 38px);
}
h3 {
  font-size: 22px;
  font-weight: 600;
}

p {
  color: var(--text);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.serif {
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
}
.num {
  font-family: "Inter", "Helvetica Neue", sans-serif;
  font-variant-numeric: tabular-nums;
}

/* ============== Topbar ============== */
.topbar {
  background: var(--ink);
  color: #f3ead6;
  font-size: 13px;
  line-height: 1;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.topbar .hot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar .hot::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 179, 66, 0.18);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245,179,66,.4); }
  70% { box-shadow: 0 0 0 10px rgba(245,179,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,179,66,0); }
}

/* ============== Navbar ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(251, 248, 242, 0.92);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 40px;
  width: auto;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-family: "Noto Serif SC", serif;
  color: var(--ink);
  font-size: 17px;
}
.brand-text span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--warm);
}
.nav-links a.active {
  color: var(--ink);
  background: var(--warm);
  box-shadow: inset 0 0 0 1px var(--line);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-gold);
}
.nav-cta:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: all 0.3s var(--ease);
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after  { position: absolute; top: 6px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open span::after  { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 16px 20px;
}
.mobile-menu a {
  display: block;
  padding: 14px 8px;
  border-bottom: 1px dashed var(--line);
  color: var(--ink);
  font-weight: 500;
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .nav-cta {
  margin-top: 14px;
  justify-content: center;
  width: 100%;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(245, 179, 66, 0.32);
}
.btn-secondary {
  background: var(--ink);
  color: #fff;
}
.btn-secondary:hover {
  background: #091632;
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn-lg {
  padding: 17px 36px;
  font-size: 16px;
}

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 80px 0 90px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(245, 179, 66, 0.18), transparent 60%),
    radial-gradient(700px 420px at 0% 20%, rgba(61, 123, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #fffaf0 0%, var(--paper) 70%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(11, 30, 63, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(11, 30, 63, 0.06);
  border: 1px solid rgba(11, 30, 63, 0.08);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}
.hero h1 {
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(180deg, transparent 60%, rgba(245,179,66,.55) 60%);
  padding: 0 4px;
}
.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-trust svg { color: var(--gold-deep); }

.hero-visual {
  position: relative;
  min-height: 460px;
}
.hero-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
}
.hero-card.main {
  top: 20px;
  left: 0;
  right: 60px;
  bottom: 80px;
  padding: 28px;
  background: linear-gradient(160deg, #0b1e3f 0%, #173368 100%);
  color: #fff;
  overflow: hidden;
}
.hero-card.main::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,179,66,.35), transparent 65%);
}
.hero-card .tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(245,179,66,.18);
  color: var(--gold);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 10px;
}
.hero-card p {
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.ai-orb {
  position: absolute;
  right: 10%;
  bottom: 18%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #ffe7b8 40%, #f5b342 80%);
  box-shadow: 0 0 60px rgba(245, 179, 66, 0.55);
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}
.ai-orb::before,
.ai-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(245,179,66,.4);
}
.ai-orb::before { transform: scale(1.4); animation: ring 3s linear infinite; }
.ai-orb::after  { transform: scale(1.7); animation: ring 3s linear 1.5s infinite; }
.ai-orb span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 28px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes ring {
  0% { opacity: .8; transform: scale(1.2); }
  100% { opacity: 0; transform: scale(2); }
}
.hero-card.float-1 {
  top: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
}
.hero-card.float-1 .ic {
  width: 40px;
  height: 40px;
  background: var(--warm);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
}
.hero-card.float-1 strong { color: var(--ink); display: block; font-size: 14px;}
.hero-card.float-1 span { color: var(--muted); font-size: 12px;}
.hero-card.float-2 {
  bottom: 0;
  left: 30px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.hero-card.float-2 .ic {
  width: 40px;
  height: 40px;
  background: #eaf0ff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ai-blue);
}
.hero-card.float-2 strong { color: var(--ink); display: block; font-size: 14px;}
.hero-card.float-2 span { color: var(--muted); font-size: 12px;}

/* ============== Sections ============== */
section {
  padding: 88px 0;
}
.section-warm { background: var(--warm); }
.section-ink {
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(245,179,66,.14), transparent 60%),
    linear-gradient(180deg, #0b1e3f, #0a1832);
  color: #fff;
}
.section-ink h2,
.section-ink h3 {
  color: #fff;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: rgba(245,179,66,.14);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 12px;
}
.section-ink .section-head p { color: rgba(255,255,255,.7); }

/* ============== Stats ============== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.stat-card .num {
  font-size: 44px;
  font-weight: 700;
  color: var(--gold-deep);
  font-family: "Noto Serif SC", serif;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-card .num small {
  font-size: 18px;
  color: var(--ink);
  font-weight: 600;
  margin-left: 4px;
}
.stat-card h4 {
  font-family: "PingFang SC", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.stat-card p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

/* ============== Feature grid ============== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.feature:hover::before { transform: scaleX(1); }
.feature .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--warm);
  color: var(--gold-deep);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.feature h3 {
  margin-bottom: 10px;
  font-size: 20px;
}
.feature p {
  color: var(--muted);
  font-size: 15px;
}

/* ============== Image placeholder ============== */
.img-placeholder {
  background: #efe7d6;
  border: 1.5px dashed #c9b98f;
  border-radius: var(--radius-img);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #8a7a52;
  text-align: center;
  padding: 24px;
  min-height: 220px;
}
.img-placeholder svg { opacity: .7; }
.img-placeholder strong { color: #6b5d39; font-size: 14px; }
.img-placeholder span { font-size: 12px; }
/* .img-placeholder.tall { min-height: 420px; } */
.img-placeholder.tall { border-radius: 8px;overflow: hidden; }

/* ============== Split ============== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--ink-soft); margin-bottom: 14px; }
.split-text ul { margin-top: 18px; }
.split-text li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.split-text li:last-child { border-bottom: 0; }
.split-text li svg { color: var(--gold-deep); flex-shrink: 0; margin-top: 3px;}
.split-text li strong { color: var(--ink); display: block; margin-bottom: 2px;}
.split-text li span { color: var(--muted); font-size: 14px;}

/* ============== Steps ============== */
.steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  position: relative;
  transition: all .3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.step .n {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: var(--shadow-gold);
}
.step h4 {
  font-family: "PingFang SC", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.step p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ============== Logic / Loop ============== */
.loop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 40px;
  position: relative;
}
.loop-item {
  text-align: center;
  padding: 28px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.loop-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}
.loop-item .ch {
  font-family: "Noto Serif SC", serif;
  font-size: 30px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.loop-item p { color: rgba(255,255,255,.7); font-size: 13px;}

/* ============== Pricing cards ============== */
.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  position: relative;
  transition: all .3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(160deg, #0b1e3f, #173368);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.price-card .badge {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--gold);
  color: var(--ink);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}
.price-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.price-card.featured h3 { color: #fff; }
.price-card .sub {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}
.price-card.featured .sub { color: rgba(255,255,255,.7); }
.price-card .price {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 42px;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 6px;
}
.price-card.featured .price { color: var(--gold); }
.price-card .price small { font-size: 16px; color: var(--muted); font-weight: 500; margin-left: 6px;}
.price-card.featured .price small { color: rgba(255,255,255,.65); }
.price-card ul { margin-top: 24px; }
.price-card li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price-card.featured li { border-bottom-color: rgba(255,255,255,.1); }
.price-card li svg { color: var(--gold-deep); flex-shrink: 0; margin-top: 3px;}
.price-card.featured li svg { color: var(--gold); }
.price-card .btn { margin-top: 26px; width: 100%; justify-content: center; }

/* ============== Compare table ============== */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 40px;
}
.compare th,
.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 14.5px;
}
.compare thead th {
  background: var(--ink);
  color: #fff;
  font-family: "PingFang SC", sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.compare thead th:first-child { width: 20%; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child {
  font-weight: 600;
  color: var(--ink);
  background: var(--warm);
}
.compare ul { padding-left: 18px; list-style: disc; color: var(--text);}
.compare ul li { margin: 4px 0; }

/* ============== Policy / Notice ============== */
.notice {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  margin-bottom: 24px;
}
.notice h3 { margin-bottom: 10px; }
.notice .date {
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}
.notice p { color: var(--ink-soft); }
.notice ul { margin-top: 12px; }
.notice li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.notice li:last-child { border-bottom: 0; }
.notice li strong { color: var(--ink); }
.notice li .pct {
  color: var(--gold-deep);
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

/* ============== Support cards ============== */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.support {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  text-align: center;
  transition: all .3s var(--ease);
}
.support:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.support .ic {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--warm), #fff);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  box-shadow: inset 0 0 0 1px var(--line);
}
.support h3 { font-size: 19px; margin-bottom: 8px;}
.support p { color: var(--muted); font-size: 14.5px;}

/* ============== News ============== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold);}
.news-card .cover {
  aspect-ratio: 16 / 9;
}
.news-card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column;}
.news-card .meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}
.news-card .tag {
  background: var(--warm);
  color: var(--gold-deep);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.news-card h3 {
  font-size: 18px;
  line-height: 1.45;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}
.news-card .more {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-card .more:hover { color: var(--gold-deep); }

/* list page */
.news-list { display: grid; gap: 18px; }
.news-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 24px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: all .3s var(--ease);
  align-items: center;
}
.news-item:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.news-item .thumb { aspect-ratio: 16/9; }
.news-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.news-item p {
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-item .meta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  color: var(--muted); font-size: 13px;
}
.news-item .meta .date { font-family: "Inter", sans-serif; font-size: 20px; color: var(--ink); font-weight: 700;}
.news-item .meta .date small { display: block; font-size: 12px; color: var(--muted); font-weight: 400;}
.news-item .meta .tag {
  background: var(--warm); color: var(--gold-deep); padding: 2px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700;
}

/* article */
.article {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  padding: 48px 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.article-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 32px;
}
.article-header h1 {
  font-size: 32px;
  margin-bottom: 14px;
}
.article-meta {
  display: flex; gap: 16px; color: var(--muted); font-size: 13px; flex-wrap: wrap;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px;}
.article-body { font-size: 16.5px; line-height: 1.9; color: var(--text);}
.article-body p { margin-bottom: 18px;}
.article-body h2 { font-size: 24px; margin: 32px 0 14px;}
.article-body h3 { font-size: 19px; margin: 24px 0 10px; color: var(--ink);}
.article-body ul, .article-body ol { padding-left: 24px; margin: 12px 0 18px;}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 6px;}
.article-body strong { color: var(--ink);}
.article-body blockquote {
  border-left: 4px solid var(--gold);
  background: var(--warm);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  color: var(--ink-soft);
  margin: 20px 0;
}
.article-cta {
  margin-top: 40px;
  padding: 28px;
  background: linear-gradient(135deg, var(--ink), #173368);
  border-radius: var(--radius-card);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-cta h3 { color: #fff; font-size: 20px; margin-bottom: 6px;}
.article-cta p { color: rgba(255,255,255,.75); font-size: 14px;}
.article-cta .tel {
  font-family: "Noto Serif SC", serif;
  font-size: 26px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1px;
}
.breadcrumb {
  padding: 22px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted);}
.breadcrumb a:hover { color: var(--gold-deep);}
.breadcrumb span { margin: 0 8px;}

/* ============== Contact ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-info {
  background: linear-gradient(160deg, #0b1e3f, #173368);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.contact-info::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(245,179,66,.25), transparent 65%);
  border-radius: 50%;
}
.contact-info h2 { color: #fff; margin-bottom: 10px;}
.contact-info > p { color: rgba(255,255,255,.72); margin-bottom: 28px;}
.ci-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1);}
.ci-row:last-of-type { border-bottom: 0;}
.ci-row .ic {
  width: 44px; height: 44px;
  background: rgba(245,179,66,.14);
  color: var(--gold);
  border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
}
.ci-row small { color: rgba(255,255,255,.6); font-size: 12px; display: block; margin-bottom: 2px;}
.ci-row strong, .ci-row a { color: #fff; font-size: 17px; font-weight: 600; word-break: break-all;}
.ci-row a.tel { font-family: "Inter", sans-serif; font-size: 22px; color: var(--gold); letter-spacing: 1px;}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 40px;
}
.contact-form h3 { margin-bottom: 6px; }
.contact-form p.sub { color: var(--muted); margin-bottom: 24px; font-size: 14px;}
.form-row { margin-bottom: 16px;}
.form-row label {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fdfaf3;
  color: var(--text);
  transition: all .25s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(245,179,66,.15);
}
.form-row textarea { min-height: 110px; resize: vertical;}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px;}
.form-note { font-size: 12px; color: var(--muted); margin-top: 8px;}
.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  background: #eef9ef;
  color: #237a37;
  border: 1px solid #c8e8cc;
  border-radius: 10px;
  font-size: 14px;
}
.form-success.show { display: block; }

.map-wrap {
  margin-top: 40px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.map-wrap .img-placeholder { border-radius: 0; min-height: 320px;}

/* ============== CTA banner ============== */
.cta-banner {
  position: relative;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(245,179,66,.22), transparent 60%),
    linear-gradient(135deg, #0b1e3f, #153061);
  border-radius: 24px;
  padding: 56px 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 10px;}
.cta-banner p { color: rgba(255,255,255,.78); font-size: 16px;}
.cta-banner .phones {
  display: flex; flex-direction: column; gap: 10px;
  align-items: flex-start;
  justify-self: end;
}
.cta-banner .phones a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 18px;
  box-shadow: var(--shadow-gold);
  font-family: "Inter", sans-serif;
  letter-spacing: 0.5px;
}
.cta-banner .phones a.secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
  box-shadow: none;
  font-size: 15px;
  padding: 10px 22px;
}
.cta-banner .phones a:hover { transform: translateY(-2px); background: var(--gold-deep);}
.cta-banner .phones a.secondary:hover { background: rgba(255,255,255,.1);}

/* ============== Footer ============== */
.footer {
  background: #08152f;
  color: rgba(255,255,255,.7);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 44px; margin-bottom: 14px;}
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; max-width: 320px;}
.footer h4 {
  color: #fff;
  font-family: "PingFang SC", sans-serif;
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer ul li { margin-bottom: 10px; font-size: 14px;}
.footer a { color: rgba(255,255,255,.7); transition: color .2s;}
.footer a:hover { color: var(--gold);}
.footer .tel { color: var(--gold); font-size: 20px; font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: .5px; display: inline-block; margin: 4px 0;}
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55);}
.footer-bottom a:hover { color: var(--gold);}

/* ============== Floating CTA ============== */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.floating-cta a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  font-size: 14px;
  transition: all .25s var(--ease);
}
.floating-cta a.primary {
  background: var(--gold);
  color: var(--ink);
}
.floating-cta a:hover { transform: translateY(-2px);}
.floating-cta a .label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  transition: max-width .3s var(--ease);
}
.floating-cta a:hover .label { max-width: 160px;}

/* ============== Page header (inner pages) ============== */
.page-header {
  padding: 70px 0 60px;
  background:
    radial-gradient(700px 300px at 80% -10%, rgba(245,179,66,.18), transparent 60%),
    linear-gradient(180deg, #fffaf0, var(--paper));
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin-bottom: 12px;}
.page-header p { color: var(--ink-soft); max-width: 680px; margin: 0 auto; font-size: 16px;}
.page-header .crumbs { margin-top: 14px; font-size: 13px; color: var(--muted);}
.page-header .crumbs a { color: var(--muted);}
.page-header .crumbs a:hover { color: var(--gold-deep);}

/* ============== FAQ ============== */
.faq { max-width: 860px; margin: 0 auto;}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all .25s var(--ease);
}
.faq-item.open { border-color: var(--gold); box-shadow: var(--shadow-sm);}
.faq-q {
  width: 100%;
  padding: 18px 22px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: transparent;
}
.faq-q .ic {
  width: 28px; height: 28px;
  background: var(--warm);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-deep);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-q .ic { transform: rotate(45deg);}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a-inner {
  padding: 0 22px 20px;
  color: var(--ink-soft);
  font-size: 15px;
}
.faq-a-inner strong { color: var(--ink);}

/* ============== Animations on scroll ============== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px;}
  .hero-visual { min-height: 400px; }
  .stats { grid-template-columns: repeat(2, 1fr);}
  .features { grid-template-columns: repeat(2, 1fr);}
  .steps { grid-template-columns: repeat(4, 1fr);}
  .loop { grid-template-columns: repeat(3, 1fr);}
  .loop-item:nth-child(3)::after { display: none;}
  .support-grid { grid-template-columns: repeat(2, 1fr);}
  .news-grid { grid-template-columns: repeat(2, 1fr);}
  .footer-grid { grid-template-columns: 1fr 1fr;}
  .split { grid-template-columns: 1fr; gap: 32px;}
  .split.reverse .split-text { order: 0;}
  .contact-grid { grid-template-columns: 1fr;}
  .cta-banner { grid-template-columns: 1fr; padding: 40px 28px;}
  .cta-banner .phones { justify-self: start;}
  .pricing { grid-template-columns: 1fr;}
}

@media (max-width: 720px) {
  section { padding: 60px 0;}
  .container { padding: 0 18px;}
  .topbar .container { justify-content: center; text-align: center;}
  .nav-links, .nav-cta { display: none;}
  .menu-toggle { display: inline-flex;}
  .mobile-menu.open { display: block;}
  .brand-text span { display: none;}
  .stats { grid-template-columns: 1fr 1fr; gap: 12px;}
  .stat-card { padding: 22px 14px;}
  .stat-card .num { font-size: 32px;}
  .features { grid-template-columns: 1fr;}
  .steps { grid-template-columns: repeat(2, 1fr);}
  .loop { grid-template-columns: 1fr 1fr;}
  .loop-item::after { display: none !important;}
  .support-grid { grid-template-columns: 1fr;}
  .news-grid { grid-template-columns: 1fr;}
  .news-item { grid-template-columns: 1fr;}
  .news-item .meta { flex-direction: row; align-items: center; justify-content: flex-start;}
  .article { padding: 28px 20px;}
  .article-header h1 { font-size: 24px;}
  .footer-grid { grid-template-columns: 1fr; gap: 28px;}
  .compare { display: block; overflow-x: auto; white-space: nowrap;}
  .form-grid { grid-template-columns: 1fr;}
  .hero-card.main { right: 30px;}
  .contact-info, .contact-form { padding: 28px 22px;}
  .floating-cta a .label { display: none;}
  .floating-cta a { padding: 12px;}
}
