:root {
  --bg: #06141f;
  --panel: rgba(255, 255, 255, .08);
  --panel-strong: rgba(255, 255, 255, .13);
  --line: rgba(146, 225, 221, .2);
  --text: #eefcff;
  --muted: #a9c2ca;
  --cyan: #28e3d0;
  --blue: #3d8bff;
  --green: #0cae8f;
  --yellow: #f4d35e;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(93, 222, 220, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 222, 220, .045) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(21, 201, 176, .22), transparent 34%),
    radial-gradient(circle at 82% 24%, rgba(61, 139, 255, .18), transparent 30%),
    radial-gradient(circle at 70% 85%, rgba(244, 211, 94, .1), transparent 28%);
  background-size: 52px 52px, 52px 52px, auto, auto, auto;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 18, 29, .72);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.site-nav { display: flex; justify-content: center; gap: 26px; color: var(--muted); font-size: 14px; }
.site-nav a:hover { color: var(--text); }
.nav-cta, .primary-button, .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
}
.nav-cta, .primary-button {
  color: #001914;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}
.ghost-button { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.05); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--text); }

.section {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}
.compact { padding: 34px 0; }
.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 42px;
  overflow: hidden;
}
#heroCanvas, .hero-glow { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { background: radial-gradient(circle at 42% 44%, rgba(40, 227, 208, .18), transparent 30%); }
.hero-content, .hero-panel { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 12px; color: var(--cyan); font-size: 13px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(56px, 10vw, 128px); line-height: .95; letter-spacing: 0; }
h2 { font-size: clamp(28px, 4vw, 46px); line-height: 1.15; letter-spacing: 0; }
.hero-subtitle { max-width: 620px; color: #cce7ed; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-panel, .glass-card, .app-card, .contact-section, .stats div {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel-strong), rgba(255,255,255,.045));
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
}
.hero-panel { padding: 24px; border-radius: 8px; }
.panel-top { display: flex; gap: 8px; margin-bottom: 22px; }
.panel-top span { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); opacity: .8; }
.metric-line { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.metric-line em { color: var(--yellow); font-style: normal; }
.chart-bars { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: 180px; gap: 13px; margin: 24px 0; }
.chart-bars i { border-radius: 8px 8px 0 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.chart-bars i:nth-child(1) { height: 44%; } .chart-bars i:nth-child(2) { height: 66%; } .chart-bars i:nth-child(3) { height: 52%; } .chart-bars i:nth-child(4) { height: 82%; } .chart-bars i:nth-child(5) { height: 70%; }
.panel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; color: var(--muted); font-size: 13px; }
.panel-grid span { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.04); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats div { border-radius: 8px; padding: 22px; text-align: center; }
.stats strong { display: block; color: var(--cyan); font-size: 30px; }
.stats span, .glass-card p, .app-card p, .contact-list, .footer { color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.service-grid, .app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.glass-card, .app-card { border-radius: 8px; padding: 22px; }
.glass-card b, .app-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #001914;
  background: linear-gradient(135deg, var(--cyan), var(--yellow));
}
.glass-card a { color: var(--cyan); font-weight: 800; }

.download-section { width: min(1240px, calc(100% - 36px)); }
.download-tools { display: grid; gap: 14px; margin-bottom: 18px; }
.download-tools input, .admin-input, textarea, select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
}
.tabs button.active { color: #001914; background: var(--cyan); }
.app-grid { grid-template-columns: repeat(3, 1fr); }
.app-head { display: grid; grid-template-columns: 56px 1fr; gap: 14px; }
.app-icon { overflow: hidden; }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-meta, .badges, .download-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.app-meta span, .badges span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 12px;
}
.badges span { color: var(--cyan); }
.download-button {
  flex: 1 1 150px;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #001914;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}
.download-button small { color: rgba(0, 25, 20, .72); }
.state { padding: 28px; border: 1px dashed var(--line); border-radius: 8px; text-align: center; color: var(--muted); }
.hidden { display: none !important; }

.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 54px; align-items: center; }
.about-grid > div:first-child p { color: #cce7ed; font-size: 17px; }
.belief-grid { display: grid; gap: 14px; }
.belief-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 24px 22px 28px;
  background: linear-gradient(135deg, rgba(40, 227, 208, .13), rgba(61, 139, 255, .06) 46%, rgba(255,255,255,.045));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}
.belief-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--cyan), var(--yellow));
}
.belief-grid span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}
.belief-grid h3 { margin-bottom: 8px; font-size: 21px; line-height: 1.45; }
.belief-grid p { margin-bottom: 0; color: var(--muted); }
.contact-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; padding: 28px; border-radius: 8px; }
.contact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 32px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(4, 18, 29, .95);
  }
  .site-nav.open { display: flex; }
  .nav-cta { display: none; }
  .hero, .about-grid, .contact-section { grid-template-columns: 1fr; }
  .stats, .service-grid, .app-grid, .contact-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .section { width: min(100% - 28px, 1180px); padding: 64px 0; }
  .hero { min-height: auto; padding-top: 72px; }
  .stats, .service-grid, .app-grid, .contact-list { grid-template-columns: 1fr; }
  .brand span { font-size: 14px; }
  .hero-subtitle { font-size: 17px; }
  .footer { flex-direction: column; align-items: flex-start; }
}
