:root {
  --bg: #070b12;
  --surface: #0e1522;
  --surface-2: #121b2c;
  --ink: #e9eef8;
  --muted: #8b97ad;
  --line: rgba(120, 200, 255, 0.14);
  --stream: #35e0c5;
  --stream-2: #4aa8ff;
  --stream-3: #7ef0d8;
  --ok: #2fd18b;
  --warn: #e6b84d;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  --font: "Segoe UI Variable Display", "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "Cascadia Mono", "Consolas", monospace;
  --max: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.68;
  font-size: 16px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 40% at 50% -5%, rgba(53, 224, 197, 0.14), transparent 55%),
    radial-gradient(circle at 90% 20%, rgba(74, 168, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #070b12 0%, #0a101b 50%, #070b12 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--stream), var(--stream-2));
  color: #041016;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 22px rgba(53, 224, 197, 0.35);
}

.logo-text span { color: var(--stream); }

.nav-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
}

.lang-switch button.active {
  background: rgba(53, 224, 197, 0.14);
  color: var(--stream);
  font-weight: 700;
}

.hero {
  position: relative;
  padding: 72px 0 56px;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.stream-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.stream-line {
  position: absolute;
  height: 2px;
  left: -20%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--stream), transparent);
  opacity: 0.55;
  filter: blur(0.2px);
  animation: streamMove 4.8s linear infinite;
}

.stream-line:nth-child(1) { top: 18%; animation-duration: 5.2s; }
.stream-line:nth-child(2) { top: 34%; width: 50%; background: linear-gradient(90deg, transparent, var(--stream-2), transparent); animation-duration: 3.8s; animation-delay: -1s; }
.stream-line:nth-child(3) { top: 52%; width: 35%; animation-duration: 6s; animation-delay: -2s; }
.stream-line:nth-child(4) { top: 68%; width: 45%; background: linear-gradient(90deg, transparent, var(--stream-3), transparent); animation-duration: 4.2s; animation-delay: -0.5s; }
.stream-line:nth-child(5) { top: 82%; width: 30%; animation-duration: 5.6s; animation-delay: -1.8s; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(53, 224, 197, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 900;
  animation: rise 0.75s ease both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--stream), var(--stream-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 540px;
  animation: rise 0.85s ease 0.05s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  animation: rise 0.9s ease 0.1s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--stream), #2bb8ff);
  color: #041016;
  box-shadow: 0 0 28px rgba(53, 224, 197, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--ink);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  animation: rise 1s ease 0.08s both;
}

.visual-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(53, 224, 197, 0.28);
  box-shadow: var(--shadow), 0 0 40px rgba(53, 224, 197, 0.08);
  background: var(--surface);
}

.visual-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(53, 224, 197, 0.18) 45%, transparent 70%);
  transform: translateX(-60%);
  animation: scan 3.6s ease-in-out infinite;
  pointer-events: none;
}

.visual-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(233, 238, 248, 0.8);
  background: linear-gradient(90deg, rgba(53, 224, 197, 0.16), transparent);
  text-transform: uppercase;
}

.packet {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--stream);
  box-shadow: 0 0 12px var(--stream);
  animation: packetFly 2.8s linear infinite;
}

.packet.p2 {
  background: var(--stream-2);
  box-shadow: 0 0 12px var(--stream-2);
  animation-duration: 3.4s;
  animation-delay: -1s;
  top: 30%;
}

.packet.p3 {
  background: var(--stream-3);
  box-shadow: 0 0 12px var(--stream-3);
  animation-duration: 2.4s;
  animation-delay: -0.4s;
  top: 70%;
}

.section { padding: 76px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(18, 27, 44, 0.55), transparent);
}

.section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--stream);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.2;
  font-weight: 900;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.grid-5,
.grid-3,
.grid-2,
.compat-grid,
.scene-grid {
  display: grid;
  gap: 14px;
}

.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.compat-grid { grid-template-columns: repeat(4, 1fr); }
.scene-grid { grid-template-columns: repeat(3, 1fr); }

.platform-card,
.feature-card,
.plan-card,
.step-card,
.scene-card,
.compat-item,
.faq-item,
.panel,
.dl-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.platform-card:hover,
.feature-card:hover,
.plan-card:hover,
.scene-card:hover,
.dl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 224, 197, 0.4);
  box-shadow: 0 0 24px rgba(53, 224, 197, 0.08);
}

.stream-mark {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, var(--stream), transparent);
}

.stream-mark.alt { background: linear-gradient(90deg, var(--stream-2), transparent); }

.platform-card h3,
.feature-card h3,
.plan-card h3,
.step-card h3,
.scene-card h3,
.dl-card h3,
.compat-item h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 900;
}

.meta-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-line span:last-child {
  color: var(--ink);
  text-align: right;
  font-weight: 700;
}

.status { color: var(--ok) !important; }

.feature-card p,
.scene-card p,
.compat-item p,
.step-card p,
.plan-card p,
.dl-card p,
.panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.flow-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
}

.flow-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--stream), var(--stream-2));
  color: #041016;
  font-weight: 900;
}

.flow-list h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.flow-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-media { padding: 0; overflow: hidden; }

.panel-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.code-block {
  margin: 0;
  padding: 16px 18px;
  background: #081018;
  color: #d5ddec;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.code-block .c { color: #7d8aa3; }
.code-block .k { color: var(--stream); }
.code-block .v { color: #8ec8ff; }

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.capability-list span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(53, 224, 197, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
}

.plan-card .btn,
.dl-card .btn {
  margin-top: 14px;
  width: 100%;
}

.step-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--stream);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.tips {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(230, 184, 77, 0.08);
  border: 1px solid rgba(230, 184, 77, 0.28);
  color: #f0d9a0;
}

.tips strong { color: var(--warn); }

.faq-list { display: grid; gap: 10px; }

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

.cta { padding: 20px 0 10px; }

.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 42px 28px;
  text-align: center;
  border: 1px solid rgba(53, 224, 197, 0.28);
  background:
    radial-gradient(circle at 15% 30%, rgba(53, 224, 197, 0.16), transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(74, 168, 255, 0.14), transparent 35%),
    #0d1524;
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
}

.cta-panel p {
  margin: 10px auto 0;
  max-width: 520px;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.site-footer {
  margin-top: 40px;
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: #060a11;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 24px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a:hover { color: var(--stream); }

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}

.page-hero { padding: 56px 0 12px; }

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
}

.page-hero p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 640px;
}

.media-strip {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.media-strip img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.inline-shot {
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.inline-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@keyframes streamMove {
  from { transform: translateX(0); }
  to { transform: translateX(280%); }
}

@keyframes scan {
  0%, 100% { transform: translateX(-60%); opacity: 0; }
  20% { opacity: 0.8; }
  55% { transform: translateX(80%); opacity: 0.35; }
  100% { transform: translateX(120%); opacity: 0; }
}

@keyframes packetFly {
  0% { left: -4%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 104%; opacity: 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .compat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-grid,
  .how-grid,
  .grid-3,
  .grid-2,
  .scene-grid,
  .media-strip,
  .footer-grid { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; padding: 48px 0; }
  .section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .grid-5,
  .compat-grid { grid-template-columns: 1fr; }
  .container { width: min(var(--max), calc(100% - 24px)); }
}
