:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #111827;
  --muted: #5f6b7a;
  --line: #dfe5ec;
  --red: #c7262e;
  --red-dark: #a91f27;
  --amber: #fff1d6;
  --amber-text: #7c2d12;
  --green: #0f766e;
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button,
.ghost-button,
.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.button {
  color: #fff;
  background: var(--red);
}

.button:hover {
  background: var(--red-dark);
}

.ghost-button,
.language-button {
  color: #243041;
  background: #fff;
  border-color: var(--line);
}

.ghost-button:hover,
.language-button:hover {
  background: #f1f4f8;
}

.language-button {
  min-width: 48px;
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--amber-text);
  background: var(--amber);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 28px;
  gap: 10px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
  gap: 10px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px 0;
  color: #334155;
  background: #eaf0f6;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.section {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.section.white {
  background: var(--surface);
}

.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.pricing-card,
.legal-card,
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card {
  padding: 18px;
}

.feature-card strong {
  display: block;
  font-size: 17px;
}

.feature-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 18px;
}

.pricing-card {
  padding: 22px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0;
}

.price strong {
  font-size: 42px;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 9px;
  color: #243041;
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  background: var(--green);
  border-radius: 50%;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step-card {
  padding: 16px;
}

.step-card span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.step-card strong {
  display: block;
  margin-top: 12px;
}

.step-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 64px;
}

.legal-card {
  padding: 28px;
}

.legal-card h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
}

.legal-card h2 {
  margin: 30px 0 10px;
  font-size: 22px;
}

.legal-card h3 {
  margin: 22px 0 8px;
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  color: #334155;
  line-height: 1.72;
}

.legal-card ul {
  padding-left: 22px;
}

.notice {
  padding: 14px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  gap: 18px;
}

.footer-links {
  display: flex;
  gap: 14px;
  font-weight: 700;
}

[data-lang="zh"] {
  display: none;
}

html.lang-zh [data-lang="en"] {
  display: none;
}

html.lang-zh [data-lang="zh"] {
  display: revert;
}

html.lang-zh .button[data-lang="zh"],
html.lang-zh .ghost-button[data-lang="zh"] {
  padding-top: 9px;
  padding-bottom: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links,
  .nav-actions {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-grid,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}
