:root {
  --bg: #0b1020;
  --ink: #eef3ff;
  --muted: #9aa8c7;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --accent: #5eead4;
  --accent-2: #60a5fa;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 20px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --font: "Avenir Next", "Segoe UI", "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(circle at 15% 10%, rgba(94, 234, 212, 0.16), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(96, 165, 250, 0.18), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(94, 234, 212, 0.08), transparent 35%),
    linear-gradient(180deg, #0b1020 0%, #10182c 50%, #0b1020 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.55);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 72px;
  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: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(94, 234, 212, 0.9), rgba(96, 165, 250, 0.9));
  color: #0b1220;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(94, 234, 212, 0.28);
}

.logo-text span { color: var(--accent); }

.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: var(--glass);
}

.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(94, 234, 212, 0.16);
  color: var(--accent);
  font-weight: 700;
}

.hero {
  padding: 72px 0 56px;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 900;
  animation: fadeUp 0.75s ease both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 540px;
  animation: fadeUp 0.85s ease 0.05s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  animation: fadeUp 0.9s ease 0.1s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  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(--accent), var(--accent-2));
  color: #0b1220;
  box-shadow: 0 10px 30px rgba(94, 234, 212, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  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: fadeUp 1s ease 0.08s both;
}

.ui-shell {
  border-radius: 28px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.ui-shell::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(94, 234, 212, 0.18), transparent 30%);
  animation: spin 10s linear infinite;
  pointer-events: none;
}

.ui-inner {
  position: relative;
  z-index: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(10, 16, 32, 0.55);
}

.ui-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.ui-chrome i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f87171;
  display: block;
}

.ui-chrome i:nth-child(2) { background: #fbbf24; }
.ui-chrome i:nth-child(3) { background: #34d399; }

.ui-chrome span {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.ui-inner img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.ui-dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.ui-dock span {
  text-align: center;
  padding: 8px 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.section { padding: 76px 0; }
.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent); }

.section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  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: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.platform-card:hover,
.feature-card:hover,
.plan-card:hover,
.scene-card:hover,
.dl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(94, 234, 212, 0.35);
  background: rgba(255, 255, 255, 0.09);
}

.glow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-bottom: 12px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}

.glow-dot.alt {
  background: var(--accent-2);
  box-shadow: 0 0 14px var(--accent-2);
}

.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: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #0b1220;
  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: rgba(8, 12, 24, 0.85);
  color: #d7e0f5;
  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: #7f8bab; }
.code-block .k { color: var(--accent); }
.code-block .v { color: #93c5fd; }

.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(255, 255, 255, 0.04);
  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(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.tips {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.25);
  color: #f6e2a8;
}

.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 {
  border-radius: 28px;
  padding: 42px 28px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 30%, rgba(94, 234, 212, 0.16), transparent 35%),
    radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.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: rgba(8, 12, 24, 0.7);
}

.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(--accent); }

.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: 18px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.inline-shot {
  margin-top: 16px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.inline-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@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)); }
}
