/* ==========================================================================
   梦瑶空间 · 站点样式
   ========================================================================== */

:root {
  --bg: #06080f;
  --bg-soft: #080c16;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #e9eefb;
  --text-soft: #c3cddf;
  --muted: #97a3b8;
  --muted-dim: #6e7b91;
  --brand: #6d9bff;
  --brand-deep: #4f7dff;
  --teal: #3ee0c8;
  --grad: linear-gradient(120deg, #8ab0ff 0%, #6d9bff 38%, #3ee0c8 100%);
  --radius: 18px;
  --container: 1180px;
  --font: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 500px at 12% -6%, rgba(79, 125, 255, 0.14), transparent 62%),
    radial-gradient(800px 500px at 92% 4%, rgba(62, 224, 200, 0.08), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(109, 155, 255, 0.35);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #070a12;
}

::-webkit-scrollbar-thumb {
  background: #22304a;
  border-radius: 8px;
  border: 2px solid #070a12;
}

::-webkit-scrollbar-thumb:hover {
  background: #31456a;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

code {
  font-family: var(--mono);
  font-size: 0.88em;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.btn-primary {
  color: #041018;
  background: linear-gradient(120deg, #a8c4ff 0%, #6d9bff 45%, #3ee0c8 100%);
  box-shadow: 0 12px 32px rgba(79, 125, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(79, 125, 255, 0.38);
}

.btn-ghost {
  color: var(--text-soft);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(109, 155, 255, 0.55);
  background: rgba(109, 155, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 10px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #a8c0f0;
  transition: color 0.2s ease;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: #fff;
}

.text-link:hover span {
  transform: translateX(3px);
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 8, 15, 0.82);
  border-bottom-color: rgba(148, 163, 184, 0.12);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-size: 19px;
  font-weight: 700;
  color: #04121a;
  background: linear-gradient(140deg, #b7ccff, #6d9bff 55%, #3ee0c8);
  box-shadow: 0 6px 18px rgba(79, 125, 255, 0.3);
}

.brand-mark.small {
  width: 34px;
  height: 34px;
  font-size: 17px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.brand-text small {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted-dim);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(109, 155, 255, 0.4);
  background: rgba(109, 155, 255, 0.1);
  color: #cfe0ff !important;
}

.nav-cta:hover {
  border-color: rgba(109, 155, 255, 0.7);
  background: rgba(109, 155, 255, 0.18);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- 首页 Hero ---------- */

.hero {
  position: relative;
  padding: 84px 0 76px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 780px;
  background:
    radial-gradient(560px 380px at 22% 24%, rgba(79, 125, 255, 0.22), transparent 62%),
    radial-gradient(520px 360px at 82% 12%, rgba(62, 224, 200, 0.13), transparent 62%);
  filter: blur(24px);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(680px 420px at 50% 20%, #000 20%, transparent 78%);
  mask-image: radial-gradient(680px 420px at 50% 20%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid rgba(109, 155, 255, 0.25);
  border-radius: 999px;
  background: rgba(109, 155, 255, 0.08);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #b7c8e8;
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(62, 224, 200, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 224, 200, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(62, 224, 200, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 200, 0); }
}

.hero h1 {
  margin-top: 24px;
  font-size: clamp(2.45rem, 4.8vw, 3.85rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 560px;
  margin-top: 22px;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 46px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.hero-stats dt {
  font-size: 12px;
  color: var(--muted-dim);
  letter-spacing: 0.06em;
}

.hero-stats dd {
  margin: 5px 0 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-stats dd span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.hero-visual {
  position: relative;
}

.hero-visual .mockup {
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
}

/* ---------- 界面模拟 ---------- */

.mockup {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(18, 24, 38, 0.97), rgba(8, 11, 19, 0.99));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
}

.mockup::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 155, 255, 0.65), rgba(62, 224, 200, 0.45), transparent);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.85;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.mockup-title {
  margin-left: 8px;
  font-size: 11.5px;
  color: rgba(200, 212, 232, 0.55);
}

.mockup-body {
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  min-height: 314px;
}

.mockup-side {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 10px;
  border-right: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(255, 255, 255, 0.012);
}

.ms-search {
  height: 24px;
  margin-bottom: 7px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.045);
}

.ms-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 11px;
  color: #8d99ae;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ms-item.active {
  background: rgba(109, 155, 255, 0.15);
  color: #cfe0ff;
}

.ms-item.indent {
  padding-left: 20px;
}

.ms-icon {
  width: 9px;
  height: 9px;
  flex: none;
  border: 1px solid currentColor;
  border-radius: 3px;
  opacity: 0.55;
}

.mockup-main {
  padding: 18px 20px;
  min-width: 0;
}

.ms-crumb {
  margin-bottom: 10px;
  font-size: 10px;
  color: #6b778c;
}

.ms-h1 {
  margin-bottom: 15px;
  font-size: 17px;
  font-weight: 700;
  color: #e9eefb;
}

.ms-line {
  height: 6px;
  margin-bottom: 9px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.09);
}

.ms-line.w95 { width: 95%; }
.ms-line.w90 { width: 90%; }
.ms-line.w85 { width: 85%; }
.ms-line.w80 { width: 80%; }
.ms-line.w75 { width: 75%; }
.ms-line.w70 { width: 70%; }
.ms-line.w65 { width: 65%; }
.ms-line.w60 { width: 60%; }
.ms-line.w55 { width: 55%; }
.ms-line.w50 { width: 50%; }

.ms-code {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 13px 0 15px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
}

.ms-code span {
  height: 5px;
  border-radius: 3px;
}

.c-blue { width: 55%; background: rgba(109, 155, 255, 0.75); }
.c-teal { width: 40%; background: rgba(62, 224, 200, 0.7); }
.c-dim { width: 75%; background: rgba(255, 255, 255, 0.13); }
.c-dim.short { width: 30%; }

.ms-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.ms-tags span {
  padding: 4px 7px;
  border: 1px solid rgba(109, 155, 255, 0.25);
  border-radius: 999px;
  background: rgba(109, 155, 255, 0.08);
  font-size: 9.5px;
  color: #9fb6e6;
}

.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 9px 13px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 11px;
  background: rgba(11, 15, 25, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  animation: floaty 6s ease-in-out infinite alternate;
}

.float-version {
  top: 72px;
  right: 10px;
}

.float-role {
  bottom: 50px;
  left: -14px;
  animation-delay: 1.2s;
}

.fc-label {
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted-dim);
}

.float-card strong {
  font-size: 12.5px;
  color: #bcd2ff;
}

.float-role strong {
  color: var(--teal);
}

@keyframes floaty {
  from { transform: translateY(0); }
  to { transform: translateY(-7px); }
}

/* My.Net 模拟 */

.net-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 92px;
  margin: 14px 0;
}

.net-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(109, 155, 255, 0.9), rgba(62, 224, 200, 0.5));
  opacity: 0.8;
}

.net-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.net-stat {
  padding: 9px 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.net-stat span {
  font-size: 9px;
  color: #7b879c;
}

.net-stat strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: #dfe8ff;
}

/* ---------- 区块通用 ---------- */

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 48px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008));
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #7fa4ff;
}

.section-head h2,
.contact-copy h2,
.about-copy h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 16px;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--muted);
}

.section-tail {
  max-width: 820px;
  margin-top: 30px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

.section-tail strong {
  color: var(--text-soft);
}

/* ---------- 项目卡片 ---------- */

.project {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}

.project::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(109, 155, 255, 0.4), transparent);
}

.project.reverse .project-visual {
  order: 2;
}

.project.reverse .project-copy {
  order: 1;
}

.project-visual {
  position: relative;
  min-width: 0;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(79, 125, 255, 0.18), transparent);
  filter: blur(26px);
  pointer-events: none;
}

.project-visual .mockup {
  position: relative;
  transform: none;
}

.mockup.small .mockup-body {
  min-height: 258px;
}

.mockup.small .mockup-side {
  padding: 12px 9px;
}

.mockup.small .mockup-main {
  padding: 15px 16px;
}

.mockup.small .ms-h1 {
  font-size: 15px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pill {
  padding: 5px 11px;
  border: 1px solid rgba(109, 155, 255, 0.28);
  border-radius: 999px;
  background: rgba(109, 155, 255, 0.08);
  font-size: 11.5px;
  color: #a9c1f5;
}

.project h3 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
}

.name-en {
  margin-left: 6px;
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #7f8ea8;
  vertical-align: 0.12em;
}

.project-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.feature-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.feature-list svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  color: var(--teal);
}

.tech-line {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: #7f8da5;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- 服务 ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 155, 255, 0.38);
  background: rgba(109, 155, 255, 0.055);
}

.service-no {
  display: block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #6d9bff;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

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

/* ---------- 关于 ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.about-copy h2 {
  margin-bottom: 20px;
}

.about-copy p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--muted);
}

.about-copy p strong {
  color: var(--text-soft);
}

.values {
  margin-top: 26px;
}

.values li {
  padding: 14px 0;
  border-top: 1px dashed rgba(148, 163, 184, 0.18);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.values li span {
  display: inline-block;
  min-width: 82px;
  margin-right: 6px;
  font-weight: 600;
  color: var(--text);
}

.about-panel {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.about-panel h3 {
  margin-bottom: 18px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #cfd9ea;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud span {
  padding: 6px 11px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
  font-size: 12px;
  color: #aebbd0;
}

.about-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.about-note p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------- 联系 ---------- */

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(109, 155, 255, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(560px 300px at 88% 0%, rgba(62, 224, 200, 0.12), transparent 62%),
    linear-gradient(140deg, rgba(109, 155, 255, 0.12), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.contact-copy h2 {
  margin-bottom: 16px;
}

.contact-copy p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.contact-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.contact-steps span {
  padding: 6px 11px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  color: #b9c7e0;
}

.contact-steps i {
  width: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.contact-card {
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  background: rgba(7, 10, 18, 0.66);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.qq-block {
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.2);
}

.qq-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted-dim);
}

.qq-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.qq-value strong {
  font-family: var(--mono);
  font-size: 29px;
  letter-spacing: 0.04em;
  color: #edf2ff;
}

.copy-btn {
  min-width: 58px;
  padding: 7px 12px;
  border: 1px solid rgba(109, 155, 255, 0.35);
  border-radius: 8px;
  background: rgba(109, 155, 255, 0.08);
  font-family: inherit;
  font-size: 12px;
  color: #a9c1f5;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.copy-btn:hover {
  background: rgba(109, 155, 255, 0.18);
  border-color: rgba(109, 155, 255, 0.55);
}

.copy-btn.copied {
  color: #071b17;
  background: var(--teal);
  border-color: var(--teal);
}

.contact-links {
  margin-top: 4px;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.16);
}

.contact-links a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-links span {
  font-size: 14px;
  color: #dfe8f7;
  transition: color 0.2s ease;
}

.contact-links em {
  font-style: normal;
  font-size: 12px;
  color: var(--muted-dim);
  text-align: right;
}

.contact-links a:hover span {
  color: #9db9ff;
}

/* ---------- 详情页 ---------- */

.page-hero {
  position: relative;
  padding: 48px 0 72px;
  overflow: hidden;
}

.page-hero > .container {
  position: relative;
}

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

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

.breadcrumb span {
  color: #3f4a5e;
}

.breadcrumb em {
  font-style: normal;
  color: #c6d2e6;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.page-hero-copy h1 {
  margin: 6px 0 20px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  letter-spacing: -0.025em;
}

.page-hero-copy .hero-lead {
  margin-top: 0;
}

.page-hero-copy .hero-lead code {
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(109, 155, 255, 0.12);
  color: #bcd0f8;
}

.page-hero-copy .tech-line {
  margin-top: 24px;
}

.page-hero-visual .mockup {
  transform: perspective(1400px) rotateY(5deg) rotateX(2deg);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fact {
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.fact span {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted-dim);
}

.fact strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 19px;
  color: var(--text);
}

.fact em {
  font-style: normal;
  font-size: 12px;
  color: #75839a;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pain-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.pain-card h3 {
  margin-bottom: 8px;
  font-size: 15.5px;
}

.pain-card p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 155, 255, 0.34);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.feature-card p {
  font-size: 13.8px;
  line-height: 1.85;
  color: var(--muted);
}

.feature-card code,
.gen-card code,
.step code {
  padding: 1.5px 5px;
  border-radius: 4px;
  background: rgba(109, 155, 255, 0.1);
  color: #b3c8f2;
}

.arch {
  max-width: 880px;
}

.arch-layer {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.arch-tag {
  width: 150px;
  flex: none;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: #8fb2ff;
}

.arch-layer strong {
  font-size: 15px;
}

.arch-layer p {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.arch-arrow {
  padding: 8px 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  color: #4d5a70;
}

.arch-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chip {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: #a9b6cb;
}

.detail-list {
  border-top: 1px solid var(--border);
}

.detail-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.detail-no {
  padding-top: 3px;
  font-family: var(--mono);
  font-size: 12px;
  color: #6d9bff;
}

.detail-item h3 {
  margin-bottom: 8px;
  font-size: 16.5px;
}

.detail-item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 18px;
  max-width: 880px;
}

.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
}

.step-no {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(109, 155, 255, 0.14);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: #a9c5ff;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.step p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.step-tip {
  margin-top: 10px;
  font-size: 13px !important;
  color: #8593aa !important;
}

.code-block {
  margin: 14px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  background: #050810;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 12.8px;
  line-height: 1.75;
  color: #c9d6ef;
  white-space: pre;
}

.note {
  padding: 28px;
  border: 1px solid rgba(109, 155, 255, 0.2);
  border-left: 3px solid var(--brand);
  border-radius: 0 16px 16px 0;
  background: rgba(109, 155, 255, 0.06);
}

.note h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.note p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(420px 220px at 90% 10%, rgba(62, 224, 200, 0.1), transparent 65%),
    linear-gradient(135deg, rgba(109, 155, 255, 0.1), rgba(255, 255, 255, 0.018));
}

.cta-band h2 {
  margin-bottom: 8px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.cta-band p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

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

.gen-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gen-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.028);
}

.gen-card h3 {
  margin-bottom: 12px;
  font-size: 17px;
}

.gen-card p {
  font-size: 13.8px;
  line-height: 1.85;
  color: var(--muted);
}

.gen-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(109, 155, 255, 0.08);
  font-size: 12.5px;
  line-height: 1.7;
  color: #9fb2d2;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-size: 14px;
  color: #b9c5d9;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: 24px;
  padding: 44px 0 30px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  font-size: 15px;
}

.footer-brand p {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted-dim);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
}

.footer-nav a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 12px;
  color: #66738a;
}

.filing {
  color: #66738a;
  transition: color 0.2s ease;
}

.filing:hover {
  color: #9db9ff;
}

.filing-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.filing-logo {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
}

/* ---------- 滚动出现 ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- 响应式 ---------- */

@media (max-width: 1060px) {
  .hero-inner,
  .page-hero-grid {
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 4.4vw, 3.2rem);
  }

  .project {
    gap: 32px;
    padding: 32px;
  }

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

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

  .about-grid,
  .contact-panel {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(6, 8, 15, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 12px 10px;
    border-radius: 8px;
    font-size: 15px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    color: #cfe0ff !important;
  }

  .hero {
    padding: 60px 0 64px;
  }

  .hero-inner,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .page-hero-visual {
    max-width: 560px;
    margin-top: 12px;
  }

  .hero-visual .mockup,
  .page-hero-visual .mockup {
    transform: none;
  }

  .float-role {
    left: 8px;
  }

  .hero-stats {
    margin-top: 36px;
  }

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

  .project.reverse .project-visual,
  .project.reverse .project-copy {
    order: 0;
  }

  .project-visual {
    max-width: 560px;
  }

  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-panel {
    padding: 36px;
  }

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

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section {
    padding: 76px 0;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 20px;
  }

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

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .project {
    padding: 24px;
    border-radius: 20px;
  }

  .service-grid,
  .feature-grid,
  .gen-grid,
  .pain-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 24px;
  }

  .mockup-body {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .mockup-side {
    padding: 10px 7px;
  }

  .ms-item {
    font-size: 10px;
    padding: 6px;
  }

  .ms-item.indent {
    padding-left: 14px;
  }

  .mockup-main {
    padding: 14px;
  }

  .float-card {
    display: none;
  }

  .contact-panel {
    padding: 26px;
    border-radius: 22px;
  }

  .contact-card {
    padding: 22px;
  }

  .qq-value strong {
    font-size: 25px;
  }

  .contact-links a {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .detail-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .arch-layer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px;
  }

  .arch-tag {
    width: auto;
  }

  .arch-arrow {
    padding: 6px 0;
  }

  .cta-band {
    padding: 26px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .page-hero {
    padding: 32px 0 56px;
  }

  .breadcrumb {
    margin-bottom: 24px;
  }

  .section {
    padding: 64px 0;
  }

  .section-tight {
    padding: 36px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .footer-nav {
    gap: 16px;
  }

  .copyright {
    font-size: 11.5px;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   工业产品 / 自研软件
   ========================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 155, 255, 0.38);
}

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 206px;
  padding: 22px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(320px 170px at 50% 0%, rgba(109, 155, 255, 0.16), transparent 72%),
    rgba(255, 255, 255, 0.012);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.product-body .project-meta {
  margin-bottom: 0;
}

.product-body h3 {
  margin: 4px 0 10px;
  font-size: 20px;
}

.product-body p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 6px;
  margin: 14px 0 18px;
}

.mini-list li {
  position: relative;
  padding-left: 15px;
  font-size: 13px;
  color: var(--text-soft);
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.product-body .text-link {
  margin-top: auto;
  padding-top: 6px;
}

/* 网关状态小面板 */

.gw-mock {
  width: 100%;
  max-width: 300px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(7, 10, 18, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--text-soft);
}

.gw-head em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted-dim);
}

.gw-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gw-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(62, 224, 200, 0.15);
}

.gw-rows {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.gw-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
}

.gw-row span {
  color: var(--muted);
}

.gw-row strong {
  font-weight: 600;
  color: var(--text-soft);
}

.gw-row strong.ok {
  color: var(--teal);
}

.gw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.gw-pills span {
  padding: 3px 6px;
  border: 1px solid rgba(109, 155, 255, 0.25);
  border-radius: 999px;
  background: rgba(109, 155, 255, 0.07);
  font-size: 9px;
  color: #9fb6e6;
}

/* 物联网监控小面板 */

.iot-mock {
  width: 100%;
  max-width: 300px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: rgba(7, 10, 18, 0.85);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.iot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--text-soft);
}

.iot-top em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--teal);
}

.iot-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.iot-kpi {
  padding: 7px 8px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.iot-kpi span {
  display: block;
  font-size: 9px;
  color: var(--muted-dim);
}

.iot-kpi strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  color: #e2eaff;
}

.iot-kpi strong.warn {
  color: #ffb86b;
}

.iot-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 58px;
  margin: 10px 0;
}

.iot-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(109, 155, 255, 0.9), rgba(62, 224, 200, 0.45));
}

.iot-alarm {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 184, 107, 0.22);
  border-radius: 6px;
  background: rgba(255, 184, 107, 0.07);
  font-size: 9px;
  color: #d9c3a4;
}

.iot-alarm i {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: #ffb86b;
}

/* 记账 App 卡片 */

.app-tile {
  width: 100%;
  max-width: 236px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f8fa;
  color: #1f2329;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.app-tile-top {
  font-size: 10px;
  color: #8a9099;
}

.app-tile-top strong {
  display: block;
  margin-top: 3px;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #12a06a;
}

.app-tile-rows {
  margin-top: 10px;
}

.app-tile-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-top: 1px solid #eceef1;
  font-size: 10.5px;
  color: #4b5563;
}

.app-tile-row b {
  font-weight: 600;
  color: #1f2329;
}

.app-tile-row b.in {
  color: #12a06a;
}

/* 手机外观 */

.phone-mock {
  position: relative;
  width: 268px;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 8px 14px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 38px;
  background: linear-gradient(165deg, #1c2536, #0a0e17);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

.phone-notch {
  width: 76px;
  height: 15px;
  margin: -10px auto 9px;
  border-radius: 0 0 12px 12px;
  background: #05070d;
}

.phone-screen {
  overflow: hidden;
  border-radius: 28px;
  background: #f5f6f8;
  color: #1f2329;
}

.phone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px 4px;
  background: linear-gradient(135deg, #1cbd80, #0d8c58);
  color: #fff;
}

.phone-head span {
  font-size: 13px;
  font-weight: 700;
}

.phone-head em {
  font-style: normal;
  font-size: 9px;
  opacity: 0.82;
}

.phone-balance {
  padding: 2px 15px 15px;
  background: linear-gradient(135deg, #1cbd80, #0d8c58);
  color: #fff;
}

.phone-balance > span {
  font-size: 9px;
  opacity: 0.8;
}

.phone-balance > strong {
  display: block;
  margin: 2px 0 9px;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.phone-mini {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  opacity: 0.92;
}

.phone-mini b {
  display: block;
  margin-top: 1px;
  font-size: 11px;
}

.phone-rows {
  padding: 4px 10px;
  background: #fff;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border-bottom: 1px solid #f0f1f3;
}

.phone-row:last-child {
  border-bottom: 0;
}

.pr-ico {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 8px;
  background: #e9edf3;
}

.pr-ico.teal {
  background: #dcf6ec;
}

.pr-ico.amber {
  background: #fdf0e0;
}

.phone-row div {
  flex: 1;
  min-width: 0;
}

.phone-row strong {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: #1f2329;
}

.phone-row em {
  display: block;
  font-style: normal;
  font-size: 8.5px;
  color: #9aa0a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-row b {
  font-size: 10.5px;
  font-weight: 600;
  color: #1f2329;
}

.phone-row b.in {
  color: #14b366;
}

.phone-tabs {
  display: flex;
  justify-content: space-around;
  padding: 8px 4px 10px;
  border-top: 1px solid #eef0f2;
  background: #fff;
  font-size: 9px;
  color: #9aa0a8;
}

.phone-tabs .on {
  color: #0e8f5b;
  font-weight: 700;
}

/* App 三屏展示 */

.app-screens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.app-screen {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.as-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.as-top em {
  font-style: normal;
  font-size: 10px;
  color: var(--muted-dim);
}

.as-title {
  margin: 6px 0 16px;
  font-size: 19px;
  font-weight: 700;
}

.as-block {
  display: grid;
  gap: 8px;
}

.as-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--text-soft);
}

.as-row b {
  font-weight: 600;
}

.as-line {
  height: 6px;
  width: 82%;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.09);
}

.as-line.short {
  width: 56%;
}

.as-bars {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.as-bar span {
  display: block;
  height: 8px;
  width: var(--w);
  border-radius: 4px;
  background: linear-gradient(90deg, #6d9bff, #3ee0c8);
}

.as-bar em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 10px;
  color: var(--muted-dim);
}

.as-year {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 116px;
  margin: 6px 0 4px;
}

.as-year span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(109, 155, 255, 0.85), rgba(62, 224, 200, 0.4));
}

.app-screen p {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* 场景卡片 */

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(228px, 1fr));
  gap: 16px;
}

.scenario-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.scenario-card:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 155, 255, 0.32);
}

.scenario-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.scenario-card p {
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 420px) {
  .phone-mock {
    width: 100%;
    max-width: 262px;
  }

  .phone-balance > strong {
    font-size: 23px;
  }
}

/* ---------- 版本更新 / 下载 ---------- */

.update-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.update-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.update-card:hover {
  transform: translateY(-3px);
  border-color: rgba(62, 224, 200, 0.36);
}

.update-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 9px;
  border: 1px solid rgba(62, 224, 200, 0.3);
  border-radius: 999px;
  background: rgba(62, 224, 200, 0.08);
  font-size: 11px;
  color: #8fe9da;
}

.update-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.update-card p {
  font-size: 13.8px;
  line-height: 1.85;
  color: var(--muted);
}

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(109, 155, 255, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(480px 260px at 92% 0%, rgba(62, 224, 200, 0.12), transparent 64%),
    linear-gradient(140deg, rgba(109, 155, 255, 0.12), rgba(255, 255, 255, 0.02));
  overflow: hidden;
}

.download-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  letter-spacing: -0.02em;
}

.download-copy > p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.download-meta span {
  padding: 5px 11px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  color: #b9c7e0;
}

.download-copy .download-note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted-dim);
}

.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  justify-self: center;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.qr-card img {
  display: block;
  width: 168px;
  height: 168px;
  max-width: 100%;
  border-radius: 8px;
}

.qr-card figcaption {
  font-size: 13.5px;
  font-weight: 600;
  color: #1f2329;
  text-align: center;
}

.qr-url {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  color: #7b8797;
  text-align: center;
  word-break: break-all;
}

@media (max-width: 1060px) {
  .update-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .download-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 34px;
  }

  .qr-card {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .update-grid {
    grid-template-columns: 1fr;
  }

  .download-panel {
    gap: 26px;
    padding: 24px;
    border-radius: 22px;
  }

  .download-copy .hero-actions .btn {
    flex: 1 1 auto;
  }

  .qr-card img {
    width: 150px;
    height: 150px;
  }
}
