:root {
  --bg: #08131f;
  --bg-soft: #0d1c2d;
  --panel: rgba(10, 20, 34, 0.78);
  --panel-strong: rgba(8, 15, 26, 0.94);
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.08);
  --card-border: rgba(155, 213, 255, 0.14);
  --line: rgba(255, 255, 255, 0.1);
  --text: #edf4ff;
  --muted: #a8bdd5;
  --blue: #59c8ff;
  --cyan: #90f6ff;
  --orange: #ff9347;
  --gold: #ffd685;
  --mint: #85ffd1;
  --danger: #ff6c63;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(89, 200, 255, 0.24), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(255, 147, 71, 0.18), transparent 18%),
    linear-gradient(180deg, #050b12 0%, #08131f 35%, #050910 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.16;
  pointer-events: none;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

.ambient-one {
  top: -60px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: rgba(92, 188, 255, 0.26);
}

.ambient-two {
  top: 320px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: rgba(255, 147, 71, 0.16);
}

.ambient-three {
  bottom: 80px;
  right: 12px;
  width: 180px;
  height: 180px;
  background: rgba(144, 246, 255, 0.16);
}

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

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

button,
select,
input {
  font: inherit;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.page-shell,
.monitor-shell {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand strong,
.site-nav a,
.button,
h1,
h2,
h3,
.feature-index,
.stats-grid strong,
.device-head strong,
.mobile-dock-item {
  font-family: "Outfit", "Noto Sans SC", sans-serif;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, #f7fbff, transparent 30%),
    radial-gradient(circle at 64% 64%, rgba(89, 200, 255, 0.58), transparent 56%),
    linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 0 0 10px rgba(89, 200, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  border-radius: 999px;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px 18px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-upgraded {
  grid-template-columns: 1.04fr 0.96fr;
  padding: 18px 0 54px;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--cyan);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before,
.section-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.monitor-main h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.01;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.story-copy p,
.value-copy p,
.panel p,
.panel-list,
.control-panel p,
.guide-card li,
.legend-card li,
.history-list li,
.cta-copy {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 640px;
  font-size: 1.04rem;
  margin: 24px 0 0;
}

.hero-actions,
.control-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.button-primary {
  color: #08101a;
  background: linear-gradient(135deg, #8cf6ff, #ffb46e);
  box-shadow: 0 18px 44px rgba(86, 196, 255, 0.24);
}

.button-secondary,
.button-ghost,
.file-trigger {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.phone-readiness {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill,
.mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li,
.stats-grid article,
.feature-card,
.legend-card,
.guide-card,
.scene-card,
.panel,
.cta-band,
.control-panel,
.video-shell,
.quick-strip article,
.device-card,
.history-card {
  border: 1px solid var(--card-border);
  background: rgba(11, 22, 38, 0.7);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 20px 18px;
  border-radius: 22px;
}

.hero-metrics strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-collage {
  position: relative;
  min-height: 620px;
}

.hero-main-card,
.hero-side-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-main-card {
  inset: 0 20px 70px 0;
}

.hero-side-card {
  right: 0;
  bottom: 0;
  width: 48%;
}

.hero-main-card img,
.hero-side-card img {
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(8, 17, 29, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.floating-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.floating-card strong {
  font-size: 1rem;
}

.floating-card-top {
  top: 18px;
  left: -18px;
}

.floating-card-bottom {
  right: 24px;
  bottom: 22px;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.quick-strip article {
  padding: 18px 20px;
  border-radius: 20px;
}

.quick-strip span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.quick-strip strong {
  font-size: 1rem;
  line-height: 1.5;
}

.section {
  padding: 92px 0 0;
}

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

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

.panel h2,
.section-heading h2,
.story-copy h2,
.value-copy h2,
.cta-band h2,
.legend-card h2,
.guide-card h2,
.history-card h2,
.security-banner strong {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.12;
}

.panel-list {
  margin: 16px 0 0;
  padding-left: 20px;
}

.panel-list li + li,
.guide-card li + li,
.legend-card li + li,
.history-list li + li {
  margin-top: 10px;
}

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

.solution-grid div {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.solution-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card {
  padding: 24px;
  border-radius: 24px;
}

.feature-index {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--cyan);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

.feature-card h3,
.scene-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.feature-card p,
.scene-card p,
.flow-grid p,
.roadmap-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.image-story,
.value-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.story-visual img,
.value-visual img {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
}

.story-stats div,
.flow-grid article,
.roadmap-grid article {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-stats dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.story-stats dd {
  margin: 8px 0 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.architecture-flow .flow-grid,
.roadmap-grid,
.scene-grid {
  display: grid;
  gap: 18px;
}

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

.flow-grid strong,
.roadmap-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

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

.roadmap-grid span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.scene-card {
  overflow: hidden;
  border-radius: 24px;
}

.scene-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.scene-card div {
  padding: 22px;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 94px 0 38px;
  padding: 26px 28px;
  border-radius: 28px;
}

.cta-band-strong {
  background:
    radial-gradient(circle at right top, rgba(89, 200, 255, 0.12), transparent 30%),
    rgba(11, 22, 38, 0.82);
}

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

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 88px;
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
}

.monitor-main {
  padding-bottom: 110px;
}

.monitor-stage {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  align-items: start;
}

.video-column {
  display: grid;
  gap: 14px;
}

.security-banner {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 108, 99, 0.2);
  background: rgba(117, 26, 21, 0.22);
  color: #ffd6d3;
}

.security-banner strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.security-banner p {
  margin: 0;
  line-height: 1.7;
}

.security-banner.hidden {
  display: none;
}

.video-shell {
  position: sticky;
  top: 18px;
  overflow: hidden;
  min-height: 78vh;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(86, 196, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(12, 20, 34, 0.96), rgba(8, 14, 24, 0.98));
}

.video-shell-upgraded {
  min-height: 72vh;
}

#camera,
#overlay {
  width: 100%;
  height: 100%;
  display: block;
}

#camera {
  min-height: 72vh;
  object-fit: cover;
  background: #02060a;
}

#overlay {
  position: absolute;
  inset: 0;
}

.video-status {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(6, 13, 23, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.video-badge-row {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.control-panel {
  padding: 26px;
  border-radius: 28px;
}

.control-panel h1 {
  font-size: clamp(2rem, 3vw, 3.5rem);
  margin: 0 0 14px;
}

.control-group.stacked {
  flex-direction: column;
  gap: 10px;
}

.control-group label {
  font-weight: 600;
}

.control-group input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}

.range-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.device-card,
.history-card {
  margin-top: 22px;
  padding: 18px;
  border-radius: 20px;
}

.device-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.device-head span {
  color: var(--muted);
  font-size: 0.88rem;
}

.device-select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.stats-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

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

.stats-grid article {
  padding: 18px;
  border-radius: 20px;
}

.stats-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
}

.stats-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 1.55rem;
}

.legend-card,
.guide-card,
.history-card {
  margin-top: 22px;
  padding: 22px;
  border-radius: 22px;
}

.legend-card ul,
.guide-card ol,
.history-list {
  margin: 14px 0 0;
  padding-left: 20px;
}

.history-list {
  list-style: disc;
}

.legend {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  vertical-align: -2px;
  border-radius: 4px;
}

.legend.blue {
  background: rgba(86, 196, 255, 0.9);
}

.legend.orange {
  background: rgba(255, 147, 71, 0.92);
}

.legend.grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px),
    rgba(144, 246, 255, 0.22);
  background-size: 5px 5px;
}

.mobile-dock {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 15, 26, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.mobile-dock-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
}

.mobile-dock-item.active,
.mobile-dock-item.strong {
  color: #08101a;
  background: linear-gradient(135deg, #8cf6ff, #ffb46e);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1140px) {
  .hero-upgraded,
  .split-panels,
  .image-story,
  .value-section,
  .monitor-stage,
  .card-grid-4,
  .flow-grid,
  .roadmap-grid,
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    min-height: 620px;
  }

  .quick-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .page-shell,
  .monitor-shell {
    width: min(100vw - 24px, 1280px);
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    inset: 84px 12px auto;
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 15, 26, 0.94);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero-upgraded {
    gap: 26px;
    padding-bottom: 38px;
  }

  .hero h1,
  .monitor-main h1 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .hero-metrics,
  .story-stats,
  .stats-grid-rich,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .hero-main-card,
  .hero-side-card,
  .floating-card-top,
  .floating-card-bottom {
    position: static;
    width: auto;
    inset: auto;
  }

  .hero-main-card img,
  .hero-side-card img {
    min-height: 240px;
  }

  .site-header,
  .cta-band,
  .site-footer {
    gap: 18px;
  }

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

  .video-shell,
  #camera {
    min-height: 46vh;
  }

  .mobile-dock {
    display: flex;
  }

  .site-footer {
    padding-bottom: 108px;
  }
}

@media (max-width: 560px) {
  .control-panel,
  .panel,
  .feature-card,
  .scene-card div,
  .legend-card,
  .guide-card,
  .history-card,
  .cta-band,
  .device-card,
  .quick-strip article {
    padding: 18px;
  }

  .hero-text,
  .panel-list,
  .control-panel p {
    font-size: 0.95rem;
  }

  .hero-metrics strong {
    font-size: 1.72rem;
  }

  .video-status {
    top: 12px;
    left: 12px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .video-badge-row {
    right: 12px;
    bottom: 12px;
  }

  .pill,
  .mini-badge {
    min-height: 30px;
    font-size: 0.78rem;
  }
}
