/* ====================================================
   浏阳数智工匠 · 自定义样式
   配色：深空蓝 #050B1F / #0A1B3D / 电光青 #22D3EE / 暖金 #F5B642
   ==================================================== */

:root {
  --bg-deep: #050B1F;
  --bg-1: #0A1B3D;
  --bg-2: #0F2657;
  --brand-blue: #1D4ED8;
  --brand-cyan: #22D3EE;
  --brand-cyan-soft: rgba(34, 211, 238, 0.18);
  --brand-gold: #F5B642;
  --text-1: rgba(255, 255, 255, 0.96);
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.5);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(34, 211, 238, 0.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  background: var(--bg-deep);
  color: var(--text-1);
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(34, 211, 238, 0.12), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(29, 78, 216, 0.18), transparent 60%),
    radial-gradient(800px 400px at 100% 80%, rgba(245, 182, 66, 0.06), transparent 60%),
    linear-gradient(180deg, #050B1F 0%, #07142E 50%, #050B1F 100%);
}

/* ===== 全局背景网格 ===== */
.bg-grid::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* ===== 字体辅助类 ===== */
.font-mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }
.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 0%, #22D3EE 60%, #60A5FA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-gradient-gold {
  background: linear-gradient(135deg, #F5B642 0%, #FCD34D 50%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== 玻璃拟态 ===== */
.glass {
  background: rgba(10, 27, 61, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.glass-soft {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
}

/* ===== 导航栏 ===== */
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.4s ease;
}
.nav-bar.scrolled {
  background: rgba(5, 11, 31, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.nav-link {
  position: relative;
  padding: 8px 4px;
  color: var(--text-2);
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
  transform: translateX(-50%);
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ===== Logo Mark ===== */
.logo-mark {
  width: 40px; height: 40px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--brand-cyan);
  border-radius: 8px;
  transform: rotate(45deg);
  box-shadow: 0 0 20px var(--brand-cyan-soft);
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 4px;
  transform: rotate(45deg);
}
.logo-mark span {
  position: relative;
  z-index: 2;
  font-weight: 900;
  font-size: 16px;
  background: linear-gradient(135deg, #22D3EE, #60A5FA);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== 申报徽章呼吸 ===== */
.badge-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(245, 182, 66, 0.4);
  background: linear-gradient(135deg, rgba(245, 182, 66, 0.12), rgba(245, 182, 66, 0.04));
  color: var(--brand-gold);
  font-size: 13px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.badge-apply::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245, 182, 66, 0.25), transparent);
  animation: shine 3s ease-in-out infinite;
}
.badge-apply .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 8px var(--brand-gold);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -100%; }
  60%, 100% { left: 100%; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ===== Hero 标题 ===== */
.hero-title {
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2px;
  position: relative;
}
.hero-title-outline {
  -webkit-text-stroke: 1px rgba(34, 211, 238, 0.5);
  color: transparent;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-2);
  letter-spacing: 4px;
}
.hero-slogan {
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--brand-cyan);
  letter-spacing: 2px;
}

/* ===== 章节通用 ===== */
.section { position: relative; padding: 96px 0; z-index: 1; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--brand-cyan);
  text-transform: uppercase;
}
.section-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--brand-cyan);
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-top: 12px;
}
.section-subtitle {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 16px;
  max-width: 720px;
}

/* ===== 卡片 ===== */
.card-tech {
  position: relative;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.05), rgba(10, 27, 61, 0.4));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.card-tech::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.18), transparent 40%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card-tech:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 60px rgba(34, 211, 238, 0.15);
}
.card-tech:hover::before { opacity: 1; }

.card-corner {
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--brand-cyan);
}
.card-corner.tl { top: 12px; left: 12px; border-left: 1px solid; border-top: 1px solid; }
.card-corner.tr { top: 12px; right: 12px; border-right: 1px solid; border-top: 1px solid; }
.card-corner.bl { bottom: 12px; left: 12px; border-left: 1px solid; border-bottom: 1px solid; }
.card-corner.br { bottom: 12px; right: 12px; border-right: 1px solid; border-bottom: 1px solid; }

/* ===== 行业卡片图标光圈 ===== */
.icon-halo {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(34, 211, 238, 0.04));
  border: 1px solid var(--line-strong);
  position: relative;
}
.icon-halo::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-cyan), transparent 50%);
  opacity: 0.3;
  filter: blur(6px);
  z-index: -1;
}

/* ===== 标签 chip ===== */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--brand-cyan);
  font-size: 12px;
  letter-spacing: 0.5px;
}

/* ===== 按钮 ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22D3EE, #1D4ED8);
  color: #051028;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(34, 211, 238, 0.5); }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}
.btn-primary:hover::after { left: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  color: var(--text-1);
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s;
}
.btn-ghost:hover {
  background: rgba(34, 211, 238, 0.1);
  border-color: var(--brand-cyan);
}

/* ===== 计数器 ===== */
.counter-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  background: linear-gradient(135deg, #FFFFFF, #22D3EE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ===== 滚动渐入 ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ===== Hero 轮播 ===== */
.hero-slide {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s, transform 0.6s;
  position: absolute;
  top: 0; left: 0; right: 0;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.slide-dot {
  width: 28px; height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
}
.slide-dot.active {
  background: linear-gradient(90deg, #22D3EE, #1D4ED8);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
}

/* ===== 流程时间线 ===== */
.pipeline-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
  position: relative;
}
.pipeline-line::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 60px; height: 4px;
  background: var(--brand-cyan);
  border-radius: 2px;
  filter: blur(2px);
  animation: travel 4s ease-in-out infinite;
}
@keyframes travel {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(calc(100vw - 200px)); opacity: 1; }
}

/* ===== HUD 浮动数据 ===== */
.hud-card {
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(5, 11, 31, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  font-family: 'JetBrains Mono', monospace;
  position: relative;
}
.hud-card .label {
  font-size: 10px;
  color: var(--brand-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hud-card .value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}

/* ===== 星标分隔 ===== */
.divider-star {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--brand-cyan);
}
.divider-star::before, .divider-star::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* ===== 雷达辐射图 ===== */
.radar-svg .ring {
  fill: none;
  stroke: rgba(34, 211, 238, 0.25);
  stroke-dasharray: 4 4;
  animation: rotate 60s linear infinite;
  transform-origin: center;
}
.radar-svg .ring:nth-child(2) { animation-duration: 80s; animation-direction: reverse; }
.radar-svg .ring:nth-child(3) { animation-duration: 100s; }
.radar-svg .ring:nth-child(4) { animation-duration: 120s; animation-direction: reverse; }
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.radar-svg .city {
  fill: var(--brand-cyan);
  filter: drop-shadow(0 0 4px var(--brand-cyan));
}
.radar-svg .city.primary {
  fill: var(--brand-gold);
  filter: drop-shadow(0 0 8px var(--brand-gold));
}
.radar-svg .city-label {
  fill: var(--text-2);
  font-size: 3px;
  font-family: 'Noto Sans SC', sans-serif;
}
.radar-sweep {
  transform-origin: 50% 50%;
  animation: sweep 4s linear infinite;
}
@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-cyan), var(--brand-blue));
  border-radius: 4px;
}

/* ===== 鼠标向下指示 ===== */
.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: 3px;
  font-family: 'JetBrains Mono', monospace;
}
.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--brand-cyan), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-indicator .line::before {
  content: '';
  position: absolute;
  top: -10px; left: 0;
  width: 100%; height: 10px;
  background: var(--brand-cyan);
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: -10px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 40px; opacity: 0; }
}

/* ===== partner ticker ===== */
.ticker {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
  display: flex;
  gap: 48px;
  animation: tick 30s linear infinite;
  width: max-content;
}
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 14px;
  white-space: nowrap;
}
.ticker-item .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 6px var(--brand-cyan);
}

/* ===== 增长图表 ===== */
.growth-chart {
  position: relative;
}
.growth-line {
  fill: none;
  stroke: url(#growthGrad);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s ease;
}
.growth-chart.visible .growth-line { stroke-dashoffset: 0; }
.growth-area {
  fill: url(#growthArea);
  opacity: 0;
  transition: opacity 1.5s ease 0.5s;
}
.growth-chart.visible .growth-area { opacity: 1; }
.growth-dot {
  fill: var(--brand-cyan);
  filter: drop-shadow(0 0 4px var(--brand-cyan));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.growth-chart.visible .growth-dot { opacity: 1; }
.growth-chart.visible .growth-dot:nth-child(1) { transition-delay: 1s; }
.growth-chart.visible .growth-dot:nth-child(2) { transition-delay: 1.4s; }
.growth-chart.visible .growth-dot:nth-child(3) { transition-delay: 1.8s; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero-title { font-size: clamp(40px, 12vw, 72px); letter-spacing: -1px; }
  .hide-mobile { display: none !important; }
}

/* ===== 工匠纹理（SVG 背景图案） ===== */
.gear-bg {
  background-image: radial-gradient(circle at 1px 1px, rgba(34, 211, 238, 0.18) 1px, transparent 0);
  background-size: 24px 24px;
}

/* ===== 移动菜单 ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 31, 0.96);
  backdrop-filter: blur(20px);
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 24px;
  color: var(--text-1);
  letter-spacing: 4px;
}
