/*
 * 识现科技 · 炫酷版 (v2)
 * 深色科技 / AI 工业感 / 霓虹光晕
 */

:root {
  --bg: #05060f;
  --surface: #0a0e1a;
  --surface-2: #0f1428;
  --surface-3: #151b36;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --red: #ff2d2d;
  --red-soft: #ff5757;
  --gold: #ffb800;
  --cyan: #00e5ff;
  --green: #4ade80;

  --text: #e6e9f2;
  --text-2: #b4b9cc;
  --text-3: #6c7393;

  --grad-warm: linear-gradient(135deg, #ff2d2d 0%, #ffb800 100%);
  --grad-cool: linear-gradient(135deg, #00e5ff 0%, #6366f1 100%);

  /* 主题派生色：RGB 三元组，供 rgba(var(--c-xxx), α) 随主题联动 */
  --c-primary: 255, 45, 45;    /* 主色（红） */
  --c-accent: 255, 184, 0;     /* 点缀色（金） */
  --c-cyan: 0, 229, 255;       /* 青 */

  /* 顶栏背景（随主题联动） */
  --header-bg: rgba(5, 6, 15, 0.6);
  --header-bg-scrolled: rgba(5, 6, 15, 0.85);
  --header-bg-mobile: rgba(5, 6, 15, 0.98);

  /* 粒子动画颜色 */
  --particle-a: #ff2d2d;
  --particle-b: #ffb800;
  --particle-line: 255, 184, 0;
  --particle-line2: 255, 45, 45;

  --radius: 14px;
  --radius-sm: 8px;

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

/* =========================================================
 * 主题：科技蓝 (Tech Blue)
 * 通过 <html data-theme="techblue"> 切换：
 * 主色红 → 电光蓝 #2f7bff，点缀金 → 科技青 #22d3ee，背景 → 深海军蓝
 * ========================================================= */
[data-theme="techblue"] {
  --bg: #030b1c;
  --surface: #071430;
  --surface-2: #0c1d3e;
  --surface-3: #122950;
  --line: rgba(120, 170, 255, 0.09);
  --line-strong: rgba(120, 170, 255, 0.2);

  --red: #2f7bff;
  --red-soft: #6ea8ff;
  --gold: #22d3ee;
  --cyan: #00e5ff;
  --green: #34d399;

  --text: #e8eefc;
  --text-2: #a9b6d8;
  --text-3: #5f6f9c;

  --grad-warm: linear-gradient(135deg, #2f7bff 0%, #22d3ee 100%);
  --grad-cool: linear-gradient(135deg, #22d3ee 0%, #6366f1 100%);

  --c-primary: 47, 123, 255;
  --c-accent: 34, 211, 238;
  --c-cyan: 0, 229, 255;

  --header-bg: rgba(3, 11, 28, 0.6);
  --header-bg-scrolled: rgba(3, 11, 28, 0.88);
  --header-bg-mobile: rgba(3, 11, 28, 0.98);

  --particle-a: #2f7bff;
  --particle-b: #22d3ee;
  --particle-line: 34, 211, 238;
  --particle-line2: 47, 123, 255;
}

/* 主题切换过渡动画 */
html.theme-switching *,
html.theme-switching *::before,
html.theme-switching *::after {
  transition: background-color 0.45s ease, border-color 0.45s ease,
              color 0.35s ease, box-shadow 0.45s ease, fill 0.45s ease !important;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 1;
  opacity: 0.5;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.mono {
  font-family: "SF Mono", "JetBrains Mono", "Cascadia Code", "Fira Code", Consolas, "Liberation Mono", monospace;
  letter-spacing: 0.04em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(var(--c-accent), 0.08);
  border: 1px solid rgba(var(--c-accent), 0.25);
  border-radius: 100px;
}

.badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: pulse 1.6s ease-in-out infinite;
}

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

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: 72px;
  background: var(--header-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--line-strong);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}
.logo img { height: 25px; display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 0;
  width: 0; height: 1px;
  background: var(--grad-warm);
  transition: width 0.3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: var(--grad-warm);
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--c-primary), 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--c-primary), 0.5);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-2);
  transform: translateY(-2px);
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.mobile-toggle {
  display: none;
  width: 28px; height: 22px;
  position: relative;
  cursor: pointer;
}
.mobile-toggle span {
  position: absolute;
  left: 0; width: 100%; height: 1.5px;
  background: var(--text);
  transition: all 0.3s var(--ease);
}
.mobile-toggle span:nth-child(1) { top: 2px; }
.mobile-toggle span:nth-child(2) { top: 10px; }
.mobile-toggle span:nth-child(3) { bottom: 2px; }
.mobile-toggle.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { bottom: 10px; transform: rotate(-45deg); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* 风格切换按钮 */
.theme-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 100px;
  flex-shrink: 0;
}
.theme-switch .theme-option {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text-3);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1;
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.theme-switch .theme-option:hover { color: var(--text); }
.theme-switch .theme-option.active {
  background: var(--grad-warm);
  color: #fff;
  box-shadow: 0 2px 12px rgba(var(--c-primary), 0.4);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

#particles {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(var(--c-primary), 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(var(--c-accent), 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(var(--c-cyan), 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-badge .accent { color: var(--gold); }
.hero-badge .sep { color: var(--text-3); }

.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 28px;
}
.hero h1 .line2 {
  display: block;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(var(--c-primary), 0.4));
}

.hero-desc {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 40px;
  max-width: 580px;
}
.hero-desc strong { color: var(--text); font-weight: 600; }

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-size: 36px;
  font-weight: 800;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.hero-stat .label {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.hv-image {
  position: absolute;
  inset: 10%;
  border-radius: 28px;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 60px rgba(var(--c-primary), 0.45),
    0 0 120px rgba(var(--c-accent), 0.2);
}
.hv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 首屏图按主题区分：红金炫酷 → banner.png，科技蓝 → hero-ai.jpg */
.hv-image img.theme-img-techblue { display: none; }
[data-theme="techblue"] .hv-image img.theme-img-default { display: none; }
[data-theme="techblue"] .hv-image img.theme-img-techblue { display: block; }

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

.hv-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.hv-ring.r2 { inset: 10%; border-style: solid; border-color: rgba(var(--c-accent), 0.18); animation-duration: 20s; animation-direction: reverse; }
.hv-ring.r3 { inset: 22%; border-color: rgba(var(--c-primary), 0.2); border-style: dashed; animation-duration: 15s; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hv-node {
  position: absolute;
  width: 44px; height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}
.hv-node.n1 { top: 4%; left: 50%; transform: translateX(-50%); color: var(--cyan); }
.hv-node.n2 { top: 50%; right: 0; transform: translateY(-50%); color: var(--gold); }
.hv-node.n3 { bottom: 4%; left: 50%; transform: translateX(-50%); color: var(--red-soft); }
.hv-node.n4 { top: 50%; left: 0; transform: translateY(-50%); color: var(--green); }

.hv-tag {
  position: absolute;
  font-family: "SF Mono", monospace;
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hv-tag.t1 { top: -8px; left: 50%; transform: translateX(-50%); }
.hv-tag.t2 { top: 50%; right: -60px; transform: translateY(-50%) rotate(90deg); transform-origin: center; }
.hv-tag.t3 { bottom: -8px; left: 50%; transform: translateX(-50%); }
.hv-tag.t4 { top: 50%; left: -60px; transform: translateY(-50%) rotate(-90deg); }

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

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}
.section-head .badge { margin-bottom: 20px; }
.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.section-head h2 .grad {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
}

.about {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text p {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 20px;
  line-height: 1.9;
}
.about-text p strong { color: var(--text); }

.domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.domain-tag {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.3s var(--ease);
}
.domain-tag:hover {
  background: rgba(var(--c-primary), 0.08);
  border-color: rgba(var(--c-primary), 0.4);
  color: var(--red-soft);
  transform: translateY(-2px);
}

.stack-card {
  position: relative;
  background: linear-gradient(145deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  overflow: hidden;
}
.stack-card .title {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.stack-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.stack-row:last-child { border-bottom: none; }
.stack-row .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stack-row .dot.r { background: var(--red); box-shadow: 0 0 12px var(--red); }
.stack-row .dot.g { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.stack-row .label { font-size: 15px; font-weight: 500; flex: 1; }
.stack-row .arrow { color: var(--text-3); font-size: 12px; }

.mission {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mission-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.mission-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.mission-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--c-accent), 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.mission-card:hover::before { transform: scaleX(1); }
.mission-icon {
  width: 56px; height: 56px;
  background: rgba(var(--c-accent), 0.1);
  border: 1px solid rgba(var(--c-accent), 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 20px;
}
.mission-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.mission-card .sub {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.mission-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

.business { background: var(--bg); }
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.b-card {
  position: relative;
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.b-card::after {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(var(--c-primary), 0.15) 0%, transparent 60%);
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}
.b-card:hover { transform: translateY(-4px); border-color: rgba(var(--c-accent), 0.3); }
.b-card:hover::after { transform: scale(1.5); }

.b-card .num {
  font-family: "SF Mono", monospace;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.b-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.b-card h3 .icon {
  width: 48px; height: 48px;
  background: var(--grad-warm);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 0 20px rgba(var(--c-primary), 0.4);
}
.b-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.b-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.b-card .tag {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-2);
}

.products {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.p-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.p-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--c-accent), 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(var(--c-accent), 0.1);
}
.p-icon {
  width: 64px; height: 64px;
  background: var(--grad-warm);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(var(--c-primary), 0.4);
  position: relative;
}
.p-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: var(--grad-warm);
  z-index: -1;
  filter: blur(14px);
  opacity: 0.6;
}
.p-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: "SF Mono", monospace;
}
.p-card .sub {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.p-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}
.p-card .corner {
  position: absolute;
  top: 16px; right: 16px;
  font-family: "SF Mono", monospace;
  font-size: 11px;
  color: var(--text-3);
}

.solutions {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.s-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.s-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(var(--c-primary), 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.s-card:hover { transform: translateY(-4px); border-color: rgba(var(--c-primary), 0.4); }
.s-card:hover::before { opacity: 1; }

.s-card .num {
  font-family: "SF Mono", monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.s-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}
.s-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}
.s-card .features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.s-card .features li {
  font-size: 11px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-2);
}

.methodology { background: var(--bg); }
.method-intro {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
}
.method-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.m-card {
  text-align: center;
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 18px;
  transition: all 0.3s var(--ease);
  position: relative;
}
.m-card:hover {
  border-color: rgba(var(--c-accent), 0.4);
  transform: translateY(-4px);
}
.m-card .num {
  width: 44px; height: 44px;
  background: var(--grad-warm);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(var(--c-primary), 0.3);
}
.m-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.m-card p { font-size: 12px; color: var(--text-2); line-height: 1.6; }

.method-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.method-step {
  padding: 10px 18px;
  background: rgba(var(--c-accent), 0.08);
  border: 1px solid rgba(var(--c-accent), 0.3);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gold);
}
.method-arrow {
  color: var(--text-3);
  font-size: 16px;
}

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  padding: 20px 0;
}
.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  font-family: "SF Mono", monospace;
  font-size: 14px;
  color: var(--text-3);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticker-item::before {
  content: "◆";
  color: var(--gold);
  font-size: 10px;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.contact {
  position: relative;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 120px 0 40px;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), var(--gold), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
.contact-info h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}
.contact-info h2 .grad {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.contact-info > p {
  color: var(--text-2);
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.8;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .icon {
  width: 44px; height: 44px;
  background: rgba(var(--c-accent), 0.08);
  border: 1px solid rgba(var(--c-accent), 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-list .label {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-list .value {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.qr-card {
  background: linear-gradient(160deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.qr-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-warm);
}
.qr-box {
  width: 180px; height: 180px;
  margin: 0 auto 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: block;
  position: relative;
}
.qr-card .qr-title {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}
.qr-card .qr-title strong { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.9;
}
.footer-bottom .beian {
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom .beian:hover { color: var(--text); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-3);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 360px; }
  .mission-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .method-flow { grid-template-columns: repeat(3, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .header { height: 64px; }
  .logo img { height: 32px; }
  .header-actions { gap: 12px; }
  .theme-switch .theme-option { padding: 5px 10px; font-size: 11px; }
  .nav {
    position: fixed;
    top: 64px; left: 0;
    width: 100%; height: calc(100vh - 64px);
    background: var(--header-bg-mobile);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 40px 24px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-top: 1px solid var(--line);
  }
  .nav.open { transform: translateX(0); }
  .nav a {
    display: block;
    width: 100%;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 36px; }
  .hero-desc { font-size: 15px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-stat .num { font-size: 28px; }
  .mission-grid, .products-grid, .business-grid, .solutions-grid, .method-flow { grid-template-columns: 1fr; }
  .b-card { padding: 32px 24px; }
  .b-card h3 { font-size: 22px; }
  .method-steps { flex-direction: column; gap: 10px; }
  .method-arrow { transform: rotate(90deg); }
  .ticker-track { gap: 30px; }
  .ticker-item { font-size: 12px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stack-card { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero-stat .num { font-size: 24px; }
  .container { padding: 0 18px; }
  .qr-card { padding: 28px 20px; }
}
