/* ============================================================
 * 赶考状元 AI 课堂官网 - 公共样式
 * ============================================================ */

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

/* ---------- Design Tokens ---------- */
:root {
  --ink-900: #0b1b3d;
  --ink-800: #142a5e;
  --ink-700: #1e3a8a;
  --ink-600: #2c4aa0;
  --accent-red: #c8372d;
  --accent-red-dark: #a82c24;
  --accent-gold: #d4a24c;
  --accent-gold-light: #e6bd6e;
  --paper: #f7f5ee;
  --paper-2: #ffffff;
  --line: #e5e1d6;
  --line-dark: #c9c3b3;
  --text-1: #1a2238;
  --text-2: #54607a;
  --text-3: #8a93a6;

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-input: 8px;

  --shadow-sm: 0 1px 2px rgba(11, 27, 61, 0.06);
  --shadow-md: 0 4px 14px rgba(11, 27, 61, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 27, 61, 0.12);
  --shadow-cta: 0 6px 18px rgba(200, 55, 45, 0.28);

  --container: 1200px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Inter",
    sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-1);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--ink-700);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-red);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink-900);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

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

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.section {
  padding: 72px 0;
}

.section--tight {
  padding: 48px 0;
}

.section--paper {
  background: var(--paper);
}

.section--white {
  background: var(--paper-2);
}

.section--ink {
  background: var(--ink-900);
  color: #e7ecf6;
}

.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 {
  color: #ffffff;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-red);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 40px);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto;
}

.section--ink .section-subtitle {
  color: #b6c0d6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-btn);
  transition: all 0.25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 4px 12px rgba(200, 55, 45, 0.22);
}

.btn--primary:hover {
  background: var(--accent-red-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(200, 55, 45, 0.32);
}

.btn--ink {
  background: var(--ink-900);
  color: #fff;
}

.btn--ink:hover {
  background: var(--ink-700);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: linear-gradient(135deg, #e6bd6e 0%, #d4a24c 100%);
  color: #3a2a0c;
}

.btn--gold:hover {
  filter: brightness(1.05);
  color: #3a2a0c;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212, 162, 76, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--line-dark);
}

.btn--outline:hover {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 238, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: block;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  color: var(--ink-900);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand-text span {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
  border-radius: 6px;
  position: relative;
}

.nav a:hover {
  color: var(--ink-900);
  background: rgba(11, 27, 61, 0.05);
}

.nav a.is-active {
  color: var(--ink-900);
  font-weight: 700;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  background: var(--accent-red);
  border-radius: 2px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.1;
}

.header-phone .label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.08em;
}

.header-phone .num {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-red);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: all 0.25s var(--ease);
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.site-header.is-menu-open .nav-toggle span {
  background: transparent;
}
.site-header.is-menu-open .nav-toggle span::before {
  transform: rotate(45deg);
}
.site-header.is-menu-open .nav-toggle span::after {
  transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .header-phone {
    display: none;
  }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px;
    transform: translateY(-120%);
    transition: transform 0.3s var(--ease);
  }
  .site-header.is-menu-open .nav {
    transform: translateY(0);
  }
  .nav a {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 8px;
  }
  .nav a.is-active::after {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-cta .btn {
    padding: 10px 16px;
    font-size: 14px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(212, 162, 76, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(30, 58, 138, 0.10), transparent 60%),
    linear-gradient(180deg, #f7f5ee 0%, #efeadd 100%);
  padding: 80px 0 96px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 27, 61, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 27, 61, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(200, 55, 45, 0.08);
  border: 1px solid rgba(200, 55, 45, 0.2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--accent-red);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 0 4px rgba(200, 55, 45, 0.15);
}

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--accent-red);
}

.hero h1 .gold {
  color: var(--accent-gold);
}

.hero-lead {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-phone-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.hero-phone-card .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(200, 55, 45, 0.1);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-phone-card .meta {
  line-height: 1.2;
}

.hero-phone-card .meta .l {
  font-size: 12px;
  color: var(--text-3);
}

.hero-phone-card .meta .n {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: 0.02em;
}

.hero-phone-card .meta .n a {
  color: inherit;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  font-size: 13px;
  color: var(--text-2);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-badge strong {
  color: var(--ink-900);
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-visual-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  transform: rotate(1deg);
}

.hero-visual-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-gold), transparent 40%, var(--ink-700));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
}

.hero-float .ic {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--ink-700);
}

.hero-float--1 {
  top: -22px;
  left: -28px;
}

.hero-float--2 {
  bottom: -22px;
  right: -16px;
}

.hero-float--2 .ic {
  background: var(--accent-red);
}

@media (max-width: 960px) {
  .hero {
    padding: 48px 0 64px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }
  .hero-float--1 {
    left: -8px;
  }
  .hero-float--2 {
    right: -8px;
  }
}

/* ---------- Image Placeholder ---------- */
.img-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 2px dashed var(--line-dark);
  border-radius: 12px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(11, 27, 61, 0.025),
      rgba(11, 27, 61, 0.025) 10px,
      rgba(11, 27, 61, 0.05) 10px,
      rgba(11, 27, 61, 0.05) 20px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-3);
  font-size: 13px;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: "";
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(11, 27, 61, 0.06);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238A93A6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2' ry='2'/><circle cx='8.5' cy='8.5' r='1.5'/><polyline points='21 15 16 10 5 21'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.img-placeholder strong {
  color: var(--text-2);
  font-weight: 600;
  font-size: 14px;
}

.img-placeholder figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px dashed var(--line-dark);
  font-size: 12px;
  color: var(--text-2);
  text-align: center;
}

.img-placeholder--hero {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.img-placeholder--round {
  border-radius: 50%;
  aspect-ratio: 1;
}

/* ---------- Stats Grid ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-red));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-dark);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-num {
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.stat-num .unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-red);
  margin-left: 2px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-2);
}

.stat-cert {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-3);
  padding: 2px 8px;
  background: var(--paper);
  border-radius: 4px;
}

/* ---------- Feature Cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-dark);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(200, 55, 45, 0.08));
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.feature-card h3 {
  font-size: 19px;
  margin: 0;
}

.feature-card p {
  color: var(--text-2);
  font-size: 14.5px;
  margin: 0;
}

/* ---------- Closed Loop (测学练测启) ---------- */
.loop-wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

@media (max-width: 960px) {
  .loop-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

.loop-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 18px;
  text-align: center;
  position: relative;
  transition: all 0.3s var(--ease);
}

.loop-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.loop-step .idx {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--accent-gold);
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.loop-step:nth-child(5) .idx {
  background: var(--accent-red);
  color: #fff;
}

.loop-step h4 {
  font-size: 17px;
  margin: 0 0 8px;
}

.loop-step p {
  font-size: 13.5px;
  color: var(--text-2);
  margin: 0;
}

/* ---------- Tables ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}

.data-table th {
  background: var(--paper);
  font-weight: 700;
  color: var(--ink-900);
  width: 180px;
}

.data-table tr:last-child td,
.data-table tr:last-child th {
  border-bottom: none;
}

.data-table td strong {
  color: var(--ink-900);
}

/* ---------- Process Steps ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: process;
}

@media (max-width: 960px) {
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.process-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  position: relative;
}

.process-item::before {
  counter-increment: process;
  content: "STEP " counter(process, decimal-leading-zero);
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  margin-bottom: 10px;
}

.process-item h4 {
  font-size: 16px;
  margin: 0 0 8px;
}

.process-item p {
  font-size: 13.5px;
  color: var(--text-2);
  margin: 0;
}

/* ---------- Scenario Chips ---------- */
.scenario-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-900);
  transition: all 0.25s var(--ease);
}

.chip:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background:
    radial-gradient(800px 300px at 90% 50%, rgba(212, 162, 76, 0.25), transparent 60%),
    linear-gradient(135deg, var(--ink-900), var(--ink-700));
  border-radius: 20px;
  padding: 56px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(24px, 2.8vw, 32px);
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: #c2cbe0;
  font-size: 16px;
  margin: 0;
  position: relative;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.cta-banner .phone {
  font-family: "Inter", sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
}

.cta-banner .phone a {
  color: inherit;
}

@media (max-width: 768px) {
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    text-align: center;
  }
  .cta-banner-actions {
    align-items: center;
  }
}

/* ---------- Page Hero (inner) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(212, 162, 76, 0.18), transparent 60%),
    linear-gradient(180deg, var(--ink-900) 0%, var(--ink-800) 100%);
  color: #fff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 80%);
}

.page-hero-inner {
  position: relative;
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #b6c0d6;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #d6dcee;
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.breadcrumb .sep {
  color: #5a6784;
}

.breadcrumb [aria-current="page"] {
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  color: #c2cbe0;
  max-width: 640px;
  margin: 0;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.25s var(--ease);
}

.faq-item[open] {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--accent-red);
  transition: transform 0.25s var(--ease);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .answer {
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
}

.faq-item .answer strong {
  color: var(--accent-red);
}

/* ---------- News List ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-dark);
}

.news-card .cover {
  aspect-ratio: 16 / 9;
}

.news-card .body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-3);
}

.news-meta .tag {
  padding: 2px 10px;
  background: rgba(30, 58, 138, 0.08);
  color: var(--ink-700);
  border-radius: 999px;
  font-weight: 600;
}

.news-meta .tag.hot {
  background: rgba(200, 55, 45, 0.1);
  color: var(--accent-red);
}

.news-card h3 {
  font-size: 17px;
  line-height: 1.45;
  margin: 0;
}

.news-card h3 a {
  color: var(--ink-900);
}

.news-card h3 a:hover {
  color: var(--accent-red);
}

.news-card p {
  font-size: 14px;
  color: var(--text-2);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .more {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-red);
}

/* ---------- Article ---------- */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 960px) {
  .article-wrap {
    grid-template-columns: 1fr;
  }
}

.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 48px;
}

@media (max-width: 768px) {
  .article {
    padding: 28px 22px;
  }
}

.article-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-3);
  font-size: 13.5px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  font-size: 16px;
  color: var(--text-1);
}

.article-body h2 {
  font-size: 22px;
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent-red);
}

.article-body h3 {
  font-size: 18px;
  margin: 24px 0 10px;
}

.article-body p {
  margin: 0 0 16px;
  line-height: 1.9;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 1.5em;
}

.article-body li {
  margin-bottom: 6px;
  line-height: 1.85;
}

.article-body strong {
  color: var(--ink-900);
}

.article-body .hotline {
  display: block;
  margin: 20px 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(200, 55, 45, 0.06), rgba(212, 162, 76, 0.08));
  border: 1px dashed var(--accent-red);
  border-radius: 12px;
  font-size: 17px;
  color: var(--ink-900);
}

.article-body .hotline a {
  color: var(--accent-red);
  font-weight: 800;
  font-size: 22px;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.04em;
}

.article-cover {
  margin: 0 0 28px;
}

.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  position: sticky;
  top: 96px;
}

.aside-card h4 {
  font-size: 16px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.aside-phone {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: linear-gradient(135deg, var(--ink-900), var(--ink-700));
  color: #fff;
  border-radius: 10px;
  margin-bottom: 16px;
}

.aside-phone .l {
  font-size: 12px;
  color: #b6c0d6;
}

.aside-phone .n {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-gold);
}

.aside-phone .n a {
  color: inherit;
}

.aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.aside-list li:last-child {
  border-bottom: none;
}

.aside-list a {
  color: var(--text-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aside-list a:hover {
  color: var(--accent-red);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
}

.contact-card h3 {
  font-size: 20px;
  margin: 0 0 20px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(30, 58, 138, 0.08);
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list .meta {
  flex: 1;
}

.contact-list .meta .l {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 2px;
}

.contact-list .meta .v {
  font-size: 15.5px;
  color: var(--text-1);
  font-weight: 600;
}

.contact-list .meta .v a {
  color: var(--ink-900);
}

.contact-list .meta .v a:hover {
  color: var(--accent-red);
}

.contact-list .meta .v.hot a {
  color: var(--accent-red);
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* ---------- Qualification ---------- */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .qual-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.qual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
}

.qual-card .ic {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 162, 76, 0.15), rgba(200, 55, 45, 0.1));
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qual-card h4 {
  font-size: 16px;
  margin: 0 0 10px;
}

.qual-card p {
  font-size: 13.5px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #081330;
  color: #9aa6c2;
  padding: 64px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand p {
  color: #8a96b4;
  line-height: 1.8;
  margin: 0;
  font-size: 13.5px;
}

.footer-col h5 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #9aa6c2;
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--accent-gold);
}

.footer-contact .phone {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 8px;
}

.footer-contact .phone a {
  color: inherit;
}

.footer-contact .phone a:hover {
  color: #fff;
}

.footer-contact p {
  margin: 0 0 8px;
  color: #8a96b4;
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: #6b7796;
  font-size: 12.5px;
}

.footer-bottom a {
  color: #8a96b4;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 28px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(200, 55, 45, 0.4);
  position: relative;
  transition: transform 0.25s var(--ease);
}

.float-btn:hover {
  transform: scale(1.06);
  color: #fff;
}

.float-btn--phone {
  background: var(--ink-900);
  box-shadow: 0 8px 24px rgba(11, 27, 61, 0.4);
}

.float-btn .tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink-900);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
}

.float-btn .tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--ink-900);
}

.float-btn:hover .tooltip {
  opacity: 1;
}

.float-btn .pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent-red);
  animation: pulse 2s infinite;
  z-index: -1;
}

.float-btn--phone .pulse {
  background: var(--ink-900);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .floating-cta {
    right: 14px;
    bottom: 18px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .float-btn .pulse {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}
.mt-0 { margin-top: 0; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.prose-light p {
  color: var(--text-2);
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 48px 0;
}

/* ---------- Pagination ---------- */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 48px;
}

.pager a,
.pager span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: #fff;
}

.pager a:hover {
  border-color: var(--ink-900);
  color: var(--ink-900);
}

.pager .current {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
}
