:root {
  --bg: #06090f;
  --bg-soft: #0c1220;
  --primary: #00a9ff;
  --accent: #64ff7a;
  --text: #d7e6ff;
  --muted: #7f95b8;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  background: #000;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, #111828 0%, #04060b 60%, #000 100%);
}

/* 头部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(5, 12, 24, 0.95);
  border-bottom: 1px solid rgba(0, 169, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  max-height: 36px;
  width: auto;
  height: auto;
}

/* 汉堡菜单 */
.mobile-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background: #88a5ca;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* 移动端导航菜单 */
.mobile-nav-menu {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(5, 12, 24, 0.98);
  border-bottom: 1px solid rgba(0, 169, 255, 0.35);
  padding: 16px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-nav-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu a {
  display: block;
  padding: 14px 16px;
  color: #88a5ca;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
  background: rgba(0, 169, 255, 0.15);
  color: #dff0ff;
}

/* 主内容区 */
.main-content {
  padding: 20px 16px;
}

/* 页面头部 */
.page-header {
  text-align: center;
  margin-bottom: 24px;
}

.page-index {
  margin: 0 0 8px;
  color: #67c8ff;
  letter-spacing: 0.12em;
  font-family: "Roboto Mono", Consolas, monospace;
  font-size: 11px;
}

.page-header h1,
.page-header h2 {
  margin: 0 0 12px;
  font-size: 24px;
  color: #e8f4ff;
  letter-spacing: 0.02em;
}

.page-sub {
  margin: 0;
  color: #9bb9df;
  font-size: 14px;
  line-height: 1.65;
}

/* 卡片样式 */
.card {
  background: rgba(8, 16, 30, 0.78);
  border: 1px solid rgba(0, 169, 255, 0.32);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #eef6ff;
}

.card p {
  margin: 0;
  color: #b9d2f2;
  line-height: 1.7;
  font-size: 14px;
}

/* 首页场景 */
.scene {
  display: none;
}

.scene.active {
  display: block;
}

/* 首页主场景 */
.hero-scene {
  text-align: center;
  padding: 40px 20px;
}

.hero-title {
  font-size: 32px;
  color: #d9eeff;
  margin: 0 0 8px;
  letter-spacing: 0.16em;
}

.hero-subtitle {
  color: #9ab6df;
  font-size: 14px;
  margin: 0 0 32px;
  letter-spacing: 0.2em;
  font-family: "Roboto Mono", Consolas, monospace;
}

.typed-container {
  background: rgba(8, 14, 24, 0.9);
  border: 1px solid rgba(0, 169, 255, 0.55);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: "Roboto Mono", Consolas, monospace;
  font-size: 18px;
  margin-bottom: 24px;
}

.prompt {
  color: var(--primary);
  margin-right: 8px;
}

.typed-text {
  color: #d8eeff;
}

.cursor {
  animation: blink 0.9s steps(1, end) infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* 优势列表 */
.advantage-list {
  margin: 0;
  padding: 0 0 0 20px;
  color: #b8d4f4;
  font-size: 14px;
  line-height: 1.8;
}

.advantage-list li {
  margin-bottom: 12px;
}

.advantage-list li::marker {
  color: #4db8ff;
}

/* 对比卡片 */
.compare-card {
  display: grid;
  gap: 12px;
}

.compare-item {
  padding: 16px;
  border-radius: 12px;
}

.compare-item.common {
  border: 1px solid rgba(146, 166, 200, 0.3);
  background: rgba(59, 72, 98, 0.32);
}

.compare-item.premium {
  border: 1px solid rgba(0, 169, 255, 0.44);
  background: linear-gradient(145deg, rgba(0, 169, 255, 0.2), rgba(8, 26, 44, 0.8));
}

.compare-item h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.compare-item p {
  margin: 0;
  line-height: 1.7;
  font-size: 13px;
}

/* 服务流程 */
.process-steps {
  display: grid;
  gap: 12px;
}

.step-item {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0, 169, 255, 0.35);
  background: rgba(8, 20, 38, 0.72);
  cursor: pointer;
  transition: all 0.3s ease;
}

.step-item.active {
  border-color: rgba(111, 209, 255, 0.78);
  background: rgba(18, 45, 72, 0.92);
  box-shadow: 0 0 20px rgba(0, 169, 255, 0.24);
}

.step-item b {
  display: block;
  margin-bottom: 6px;
  color: #dcf0ff;
  font-size: 15px;
}

.step-item span {
  color: #a7c7ea;
  font-size: 13px;
  line-height: 1.75;
  display: block;
}

/* 进度条 */
.progress-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(18, 36, 58, 0.85);
  overflow: hidden;
  border: 1px solid rgba(0, 169, 255, 0.25);
  margin: 16px 0;
}

.progress-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #27b9ff, #7afaff);
  transition: width 0.9s ease;
}

/* 关于我们 */
.about-section {
  margin-bottom: 24px;
}

.about-hero-card {
  text-align: center;
  padding: 24px 20px;
  border: 1px solid rgba(0, 169, 255, 0.42);
  background: linear-gradient(168deg, rgba(16, 38, 68, 0.92) 0%, rgba(5, 12, 24, 0.94) 55%, rgba(6, 18, 36, 0.9) 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.about-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, #1fa3ff 35%, #7afaff 50%, #1fa3ff 65%, transparent 95%);
  opacity: 0.95;
}

.about-hero-card h2 {
  margin: 0 0 12px;
  font-size: 28px;
  color: #e8f4ff;
}

.about-hero-card p {
  color: #aac8ea;
  line-height: 1.85;
  font-size: 14px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.metric-card {
  border-radius: 10px;
  border: 1px solid rgba(0, 169, 255, 0.28);
  background: linear-gradient(160deg, rgba(12, 32, 56, 0.75) 0%, rgba(6, 16, 32, 0.85) 100%);
  padding: 12px 8px;
  text-align: center;
}

.metric-card b {
  display: block;
  color: #e8f4ff;
  font-size: 14px;
  margin-bottom: 4px;
}

.metric-card span {
  display: block;
  color: #93b2d9;
  font-size: 11px;
  line-height: 1.45;
}

/* 机构卡片 */
.org-grid {
  display: grid;
  gap: 10px;
}

.org-card {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 10px;
  border: 1px solid rgba(0, 169, 255, 0.2);
  background: linear-gradient(135deg, rgba(18, 42, 72, 0.55) 0%, rgba(8, 20, 38, 0.88) 100%);
  color: #c5daf2;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
  display: block;
}

.org-card::before {
  content: counter(org-counter, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 800;
  font-family: "Roboto Mono", Consolas, monospace;
  color: #3d9ee0;
}

.org-grid {
  counter-reset: org-counter;
}

.org-card {
  counter-increment: org-counter;
}

.org-card-name {
  font-weight: 600;
  color: #d8e8fb;
  display: block;
  margin-bottom: 4px;
}

.org-card-region {
  font-size: 11px;
  color: #7eb6e8;
}

/* 图片展示 */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.cert-frame {
  margin: 0;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(0, 169, 255, 0.28);
  background: linear-gradient(180deg, rgba(12, 28, 48, 0.9) 0%, rgba(6, 16, 32, 0.95) 100%);
}

.cert-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* 底部 */
.site-footer {
  position: relative;
  left: 0;
  right: 0;
  z-index: 4;
  background: rgba(5, 12, 24, 0.96);
  border-top: 1px solid rgba(0, 169, 255, 0.35);
  padding: 14px 16px;
  font-size: 11px;
  color: #8da8cd;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.icp-info a {
  color: #8da8cd;
  text-decoration: none;
}

.icp-info a:hover {
  color: #7afaff;
  text-decoration: underline;
}

/* 按钮 */
.btn-primary {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 130, 210, 0.75) 0%, rgba(0, 80, 150, 0.9) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-top: 16px;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 100, 180, 0.35);
}

/* 标签 */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tag {
  border: 1px solid rgba(0, 169, 255, 0.35);
  background: rgba(8, 20, 38, 0.62);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: #b8d4f4;
}

/* 企业微信客服浮层 - 移动端完整样式 */
.wecom-float-root {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  font-family: inherit;
  pointer-events: none;
}

.wecom-float-root > * {
  pointer-events: auto;
}

.wecom-float-panel {
  position: relative;
  width: calc(100vw - 32px);
  max-width: 320px;
  max-height: 60vh;
  margin-bottom: 12px;
  padding: 40px 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(120, 190, 255, 0.35);
  background: linear-gradient(165deg, rgba(12, 28, 52, 0.97) 0%, rgba(6, 14, 30, 0.98) 100%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(122, 250, 255, 0.08) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wecom-float-panel[hidden] {
  display: none !important;
}

.wecom-float-close {
  position: absolute;
  top: 8px;
  right: 10px;
  min-width: 48px;
  height: 30px;
  margin: 0;
  padding: 0 10px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #b8d4f0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease;
}

.wecom-float-close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.wecom-float-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.wecom-float-tab {
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 169, 255, 0.28);
  background: rgba(0, 40, 80, 0.4);
  color: #a8cce8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.wecom-float-tab.is-active {
  border-color: rgba(122, 250, 255, 0.55);
  background: rgba(0, 90, 150, 0.55);
  color: #f0f8ff;
}

.wecom-float-content {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.wecom-float-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, rgba(0, 130, 210, 0.75) 0%, rgba(0, 80, 150, 0.9) 100%);
  border: 1px solid rgba(122, 250, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wecom-float-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 100, 180, 0.35);
}

.wecom-float-qr {
  margin: 0;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.wecom-float-qr img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  vertical-align: middle;
}

.wecom-float-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 50px;
  margin: 0;
  padding: 0 8px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  font-family: inherit;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  animation: wecom-breathe 2s ease-in-out infinite;
}

@keyframes wecom-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.wecom-float-toggle:hover {
  background: #f5f5f5;
  border-color: rgba(0, 0, 0, 0.25);
  color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  animation-play-state: paused;
}

.wecom-float-toggle-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
