/* =========================================================
   初阳信息 - 全局样式
   配色：深蓝渐变 + 青色高光（参考 chuyang-homepage-minimal-blue-02）
   ========================================================= */

/* ---------- 0. 设计变量 ---------- */
:root {
  /* 背景层级 */
  --bg-deep:        #050B1A;
  --bg-base:        #0A1530;
  --bg-elevated:    #0F2444;
  --bg-card:        rgba(20, 40, 80, 0.42);
  --bg-card-hover:  rgba(28, 56, 110, 0.55);

  /* 品牌色 */
  --c-primary:      #00E5FF;
  --c-primary-soft: #6CF1FF;
  --c-secondary:    #3B82F6;
  --c-accent:       #6366F1;

  /* 文字 */
  --t-primary:    #FFFFFF;
  --t-secondary:  #C9D5E8;
  --t-tertiary:   #8FA3BF;
  --t-muted:      #6B7A92;

  /* 描边 */
  --border-soft:   rgba(0, 229, 255, 0.12);
  --border-medium: rgba(0, 229, 255, 0.25);
  --border-strong: rgba(0, 229, 255, 0.45);

  /* 渐变 */
  --grad-brand:   linear-gradient(135deg, #00E5FF 0%, #3B82F6 100%);
  --grad-brand-2: linear-gradient(135deg, #00E5FF 0%, #6366F1 100%);
  --grad-text:    linear-gradient(135deg, #6CF1FF 0%, #FFFFFF 60%, #A7C7FF 100%);
  --grad-bg:      radial-gradient(ellipse at 20% 0%, #1A3266 0%, #050B1A 55%) ,
                   radial-gradient(ellipse at 80% 100%, #0E2A55 0%, transparent 60%);

  /* 阴影 */
  --shadow-glow:  0 0 32px rgba(0, 229, 255, 0.25);
  --shadow-card:  0 8px 32px rgba(0, 0, 0, 0.35);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* 间距 */
  --container: 1240px;
  --gutter:    24px;

  /* 字号 */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 36px;
  --fs-4xl: 48px;
  --fs-5xl: 64px;

  /* 过渡 */
  --t-fast: 0.18s ease;
  --t-med:  0.32s cubic-bezier(.2,.7,.3,1);
}

/* ---------- 1. Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--t-secondary);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img,svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-primary); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul,ol { list-style: none; }
input,textarea,select { font-family: inherit; font-size: inherit; color: inherit; }

/* ---------- 2. 全局背景（星空点阵 + 网格） ---------- */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background: var(--grad-bg);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(0,229,255,.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 78%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 67% 33%, rgba(0,229,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 84% 64%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 88%, rgba(0,229,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 12%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 18%, rgba(0,229,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 58%, rgba(255,255,255,.4) 50%, transparent 51%),
    linear-gradient(to right, rgba(0,229,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,229,255,.04) 1px, transparent 1px);
  background-size: 600px 600px, 600px 600px, 600px 600px, 600px 600px,
                   600px 600px, 600px 600px, 600px 600px, 600px 600px,
                   80px 80px, 80px 80px;
  background-position: 0 0, 60px 80px, 120px 160px, 180px 240px,
                       240px 320px, 300px 400px, 360px 480px, 420px 560px,
                       0 0, 0 0;
  opacity: .7;
}
/* Hero 装饰光球 */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: .55;
}
.glow-orb.cyan   { background: radial-gradient(circle, #00E5FF 0%, transparent 70%); }
.glow-orb.blue   { background: radial-gradient(circle, #3B82F6 0%, transparent 70%); }
.glow-orb.purple { background: radial-gradient(circle, #6366F1 0%, transparent 70%); }

/* ---------- 3. 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section-title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--t-primary);
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  letter-spacing: 2px;
  color: var(--c-primary);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--c-primary);
}
.section-subtitle {
  font-size: var(--fs-base);
  color: var(--t-tertiary);
  max-width: 720px;
  line-height: 1.75;
}
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- 4. 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 11, 26, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 88px;  /* v4 2026-07-03: 72→88，导航变大 */
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--t-primary);
}
.brand-logo {
  width: 48px; height: 48px;  /* v4 2026-07-03: 38→48 */
  display: grid; place-items: center;
  background: var(--grad-brand);
  border-radius: 12px;
  color: #001022;
  font-size: 22px; font-weight: 800;  /* 18→22 */
  box-shadow: var(--shadow-glow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-size: 16px;  /* v4: 14→16 */
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-en   { font-size: 11px; color: var(--t-muted); letter-spacing: 1.5px; margin-top: 3px; }  /* 9.5→11 */

/* 在页脚里字号略放大, 不用紧贴 */
.footer .brand-name { font-size: 17px; }  /* 15→17 */

.nav-menu {
  display: flex; gap: 4px;
}
.nav-menu a {
  padding: 12px 20px;  /* v4: 8x16 → 12x20 */
  font-size: 16px;  /* v4: var(--fs-sm) ~ 14px → 16px */
  color: var(--t-secondary);
  border-radius: var(--r-pill);
  transition: all var(--t-fast);
  font-weight: 500;  /* 让字体更显目 */
}
.nav-menu a:hover { color: var(--t-primary); background: rgba(0,229,255,.08); }
.nav-menu a.active {
  color: var(--c-primary);
  background: rgba(0,229,255,.10);
  font-weight: 600;
}
.nav-cta {
  padding: 12px 26px;  /* v4: 9x22 → 12x26 */
  font-size: 16px;  /* v4: var(--fs-sm) → 16px */
  font-weight: 600;
  color: #001022;
  background: var(--grad-brand);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 20px rgba(0,229,255,.25);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,229,255,.4); color: #001022; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: rgba(0,229,255,.08);
  color: var(--c-primary);
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: currentColor;
  margin: 4px auto;
  transition: transform var(--t-fast);
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: all var(--t-med);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  color: #001022;
  background: var(--grad-brand);
  box-shadow: 0 8px 24px rgba(0,229,255,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,229,255,.42); color: #001022; }
.btn-ghost {
  color: var(--t-primary);
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-medium);
}
.btn-ghost:hover { background: rgba(0,229,255,.10); border-color: var(--border-strong); color: var(--c-primary); }
.btn-sm { padding: 9px 18px; font-size: var(--fs-sm); }
.btn-lg { padding: 16px 32px; font-size: var(--fs-lg); }
.btn-arrow::after {
  content: '→';
  transition: transform var(--t-fast);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- 6. 通用卡片 ---------- */
.card {
  position: relative;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--t-med);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,229,255,.06) 0%, transparent 50%);
  pointer-events: none;
}
.card:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(0,229,255,.12);
  color: var(--c-primary);
  border-radius: var(--r-md);
  margin-bottom: 18px;
  font-size: 22px;
}
.card-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--t-primary);
  margin-bottom: 10px;
}
.card-text { color: var(--t-tertiary); font-size: var(--fs-sm); line-height: 1.7; }
.card-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 2px;
  color: var(--c-primary);
  font-weight: 700;
  margin-bottom: 8px;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs);
  letter-spacing: 3px;
  color: var(--c-primary);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--c-primary);
}
.hero-title {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.5px;
  color: var(--t-primary);
  margin-bottom: 24px;
}
.hero-title .accent {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .underline {
  position: relative;
  display: inline-block;
}
.hero-title .underline::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 6px;
  background: var(--c-primary);
  opacity: .55;
  z-index: -1;
  border-radius: 4px;
}
.hero-subtitle {
  font-size: var(--fs-lg);
  color: var(--t-tertiary);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border-soft);
}
.stat-item .num {
  font-size: var(--fs-3xl);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-item .lbl {
  font-size: var(--fs-xs);
  color: var(--t-tertiary);
  letter-spacing: 1px;
  margin-top: 8px;
}

/* ---------- 8. 数据可视化面板（Hero 右侧） ---------- */
.viz-panel {
  position: relative;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-xl);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,.05);
}
.viz-panel::after {
  content: '';
  position: absolute; top: -1px; left: 30%; right: 30%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
}
.viz-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}
.viz-title { color: var(--t-primary); font-weight: 600; font-size: var(--fs-base); }
.viz-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-xs);
  color: var(--c-primary);
}
.viz-status::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c-primary);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .4; transform: scale(.7); }
}
.viz-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.viz-row:last-child { border-bottom: 0; }
.viz-row .lbl { color: var(--t-tertiary); font-size: var(--fs-sm); }
.viz-row .val { color: var(--t-primary); font-size: var(--fs-xl); font-weight: 700; }
.viz-row .val.small { font-size: var(--fs-base); font-weight: 600; }
.viz-row .val.green { color: var(--c-primary); }

.viz-bars {
  display: flex; gap: 12px; align-items: flex-end;
  height: 110px; padding: 12px 0;
}
.viz-bar {
  flex: 1;
  background: var(--grad-brand);
  border-radius: 4px 4px 0 0;
  position: relative;
  opacity: .85;
  transition: opacity var(--t-fast);
}
.viz-bar:hover { opacity: 1; }
.viz-bar::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,.18), transparent);
  border-radius: inherit;
}

.viz-services {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.viz-service {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(0,229,255,.06);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
}
.viz-service .dot {
  width: 8px; height: 8px;
  background: var(--c-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--c-primary);
}
.viz-service .name { color: var(--t-primary); font-weight: 600; flex: 1; }
.viz-service .sub  { color: var(--t-tertiary); font-size: var(--fs-xs); }

/* ---------- 9. 通用网格 ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* ---------- 10. Footer ---------- */
.footer {
  margin-top: 80px;
  padding: 56px 0 28px;
  background: linear-gradient(to bottom, transparent, rgba(5,11,26,.6));
  border-top: 1px solid var(--border-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-col h5 {
  font-size: var(--fs-sm);
  color: var(--t-primary);
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--t-tertiary);
  padding: 6px 0;
}
.footer-col a:hover { color: var(--c-primary); }
.footer-about { color: var(--t-tertiary); font-size: var(--fs-sm); line-height: 1.8; max-width: 320px; }
.footer-contact-line { display: flex; gap: 10px; padding: 6px 0; font-size: var(--fs-sm); color: var(--t-tertiary); }
.footer-contact-line .lbl { color: var(--t-muted); width: 56px; flex-shrink: 0; }
.footer-oa-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: fit-content;
  margin: 14px auto 0;
  padding: 9px 22px;
  color: #000000;
  background: var(--grad-brand);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,229,255,.28);
  transition: all var(--t-med);
  cursor: pointer;
  white-space: nowrap;
}
.footer-oa-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,229,255,.42);
  color: #000000;
}

/* 底部 CTA 按钮行（OA + 邮箱入口并列） */
.footer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}
.footer-cta-row .footer-oa-link {
  margin: 0; /* 由 wrapper 处理上下间距 */
}
.footer-mail-link {
  background: linear-gradient(135deg, #6EA8FF 0%, #4D7CFF 100%);
  box-shadow: 0 8px 24px rgba(77,124,255,.28);
}
.footer-mail-link:hover {
  box-shadow: 0 14px 32px rgba(77,124,255,.42);
}
.footer-oa-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(0, 229, 255, 0.12);
  border-radius: 8px;
  color: var(--c-primary);
}
.footer-oa-text { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.footer-oa-title { font-size: var(--fs-sm); font-weight: 600; color: var(--t-primary); }
.footer-oa-sub { font-size: 12px; color: var(--t-tertiary); margin-top: 2px; }
.footer-oa-arrow { color: var(--c-primary); font-size: 16px; flex-shrink: 0; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: var(--fs-xs);
  color: var(--t-muted);
}

/* 工信部备案号链接（外观与普通文字一致，hover 时高亮） */
.beian-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}
.beian-link:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

/* ---------- 11. 表单 ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: var(--fs-sm); color: var(--t-secondary); }
.field label .req { color: var(--c-primary); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  background: rgba(5,11,26,.5);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  color: var(--t-primary);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  background: rgba(0,229,255,.04);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- 12. 滚动渐入动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(5,11,26,.96);
    backdrop-filter: blur(14px);
    padding: 16px;
    border-bottom: 1px solid var(--border-soft);
    gap: 0;
  }
  .nav-menu.open a { padding: 12px 16px; border-radius: var(--r-sm); }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta { display: none; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section-title { font-size: var(--fs-2xl); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .viz-services { display: none; }
}