/* 米乐电玩官方平台样式表 - 纯静态无外部依赖 */
:root {
  --bg: #faf9ff;
  --bg-alt: #f3f1fb;
  --surface: #ffffff;
  --ink: #130f26;
  --text: #38334e;
  --muted: #6b6582;
  --line: #e7e3f5;
  --brand: #6d28d9;
  --brand-dark: #5b21b6;
  --brand-light: #8b5cf6;
  --magenta: #ec4899;
  --amber: #f97316;
  --gold: #f59e0b;
  --emerald: #10b981;
  --cyan: #22d3ee;
  --dark-bg: #110d24;
  --dark-surface: #1a1436;
  --dark-card: #221b44;
  --dark-line: rgba(196, 181, 253, 0.2);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(19, 15, 38, 0.04);
  --shadow: 0 8px 28px rgba(19, 15, 38, 0.06);
  --shadow-lg: 0 18px 48px rgba(19, 15, 38, 0.14);
  --container: 1200px;
  --container-narrow: 900px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: var(--magenta);
}

button {
  font-family: inherit;
}

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

.container-narrow {
  max-width: var(--container-narrow);
}

.grad-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--magenta) 56%, var(--amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-text {
  color: var(--gold);
}

/* ===== 顶部导航栏 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:not(.btn) {
  padding: 7px 14px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--brand);
  background: rgba(109, 40, 217, 0.07);
}

.nav-links a:not(.btn).active {
  color: var(--brand-dark);
  font-weight: 600;
  background: rgba(109, 40, 217, 0.11);
}

.nav-links .nav-cta-mobile {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== 按钮体系 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.16s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: 10px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15.5px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--magenta) 58%, var(--amber) 100%);
  box-shadow: 0 8px 22px rgba(109, 40, 217, 0.28);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 12px 28px rgba(236, 72, 153, 0.34);
}

.btn-outline {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  color: var(--brand);
  border-color: rgba(109, 40, 217, 0.38);
  background: #faf7ff;
}

.btn-dark {
  color: #fff;
  background: var(--dark-bg);
  border-color: rgba(196, 181, 253, 0.28);
}

.btn-dark:hover {
  color: #fff;
  background: var(--dark-surface);
}

.btn-light {
  color: var(--brand-dark);
  background: #fff;
  box-shadow: 0 8px 24px rgba(19, 15, 38, 0.16);
}

.btn-light:hover {
  color: var(--magenta);
  background: #fdfcff;
}

/* ===== 首页 Hero ===== */
.hero {
  position: relative;
  padding: 68px 0 86px;
  overflow: hidden;
  background:
    radial-gradient(960px 460px at 88% -8%, rgba(236, 72, 153, 0.14), transparent 62%),
    radial-gradient(820px 420px at 6% 96%, rgba(109, 40, 217, 0.12), transparent 60%),
    radial-gradient(640px 320px at 56% 18%, rgba(249, 115, 22, 0.09), transparent 60%),
    linear-gradient(180deg, #f5f2ff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(109, 40, 217, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 40, 217, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, transparent 90%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, transparent 90%);
}

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

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.09);
  border: 1px solid rgba(109, 40, 217, 0.2);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
  font-weight: 800;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.8;
}

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

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}

.hero-pill i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta), var(--amber));
}

/* ===== 交互式实体机台远程操控台模拟面板 ===== */
.console-mock {
  background: linear-gradient(180deg, #1b1338 0%, #110d24 100%);
  border: 1px solid rgba(167, 139, 250, 0.34);
  border-radius: 22px;
  padding: 18px;
  color: #ede9fe;
  box-shadow:
    0 24px 54px rgba(17, 13, 36, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dark-line);
}

.console-title-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.console-dots {
  display: flex;
  gap: 5px;
}

.console-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b2d68;
}

.console-dots span:first-child { background: #fb7185; }
.console-dots span:nth-child(2) { background: #fbbf24; }
.console-dots span:last-child { background: #34d399; }

.console-title {
  font-size: 13px;
  font-weight: 600;
  color: #faf5ff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.32);
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}

.console-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}

.console-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.console-tab {
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.03);
  color: #a79ec7;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.console-tab:hover {
  color: #f3e8ff;
  border-color: rgba(236, 72, 153, 0.45);
}

.console-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.55), rgba(236, 72, 153, 0.38));
  border-color: rgba(236, 72, 153, 0.65);
}

.console-viewport {
  position: relative;
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.25);
  background: radial-gradient(circle at 50% 35%, #2b1a58 0%, #100b22 100%);
  padding: 14px;
}

.viewport-overlay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #e9d5ff;
  margin-bottom: 10px;
}

.viewport-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(236, 72, 153, 0.2);
  border: 1px solid rgba(244, 114, 182, 0.4);
}

.viewport-svg {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.c-metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}

.c-metric b {
  display: block;
  font-size: 15px;
  color: #f472b6;
  font-weight: 700;
}

.c-metric span {
  font-size: 11px;
  color: #a79ec7;
}

.console-controls {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--dark-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.control-keys {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.control-key {
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid rgba(196, 181, 253, 0.34);
  background: rgba(109, 40, 217, 0.28);
  color: #ede9fe;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.control-key:hover,
.control-key.pressed {
  background: linear-gradient(135deg, var(--brand), var(--magenta));
  border-color: rgba(244, 114, 182, 0.8);
  color: #fff;
}

.console-log {
  font-size: 11.5px;
  color: #fbcfe8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ===== 指标条 ===== */
.stats-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

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

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 16px;
  border-left: 3px solid rgba(109, 40, 217, 0.28);
}

.stat-item strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.stat-item span {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

/* ===== 通用区块 ===== */
.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-muted {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(109, 40, 217, 0.09);
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.section-tag-gold {
  background: rgba(249, 115, 22, 0.12);
  color: #c2410c;
}

.section-head h2 {
  font-size: clamp(25px, 3.3vw, 34px);
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.section-head p {
  font-size: 15.5px;
  color: var(--muted);
}

/* ===== 网格与卡片 ===== */
.grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(109, 40, 217, 0.28);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.13), rgba(236, 72, 153, 0.13));
  color: var(--brand);
  margin-bottom: 18px;
}

.card-icon-gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(249, 115, 22, 0.15));
  color: var(--amber);
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 18px;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
}

.card-meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
}

/* ===== 产品展示 Tab 面板 ===== */
.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.product-tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.product-tab:hover {
  border-color: rgba(109, 40, 217, 0.4);
  color: var(--brand);
}

.product-tab.active {
  background: linear-gradient(135deg, var(--brand) 0%, var(--magenta) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.25);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.showcase-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}

.showcase-copy .badge-mini {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(109, 40, 217, 0.1);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.showcase-copy h3 {
  font-size: 24px;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 12px;
}

.showcase-copy > p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 20px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.14);
  border: 1.5px solid var(--emerald);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 6px;
  height: 3.5px;
  border-left: 1.8px solid #059669;
  border-bottom: 1.8px solid #059669;
  transform: rotate(-45deg);
}

.visual-frame {
  border-radius: 16px;
  background: linear-gradient(145deg, #1b1338 0%, #2b1854 100%);
  border: 1px solid rgba(196, 181, 253, 0.26);
  padding: 20px;
  color: #ede9fe;
  box-shadow: var(--shadow-lg);
}

.visual-frame-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #e9d5ff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(196, 181, 253, 0.18);
}

/* ===== 4步物联链路 ===== */
.pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pipe-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.pipe-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.12), rgba(236, 72, 153, 0.14));
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.pipe-step h3 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.pipe-step p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ===== 场景卡片 ===== */
.scene-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scene-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.scene-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.11), rgba(236, 72, 153, 0.11));
  color: var(--brand);
  margin-bottom: 16px;
}

.scene-badge svg {
  width: 22px;
  height: 22px;
}

.scene-card h3 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.scene-card p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ===== 客户端手机预览卡 (products.html) ===== */
.phone-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phone-screen {
  border-radius: 16px;
  background: linear-gradient(180deg, #171030 0%, #271850 100%);
  border: 1px solid rgba(196, 181, 253, 0.26);
  padding: 14px;
  color: #ede9fe;
}

.phone-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #e9d5ff;
  margin-bottom: 10px;
}

.phone-ui-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 10px;
  padding: 10px;
}

.phone-card h3 {
  font-size: 17px;
  color: var(--ink);
}

.phone-card p {
  font-size: 14px;
  color: var(--muted);
}

/* ===== 终端支持与接入说明卡片 ===== */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.plat-ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plat-ico-android {
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.14), rgba(236, 72, 153, 0.14));
  color: var(--brand);
}

.plat-ico-ios {
  background: rgba(19, 15, 38, 0.08);
  color: var(--ink);
}

.plat-ico svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.plat-meta h3 {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 3px;
}

.plat-meta p {
  font-size: 13px;
  color: var(--muted);
}

.plat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plat-tag {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 500;
}

.plat-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.plat-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 24px;
}

/* ===== 规格表 & 企业信息表 ===== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin: 18px 0;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 560px;
}

.spec-table th,
.spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.info-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.info-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row span {
  width: 175px;
  flex-shrink: 0;
  color: var(--muted);
  font-weight: 500;
}

.info-row b {
  color: var(--ink);
  font-weight: 600;
  word-break: break-word;
}

/* ===== FAQ 手风琴 ===== */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: rgba(109, 40, 217, 0.38);
}

.faq-item summary {
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--brand);
  font-weight: 500;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.8;
}

/* ===== CTA 横幅 ===== */
.cta-banner {
  background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 45%, #db2777 82%, #f97316 100%);
  border-radius: 24px;
  padding: 44px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 20px 44px rgba(109, 40, 217, 0.25);
}

.cta-banner h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 8px;
  color: #fff;
}

.cta-banner p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 580px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ===== 内页横幅 & 协议文档页 ===== */
.page-hero {
  background:
    radial-gradient(800px 320px at 90% 0%, rgba(236, 72, 153, 0.14), transparent 60%),
    linear-gradient(135deg, #f5f2ff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  padding: 52px 0 46px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.page-hero h1 {
  font-size: clamp(26px, 3.8vw, 38px);
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 15.5px;
  color: var(--text);
  max-width: 680px;
}

.page-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text);
  font-weight: 500;
}

.prose-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 42px;
  box-shadow: var(--shadow);
}

.callout {
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 4px solid var(--brand);
  background: #f5f2ff;
  color: #3b1d7a;
  font-size: 14.5px;
  margin-bottom: 24px;
}

.callout-gold {
  border-left-color: var(--amber);
  background: #fff7ed;
  color: #7c2d12;
}

.prose h2 {
  font-size: 20px;
  color: var(--ink);
  font-weight: 700;
  margin: 34px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
}

.prose h2:first-of-type {
  margin-top: 12px;
}

.prose h3 {
  font-size: 16.5px;
  color: var(--ink);
  font-weight: 700;
  margin: 20px 0 8px;
}

.prose p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
  text-align: justify;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin-bottom: 14px;
}

.prose li {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
}

.block-title {
  font-size: 22px;
  color: var(--ink);
  font-weight: 800;
  margin: 44px 0 18px;
  padding-left: 13px;
  border-left: 4px solid var(--brand);
}

.block-title:first-child {
  margin-top: 0;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--dark-bg);
  color: #b4add0;
  padding: 60px 0 32px;
  border-top: 1px solid rgba(196, 181, 253, 0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(196, 181, 253, 0.14);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.footer-brand-row img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
}

.footer-brand-row span {
  font-size: 18px;
  font-weight: 800;
  color: #faf5ff;
}

.footer-about {
  font-size: 13.5px;
  line-height: 1.8;
  color: #b4add0;
  max-width: 340px;
}

.footer-col h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #faf5ff;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

.footer-col a {
  color: #b4add0;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  font-size: 13px;
  color: #b4add0;
}

.footer-entities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-bottom a {
  color: #e9d5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ===== 轻提示 Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(14px);
  max-width: 88vw;
  padding: 13px 22px;
  border-radius: 14px;
  background: rgba(17, 13, 36, 0.96);
  border: 1px solid rgba(236, 72, 153, 0.48);
  color: #fdf4ff;
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
  box-shadow: 0 14px 36px rgba(17, 13, 36, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== 渐进动效 ===== */
html.has-io [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.48s ease, transform 0.48s ease;
}

html.has-io [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html.has-io [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== 响应式适配 ===== */
@media (max-width: 1024px) {
  .hero-grid,
  .showcase-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-right .btn-nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
    gap: 6px;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 10px 14px;
  }

  .nav-links .nav-cta-mobile {
    display: inline-flex;
    margin-top: 8px;
    color: #fff;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .section {
    padding: 58px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .pipeline,
  .stats-grid,
  .platform-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .console-head {
    flex-wrap: wrap;
  }

  .console-title {
    white-space: normal;
  }

  .console-tab {
    padding: 7px 6px;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
  }

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

  .table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  .spec-table {
    min-width: 460px;
    font-size: 13px;
  }

  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
  }

  .spec-table th {
    white-space: normal;
  }

  .showcase-card,
  .prose-card,
  .cta-banner {
    padding: 24px 20px;
  }

  .info-row {
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
  }

  .info-row span {
    width: auto;
    font-size: 13px;
  }
}
