/* ============================================
   数暀 v1.1 - To B 严肃商务风
   主色:深空 #081020 + 科技 #1E88FF (数暀 Logo 真值)
   配合 A 图 hero_001.jpg 数字地球 + 眼睛 + 30+ 平台
   ============================================ */

:root {
  --color-bg: #081020;
  --color-bg-alt: #0C1428;
  --color-surface: #0F1A30;
  --color-surface-2: #142540;
  --color-border: #1E2F50;
  --color-text: #E8EEF8;
  --color-text-muted: #94A3B8;
  --color-text-dim: #64748B;
  --color-primary: #1E88FF;
  --color-primary-hover: #42A5F5;
  --color-accent: #64B5F6;
  --color-glow: rgba(30, 136, 255, 0.35);

  --max-width: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 32px rgba(30, 136, 255, 0.25);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

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

/* ========== 顶部导航 ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 16, 32, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

.nav-logo .mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo .mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-logo .accent {
  color: var(--color-primary);
  margin-left: 6px;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  gap: 36px;
}

.nav-menu a {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-cta {
  background: var(--color-primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s;
}

.nav-cta:hover {
  background: var(--color-primary-hover);
}

/* ========== Hero (A 图主视觉) ========== */
.hero {
  position: relative;
  padding: 140px 32px 100px;
  text-align: center;
  overflow: hidden;
  min-height: 640px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30, 136, 255, 0.12);
  border: 1px solid rgba(30, 136, 255, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

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

.hero-sub {
  font-size: 1.18rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.hero-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--color-text-dim);
  border-radius: 50%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url('/vi/hero/hero_001.jpg') center/cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 32, 0.55) 0%, rgba(8, 16, 32, 0.35) 50%, rgba(8, 16, 32, 0.75) 100%),
    radial-gradient(ellipse 1000px 500px at 50% 100%, rgba(8, 16, 32, 0.9), transparent 70%);
}

/* ========== 产品矩阵 ========== */
.section {
  padding: 80px 32px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.2s;
}

.product-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1E88FF, #42A5F5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.product-tag {
  font-size: 0.82rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.product-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.product-feats {
  list-style: none;
  padding: 0;
}

.product-feats li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.product-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ========== 数据网格 ========== */
.data-section {
  padding: 80px 32px;
  background: url('/vi/bg/bg_001.jpg') center/cover no-repeat;
  position: relative;
}

.data-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 32, 0.85);
  backdrop-filter: blur(2px);
}

.data-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.data-card {
  background: rgba(15, 26, 48, 0.7);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.data-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.data-label {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ========== 价格 ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}

.price-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.price-name {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 16px;
}

.price-amount .unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ========== 按钮 ========== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.15s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

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

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 0.98rem;
}

/* ========== 关于 ========== */
.about {
  padding: 80px 32px;
  background: var(--color-bg-alt);
  text-align: center;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
}

.about h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-text);
}

.about p {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* ========== Footer ========== */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 40px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/vi/footer/footer_001.jpg') center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--color-text);
}

.footer-brand .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.footer-brand .logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: right;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero { padding: 100px 20px 80px; min-height: 540px; }
  .hero-title { font-size: 2.4rem; }
  .section { padding: 60px 20px; }
  .section-title { font-size: 1.8rem; }
  .data-num { font-size: 2rem; }
}