/* ===================================================================
   铭赞网络 AI SEO 营销网站 - 主样式
   主题：深空蓝 + 科技青 + 暖金 + 紫粉点缀
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap');

/* ---------- 变量 ---------- */
:root {
  --c-bg: #0a1a2f;
  --c-bg-2: #0e2238;
  --c-bg-3: #142c45;
  --c-line: rgba(0, 212, 255, 0.12);
  --c-line-2: rgba(255, 255, 255, 0.08);
  --c-text: #e6eef8;
  --c-text-soft: #a9b8cc;
  --c-text-mute: #6e7e92;
  --c-accent: #00d4ff;
  --c-accent-2: #7b5bff;
  --c-gold: #f5c24b;
  --c-pink: #ff0080;
  --c-warn: #ff6b6b;

  /* 渐变组合 */
  --grad-primary: linear-gradient(135deg, #00d4ff 0%, #7b5bff 100%);
  --grad-extended: linear-gradient(135deg, #00d4ff 0%, #7b5bff 50%, #ff0080 100%);
  --grad-gold: linear-gradient(135deg, #f5c24b 0%, #ff0080 100%);

  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 14px 40px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.42);
  --shadow-glow: 0 10px 30px rgba(0, 212, 255, 0.3);
  --shadow-glow-pink: 0 10px 30px rgba(255, 0, 128, 0.25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --maxw: 1200px;
  --gap: 24px;

  --font-cn:
    "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans CN", "Noto Sans CJK SC", system-ui, -apple-system, sans-serif;
  --font-serif:
    "Source Han Serif CN", "Noto Serif CJK SC", "Songti SC", "STSong", serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-cn);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--c-accent);
}
button {
  font-family: inherit;
  cursor: pointer;
}
ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ---------- 渐变工具类（GSAP 配套） ---------- */
.gradient-text {
  background: var(--grad-extended);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gradient-text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gradient-border {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--c-bg-2), var(--c-bg-2)) padding-box,
    var(--grad-primary) border-box;
}
.gradient-border-ext {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--c-bg-2), var(--c-bg-2)) padding-box,
    var(--grad-extended) border-box;
}

/* ---------- 通用容器 ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
  border-top: 1px solid var(--c-line-2);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--c-accent);
  padding: 6px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  margin-bottom: 18px;
  background: rgba(0, 212, 255, 0.05);
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0.02em;
}
.section-desc {
  color: var(--c-text-soft);
  font-size: 16px;
  margin: 0;
}
.section-head-light .section-kicker {
  color: var(--c-gold);
  border-color: rgba(245, 194, 75, 0.25);
  background: rgba(245, 194, 75, 0.06);
}

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: var(--gap);
}
.grid-3x2 {
  grid-template-columns: repeat(3, 1fr);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff0080 0%, #00d4ff 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 212, 255, 0.45);
  color: #fff;
}
.btn-primary:hover::before { opacity: 1; }
.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-line);
}
.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* ===================================================================
   Hero 顶部导航 + Banner 一体
   =================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--c-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(0, 212, 255, 0.18), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(123, 91, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(10, 26, 47, 0.55) 0%, rgba(10, 26, 47, 0.85) 70%, var(--c-bg) 100%);
}

/* 导航 */
.navbar {
  position: relative;
  z-index: 10;
  padding: 22px 0;
  background: rgba(10, 26, 47, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line-2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
  position: relative;
}
.logo:hover {
  color: #fff;
}
.logo-main {
  color: #fff;
}
.logo-r {
  font-size: 13px;
  color: var(--c-gold);
  margin-left: 2px;
  font-weight: 700;
  vertical-align: super;
  line-height: 1;
}
.logo-sep {
  color: var(--c-accent);
  font-weight: 300;
  font-size: 22px;
  margin: 0 2px;
}
.logo-sub {
  color: var(--c-accent);
  font-size: 22px;
  letter-spacing: 0.04em;
  font-weight: 700;
}
.logo-footer .logo-main { font-size: 20px; }
.logo-footer .logo-sub { font-size: 18px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-menu a {
  font-size: 14.5px;
  color: var(--c-text-soft);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-menu a:hover {
  color: var(--c-accent);
}
.nav-menu a:hover::after { transform: scaleX(1); }
.nav-cta a {
  background: var(--grad-primary);
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.3);
}
.nav-cta a::after { display: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--c-line);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--c-text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero 内容 */
.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 24px 80px;
}
.hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  padding: 6px 16px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  margin-bottom: 28px;
  background: rgba(0, 212, 255, 0.04);
}
.hero-title {
  font-size: clamp(34px, 5.6vw, 60px);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 26px;
  color: #fff;
  letter-spacing: 0.01em;
}
.hero-title-line {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, var(--c-accent) 60%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(40px);
}
.hero-title-line:nth-child(2) { transition-delay: 0.1s; }
.hero-sub {
  font-size: 17px;
  color: var(--c-text-soft);
  max-width: 720px;
  margin: 0 auto 38px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
}
.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(20px);
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 0 0;
  border-top: 1px solid var(--c-line-2);
  opacity: 0;
  transform: translateY(20px);
}
.hero-trust li { text-align: center; }
.hero-trust strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-trust strong small {
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
  -webkit-text-fill-color: var(--c-accent);
}
.hero-trust span {
  display: block;
  font-size: 13px;
  color: var(--c-text-mute);
  margin-top: 4px;
  letter-spacing: 0.1em;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--c-text-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  opacity: 0.7;
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--c-accent));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background: var(--c-accent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(360%); }
}

/* ===================================================================
   核心服务
   =================================================================== */
.section-services {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(0, 212, 255, 0.06), transparent 60%),
    var(--c-bg);
}
.card {
  background: linear-gradient(160deg, rgba(20, 44, 69, 0.7) 0%, rgba(14, 34, 56, 0.7) 100%);
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.08) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.card:hover {
  border-color: var(--c-line);
  box-shadow: var(--shadow-md);
}
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }
.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--c-line);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.service-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.service-card h3 small {
  display: block;
  font-size: 13px;
  color: var(--c-accent);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.service-card p {
  color: var(--c-text-soft);
  font-size: 14.5px;
  margin: 0 0 18px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}
.card-list {
  border-top: 1px dashed var(--c-line-2);
  padding-top: 16px;
  position: relative;
  z-index: 1;
}
.card-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: var(--c-text-soft);
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px;
  height: 8px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c-accent);
}

/* ===================================================================
   为什么选铭赞
   =================================================================== */
.section-advantages {
  background: var(--c-bg-2);
}
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line-2);
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.advantage-item {
  background: var(--c-bg-2);
  padding: 40px 32px;
  transition: background 0.3s ease;
  position: relative;
}
.advantage-item:hover { background: var(--c-bg-3); }
.advantage-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-accent);
  letter-spacing: 0.3em;
  margin-bottom: 18px;
  font-weight: 600;
}
.advantage-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.4;
}
.advantage-item p {
  color: var(--c-text-soft);
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0;
}

/* ===================================================================
   服务流程
   =================================================================== */
.section-process {
  background: var(--c-bg);
  position: relative;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process-list::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line), var(--c-line), transparent);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 8px;
}
.process-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-accent);
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  position: relative;
  transition: all 0.3s ease;
}
.process-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  opacity: 0.5;
}
.process-step:hover .process-num {
  background: var(--grad-primary);
  color: #fff;
  border-color: var(--c-accent);
}
.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.process-step p {
  font-size: 13.5px;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.7;
}

/* ===================================================================
   行业方案
   =================================================================== */
.section-cases {
  background: var(--c-bg-2);
}
.case-card {
  text-align: center;
  padding: 32px 24px;
}
.case-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.case-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.case-card p {
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.75;
  margin: 0;
}

/* ===================================================================
   关于铭赞
   =================================================================== */
.section-about {
  background: var(--c-bg);
}
.about-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text .section-title { text-align: left; }
.about-text p {
  color: var(--c-text-soft);
  font-size: 15.5px;
  line-height: 1.95;
  margin: 0 0 18px;
}
.about-text strong {
  color: var(--c-accent);
  font-weight: 600;
}
.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--c-line-2);
}
.about-metrics li { text-align: center; }
.about-metrics strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-mono);
  background: linear-gradient(135deg, #fff, var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-metrics strong small { font-size: 13px; -webkit-text-fill-color: var(--c-accent); }
.about-metrics span {
  display: block;
  font-size: 13px;
  color: var(--c-text-mute);
  margin-top: 4px;
}

.timeline {
  background: linear-gradient(160deg, rgba(20, 44, 69, 0.7) 0%, rgba(14, 34, 56, 0.7) 100%);
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  position: relative;
}
.timeline h3 {
  font-size: 20px;
  color: #fff;
  margin: 0 0 26px;
  font-weight: 700;
  position: relative;
  padding-left: 18px;
}
.timeline h3::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 4px; height: 18px;
  background: var(--c-accent);
  border-radius: 2px;
}
.timeline ol { position: relative; }
.timeline ol::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0; bottom: 8px;
  width: 1px;
  background: var(--c-line-2);
}
.timeline li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 10px 0;
  position: relative;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 46px;
  top: 18px;
  width: 9px;
  height: 9px;
  background: var(--c-accent);
  border: 2px solid var(--c-bg);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}
.timeline li span {
  flex: 0 0 50px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-accent);
  text-align: right;
  letter-spacing: 0.04em;
}
.timeline li p {
  flex: 1;
  font-size: 14px;
  color: var(--c-text-soft);
  line-height: 1.7;
  margin: 0;
  padding-left: 18px;
}

/* ===================================================================
   FAQ
   =================================================================== */
.section-faq {
  background: var(--c-bg-2);
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: linear-gradient(160deg, rgba(20, 44, 69, 0.6) 0%, rgba(14, 34, 56, 0.6) 100%);
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: var(--c-line); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: background 0.3s ease;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: rgba(0, 212, 255, 0.04); }
.faq-num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.04em;
  padding: 4px 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--c-line);
  border-radius: 6px;
}
.faq-text {
  flex: 1;
  font-size: 16.5px;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
}
.faq-toggle {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  position: relative;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--c-accent);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item[open] .faq-toggle {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.faq-item[open] .faq-toggle::before { background: #fff; }
.faq-a {
  padding: 0 26px 24px 60px;
  color: var(--c-text-soft);
  font-size: 15px;
  line-height: 1.9;
}
.faq-a p { margin: 0 0 8px; }
.faq-a a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ===================================================================
   联系方式
   =================================================================== */
.section-contact {
  background: linear-gradient(160deg, var(--c-bg-3) 0%, var(--c-bg) 100%);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(0, 212, 255, 0.1), transparent 60%),
    radial-gradient(500px 300px at 80% 80%, rgba(245, 194, 75, 0.06), transparent 60%);
  z-index: 0;
}
.section-contact > .container { position: relative; z-index: 1; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px;
  background: rgba(20, 44, 69, 0.4);
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.contact-item:hover {
  border-color: var(--c-line);
  background: rgba(20, 44, 69, 0.6);
}
.contact-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
}
.contact-item h3 {
  font-size: 13px;
  color: var(--c-text-mute);
  margin: 0 0 6px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.contact-item p {
  margin: 0;
  font-size: 15.5px;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
}
.contact-item a { color: #fff; }
.contact-item a:hover { color: var(--c-accent); }
.weibo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-qr {
  display: flex;
  justify-content: center;
  align-items: center;
}
.qr-frame {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}
.qr-frame::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid var(--c-line);
  border-radius: calc(var(--radius-md) + 6px);
  pointer-events: none;
}
.qr-frame img {
  width: 220px;
  height: 220px;
  border-radius: 6px;
  display: block;
}
.qr-frame p {
  margin: 12px 0 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ===================================================================
   友情链接
   =================================================================== */
.section-friends {
  background: var(--c-bg-2);
}
.friends-group {
  margin-bottom: 36px;
}
.friends-group:last-child { margin-bottom: 0; }
.friends-group h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  padding-left: 14px;
  position: relative;
}
.friends-group h3::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 3px;
  height: 18px;
  background: var(--c-gold);
  border-radius: 2px;
}
.friends-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 6px;
}
.friends-list li a {
  display: inline-block;
  padding: 7px 14px;
  font-size: 13.5px;
  color: var(--c-text-soft);
  background: rgba(20, 44, 69, 0.5);
  border: 1px solid var(--c-line-2);
  border-radius: 6px;
  transition: all 0.25s ease;
}
.friends-list li a:hover {
  color: var(--c-accent);
  border-color: var(--c-line);
  background: rgba(0, 212, 255, 0.08);
}

/* ===================================================================
   底部
   =================================================================== */
.site-footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line-2);
  padding: 50px 0 30px;
  position: relative;
}
.footer-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}
.footer-brand p {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--c-text-mute);
  line-height: 1.8;
}
.footer-meta {
  text-align: right;
  font-size: 13.5px;
  color: var(--c-text-mute);
  line-height: 2;
}
.footer-meta a { color: var(--c-text-soft); }
.footer-meta a:hover { color: var(--c-accent); }

/* ===================================================================
   浮窗
   =================================================================== */
.float-phone,
.float-top {
  position: fixed;
  right: 20px;
  border-radius: 50px;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  z-index: 100;
  transition: all 0.3s ease;
  overflow: hidden;
  white-space: nowrap;
}
.float-phone {
  bottom: 100px;
  width: 56px;
  height: 56px;
  padding: 0;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.float-phone span { display: none; }
.float-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 212, 255, 0.4);
  color: #fff;
  width: 130px;
  border-radius: 50px;
  padding: 0 20px 0 17px;
}
.float-phone:hover span { display: inline; }
.float-top {
  bottom: 30px;
  width: 56px;
  height: 56px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
.float-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.float-top:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* ===================================================================
   GSAP 动效辅助
   注：初始状态由 GSAP.fromTo 控制；CSS 中保持元素可见以防 JS 未加载
   =================================================================== */
.gsap-init,
.gsap-init-scale,
.gsap-init-left,
.gsap-init-right,
.hero-eyebrow,
.hero-title-line,
.hero-sub,
.hero-actions,
.hero-trust,
.section-head,
.card,
.advantage-item,
.process-step,
.contact-item,
.timeline,
.timeline li,
.faq-item {
  /* 默认可见，避免 GSAP 加载失败时元素消失 */
  opacity: 1;
  transform: none;
}

/* 当页面加载 gsap-anim.js 后，会通过 JS 给 body 添加 .gsap-ready，
   此时才将元素隐藏，由 GSAP 接管动画 */
body.gsap-ready .hero-eyebrow,
body.gsap-ready .hero-title-line,
body.gsap-ready .hero-sub,
body.gsap-ready .hero-actions,
body.gsap-ready .hero-trust,
body.gsap-ready .section-head,
body.gsap-ready .card,
body.gsap-ready .advantage-item,
body.gsap-ready .process-step,
body.gsap-ready .contact-item,
body.gsap-ready .timeline,
body.gsap-ready .timeline li,
body.gsap-ready .faq-item {
  opacity: 0;
  transform: translateY(30px);
}
body.gsap-ready .gsap-init-scale { transform: scale(0.92); }
body.gsap-ready .gsap-init-left { transform: translateX(-40px); }
body.gsap-ready .gsap-init-right { transform: translateX(40px); }

/* 选择高亮 */
::selection {
  background: var(--c-accent);
  color: var(--c-bg);
}
::-moz-selection {
  background: var(--c-accent);
  color: var(--c-bg);
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb {
  background: var(--grad-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover { background: var(--c-accent); }
