/* ============================================================
   海南博创思伟科技 · 官网重设计
   深色主题 · 极简 + 科技感
   单一强调色（电光青蓝 #3FB9F5）
   基于 design-tokens.css 落地
   ============================================================ */

/* ---------- 设计令牌 Design Tokens ---------- */
:root {
  /* 色板 */
  --color-bg:            #0A0E17;
  --color-bg-raised:     #0D1420;
  --color-bg-footer:     #080B12;
  --color-surface:       #101B2C;
  --color-surface-soft:  #12233A;

  --color-accent:        #3FB9F5;
  --color-accent-light:  #5CC8F8;
  --color-accent-dark:   #2F8FC9;
  --color-accent-text:   #8FC8F0;
  --color-on-accent:     #06121F;

  --color-text-title:    #F4F7FB;
  --color-text-heading:  #EDF2F8;
  --color-text-body:     #C6CEDB;
  --color-text-muted:    #8B97A8;
  --color-text-faint:    #96A1B3;
  --color-text-disabled: #5A6572;

  --color-border:        #1A2230;
  --color-border-soft:   rgba(53, 66, 83, 1);
  --color-border-accent: rgba(63, 185, 245, 0.14);

  /* 语义状态色 */
  --color-success: #3fb950;
  --color-error:   #f26d6d;

  /* 字体 */
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Consolas, "Courier New", monospace;

  /* 字号 */
  --fs-display:   60px;
  --fs-h1:        44px;
  --fs-h2:        40px;
  --fs-stat-lg:   48px;
  --fs-stat-sm:   26px;
  --fs-card-title:20px;
  --fs-subtitle:  18px;
  --fs-body:      16px;
  --fs-body-sm:   15px;
  --fs-nav:       15px;
  --fs-caption:   14px;
  --fs-label:     13px;
  --fs-kicker:    14px;

  /* 圆角 */
  --radius-card:   16px;
  --radius-btn:    10px;
  --radius-input:  8px;
  --radius-badge:  20px;
  --radius-logo:   4px;

  /* 间距（8px 基准） */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-22: 88px;
  --space-24: 96px;
  --space-30: 120px;

  /* 布局 */
  --page-width: 1440px;
  --page-gutter: 88px;
  --header-height: 72px;
}

/* ============================================================
   全局重置
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-body);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

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

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

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

/* ============================================================
   通用组件
   ============================================================ */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--fs-kicker);
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-header {
  max-width: 720px;
  margin-bottom: var(--space-16);
}

.section-header .kicker {
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-title);
  margin-bottom: var(--space-4);
  letter-spacing: 0.5px;
}

.section-description {
  font-size: var(--fs-subtitle);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: 1;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-body);
  border: 1px solid var(--color-border-soft);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-text);
}

.btn-full {
  width: 100%;
}

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

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

/* ============================================================
   Header（高 72px）
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
  border-bottom: 1px solid var(--color-border);
  background: rgba(10, 14, 23, 0.95);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  gap: var(--space-8);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-logo);
  background: var(--color-accent);
  position: relative;
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(63, 185, 245, 0.12);
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--color-on-accent);
  transform: rotate(45deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-main {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--color-text-heading);
  letter-spacing: 0.5px;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 导航链接 */
.nav-links {
  display: flex;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--fs-nav);
  font-weight: 400;
  color: var(--color-text-faint);
  position: relative;
  padding: var(--space-2) 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-heading);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* 导航工具 */
.nav-tools {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.nav-cta {
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-size: var(--fs-caption);
  font-weight: 700;
  line-height: 1;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-accent-light);
  transform: translateY(-1px);
}

.btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--color-border-soft);
  border-radius: 8px;
  color: var(--color-text-faint);
  font-size: var(--fs-label);
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-lang:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-text);
}

.btn-lang .globe {
  font-size: 14px;
}

.nav-toggle {
  display: none;
  color: var(--color-text-heading);
  font-size: 22px;
  padding: var(--space-2);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.open .icon-menu {
  display: none;
}

.nav-toggle.open .icon-close {
  display: block;
}

/* ============================================================
   Hero（非对称分屏 55/45）
   ============================================================ */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-24));
  padding-bottom: var(--space-30);
  overflow: hidden;
}

/* 背景网格 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(63, 185, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 185, 245, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface-soft);
  border: 1px solid var(--color-border-accent);
  color: var(--color-accent-text);
  padding: 8px 16px;
  border-radius: var(--radius-badge);
  font-size: var(--fs-label);
  font-weight: 500;
  margin-bottom: var(--space-6);
  letter-spacing: 0.3px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 rgba(63, 185, 245, 0.5);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(63, 185, 245, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(63, 185, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 185, 245, 0); }
}

.hero-title {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-title);
  margin-bottom: var(--space-6);
  letter-spacing: 0.5px;
}

.hero-title .hl {
  color: var(--color-accent);
}

.hero-description {
  font-size: var(--fs-subtitle);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-14);
  flex-wrap: wrap;
}

/* 信任数据 */
.hero-stats {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-mono);
  font-size: var(--fs-stat-sm);
  font-weight: 600;
  color: var(--color-text-title);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-number .unit {
  color: var(--color-accent);
}

.stat-label {
  font-size: var(--fs-label);
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
}

/* Hero 右列科技图形 */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-orbit {
  position: relative;
  width: 480px;
  height: 480px;
  max-width: 100%;
}

/* 同心圆环 */
.orbit-ring {
  position: absolute;
  border: 1px solid rgba(63, 185, 245, 0.18);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 { width: 480px; height: 480px; }
.ring-2 { width: 360px; height: 360px; }
.ring-3 { width: 240px; height: 240px; border-color: rgba(63, 185, 245, 0.3); }

/* 轨道上的点 */
.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px 2px rgba(63, 185, 245, 0.6);
}

.orbit-dot.dot-1 { top: 8%; left: 50%; }
.orbit-dot.dot-2 { top: 50%; right: 2%; width: 8px; height: 8px; }
.orbit-dot.dot-3 { bottom: 16%; left: 18%; width: 7px; height: 7px; }
.orbit-dot.dot-4 { top: 20%; right: 14%; width: 6px; height: 6px; opacity: 0.7; }

/* 中心核心 */
.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(63, 185, 245, 0.35), rgba(63, 185, 245, 0.05) 70%);
  border: 1px solid rgba(63, 185, 245, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center .core-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 30px 8px rgba(63, 185, 245, 0.5);
}

/* SYSTEM ONLINE 状态胶囊 */
.orbit-status {
  position: absolute;
  top: 30%;
  right: 6%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-badge);
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-accent-text);
  letter-spacing: 0.06em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.orbit-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-dot 2s infinite;
}

/* 代码卡 deploy.success() */
.code-card {
  position: absolute;
  bottom: 8%;
  left: 4%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  min-width: 220px;
}

.code-card .code-line {
  display: flex;
  gap: var(--space-2);
}

.code-card .prompt {
  color: var(--color-accent);
}

.code-card .cmd {
  color: var(--color-text-body);
}

.code-card .ok {
  color: var(--color-success);
}

.code-card .bar {
  margin-top: var(--space-3);
  height: 6px;
  border-radius: 3px;
  background: var(--color-surface-soft);
  overflow: hidden;
}

.code-card .bar-fill {
  height: 100%;
  width: 78%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-accent-dark), var(--color-accent));
  animation: loading-bar 2.4s ease-in-out infinite;
}

@keyframes loading-bar {
  0% { width: 10%; }
  50% { width: 78%; }
  100% { width: 10%; }
}

/* 轨道旋转动画 */
.orbit-spin {
  position: absolute;
  inset: 0;
  animation: spin 24s linear infinite;
}

.orbit-spin .orbit-dot {
  position: absolute;
}

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

/* ============================================================
   服务板块（3×2）
   ============================================================ */
.services {
  padding: var(--space-30) 0;
  background: var(--color-bg);
}

.services .section-header {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 640px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.service-card {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-card);
  padding: var(--space-8) 28px;
  transition: all 0.25s ease;
  position: relative;
}

.service-card:hover {
  border-color: rgba(63, 185, 245, 0.4);
  transform: translateY(-4px);
  background: var(--color-surface);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: var(--color-accent);
  transition: all 0.25s ease;
}

.service-card:hover .service-icon {
  background: rgba(63, 185, 245, 0.15);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.service-title {
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: var(--space-3);
}

.service-desc {
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   数据背书（#0D1420 底）
   ============================================================ */
.stats-band {
  background: var(--color-bg-raised);
  padding: var(--space-20) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}

.stats-band .stat-item {
  align-items: center;
  text-align: center;
}

.stats-band .stat-number {
  font-size: var(--fs-stat-lg);
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.stats-band .stat-number .unit {
  color: var(--color-accent);
}

.stats-band .stat-label {
  color: var(--color-text-muted);
  font-size: var(--fs-caption);
}

/* ============================================================
   关于我们（左文右图）
   ============================================================ */
.about {
  padding: var(--space-30) 0;
  background: var(--color-bg);
}

.about-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-16);
  align-items: center;
}

.about-content .kicker {
  margin-bottom: var(--space-4);
}

.about-content .section-title {
  font-size: var(--fs-h2);
  line-height: 1.3;
  margin-bottom: var(--space-6);
}

.about-text {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-10);
  max-width: 540px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.about-point .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(63, 185, 245, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-point .check svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

.about-point .point-title {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 2px;
}

.about-point .point-desc {
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
}

/* 关于我们右侧科技面板 */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-panel {
  position: relative;
  width: 480px;
  height: 380px;
  max-width: 100%;
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-card);
  overflow: hidden;
  background-image:
    linear-gradient(rgba(63, 185, 245, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 185, 245, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-panel .node-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(63, 185, 245, 0.4);
  background: radial-gradient(circle at 35% 35%, rgba(63, 185, 245, 0.3), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-panel .node-center .inner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 24px 6px rgba(63, 185, 245, 0.5);
}

.about-panel .node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.8;
}

.about-panel .node.n1 { top: 18%; left: 20%; }
.about-panel .node.n2 { top: 24%; right: 22%; }
.about-panel .node.n3 { bottom: 22%; left: 26%; }
.about-panel .node.n4 { bottom: 20%; right: 24%; }

/* ============================================================
   联系我们
   ============================================================ */
.contact {
  padding: var(--space-30) 0;
  background: var(--color-bg-raised);
  border-top: 1px solid var(--color-border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-16);
  align-items: start;
}

.contact-info .kicker {
  margin-bottom: var(--space-4);
}

.contact-info .section-title {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-4);
}

.contact-intro {
  font-size: var(--fs-body);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-surface-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.contact-content h4 {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 2px;
}

.contact-content p {
  font-size: var(--fs-subtitle);
  color: var(--color-text-body);
  font-weight: 500;
}

/* 表单 */
.contact-form-wrapper {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border-accent);
  border-radius: var(--radius-card);
  padding: var(--space-10);
}

.form-title {
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: var(--space-8);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--color-text-body);
  margin-bottom: var(--space-2);
}

.required {
  color: var(--color-accent);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-input);
  font-size: var(--fs-body);
  font-family: var(--font-sans);
  color: var(--color-text-body);
  transition: all 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-disabled);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(63, 185, 245, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.error-message {
  color: var(--color-error);
  font-size: 12px;
  margin-top: var(--space-1);
}

.form-input.error {
  border-color: var(--color-error);
}

/* ============================================================
   页脚（#080B12）
   ============================================================ */
.footer {
  background: var(--color-bg-footer);
  padding: var(--space-16) 0 var(--space-8);
  color: var(--color-text-muted);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand .logo {
  margin-bottom: var(--space-5);
}

.footer-desc {
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer-title {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-accent-text);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-body-sm);
  color: var(--color-text-muted);
}

.footer-contact .fi {
  color: var(--color-accent);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-label);
  color: var(--color-text-disabled);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-bottom .icp a {
  color: var(--color-text-disabled);
  transition: color 0.2s ease;
}

.footer-bottom .icp a:hover {
  color: var(--color-text-muted);
}

/* ============================================================
   在线客服浮窗
   ============================================================ */
.customer-service {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 380px;
  max-width: calc(100vw - 40px);
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: all 0.3s ease;
}

.customer-service.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.cs-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.cs-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-surface-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.cs-avatar svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.cs-info {
  flex: 1;
}

.cs-name {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--color-text-heading);
}

.cs-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--color-success);
}

.cs-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

.cs-close-btn {
  color: var(--color-text-muted);
  font-size: 20px;
  padding: var(--space-1);
  transition: color 0.2s ease;
}

.cs-close-btn:hover {
  color: var(--color-text-heading);
}

.cs-messages {
  height: 260px;
  overflow-y: auto;
  padding: var(--space-5);
  background: var(--color-bg);
}

.cs-message {
  display: flex;
  margin-bottom: var(--space-4);
}

.cs-message.cs-user {
  justify-content: flex-end;
}

.cs-message-bubble {
  max-width: 80%;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-btn);
  font-size: var(--fs-body-sm);
  line-height: 1.5;
}

.cs-message.cs-bot .cs-message-bubble {
  background: var(--color-surface);
  color: var(--color-text-body);
  border-bottom-left-radius: var(--space-1);
}

.cs-message.cs-user .cs-message-bubble {
  background: var(--color-accent);
  color: var(--color-on-accent);
  border-bottom-right-radius: var(--space-1);
}

.cs-actions {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-raised);
}

.cs-action-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  color: var(--color-text-body);
  font-size: 12px;
  transition: all 0.2s ease;
}

.cs-action-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-text);
  transform: translateY(-2px);
}

.cs-action-btn .fi {
  font-size: 18px;
}

.cs-action-btn.wechat .fi { color: var(--color-success); }
.cs-action-btn.phone .fi { color: var(--color-accent); }
.cs-action-btn.email .fi { color: var(--color-accent-light); }

.cs-footer {
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.cs-minimize-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
  color: var(--color-text-muted);
  font-size: var(--fs-caption);
}

.cs-minimize-btn:hover {
  color: var(--color-text-body);
}

/* 客服开关按钮 */
.cs-toggle-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-on-accent);
  box-shadow: 0 8px 24px rgba(63, 185, 245, 0.4);
  z-index: 9998;
  transition: all 0.3s ease;
}

.cs-toggle-btn:hover {
  transform: scale(1.08);
  background: var(--color-accent-light);
}

.cs-toggle-btn svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.cs-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  background: var(--color-error);
  color: #fff;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border: 2px solid var(--color-bg);
}

/* ============================================================
   模态框（微信二维码）
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.25s ease;
}

.modal {
  background: var(--color-bg-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-8);
  max-width: 400px;
  width: 90%;
  position: relative;
  animation: slideInUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  color: var(--color-text-muted);
  font-size: 24px;
  line-height: 1;
  padding: var(--space-1);
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--color-text-heading);
}

.modal h3 {
  font-size: var(--fs-card-title);
  font-weight: 700;
  color: var(--color-text-heading);
  text-align: center;
  margin-bottom: var(--space-6);
}

.qr-code {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.qr-code img {
  border-radius: var(--radius-btn);
  border: 1px solid var(--color-border);
  max-width: 240px;
  width: 100%;
  height: auto;
  background: #fff;
}

.modal p {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--fs-body-sm);
}

.modal .qr-wechat {
  color: var(--color-accent-text);
  font-family: var(--font-mono);
  margin-top: var(--space-2);
}

.modal .qr-hint {
  color: var(--color-text-disabled);
  font-size: var(--fs-label);
  margin-top: var(--space-2);
}

/* ============================================================
   通知
   ============================================================ */
.notification {
  position: fixed;
  top: 88px;
  right: 20px;
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  font-size: var(--fs-body-sm);
  max-width: 400px;
}

.notification-success {
  background: var(--color-success);
}

.notification-error {
  background: var(--color-error);
}

.notification-info {
  background: var(--color-accent-dark);
}

/* ============================================================
   动画
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 入场动画 */
.hero-content > * {
  animation: fadeInUp 0.6s ease both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.12s; }
.hero-content > *:nth-child(3) { animation-delay: 0.19s; }
.hero-content > *:nth-child(4) { animation-delay: 0.26s; }
.hero-content > *:nth-child(5) { animation-delay: 0.33s; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1200px) {
  :root {
    --fs-display: 52px;
    --fs-h1: 40px;
    --fs-h2: 36px;
  }
  .tech-orbit { width: 420px; height: 420px; }
  .ring-1 { width: 420px; height: 420px; }
  .ring-2 { width: 320px; height: 320px; }
  .ring-3 { width: 220px; height: 220px; }
}

@media (max-width: 1024px) {
  :root {
    --page-gutter: 48px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  .hero-visual { order: -1; }
  .tech-orbit { width: 420px; height: 420px; }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
  }
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-panel { width: 100%; height: 320px; }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --page-gutter: 20px;
    --fs-display: 40px;
    --fs-h1: 32px;
    --fs-h2: 30px;
    --fs-stat-lg: 40px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 72%;
    max-width: 320px;
    background: var(--color-bg-raised);
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    padding: var(--space-8);
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    font-size: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + var(--space-14));
    padding-bottom: var(--space-16);
  }

  .tech-orbit { width: 320px; height: 320px; }
  .ring-1 { width: 320px; height: 320px; }
  .ring-2 { width: 240px; height: 240px; }
  .ring-3 { width: 160px; height: 160px; }
  .orbit-center { width: 90px; height: 90px; }
  .code-card { min-width: 180px; font-size: 11px; }

  .hero-stats {
    gap: var(--space-8);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .tech-orbit { width: 280px; height: 280px; }
  .ring-1 { width: 280px; height: 280px; }
  .ring-2 { width: 200px; height: 200px; }
  .ring-3 { width: 130px; height: 130px; }
  .customer-service {
    bottom: 90px;
    right: 10px;
    left: 10px;
    width: auto;
  }
}
