/* ===================================================
   掌汇美 — 主样式表（青蓝科技色调）
   =================================================== */

:root {
  --bg:           #050C18;
  --bg-2:         #081424;
  --cyan:         #00C8FF;
  --cyan-dim:     rgba(0,200,255,0.12);
  --blue:         #1E6FFF;
  --blue-light:   #60AFFF;
  --text:         #E4F0FF;
  --text-muted:   #4A6A8A;
  --text-mid:     #7A9EC0;
  --border:       rgba(0,200,255,0.13);
  --card-bg:      rgba(255,255,255,0.028);
  --card-border:  rgba(0,200,255,0.17);
  --glass-bg:     rgba(8,20,42,0.6);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── 背景 Canvas ── */
#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ── 光晕球（青色调） ── */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 640px; height: 640px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(0,200,255,0.13) 0%, transparent 70%);
}
.glow-2 {
  width: 500px; height: 500px;
  bottom: 10%; left: -120px;
  background: radial-gradient(circle, rgba(30,111,255,0.12) 0%, transparent 70%);
}
.glow-3 {
  width: 360px; height: 360px;
  top: 45%; left: 40%;
  background: radial-gradient(circle, rgba(0,200,255,0.07) 0%, transparent 70%);
}

/* ── 页面层 ── */
.page-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--border);
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 52px; height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(0,200,255,0.35));
}
.logo-mark svg { width: 100%; height: 100%; }

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo-cn {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
}

.logo-domain {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  font-weight: 400;
  opacity: 0.7;
}

.header-nav {
  display: flex;
  gap: 32px;
}
.header-nav span {
  font-size: 13px;
  color: var(--text-muted);
  cursor: default;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.header-nav span:hover { color: var(--cyan); }

/* ── Hero ── */
.hero {
  padding: 90px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  border: 1px solid rgba(0,200,255,0.28);
  border-radius: 100px;
  padding: 6px 18px;
  background: rgba(0,200,255,0.06);
  backdrop-filter: blur(8px);
}

.tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; box-shadow: 0 0 8px var(--cyan); }
  50%      { opacity:0.4; box-shadow: 0 0 3px var(--cyan); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 300;
  line-height: 1.15;
}

.title-line-1 {
  font-size: clamp(28px, 4vw, 46px);
  color: var(--text);
  letter-spacing: 0.08em;
}

.title-line-2 {
  font-size: clamp(32px, 5vw, 58px);
  color: var(--text);
  letter-spacing: 0.05em;
}

.title-line-2 em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(120deg, var(--cyan) 0%, #40AAFF 60%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
  letter-spacing: 0.04em;
  max-width: 600px;
}

/* ── 数据行（文字版） ── */
.stats-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  padding: 22px 0;
  margin-top: 8px;
  width: 100%;
  max-width: 680px;
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-num {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: 0.04em;
}
.stat-num em {
  font-style: normal;
  color: var(--cyan);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── 服务区块 ── */
.services-section { padding: 20px 0 40px; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.svc-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 22px 24px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.28s, background 0.3s;
  animation: card-fade-in 0.6s ease both;
  animation-delay: var(--delay, 0s);
}
@keyframes card-fade-in {
  from { opacity:0; transform: translateY(18px); }
  to   { opacity:1; transform: translateY(0); }
}
.svc-card:hover {
  border-color: rgba(0,200,255,0.4);
  transform: translateY(-5px);
  background: rgba(0,200,255,0.04);
}

.svc-glow {
  position: absolute;
  top: -40px; left: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card:hover .svc-glow { opacity: 1; }

.svc-icon-wrap {
  width: 44px; height: 44px;
  color: var(--cyan);
  margin-bottom: 16px;
  opacity: 0.85;
}
.svc-icon-wrap svg { width: 100%; height: 100%; }

.svc-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 9px;
  letter-spacing: 0.04em;
}
.svc-card p {
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.svc-tags span {
  font-size: 10.5px;
  color: var(--cyan);
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: 6px;
  padding: 3px 8px;
  background: rgba(0,200,255,0.05);
  letter-spacing: 0.04em;
}

/* ── 优势区 ── */
.advantage-section { padding-bottom: 60px; }

.adv-glass {
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 40px;
}

.adv-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.adv-icon { font-size: 24px; line-height: 1; margin-top: 2px; }
.adv-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: 0.04em;
}
.adv-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}
.adv-sep {
  width: 1px;
  height: 60px;
  background: var(--border);
  margin: 0 36px;
  flex-shrink: 0;
}

/* ── Footer ── */
.footer { margin-top: auto; padding-bottom: 28px; }

.footer-glow-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,200,255,0.4), rgba(30,111,255,0.2), transparent);
  margin-bottom: 22px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-beian {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-beian a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-beian a:hover {
  color: var(--cyan);
  border-color: rgba(0,200,255,0.4);
}
.footer-copy {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-glass { flex-direction: column; padding: 24px 28px; gap: 20px; }
  .adv-sep { width: 100%; height: 1px; margin: 0; }
  .header-nav { display: none; }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; }
  .page-wrapper { padding: 0 20px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-card, .tag-dot { animation: none; transition: none; }
}
