:root {
  --bg: #f6f7fb;
  --ink: #171b26;
  --ink-soft: #3c4458;
  --muted: #5d667a;
  --faint: #7b8498;
  --line: rgba(23, 27, 38, 0.08);
  --line-strong: rgba(23, 27, 38, 0.12);
  --blue: #3b5bfd;
  --blue-deep: #2b46e0;
  --blue-soft: #e8edff;
  --violet: #6d6cf5;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(46, 68, 130, 0.1);
  --shadow-sm: 0 10px 30px rgba(46, 68, 130, 0.06);
  --radius: 22px;
  --header: 72px;
  --max: 1120px;
  --font: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  background:
    radial-gradient(900px 480px at 0% -10%, rgba(90, 122, 255, 0.16), transparent 60%),
    radial-gradient(820px 460px at 100% 0%, rgba(150, 166, 255, 0.2), transparent 55%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(70, 92, 150, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 92, 150, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 18%, #000 15%, transparent 72%);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection { background: #d9e1ff; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 80;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header,
main,
.site-footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(246, 247, 251, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #4d6dff, #314fe6);
  color: white;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.05em;
  box-shadow: 0 8px 16px rgba(59, 91, 253, 0.28);
  flex: none;
}

.logo-type { display: flex; flex-direction: column; line-height: 1.15; }
.logo-type strong { font-size: 16px; letter-spacing: -0.03em; }
.logo-type small { color: var(--faint); font-size: 11px; margin-top: 2px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 560;
}

.nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, 0.7); }
.nav-link.is-active { color: var(--ink); background: #e8ebf3; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: white;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  margin: 6px 11px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 8px 20px rgba(59, 91, 253, 0.28);
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }

.btn-ghost {
  background: white;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: #c9d0e4; }

.header-cta { margin-left: 4px; min-height: 40px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-strong);
  flex: none;
}

.lang-link {
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lang-link.is-active { background: var(--ink); color: white; }
html.lang-pending body { visibility: hidden; }

.eyebrow {
  margin: 0 0 14px;
  color: #6d7ec8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 760;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 740;
}

h3 { margin-bottom: 8px; font-size: 18px; letter-spacing: -0.02em; }

.grad {
  display: block;
  margin-bottom: 6px;
  background: linear-gradient(100deg, #314fe8 0%, #5d78ff 48%, #8a86ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 40em;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16.5px;
}

.hero { padding-bottom: 24px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - var(--header) - 36px);
  padding: 28px 0 48px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--faint);
  font-size: 13px;
}

.hero-meta span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #9aabef;
  transform: translateY(-1px);
}

.more-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--faint);
  font-size: 13px;
}
.more-link:hover { color: var(--blue); }

.stage { position: relative; }

.desk {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.desk-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.mini-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 700;
}

.desk-body {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 14px;
  padding: 16px;
  background:
    radial-gradient(300px 160px at 10% 0%, rgba(90, 120, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #f8f9fd, #f3f5fb);
}

.reader, .assistant {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}

.cover {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 168px;
  padding: 16px;
  border-radius: 14px;
  color: white;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.16), transparent 40%),
    linear-gradient(160deg, #24356d 0%, #3b5bfd 62%, #8ea0ff 140%);
}

.cover small { opacity: 0.8; font-size: 12px; }
.cover strong { margin: 8px 0 12px; font-size: 22px; line-height: 1.25; letter-spacing: -0.03em; }
.cover em {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-style: normal;
  font-size: 12px;
}

.reader ul { list-style: none; margin: 12px 0 0; padding: 0; }
.reader li {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
}
.reader li.on { background: var(--blue-soft); color: var(--blue-deep); font-weight: 700; }

.msg {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f4f6fb;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}
.msg + .msg { margin-top: 8px; }
.msg.alt { background: #eef2ff; color: #24315f; }

.graph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}
.graph span {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  border-radius: 12px;
  background: white;
  border: 1px dashed #c9d4ff;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
}

.stage-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.float {
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.float b { color: var(--blue); margin-right: 6px; }

.marquee-wrap { padding: 8px 0 36px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  white-space: nowrap;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section { padding: 72px 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head .lead { margin-top: 8px; }

.grid-3, .grid-4, .grid-2 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}

.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card { transition: transform 0.2s ease, box-shadow 0.2s ease; }

.kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.card p, .prose p { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.card ul, .prose ul { margin: 10px 0 0; padding: 0; list-style: none; }
.card li, .prose li {
  position: relative;
  padding-left: 16px;
  margin: 6px 0;
  color: var(--ink-soft);
  font-size: 14.5px;
}
.card li::before, .prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b7c4ff;
}

.pillar { min-height: 220px; }
.pillar .index {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-weight: 800;
}

.platform-bar {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: linear-gradient(90deg, #2d46d8, #5a74ff 55%, #7f8dff);
  color: white;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.platform-bar p { margin: 0; color: rgba(255, 255, 255, 0.84); font-size: 14px; }
.platform-bar strong { font-size: 16px; }

.cycle {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cycle li {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.cycle .num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
}
.cycle h3 { font-size: 16px; }
.cycle p { margin: 0; color: var(--muted); font-size: 13px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  padding: 22px 18px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
}
.stat b {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }
.note { margin: 14px 0 0; color: var(--faint); font-size: 12.5px; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs button {
  border: 1px solid var(--line-strong);
  background: white;
  color: var(--ink-soft);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 650;
}
.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
  align-items: stretch;
}
.panel[hidden] { display: none; }
.panel .card h3 { font-size: 26px; letter-spacing: -0.03em; }
.case-side {
  background:
    radial-gradient(240px 120px at 20% 0%, rgba(255, 255, 255, 0.2), transparent 60%),
    linear-gradient(165deg, #24356d, #3b5bfd);
  color: white;
  border: 0;
}
.case-side p, .case-side li { color: rgba(255, 255, 255, 0.86); }
.case-side li::before { background: rgba(255, 255, 255, 0.7); }
.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
}

.stack { display: grid; gap: 12px; }
.link-arrow { color: var(--blue-deep); font-weight: 700; font-size: 14px; }
.link-arrow:hover { text-decoration: underline; }

.page-hero { padding: 56px 0 8px; }
.page-hero h1 { font-size: clamp(34px, 4vw, 48px); }

.flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.flow article {
  position: relative;
  background: white;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 18px;
}
.flow strong { display: block; margin-bottom: 6px; }
.flow p { margin: 0; color: var(--muted); font-size: 14px; }

.books {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.book {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.book i {
  width: 52px;
  height: 64px;
  border-radius: 8px 12px 12px 8px;
  display: grid;
  place-items: center;
  color: white;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.book h3 { margin: 0 0 4px; font-size: 15px; }
.book p { margin: 0; color: var(--muted); font-size: 13px; }

.provinces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.provinces span {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}

.arch {
  display: grid;
  gap: 10px;
}
.arch div {
  padding: 16px 18px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
}
.arch b { display: block; margin-bottom: 4px; }
.arch span { color: var(--muted); font-size: 14px; }
.arch div:nth-child(1) { background: #eef2ff; }
.arch div:nth-child(2) { margin-left: 16px; }
.arch div:nth-child(3) { margin-left: 32px; }
.arch div:nth-child(4) { margin-left: 48px; }

.form {
  display: grid;
  gap: 12px;
}
label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: white;
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 15px;
  color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { margin: 0; color: var(--blue-deep); font-size: 13px; }

.cta {
  margin: 12px 0 72px;
}
.cta-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px;
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(400px 180px at 90% 0%, rgba(255, 255, 255, 0.2), transparent 50%),
    linear-gradient(110deg, #2a43d4, #4d6bff 55%, #7d88ff);
}
.cta-box h2 { color: white; }
.cta-box p { margin: 0; color: rgba(255, 255, 255, 0.86); max-width: 40em; }
.cta-box .btn-ghost { background: white; }

.site-footer { padding: 20px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.site-footer h2 { font-size: 14px; margin-bottom: 12px; letter-spacing: 0; }
.site-footer p { color: var(--muted); font-size: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--ink-soft); font-size: 14px; }
.site-footer a:hover { color: var(--blue-deep); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 16px;
  color: var(--faint);
  font-size: 12.5px;
}

.logo.footer-logo { margin-bottom: 12px; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .header-cta { display: none; }
  .nav {
    display: none;
    position: absolute;
    top: calc(var(--header) + 8px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: white;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav-link.is-active { background: var(--blue-soft); }
  .grid-4, .cycle, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-grid, .panel, .grid-3, .grid-2, .flow, .books, .form-row, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid { min-height: auto; padding-top: 20px; }
  .desk-body { grid-template-columns: 1fr; }
  .platform-bar, .cta-box, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .arch div, .arch div:nth-child(2), .arch div:nth-child(3), .arch div:nth-child(4) { margin-left: 0; }
  .section { padding: 52px 0; }
  h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .card, .btn { transition: none; }
}
