:root {
  --black: #030303;
  --ink: #111;
  --white: #fff;
  --paper: #f5f5f7;
  --muted: #86868b;
  --muted-dark: #a1a1a6;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(0, 0, 0, 0.1);
  --blue: #0071e3;
  --cyan: #7dd7ff;
  --green: #4cd964;
  --amber: #ffb340;
  --radius: 32px;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.2);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  text-rendering: geometricPrecision;
}

body.portal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: saturate(180%) blur(24px);
}

.nav,
.footer {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 24px;
  color: rgba(255, 255, 255, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-symbol {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #111;
  font-size: 15px;
  font-weight: 800;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #b8c9d8);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  letter-spacing: 0.02em;
}

.brand small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.nav-links a,
.nav-cta,
.footer-link {
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta,
.footer-link {
  padding: 8px 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta:hover,
.footer-link:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
}

.panel-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 50% 42%, rgba(125, 215, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 36rem),
    #030303;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100vh);
  padding: 112px 22px 128px;
  overflow: hidden;
  place-items: center;
}

.hero-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.95;
}

.hero-stage::before {
  position: absolute;
  right: 12%;
  bottom: 11%;
  left: 12%;
  height: 34%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08), transparent 62%);
  filter: blur(0.2px);
}

.facility {
  position: absolute;
  bottom: 12%;
  width: clamp(120px, 18vw, 260px);
  height: clamp(160px, 24vw, 330px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px 22px 6px 6px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 40px 120px rgba(125, 215, 255, 0.08);
  transform: perspective(900px) rotateX(55deg) rotateZ(-8deg);
}

.facility-a {
  left: 12%;
  opacity: 0.7;
}

.facility-b {
  left: 39%;
  bottom: 15%;
  opacity: 0.9;
}

.facility-c {
  right: 12%;
  opacity: 0.65;
}

.hero-orbit {
  position: absolute;
  top: 16%;
  left: 50%;
  width: min(72vw, 860px);
  height: min(72vw, 860px);
  border: 1px solid rgba(125, 215, 255, 0.14);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: slowSpin 22s linear infinite;
}

.hero-orbit::after {
  position: absolute;
  top: 18%;
  right: 8%;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 30px var(--cyan);
}

.hero-line {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 44vh;
  background: linear-gradient(transparent, rgba(125, 215, 255, 0.6), transparent);
  transform-origin: bottom;
}

.line-one {
  bottom: 22%;
  transform: rotate(55deg);
}

.line-two {
  bottom: 18%;
  transform: rotate(-48deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1040px, 100%);
  margin: auto;
  text-align: center;
}

.kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .kicker {
  color: rgba(255, 255, 255, 0.58);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 30px;
  font-size: clamp(48px, 7.4vw, 104px);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 6.4vw, 88px);
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.hero-copy p {
  width: min(720px, 100%);
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 620;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: #111;
  background: #fff;
}

.button-ghost,
.button-outline {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.button-dark {
  color: #fff;
  background: #111;
}

.full {
  width: 100%;
}

.node-strip {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: min(980px, calc(100% - 44px));
  margin: 0 auto;
}

.node-strip span {
  padding: 12px 14px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(16px);
}

.node-strip .planned {
  color: #fff;
  border-style: dashed;
  border-color: rgba(125, 215, 255, 0.52);
}

.section-pad {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 130px 0;
}

.statement {
  display: grid;
  min-height: 72vh;
  place-items: center;
  text-align: center;
}

.statement p {
  width: min(960px, 100%);
  margin: 0;
  font-size: clamp(40px, 6vw, 82px);
  font-weight: 740;
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.section-head {
  width: min(820px, 100%);
  margin-bottom: 60px;
}

.section-head p:not(.kicker),
.shaoguan-copy p,
.partner-copy p,
.portal-copy p {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.map-section {
  padding-top: 70px;
}

.china-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 48px;
  background:
    radial-gradient(circle at 50% 54%, rgba(0, 113, 227, 0.18), transparent 23rem),
    linear-gradient(145deg, #151515, #050505);
  box-shadow: var(--shadow);
}

.china-map::before {
  position: absolute;
  inset: 15% 9% 14%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48% 52% 46% 54% / 42% 50% 50% 58%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle, #000, transparent 72%);
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.solid-path,
.planned-path {
  fill: none;
  stroke-width: 2;
}

.solid-path {
  stroke: rgba(125, 215, 255, 0.55);
}

.planned-path {
  stroke: rgba(125, 215, 255, 0.8);
  stroke-dasharray: 9 10;
}

.map-node {
  position: absolute;
  display: grid;
  gap: 2px;
  color: #fff;
  transform: translate(-50%, -50%);
}

.map-node span {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.08), 0 0 28px rgba(125, 215, 255, 0.9);
}

.map-node strong {
  font-size: 18px;
}

.map-node small {
  color: rgba(255, 255, 255, 0.56);
}

.node-wuhan {
  top: 48%;
  left: 51.5%;
}

.node-qingdao {
  top: 32%;
  left: 76.5%;
}

.node-liaoning {
  top: 14%;
  left: 82.5%;
}

.node-shaoguan {
  top: 84%;
  left: 44.5%;
}

.planned-node span {
  background: transparent;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 10px rgba(125, 215, 255, 0.07), 0 0 36px rgba(125, 215, 255, 0.8);
}

.planned-node small {
  color: var(--cyan);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.location-card,
.scenario-card,
.portal-preview,
.partner,
.planning-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.08);
}

.location-card {
  min-height: 230px;
  padding: 30px;
}

.location-card span,
.scenario-card span,
.spec-label {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.location-card p,
.scenario-card p,
.spec p,
.portal-card p {
  color: var(--muted);
  line-height: 1.65;
}

.shaoguan {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  min-height: 86vh;
}

.planning-card {
  position: relative;
  display: grid;
  min-height: 560px;
  padding: 38px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 42%, rgba(125, 215, 255, 0.22), transparent 17rem),
    linear-gradient(160deg, #161616, #030303);
  place-items: center;
}

.planning-card::before {
  position: absolute;
  inset: 54px;
  content: "";
  border: 1px dashed rgba(125, 215, 255, 0.28);
  border-radius: 50%;
}

.planning-ring {
  position: relative;
  display: grid;
  width: min(320px, 72vw);
  height: min(320px, 72vw);
  place-items: center;
  border: 1px dashed rgba(125, 215, 255, 0.68);
  border-radius: 50%;
  animation: slowSpin 24s linear infinite;
}

.planning-ring span {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  color: var(--cyan);
  font-weight: 760;
  border-radius: 50%;
  background: rgba(125, 215, 255, 0.08);
  transform: rotate(0deg);
}

.planning-meta {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
}

.planning-meta p,
.planning-meta small {
  color: rgba(255, 255, 255, 0.62);
}

.planning-meta strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.capability {
  background: #fff;
}

.capability-intro {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 130px 0 30px;
}

.spec {
  display: grid;
  min-height: 84vh;
  padding: 100px max(22px, calc((100vw - 1180px) / 2));
  align-content: center;
}

.spec strong {
  display: inline-block;
  font-size: clamp(96px, 19vw, 240px);
  font-weight: 780;
  line-height: 0.82;
  letter-spacing: -0.09em;
}

.spec em {
  display: block;
  margin: 22px 0 28px;
  font-size: clamp(30px, 5vw, 68px);
  font-style: normal;
  font-weight: 720;
  letter-spacing: -0.055em;
}

.spec p {
  width: min(680px, 100%);
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.025em;
}

.spec-dark {
  color: #fff;
  background: #050505;
}

.spec-dark p,
.spec-dark .spec-label {
  color: rgba(255, 255, 255, 0.62);
}

.spec-light {
  color: #111;
  background: #fff;
}

.spec-soft {
  color: #111;
  background: linear-gradient(180deg, #f5f5f7, #e9edf2);
}

.scenarios {
  padding-top: 140px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.scenario-card {
  position: relative;
  min-height: 420px;
  padding: 30px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.scenario-card::after {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.16), transparent 68%);
}

.scenario-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.14);
}

.scenario-card h3 {
  width: min(240px, 100%);
  font-size: 30px;
  line-height: 1.08;
}

.scenario-card p {
  position: absolute;
  right: 30px;
  bottom: 30px;
  left: 30px;
}

.access-grid {
  display: grid;
  gap: 20px;
}

.access-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.access-card {
  padding: 30px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.08);
}

.access-card h3 {
  margin-top: 14px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.access-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.access-tag {
  display: inline-flex;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.access-card.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: center;
  padding: 40px;
}

.access-text .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.access-text .tag-row li {
  padding: 9px 14px;
  color: #111;
  font-size: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: #fff;
}

.access-visual {
  position: relative;
  display: grid;
  min-height: 150px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(160deg, #131313, #050505);
}

.feature .access-visual {
  min-height: 280px;
}

.upload-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding: 40px;
}

.upload-visual::before {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 40px;
  height: 40px;
  content: "";
  border-top: 3px solid var(--cyan);
  border-right: 3px solid var(--cyan);
  border-radius: 4px;
  transform: translateX(-50%) rotate(-45deg);
  animation: uploadArrow 1.8s ease-in-out infinite;
}

.upload-visual .bar {
  width: 30px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
  transform-origin: bottom;
  animation: uploadBar 1.8s ease-in-out infinite;
}

.upload-visual .bar:nth-child(1) {
  height: 96px;
  animation-delay: 0s;
}

.upload-visual .bar:nth-child(2) {
  height: 140px;
  animation-delay: 0.2s;
}

.upload-visual .bar:nth-child(3) {
  height: 72px;
  animation-delay: 0.4s;
}

.upload-visual .bar:nth-child(4) {
  height: 118px;
  animation-delay: 0.6s;
}

@keyframes uploadBar {
  0%,
  100% {
    transform: scaleY(0.62);
    opacity: 0.78;
  }

  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes uploadArrow {
  0%,
  100% {
    transform: translateX(-50%) translateY(6px) rotate(-45deg);
    opacity: 0.5;
  }

  50% {
    transform: translateX(-50%) translateY(-4px) rotate(-45deg);
    opacity: 1;
  }
}

.sync-visual {
  place-items: center;
}

.sync-ring {
  width: 76px;
  height: 76px;
  border: 3px solid rgba(125, 215, 255, 0.25);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: ringSpin 2.4s linear infinite;
}

.sync-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
}

.app-visual {
  grid-template-columns: repeat(2, auto);
  gap: 10px;
  place-content: center;
}

.app-visual span {
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.mount-visual {
  place-items: center;
  gap: 14px;
}

.mount-visual .disk {
  width: 88px;
  height: 56px;
  border: 1px solid rgba(125, 215, 255, 0.4);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 38%, rgba(125, 215, 255, 0.4), transparent 60%),
    rgba(255, 255, 255, 0.05);
}

.mount-visual em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-style: normal;
}

.partner {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 54px;
  align-items: center;
  padding: 70px;
  background: #111;
  color: #fff;
}

.partner .kicker,
.partner-copy p {
  color: rgba(255, 255, 255, 0.58);
}

.partner-matrix {
  display: grid;
  gap: 16px;
}

.partner-matrix div {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.partner-matrix small,
.partner-matrix span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
}

.partner-matrix strong {
  display: block;
  margin: 9px 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.portal-entry {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
}

.portal-preview {
  padding: 28px;
  border-radius: 42px;
}

.preview-header {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
}

.preview-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d2d2d7;
}

.preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  padding: 0 8px;
  border-bottom: 1px solid var(--line-dark);
}

.preview-row strong {
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.04em;
}

.preview-row small {
  color: var(--muted);
}

.planned-row small {
  color: var(--blue);
}

.preview-meter {
  height: 10px;
  margin: 36px 8px 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e5ea;
}

.preview-meter span {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #111, var(--blue));
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 58px 0;
  color: var(--muted);
  border-top: 1px solid var(--line-dark);
}

.footer strong {
  color: var(--ink);
}

.footer-link {
  color: var(--ink);
  border-color: var(--line-dark);
  background: transparent;
}

.modal,
.portal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.modal {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal.show,
.portal.show {
  display: block;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(20px);
}

.login-card {
  position: relative;
  width: min(440px, calc(100% - 32px));
  margin: 5vh auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(34px);
}

.login-card h2 {
  font-size: 42px;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  color: #111;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
}

.login-hint {
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 18px 0;
  padding: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
}

.auth-tabs button {
  min-height: 38px;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
}

.auth-tabs button.active {
  color: #111;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: grid;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  padding: 0 16px;
  color: #111;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.82);
}

input,
select {
  height: 52px;
}

textarea {
  min-height: 120px;
  padding-top: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.form-error {
  min-height: 22px;
  margin: 0;
  color: #c62828;
}

.portal {
  overflow: auto;
  padding: 24px;
  color: #fff;
  background: #050505;
}

.portal-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  background: #111;
}

.portal-side {
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
}

.portal-side nav {
  display: grid;
  gap: 8px;
  margin-top: 44px;
}

.portal-side nav button {
  width: 100%;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.56);
  text-align: left;
  border: 0;
  border-radius: 16px;
  background: transparent;
}

.portal-side nav button.active,
.portal-side nav button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.portal-main {
  overflow: auto;
  padding: 34px;
}

.portal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.portal-top h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.portal-status {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.portal-status article,
.portal-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.portal-status small,
.portal-card small {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.52);
}

.portal-status strong,
.portal-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.status-ok,
.status-plan {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.status-ok {
  color: #dfffe5;
  background: rgba(76, 217, 100, 0.14);
}

.status-plan {
  color: #d9f2ff;
  background: rgba(125, 215, 255, 0.14);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.portal-tab {
  display: none;
}

.portal-tab.active {
  display: block;
  animation: panelIn 0.22s ease;
}

.node-detail-grid {
  margin-bottom: 18px;
}

.portal-wide {
  margin-top: 18px;
}

.portal-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
}

.portal-card .button {
  margin-top: 20px;
}

.file-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  margin-bottom: 18px;
}

.file-toolbar input {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.file-toolbar input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.file-table {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
}

.file-table-head,
.file-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) 100px 150px 280px;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
}

.file-table-head {
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.file-row {
  color: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.file-row:last-child {
  border-bottom: 0;
}

.file-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 650;
}

.file-name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 720;
  letter-spacing: 0.02em;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

.file-icon.pdf {
  background: linear-gradient(150deg, #ff6b6b, #d6334b);
}

.file-icon.doc {
  background: linear-gradient(150deg, #5b9dff, #2f6bd6);
}

.file-icon.xls {
  background: linear-gradient(150deg, #45d18a, #1f9e63);
}

.file-icon.ppt {
  background: linear-gradient(150deg, #ffa45b, #e7702c);
}

.file-icon.img {
  background: linear-gradient(150deg, #9b8bff, #6a4fe0);
}

.file-icon.zip {
  background: linear-gradient(150deg, #ffd25b, #d6a01f);
  color: #2a2204;
}

.file-icon.txt {
  background: linear-gradient(150deg, #8fd0e8, #4f9fc4);
}

.file-icon.media {
  background: linear-gradient(150deg, #ff7bd0, #c43a96);
}

.file-icon.default {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12));
}

.file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.text-btn {
  padding: 8px 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.text-btn.danger {
  color: #ffb4b4;
}

.empty-text {
  margin: 0;
  padding: 26px;
  color: rgba(255, 255, 255, 0.48);
}

.upload-card,
.activation-form {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.drop-zone {
  display: grid;
  min-height: 260px;
  margin: 0;
  padding: 34px;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
}

.drop-zone.drag-over {
  border-color: var(--cyan);
  background: rgba(125, 215, 255, 0.08);
}

.drop-zone span {
  color: #fff;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 740;
  letter-spacing: -0.05em;
}

.drop-zone small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.52);
}

#fileInput {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-queue,
.application-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.queue-item,
.application-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.queue-item strong,
.application-item strong {
  color: #fff;
}

.queue-info {
  display: grid;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
}

.queue-info strong {
  overflow: hidden;
  font-weight: 640;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.queue-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.queue-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.queue-status {
  flex-shrink: 0;
  min-width: 76px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  text-align: right;
}

.queue-item.done .queue-status {
  color: var(--green);
}

.app-no {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-family: "SFMono-Regular", ui-monospace, "Cascadia Code", Menlo, monospace;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.activation-form label {
  color: rgba(255, 255, 255, 0.58);
}

.activation-form input,
.activation-form select,
.activation-form textarea {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.activation-form input::placeholder,
.activation-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.activation-form select option {
  color: #111;
  background: #fff;
}

.portal-panels {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 18px;
}

.event-list,
.progress-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.event-list li {
  color: rgba(255, 255, 255, 0.64);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
}

.dot.ok {
  background: var(--green);
}

.dot.plan {
  border: 2px solid var(--cyan);
}

.progress-list span {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
}

.progress-list .done {
  color: rgba(255, 255, 255, 0.74);
}

.progress-list .current {
  color: #fff;
  border-color: rgba(125, 215, 255, 0.32);
  background: rgba(125, 215, 255, 0.1);
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quota-card {
  margin-bottom: 18px;
}

.quota-bar {
  height: 12px;
  margin: 16px 0 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.quota-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transition: width 0.5s ease;
}

.quota-bar.warning span {
  background: linear-gradient(90deg, var(--amber), #ff6b6b);
}

.application-item {
  flex-wrap: wrap;
  align-items: flex-start;
}

.application-item .app-main {
  flex: 1 1 220px;
}

.application-item .app-main p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.54);
}

.application-item .app-side {
  display: grid;
  gap: 10px;
  justify-items: flex-end;
  text-align: right;
}

.app-status {
  display: inline-flex;
  padding: 6px 12px;
  color: #d9f2ff;
  font-size: 13px;
  border-radius: 999px;
  background: rgba(125, 215, 255, 0.16);
}

.preview-card {
  position: relative;
  width: min(720px, calc(100% - 32px));
  margin: 7vh auto;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: #111;
  color: #fff;
  box-shadow: var(--shadow);
}

.preview-card .close-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.preview-card h2 {
  overflow: hidden;
  font-size: 28px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-body {
  display: grid;
  min-height: 240px;
  max-height: 52vh;
  margin: 18px 0 22px;
  overflow: auto;
  place-items: center;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.preview-body img {
  max-width: 100%;
  max-height: 46vh;
  border-radius: 12px;
}

.preview-body pre {
  width: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
}

.preview-info {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  line-height: 1.8;
}

.preview-actions {
  display: flex;
  justify-content: flex-end;
}

.toast-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  min-width: 220px;
  max-width: 360px;
  padding: 14px 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  border-color: rgba(76, 217, 100, 0.4);
}

.toast.error {
  border-color: rgba(255, 107, 107, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowSpin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

.planning-ring {
  animation-name: ringSpin;
}

@keyframes ringSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .nav {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .node-strip,
  .location-grid,
  .shaoguan,
  .scenario-grid,
  .access-card.feature,
  .access-row,
  .partner,
  .portal-entry,
  .portal-shell,
  .portal-status,
  .portal-grid,
  .portal-panels {
    grid-template-columns: 1fr;
  }

  .access-card.feature .access-visual {
    min-height: 200px;
  }

  .node-strip {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(720px, 100%);
    margin-top: 56px;
  }

  .hero {
    align-content: center;
    padding-bottom: 70px;
  }

  .china-map {
    min-height: 520px;
  }

  .partner {
    padding: 42px;
  }

  .scenario-card {
    min-height: 280px;
  }

  .file-table-head {
    display: none;
  }

  .file-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .file-toolbar,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav,
  .footer,
  .section-pad,
  .capability-intro {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 58px);
    line-height: 1.12;
    letter-spacing: -0.035em;
  }

  h2 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .section-pad,
  .capability-intro {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .statement {
    min-height: 54vh;
  }

  .china-map {
    min-height: 420px;
    border-radius: 30px;
  }

  .map-node strong {
    font-size: 15px;
  }

  .map-node small {
    display: none;
  }

  .planning-card {
    min-height: 460px;
    padding: 24px;
  }

  .spec {
    min-height: 72vh;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .scenario-card,
  .location-card,
  .partner,
  .portal-preview,
  .login-card,
  .portal-main {
    padding: 24px;
  }

  .footer,
  .portal-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .portal {
    padding: 10px;
  }

  .portal-shell {
    min-height: calc(100vh - 20px);
    border-radius: 24px;
  }
}
