:root {
  --blue: #4b8ef1;
  --blue-deep: #2459c8;
  --blue-soft: #edf4ff;
  --cyan: #2dd4f0;
  --ink: #183153;
  --ink-soft: #5d7193;
  --line: #d8e6fb;
  --white: #ffffff;
  --panel: #f7fbff;
  --shadow: 0 18px 50px rgba(75, 142, 241, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(75, 142, 241, 0.16), transparent 25%),
    linear-gradient(180deg, #fafdff 0%, #f4f8ff 46%, #eff5ff 100%);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

.shell {
  width: min(1180px, calc(100% - 32px));
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--white);
  color: var(--blue-deep);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(75, 142, 241, 0.08);
}

.header-shell {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 0 7px rgba(75, 142, 241, 0.08);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.brand-copy small {
  font-size: 0.83rem;
  color: var(--ink-soft);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  color: var(--ink-soft);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.header-actions-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.language-switcher {
  position: relative;
}

.language-switcher summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(75, 142, 241, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 10px 24px rgba(75, 142, 241, 0.08);
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary i {
  color: var(--blue);
}

.language-switcher summary span {
  color: var(--ink-soft);
  font-weight: 600;
}

.language-switcher summary strong {
  font-size: 0.95rem;
}

.language-switcher[open] summary {
  border-color: rgba(75, 142, 241, 0.28);
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 1100;
  width: min(360px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid rgba(75, 142, 241, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.language-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(75, 142, 241, 0.14);
  background: var(--panel);
  color: var(--ink-soft);
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.language-option:hover,
.language-option:focus-visible {
  color: var(--blue);
  border-color: rgba(75, 142, 241, 0.34);
  background: var(--white);
  transform: translateY(-1px);
}

.language-option.is-current,
.language-option[aria-current="true"] {
  color: var(--blue-deep);
  border-color: rgba(75, 142, 241, 0.4);
  background: rgba(75, 142, 241, 0.1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 30px rgba(75, 142, 241, 0.22);
}

.button-secondary {
  color: var(--blue);
  background: var(--white);
  border: 1px solid rgba(75, 142, 241, 0.22);
}

.hero-section,
.section-block,
.sub-hero {
  padding: 88px 0;
}

.hero-section {
  padding-top: 24px;
}

.hero-grid,
.split-layout,
.footer-grid,
.sub-hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-grid {
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.sub-hero-grid,
.split-layout {
  grid-template-columns: 1fr 1fr;
}

.reverse-layout .visual-panel {
  order: 2;
}

.reverse-layout .section-copy {
  order: 1;
}

.eyebrow,
.section-kicker,
.plan-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: rgba(75, 142, 241, 0.09);
}

.hero-copy h1,
.section-head h2,
.section-copy h2,
.sub-hero-copy h1 {
  margin: 6px 0 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-copy h1,
.sub-hero-copy h1 {
  font-size: clamp(1.55rem, 2.2vw, 2.4rem);
}

.hero-copy h1 {
  max-width: none;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero-copy h1 .title-line {
  white-space: nowrap;
}

.hero-copy h1.hero-title-inline {
  max-width: 24ch;
  white-space: normal;
  font-size: clamp(1.4rem, 2vw, 2.15rem);
  line-height: 1.18;
}

.hero-inline-media {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.3fr);
  gap: 14px;
  align-items: stretch;
}

.hero-inline-media img {
  width: 76%;
  height: auto;
  margin: 0 auto;
}

.hero-inline-card {
  margin: 0;
}

.hero-inline-mini {
  grid-template-columns: 1fr;
  gap: 12px;
}

.hero-inline-mini .mini-card {
  padding: 14px;
}

.hero-lead {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 1rem;
}

.section-head h2,
.section-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero-lead,
.section-head p,
.section-copy p,
.feature-card p,
.stack-card p,
.plan-card p,
.param-card p,
.mini-card span,
.visual-caption,
.disclosure,
.site-footer p,
.faq-grid p,
.section-note {
  color: var(--ink-soft);
}

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

.hero-points,
.bullet-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.hero-points li,
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-points i {
  margin-top: 4px;
  color: var(--blue);
}

.disclosure {
  margin-top: 12px;
  font-size: 0.92rem;
}

.review-note {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.hero-image-card,
.mini-card,
.feature-card,
.plan-card,
.param-card,
.stack-card,
.stat-card,
.visual-panel,
.faq-grid details,
.table-card,
.callout-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-image-card,
.visual-panel {
  overflow: hidden;
  padding: 18px;
}

.hero-image-card img {
  width: 84%;
  height: auto;
  margin: 0 auto;
}

.hero-mini-grid,
.route-grid,
.param-grid,
.stack-grid,
.stat-grid,
.table-grid,
.feature-grid,
.plan-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.hero-mini-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.mini-card,
.route-card,
.feature-card,
.plan-card,
.param-card,
.stack-card,
.stat-card {
  padding: 24px;
}

.mini-card {
  padding: 18px;
}

.hero-section {
  padding-top: 16px;
  padding-bottom: 16px;
}

.mini-card strong,
.stat-card strong,
.table-card h3,
.route-card h3,
.feature-card h3,
.stack-card h3,
.plan-card h3,
.param-card h3,
.callout-card h3,
.site-footer h3 {
  display: block;
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.28;
}

.stat-strip {
  padding-bottom: 20px;
}

.stat-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-card {
  text-align: center;
}

.stat-card strong {
  font-size: 1.28rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.route-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 24px;
}

.route-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(75, 142, 241, 0.09);
  color: var(--blue);
  font-size: 1.2rem;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 700;
}

.feature-card i {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(75, 142, 241, 0.09);
  color: var(--blue);
  font-size: 1.2rem;
}

.section-soft,
.sub-hero {
  background: linear-gradient(180deg, rgba(75, 142, 241, 0.06), rgba(75, 142, 241, 0.03));
  border-top: 1px solid rgba(75, 142, 241, 0.08);
  border-bottom: 1px solid rgba(75, 142, 241, 0.08);
}

.compact-grid {
  margin-top: 32px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-card h3 {
  margin-top: 8px;
}

.highlight-card {
  background: linear-gradient(180deg, rgba(75, 142, 241, 0.09), rgba(255, 255, 255, 1));
}

.spec-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(75, 142, 241, 0.08);
}

.spec-list li:last-child {
  border-bottom: 0;
}

.spec-list span {
  color: var(--ink-soft);
}

.param-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag-cloud span {
  padding: 10px 13px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue-deep);
  box-shadow: 0 8px 20px rgba(75, 142, 241, 0.08);
}

.table-grid {
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: 32px;
}

.table-card {
  padding: 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.table-scroll {
  margin-top: 14px;
  overflow-x: auto;
}

.table-scroll .data-table {
  min-width: 860px;
  margin-top: 0;
}

.data-table th,
.data-table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(75, 142, 241, 0.08);
  vertical-align: top;
}

.data-table th {
  color: var(--blue-deep);
  font-size: 0.94rem;
}

.callout-card {
  padding: 24px;
}

.notice-card {
  margin-top: 20px;
  padding: 22px 24px;
  background: rgba(75, 142, 241, 0.06);
  border: 1px solid rgba(75, 142, 241, 0.14);
  border-radius: var(--radius-lg);
}

.notice-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.notice-card p {
  margin: 0;
  color: var(--ink-soft);
}

.callout-card ul {
  padding-left: 18px;
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.faq-grid details {
  padding: 22px 24px;
}

.faq-grid summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  position: relative;
  padding-right: 30px;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--blue);
}

.faq-grid details[open] summary::after {
  content: "-";
}

.faq-grid p {
  margin: 14px 0 0;
}

.site-footer {
  padding: 34px 0 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(75, 142, 241, 0.04));
  border-top: 1px solid rgba(75, 142, 241, 0.12);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 18px;
  padding: 10px 0 12px;
}

.footer-brand {
  max-width: 560px;
}

.footer-brand h3 {
  margin-bottom: 8px;
}

.footer-brand p {
  margin: 0;
}

.footer-panel {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
  max-width: 380px;
  margin-left: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  width: 100%;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(75, 142, 241, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-soft);
  font-weight: 700;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover {
  color: var(--blue);
  border-color: rgba(75, 142, 241, 0.3);
  transform: translateY(-1px);
}

.footer-cta {
  min-width: 170px;
  min-height: 40px;
  padding: 0 18px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px 16px;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid rgba(75, 142, 241, 0.12);
}

.footer-disclaimer,
.footer-copy {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
}

.footer-disclaimer {
  max-width: 780px;
  opacity: 0.82;
}

@media (max-width: 1199px) {
  .hero-copy h1 .title-line {
    white-space: normal;
  }

  .compact-grid,
  .param-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .header-shell,
  .hero-grid,
  .sub-hero-grid,
  .split-layout,
  .table-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-shell {
    display: grid;
    padding: 14px 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .header-actions-group {
    justify-content: flex-start;
  }

  .language-menu {
    left: 0;
    right: auto;
  }

  .footer-panel {
    justify-items: center;
    margin-left: 0;
    max-width: none;
  }

  .footer-nav {
    justify-content: center;
  }

  .hero-copy h1.hero-title-inline {
    white-space: normal;
    font-size: clamp(1.8rem, 6.8vw, 2.6rem);
  }

  .hero-inline-media {
    grid-template-columns: 1fr;
  }

  .hero-inline-mini {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 .title-line {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .hero-section,
  .section-block,
  .sub-hero {
    padding: 72px 0;
  }

  .feature-grid,
  .route-grid,
  .compact-grid,
  .param-grid,
  .stat-grid,
  .hero-mini-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .button,
  .header-button,
  .language-switcher,
  .language-switcher summary,
  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }

  .header-actions-group {
    display: grid;
    width: 100%;
  }

  .language-menu {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .footer-nav a,
  .footer-cta {
    width: 100%;
    justify-content: center;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy h1,
  .sub-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .section-head h2,
  .section-copy h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
}
