:root {
  --bg: #f5f8fc;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #101828;
  --muted: #5f6b82;
  --line: rgba(128, 151, 184, 0.22);
  --blue: #2377ff;
  --blue-strong: #135fe8;
  --blue-soft: #eaf3ff;
  --shadow: 0 22px 60px rgba(40, 79, 131, 0.14);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(73, 132, 255, 0.16), transparent 30%),
    radial-gradient(circle at 78% 14%, rgba(102, 74, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--bg) 44%, #ffffff 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(22px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 251, 255, 0.78);
  backdrop-filter: blur(18px);
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 24px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(40, 87, 172, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  color: #26324a;
  font-weight: 650;
}

.nav a, .footer-links a { transition: color 0.18s ease; }
.nav a:hover, .footer-links a:hover { color: var(--blue); }

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(35, 119, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(35, 119, 255, 0.08);
}

.language-switch button {
  min-width: 38px;
  height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  color: #596985;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.language-switch button:hover { color: var(--blue); }

.language-switch button.is-active {
  color: #fff;
  background: linear-gradient(135deg, #2b83ff, #1766ec);
  box-shadow: 0 8px 18px rgba(35, 119, 255, 0.22);
}

.version-pill, .badge, .latest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(35, 119, 255, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #1260d8;
  font-weight: 800;
}

.version-pill {
  min-height: 40px;
  padding: 0 16px;
  box-shadow: 0 12px 28px rgba(35, 119, 255, 0.1);
  white-space: nowrap;
}

.version-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue);
}

.version-text {
  display: inline-block;
  line-height: 1;
}

.section-shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(52px, 8vw, 92px) 0 46px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

h1 strong {
  background: linear-gradient(135deg, #2176ff, #7c4dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.03em;
}

h3 { margin-bottom: 10px; font-size: 20px; }

.hero-text, .integration-copy p, .download-card p, .section-heading p, .feature-card p, .step p, .screenshot-copy p {
  color: var(--muted);
  line-height: 1.78;
}

.hero-text { max-width: 520px; font-size: 18px; }

.hero-actions, .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #2b83ff, #1766ec);
  box-shadow: 0 16px 36px rgba(35, 119, 255, 0.24);
}

.button.secondary {
  color: #24304a;
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(142, 160, 188, 0.28);
  box-shadow: 0 12px 28px rgba(37, 61, 92, 0.08);
}

.button.large { min-height: 62px; width: 100%; font-size: 18px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: #6a7894;
  font-weight: 750;
}

.trust-row span::before { content: "✦"; color: var(--blue); margin-right: 8px; }

.showcase-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.78));
  box-shadow: var(--shadow);
}

.showcase-card img { width: 100%; border-radius: 16px; }

.section-heading { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.section-heading.compact { margin-bottom: 28px; }

.features { padding: 34px 0 26px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.feature-card, .step, .download-card, .integration {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(35, 59, 94, 0.08);
}

.feature-card {
  min-height: 250px;
  padding: 26px 20px;
  border-radius: 22px;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 15px;
  font-size: 24px;
  font-weight: 900;
}

.feature-icon.blue { color: #176eea; background: #eaf3ff; }
.feature-icon.violet { color: #7b4df6; background: #f0ebff; }
.feature-icon.green { color: #079a54; background: #e8f8ef; }
.feature-icon.orange { color: #e77719; background: #fff0df; }
.feature-icon.dark { color: #111827; background: #f0f3f8; }

.integration {
  display: grid;
  grid-template-columns: 0.88fr 1.25fr;
  gap: 34px;
  align-items: center;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 28px;
}

.badge { padding: 8px 13px; margin-bottom: 18px; background: #eef6ff; }

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #31405b;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
}

.screenshots {
  padding: 46px 0 30px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, 0.72fr);
  gap: 20px;
  align-items: stretch;
}

.screenshot-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,255,0.88));
  box-shadow: 0 18px 46px rgba(35, 59, 94, 0.08);
}

.screenshot-card-wide {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  align-items: center;
}

.screenshot-card-narrow {
  align-items: center;
}

.screenshot-copy {
  width: 100%;
}

.screenshot-copy h3 {
  margin-bottom: 8px;
}

.screenshot-copy p:last-child {
  color: var(--muted);
  line-height: 1.72;
}

.screenshot-card img {
  display: block;
  width: 100%;
  border: 1px solid rgba(132, 153, 184, 0.18);
  border-radius: 18px;
  background: #fff;
}

.screenshot-card-wide img {
  margin-top: 0;
}

.screenshot-card-narrow img {
  width: min(100%, 274px);
  border-radius: 16px;
}

.preview { padding: 42px 0 28px; }

.preview-card {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 30px;
  align-items: start;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(35, 119, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(35, 119, 255, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(239,246,255,0.9));
  box-shadow: 0 18px 48px rgba(35, 59, 94, 0.09);
}

.preview-copy p:last-child { color: var(--muted); line-height: 1.78; }

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.preview-grid article {
  min-height: 126px;
  padding: 20px;
  border: 1px solid rgba(128, 151, 184, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.preview-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #10213d;
  font-size: 17px;
}

.preview-grid span {
  color: var(--muted);
  line-height: 1.72;
}

.quickstart { padding: 50px 0 30px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  position: relative;
  padding: 28px 28px 28px 92px;
  border-radius: 22px;
}

.step span {
  position: absolute;
  left: 28px;
  top: 28px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2d85ff, #1462e9);
  font-weight: 900;
}

.download { padding: 30px 0 62px; }

.download-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(244,249,255,0.92));
}

.latest {
  display: inline-flex;
  margin-left: 10px;
  padding: 5px 10px;
  color: #087a3b;
  background: #e7f8ef;
  border-color: transparent;
  font-size: 14px;
  vertical-align: middle;
}

.note {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #1d5fbc !important;
  background: #eaf3ff;
}

.download-actions { flex-direction: column; margin-top: 0; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px clamp(22px, 5vw, 64px);
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  color: #66748d;
}

.footer-brand { font-size: 18px; color: #121a2b; }
.footer-brand span { display: block; color: #6a7894; font-size: 14px; font-weight: 600; }
.footer-links { display: flex; gap: 18px; font-weight: 760; color: #31405b; }

@media (max-width: 1040px) {
  .hero, .integration, .download-card, .preview-card, .screenshot-grid, .screenshot-card-wide { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .nav { display: none; }
}

@media (max-width: 720px) {
  .site-header { padding: 14px 18px; }
  .version-pill { display: none; }
  .language-switch button { min-width: 34px; height: 28px; padding: 0 9px; font-size: 12px; }
  .section-shell { width: min(100% - 28px, 1180px); }
  .hero { padding-top: 36px; }
  .feature-grid, .steps, .preview-grid, .screenshot-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .step { padding-left: 82px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
