/* 吉禄多媒体综合管理平台 — 与企业站 tech-theme 一致的深色科技风 */
:root {
  --bg: #070b14;
  --bg-soft: #0d1528;
  --surface: #111827;
  --surface-muted: #0f172a;
  --surface-alt: #0d1528;
  --text: #e6edf3;
  --text-muted: #8b9cb3;
  --primary: #00d4ff;
  --primary-light: #0066ff;
  --accent: #6366f1;
  --accent-soft: rgba(0, 212, 255, 0.12);
  --border: rgba(148, 163, 184, 0.2);
  --radius: 16px;
  --shadow: 0 0 40px rgba(0, 212, 255, 0.08);
  --font: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* —— 顶栏：桌面端与全站一致；移动端交给 style.css / tech-theme 控制 —— */
.platform-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h, 52px);
}

@media (min-width: 769px) {
  .platform-page .header-inner {
    min-height: var(--header-h, 52px);
    height: var(--header-h, 52px);
    gap: 20px;
  }

  .platform-page .nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
  }

  .platform-page .nav a {
    font-size: 12px;
    font-weight: 400;
    padding: 0 10px;
    letter-spacing: -0.01em;
    color: #e2e8f0;
    text-decoration: none;
    white-space: nowrap;
  }

  .platform-page .nav a:hover,
  .platform-page .nav a.nav-active {
    color: var(--primary);
    background: transparent;
  }

  .platform-page .nav-cta {
    padding: 6px 14px !important;
    font-size: 12px !important;
    margin-left: 4px;
    white-space: nowrap;
  }

  .platform-page .nav-hotline {
    font-size: 16px;
    white-space: nowrap;
  }

  .platform-page .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .platform-page .header-inner {
    min-height: var(--header-h, 52px);
    height: var(--header-h, 52px);
  }

  /* 勿覆盖 .nav 的 display，避免移动端菜单常开 */
  .platform-page .menu-toggle {
    display: flex;
    margin-left: auto;
    z-index: 221;
  }

  .platform-page .menu-toggle span {
    background: #e2e8f0;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #070b14 0%, #0d1528 45%, #111827 100%);
  color: #fff;
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.15), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(99, 102, 241, 0.12), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  font-size: 22px;
  margin-bottom: 4px;
}

.stat span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-figure {
  margin: 0;
}

.hero-banner-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-caption {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}

.hero-card {
  background: rgba(17, 24, 39, 0.95);
  color: var(--text);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border);
}

.hero-card h3 {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--primary);
}

.module-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.arch-flow {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.arch-flow em {
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
}

/* —— 通用区块 —— */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
  color: #f1f5f9;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* —— 模块卡片 —— */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.module-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, border-color 0.2s;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.4);
}

.module-card-img {
  width: calc(100% + 48px);
  max-width: none;
  margin: -28px -24px 18px;
  height: 160px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--border);
}

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid var(--border);
}

.module-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #f1f5f9;
}

.module-card p {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* —— 平台能力 —— */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.platform-item {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.platform-item .num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.platform-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #f1f5f9;
}

.platform-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* —— 部署 —— */
.deploy-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.deploy-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.deploy-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: var(--primary);
}

.deploy-card p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.deploy-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted);
}

/* —— 响应式 —— */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .platform-grid,
  .deploy-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 56px 0 64px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }
}
