:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #121826;
  --muted: #667085;
  --line: #e6ebf2;
  --accent: #0f8f7b;
  --accent-2: #14b8a6;
  --accent-soft: #e7f8f4;
  --blue: #2f6fed;
  --blue-soft: #eaf1ff;
  --ok: #12a36a;
  --warn: #c47b12;
  --radius: 18px;
  --shadow: 0 12px 28px rgba(18, 24, 38, 0.06);
  --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:
    radial-gradient(circle at 10% 0%, #e8fff8 0%, transparent 28%),
    radial-gradient(circle at 90% 8%, #eaf1ff 0%, transparent 26%),
    var(--bg);
  line-height: 1.68;
  font-size: 16px;
}

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: 40;
  background: rgba(246, 248, 251, 0.88);
  backdrop-filter: blur(12px);
  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(145deg, var(--accent), var(--blue));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 143, 123, 0.25);
}

.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);
  font-weight: 700;
}

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.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: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.hero {
  padding: 64px 0 40px;
}

.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 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.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: rise 0.7s ease both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 540px;
  animation: rise 0.8s ease 0.05s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  animation: rise 0.85s 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: #fff;
  box-shadow: 0 10px 22px rgba(15, 143, 123, 0.28);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.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 0.9s ease 0.08s both;
}

.matrix-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.matrix-frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 18px;
}

.mini-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.mini-matrix span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid #d7f1ea;
}

.mini-matrix span:nth-child(2n) {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: #d7e4ff;
}

.section { padding: 72px 0; }
.section-alt { background: rgba(255, 255, 255, 0.55); }

.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.08em;
  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,
.icon-matrix {
  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); }
.icon-matrix { grid-template-columns: repeat(3, 1fr); }

.platform-card,
.feature-card,
.plan-card,
.step-card,
.scene-card,
.compat-item,
.faq-item,
.panel,
.dl-card,
.icon-card {
  background: var(--surface);
  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,
.icon-card:hover {
  transform: translateY(-3px);
  border-color: #bfe8df;
  box-shadow: var(--shadow);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 1.2rem;
  font-weight: 900;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid #d5f0e9;
}

.icon.blue {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: #d6e4ff;
}

.icon.ink {
  background: #eef1f6;
  color: #334155;
  border-color: #e2e8f0;
}

.platform-card h3,
.feature-card h3,
.plan-card h3,
.step-card h3,
.scene-card h3,
.dl-card h3,
.compat-item h3,
.icon-card 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,
.icon-card 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(--blue));
  color: #fff;
  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: #121826;
  color: #d8deea;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
  overflow-x: auto;
}

.code-block .c { color: #8b95a8; }
.code-block .k { color: #5ee0c5; }
.code-block .v { color: #9db8ff; }

.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.capability-list span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: #425466;
  font-size: 0.82rem;
  font-weight: 700;
}

.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.08em;
}

.tips {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8eb;
  border: 1px solid #ffe1ad;
  color: #8a5a12;
}

.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: 24px;
  padding: 42px 28px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.18), transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(47, 111, 237, 0.14), transparent 35%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.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;
  background: #121826;
  color: rgba(255, 255, 255, 0.75);
}

.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 ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a:hover { color: #7ee0cf; }

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.page-hero { padding: 48px 0 10px; }

.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;
  background: #fff;
}

.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 rise {
  from { opacity: 0; transform: translateY(14px); }
  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,
  .icon-matrix,
  .media-strip,
  .footer-grid { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .mini-matrix { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 56px 0; }
}

@media (max-width: 560px) {
  .grid-5,
  .compat-grid { grid-template-columns: 1fr; }
  .container { width: min(var(--max), calc(100% - 24px)); }
}
