/* ==========================================================
   海角吃瓜 · 全站样式表
   全网热门事件实时爆料，娱乐圈八卦瓜田第一手资讯速递平台
   ========================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --bg-900: #06080c;
  --bg-800: #0a0d13;
  --bg-700: #0f131c;
  --surface: #141926;
  --surface-2: #1a2130;
  --surface-3: #212a3c;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #eef2f9;
  --text-soft: #c4ccdd;
  --muted: #8b95a9;
  --accent: #ff4d6d;
  --accent-warm: #ffa24b;
  --accent-gold: #ffc84b;
  --accent-cool: #6f7dff;
  --grad: linear-gradient(118deg, #ff4d6d 0%, #ff824b 58%, #ffc24b 100%);
  --grad-cool: linear-gradient(118deg, #6f7dff 0%, #59c6ff 100%);
  --grad-soft: linear-gradient(118deg, rgba(255, 77, 109, 0.14), rgba(255, 164, 75, 0.05));
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.9);
  --shadow-glow: 0 20px 50px -22px rgba(255, 77, 109, 0.55);
  --container: 1180px;
  --header-h: 78px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
  background-color: var(--bg-900);
  background-image:
    radial-gradient(1000px 600px at 12% -8%, rgba(255, 77, 109, 0.16), transparent 62%),
    radial-gradient(900px 520px at 92% 6%, rgba(255, 164, 75, 0.13), transparent 60%),
    radial-gradient(800px 700px at 50% 110%, rgba(111, 125, 255, 0.1), transparent 65%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.24;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(255, 77, 109, 0.4);
  color: #fff;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0d13;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff4d6d, #ffa24b);
  border-radius: 20px;
}

/* ---------- 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 92px 0;
}

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

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  background: rgba(255, 164, 75, 0.1);
  border: 1px solid rgba(255, 164, 75, 0.28);
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.18);
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #150a06;
  background: var(--grad);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px -20px rgba(255, 100, 70, 0.7);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 164, 75, 0.5);
  transform: translateY(-3px);
}

.btn-outline {
  color: var(--accent-warm);
  background: transparent;
  border-color: rgba(255, 164, 75, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 164, 75, 0.12);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn .arrow {
  transition: transform 0.3s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 12, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(6, 8, 12, 0.94);
  box-shadow: 0 14px 40px -24px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: var(--header-h);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 20px;
  font-weight: 900;
  color: #170a05;
  background: var(--grad);
  border-radius: 13px;
  box-shadow: 0 12px 28px -12px rgba(255, 90, 80, 0.85);
  transition: transform 0.35s ease;
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.05);
}

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

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

.brand-text small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 9px 15px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 10px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 2px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: #fff;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  padding: 86px 0 76px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 77, 109, 0.2), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 60px;
  align-items: center;
}

.hero-copy .eyebrow {
  animation: fadeUp 0.7s ease both;
}

.hero h1 {
  font-size: clamp(34px, 4.9vw, 60px);
  line-height: 1.14;
  margin: 0 0 22px;
  color: #fff;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero h1 .grad-text {
  display: inline-block;
}

.hero-desc {
  max-width: 540px;
  font-size: 17px;
  line-height: 1.95;
  color: var(--muted);
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 520px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  animation: fadeUp 0.7s 0.4s ease both;
}

.hero-stats strong {
  display: block;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-stats strong em {
  font-style: normal;
  font-size: 0.62em;
  color: var(--accent-warm);
}

.hero-stats span {
  font-size: 13px;
  color: var(--muted);
}

/* Hero 视觉卡片 */
.hero-visual {
  position: relative;
  animation: fadeUp 0.9s 0.25s ease both;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: var(--surface);
  aspect-ratio: 4 / 4.6;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 8, 12, 0) 38%, rgba(6, 8, 12, 0.92) 100%);
}

.hero-frame-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.hero-frame-caption h2 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

.hero-frame-caption p {
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.68);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 77, 109, 0.9);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(255, 77, 109, 0.9);
}

.live-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s infinite;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  background: rgba(20, 25, 38, 0.86);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 3;
}

.float-card strong {
  display: block;
  font-size: 14px;
  color: #fff;
  line-height: 1.4;
}

.float-card span {
  font-size: 11.5px;
  color: var(--muted);
}

.float-card .badge-num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 900;
  color: #170a05;
  background: var(--grad);
  flex-shrink: 0;
}

.float-card--one {
  top: 8%;
  left: -34px;
  animation: floatY 6.5s ease-in-out infinite;
}

.float-card--two {
  bottom: 16%;
  right: -26px;
  animation: floatY 7.5s 0.8s ease-in-out infinite;
}

/* ---------- 滚动快讯条 ---------- */
.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #1a0b06;
  background: var(--grad);
  border-radius: 999px;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 44px;
  white-space: nowrap;
  animation: tickerScroll 34s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}

.ticker-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-warm);
}

.ticker-item b {
  font-weight: 700;
  color: #fff;
}

/* ---------- 特性区 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 26px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 164, 75, 0.35);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--accent-warm);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 164, 75, 0.22);
  color: var(--accent-warm);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

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

.feature-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 服务区 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -40px #000;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.service-card .tag {
  align-self: flex-start;
  padding: 5px 12px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-warm);
  background: rgba(255, 164, 75, 0.1);
  border: 1px solid rgba(255, 164, 75, 0.3);
  border-radius: 999px;
}

.service-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.service-card > p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.9;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 22px 0 26px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}

.service-list li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 6px;
  border-radius: 50%;
  background: rgba(255, 164, 75, 0.16);
  border: 1px solid rgba(255, 164, 75, 0.5);
  box-shadow: inset 0 0 0 3px rgba(6, 8, 12, 0.9), inset 0 0 0 6px var(--accent-warm);
}

.service-card .link-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-warm);
}

.service-card .link-more:hover {
  gap: 12px;
  color: var(--accent-gold);
}

/* ---------- 热榜 / 详细内容区 ---------- */
.hot-layout {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.hot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hot-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.hot-item:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 164, 75, 0.35);
}

.hot-rank {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 15px;
  font-weight: 900;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 11px;
}

.hot-item:nth-child(1) .hot-rank,
.hot-item:nth-child(2) .hot-rank,
.hot-item:nth-child(3) .hot-rank {
  color: #1a0b06;
  background: var(--grad);
  box-shadow: 0 12px 26px -14px rgba(255, 90, 70, 0.9);
}

.hot-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.25s ease;
}

.hot-item:hover .hot-body h3 {
  color: var(--accent-warm);
}

.hot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.hot-meta .tag-mini {
  padding: 2px 9px;
  color: var(--accent-warm);
  background: rgba(255, 164, 75, 0.1);
  border-radius: 6px;
}

.hot-heat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 92px;
}

.hot-heat span {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-warm);
}

.heat-bar {
  width: 84px;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.heat-bar i {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 3px;
}

.hot-side {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-panel {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.side-panel h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  margin-bottom: 18px;
}

.side-panel h3::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 3px;
  background: var(--grad);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.keyword-cloud a {
  padding: 7px 13px;
  font-size: 13px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.25s ease;
}

.keyword-cloud a:nth-child(2n) {
  color: var(--accent-warm);
  border-color: rgba(255, 164, 75, 0.3);
}

.keyword-cloud a:hover {
  color: #1a0b06;
  background: var(--grad);
  border-color: transparent;
  transform: translateY(-2px);
}

.digest-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.digest-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.digest-list .digest-date {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-warm);
  letter-spacing: 0.04em;
}

.digest-list p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-soft);
}

/* ---------- CTA ---------- */
.cta-wrap {
  position: relative;
  padding: 62px 56px;
  border-radius: 32px;
  background: linear-gradient(120deg, rgba(255, 77, 109, 0.16), rgba(255, 164, 75, 0.09) 55%, rgba(111, 125, 255, 0.12));
  border: 1px solid rgba(255, 164, 75, 0.24);
  overflow: hidden;
}

.cta-wrap::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.3), transparent 66%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 12px;
}

.cta-inner p {
  max-width: 520px;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item.is-open {
  border-color: rgba(255, 164, 75, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
}

.faq-question .plus {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-warm);
  background: rgba(255, 164, 75, 0.12);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.is-open .faq-question .plus {
  transform: rotate(45deg);
  background: rgba(255, 77, 109, 0.18);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--muted);
}

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 40px;
  padding-top: 66px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.4));
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 340px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.footer-badges span {
  padding: 5px 11px;
  font-size: 11.5px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
}

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

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--accent-warm);
  padding-left: 4px;
}

.footer-contact li {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-contact li b {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--muted);
}

.footer-bottom .copyright strong {
  color: var(--text-soft);
}

/* ---------- 内页通用 ---------- */
.page-hero {
  position: relative;
  padding: 74px 0 58px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 760px;
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 77, 109, 0.18), transparent 66%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--muted);
}

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

.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.28);
}

.page-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 18px;
}

.page-hero .lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.95;
  color: var(--muted);
}

.page-hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.page-hero-tags span {
  padding: 7px 15px;
  font-size: 13px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ---------- 资讯列表页 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 34px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: rgba(255, 164, 75, 0.4);
  color: var(--accent-warm);
}

.filter-btn.is-active {
  color: #1a0b06;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 12px 28px -16px rgba(255, 90, 70, 0.9);
}

.filter-note {
  font-size: 13px;
  color: var(--muted);
}

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

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 164, 75, 0.35);
  box-shadow: var(--shadow);
}

.news-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-thumb img {
  transform: scale(1.07);
}

.news-thumb .cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #1a0b06;
  background: var(--grad);
  border-radius: 999px;
}

.news-thumb .hot-flag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(6, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

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

.news-body h3 {
  font-size: 18px;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.news-card:hover .news-body h3 {
  color: var(--accent-warm);
}

.news-body p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.news-foot .read {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent-warm);
}

.news-grid .news-card:nth-child(3n + 2) .news-thumb .cat {
  background: var(--grad-cool);
  color: #07101c;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 46px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.25s ease;
}

.pagination a:hover {
  border-color: rgba(255, 164, 75, 0.45);
  color: var(--accent-warm);
}

.pagination .current {
  color: #1a0b06;
  background: var(--grad);
  border-color: transparent;
}

/* ---------- 文章详情页 ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 34px;
  align-items: start;
}

.article {
  padding: 36px 40px 42px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.article-meta .cat {
  padding: 4px 12px;
  font-weight: 700;
  color: #1a0b06;
  background: var(--grad);
  border-radius: 999px;
}

.article-cover {
  margin: 0 0 30px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-body {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--text-soft);
}

.article-body h2 {
  font-size: 22px;
  margin: 38px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.42;
}

.article-body h3 {
  font-size: 18px;
  margin: 28px 0 12px;
  color: #fff;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-body blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--text-soft);
  background: var(--grad-soft);
  border: 1px solid rgba(255, 164, 75, 0.22);
  border-left: 4px solid var(--accent-warm);
  border-radius: 12px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 22px;
  padding-left: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-body li {
  position: relative;
  padding-left: 22px;
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

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

.article-figure img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.article-tags a {
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.article-tags a:hover {
  color: var(--accent-warm);
  border-color: rgba(255, 164, 75, 0.4);
}

.article-side {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-news {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.side-news:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.side-news img {
  flex-shrink: 0;
  width: 86px;
  height: 66px;
  object-fit: cover;
  border-radius: 10px;
}

.side-news h4 {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.side-news h4:hover {
  color: var(--accent-warm);
}

.side-news span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  color: var(--muted);
}

.comment-box {
  padding: 30px 34px;
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.comment-box h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.comment-box > p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  font-size: 14.5px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 164, 75, 0.6);
  box-shadow: 0 0 0 4px rgba(255, 164, 75, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 118px;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
}

.form-feedback {
  display: none;
  padding: 12px 16px;
  font-size: 13.5px;
  color: #9ce6b4;
  background: rgba(60, 200, 120, 0.1);
  border: 1px solid rgba(60, 200, 120, 0.32);
  border-radius: 10px;
}

.form-feedback.is-visible {
  display: block;
}

/* ---------- 产品 / 服务页 ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.plan-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow);
}

.plan-card.is-featured {
  background: linear-gradient(170deg, rgba(255, 77, 109, 0.16), rgba(255, 164, 75, 0.07) 60%, var(--surface) 100%);
  border-color: rgba(255, 164, 75, 0.45);
  box-shadow: var(--shadow-glow);
}

.plan-card.is-featured::before {
  content: "最受欢迎";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 800;
  color: #1a0b06;
  background: var(--grad);
  border-radius: 999px;
}

.plan-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 14px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.plan-price strong {
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.plan-price span {
  font-size: 13px;
  color: var(--muted);
}

.plan-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-soft);
}

.plan-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--accent-warm);
}

.plan-card .btn {
  margin-top: auto;
  width: 100%;
}

.compare-table {
  width: 100%;
  margin-top: 46px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.compare-table caption {
  padding: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-soft);
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.02);
}

.compare-table td {
  color: var(--muted);
}

.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th {
  background: rgba(255, 164, 75, 0.06);
}

.compare-table td strong {
  color: var(--accent-warm);
}

/* ---------- 关于页 ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 5 / 4;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual .stat-float {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 14px 20px;
  background: rgba(6, 8, 12, 0.8);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.about-visual .stat-float strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
}

.about-visual .stat-float span {
  font-size: 12px;
  color: var(--muted);
}

.about-copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 18px;
}

.about-copy p {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-copy .key-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.about-copy .key-points div {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.about-copy .key-points b {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 6px;
}

.about-copy .key-points span {
  font-size: 12.5px;
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.value-card {
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 164, 75, 0.35);
}

.value-card .v-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--accent-warm);
  background: var(--grad-soft);
  border: 1px solid rgba(255, 164, 75, 0.25);
  border-radius: 12px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 34px 26px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -34px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 5px rgba(255, 77, 109, 0.14);
}

.timeline-item .tl-year {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-warm);
}

.timeline-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 联系页 ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 164, 75, 0.35);
}

.contact-card .c-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--accent-warm);
  background: var(--grad-soft);
  border: 1px solid rgba(255, 164, 75, 0.25);
  border-radius: 12px;
}

.contact-card .c-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

.contact-form-wrap {
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.contact-form-wrap h2 {
  font-size: 21px;
  margin-bottom: 8px;
}

.contact-form-wrap > p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.notice-panel {
  padding: 22px 26px;
  margin-top: 26px;
  background: rgba(111, 125, 255, 0.07);
  border: 1px solid rgba(111, 125, 255, 0.26);
  border-radius: 16px;
}

.notice-panel h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #fff;
}

.notice-panel p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.3s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--grad);
  border: none;
  border-radius: 14px;
  box-shadow: var(--shadow-glow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .hero-copy {
    max-width: 720px;
  }
  .hero-visual {
    max-width: 560px;
  }
  .float-card--one {
    left: 10px;
  }
  .float-card--two {
    right: 10px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hot-layout,
  .article-layout,
  .contact-layout,
  .about-split {
    grid-template-columns: 1fr;
  }
  .hot-side,
  .article-side {
    position: static;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-grid,
  .service-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 22px;
    background: rgba(8, 11, 17, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav a {
    padding: 13px 14px;
    font-size: 16px;
    border-radius: 12px;
  }
  .main-nav a::after {
    display: none;
  }
  .main-nav a.is-active {
    background: rgba(255, 164, 75, 0.12);
    color: var(--accent-warm);
  }
  .nav-toggle {
    display: block;
  }
  .header-actions .btn {
    display: none;
  }
  .section {
    padding: 66px 0;
  }
  .cta-wrap {
    padding: 40px 26px;
  }
  .article {
    padding: 26px 22px 32px;
  }
  .comment-box {
    padding: 24px 22px;
  }
  .contact-form-wrap {
    padding: 26px 22px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 12px;
  }
  .float-card {
    padding: 10px 13px;
  }
  .float-card strong {
    font-size: 12.5px;
  }
  .float-card .badge-num {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  :root {
    --header-h: 68px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
  .brand-text strong {
    font-size: 16px;
  }
  .brand-text small {
    display: none;
  }
  .hero {
    padding: 56px 0 50px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 22px;
    margin-top: 30px;
  }
  .hero-stats > div {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .feature-grid,
  .news-grid,
  .plan-grid,
  .service-grid,
  .value-grid,
  .footer-grid,
  .about-copy .key-points {
    grid-template-columns: 1fr;
  }
  .section-head {
    margin-bottom: 36px;
  }
  .hot-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 16px;
  }
  .hot-rank {
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .hot-heat {
    grid-column: 2;
    align-items: flex-start;
    min-width: 0;
  }
  .heat-bar {
    width: 120px;
  }
  .float-card--one {
    top: -14px;
    left: 6px;
  }
  .float-card--two {
    bottom: 10%;
    right: 6px;
  }
  .page-hero {
    padding: 48px 0 38px;
  }
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 11px;
    font-size: 13px;
  }
  .compare-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .article-meta {
    gap: 10px;
    font-size: 12px;
  }
  .article-body h2 {
    font-size: 19px;
  }
  .side-news img {
    width: 74px;
    height: 58px;
  }
  .back-top {
    right: 16px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

/* ---------- 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #1a0b06;
  background: var(--grad);
  border-radius: 0 0 12px 0;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 3px;
}
