:root {
  --bg: #0c0e14;
  --bg-alt: #111318;
  --card-bg: #161922;
  --card-bg-soft: #161922;
  --primary: #f4b154;
  --primary-soft: rgba(244, 177, 84, 0.12);
  --accent: #ff8a3c;
  --link: #60a5fa;
  --text-main: #f7f8ff;
  --text-muted: #9ca3af;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-pill: 999px;
}

/* Language toggle: show only active language */
.lang-zh [lang="en"] {
  display: none !important;
}
.lang-en [lang="zh"] {
  display: none !important;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  line-height: 1.7;
  letter-spacing: -0.02em;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 20px;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 36px;
  width: auto;
  max-width: 280px;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: brightness(1.05);
}

.logo span {
  font-size: 14px;
  color: var(--text-main);
  letter-spacing: 0.12em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  color: var(--text-muted);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.lang-switcher button {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-switcher button:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.lang-switcher button.active {
  color: var(--primary);
}

.lang-switcher span {
  color: var(--border-subtle);
  font-weight: 300;
  user-select: none;
}

.lang-switcher-mobile {
  display: none;
}

.nav a {
  position: relative;
  padding-bottom: 3px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 10px;
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--text-main);
}

.nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn.small {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 6px;
}

.btn-primary {
  background: var(--primary);
  color: #0c0e14;
  box-shadow: none;
}

.btn-primary:hover {
  background: var(--accent);
  transform: none;
  box-shadow: none;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-header .btn-outline.small {
  background: var(--text-main);
  color: var(--bg);
  border: none;
}

.site-header .btn-outline.small:hover {
  background: var(--text-muted);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
}

.hero {
  position: relative;
  padding: 54px 0 56px;
  overflow: hidden;
}

.hero-bg-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle at 18% 18%,
      rgba(96, 165, 250, 0.08),
      transparent 50%
    ),
    radial-gradient(
      circle at 72% 12%,
      rgba(244, 177, 84, 0.1),
      transparent 48%
    );
  opacity: 1;
  z-index: -2;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 12px 0 18px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.hero-subtitle {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-slogan {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  min-width: 90px;
}

.metric-value {
  font-size: 22px;
  font-weight: 600;
}

.metric-value.large {
  font-size: 30px;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-card {
  position: relative;
  width: 260px;
  height: 260px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.globe {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 55%),
    radial-gradient(circle at 65% 60%, rgba(24, 225, 185, 0.25), transparent 55%),
    repeating-radial-gradient(circle, rgba(255,255,255,0.03) 0, transparent 4px),
    repeating-linear-gradient(
      90deg,
      rgba(96, 165, 250, 0.2) 0,
      rgba(96, 165, 250, 0.2) 1px,
      transparent 1px,
      transparent 12px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(96, 165, 250, 0.2) 0,
      rgba(96, 165, 250, 0.2) 1px,
      transparent 1px,
      transparent 12px
    ),
    radial-gradient(circle at 50% 50%, rgba(207, 224, 255, 0.15), transparent 65%);
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.globe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 20% 10%,
    rgba(255, 255, 255, 0.08),
    transparent 55%
  );
  mix-blend-mode: overlay;
}

.globe-overlay-card {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(22, 25, 34, 0.95);
  border: 1px solid var(--border-subtle);
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.hero-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--primary);
}

.section {
  padding: 120px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: left;
  margin: 0 auto 34px;
  max-width: 760px;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 20px 20px 22px;
  box-shadow: none;
  transition: border-color 0.18s ease;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.pain-card {
  position: relative;
  overflow: hidden;
}

.pain-card .card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  min-width: 80px;
  font-size: 64px;
  font-weight: 700;
  border-radius: 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.06);
  margin-bottom: 0;
  line-height: 1;
  pointer-events: none;
}

.pain-card h3,
.pain-card p {
  position: relative;
  z-index: 1;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.feature-card {
  background: var(--card-bg-soft);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 48px;
}

.pricing-price {
  font-size: 22px;
  font-weight: 600;
  margin: 6px 0 6px;
}

.pricing-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pricing-items {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-items li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.pricing-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.pricing-card.highlight {
  border-width: 1.4px;
  border-color: rgba(244, 177, 84, 0.6);
  box-shadow: none;
  background: linear-gradient(180deg, rgba(244, 177, 84, 0.08), var(--card-bg) 55%);
}

.badge-best {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(244, 177, 84, 0.2);
  border: 1px solid rgba(244, 177, 84, 0.5);
  color: var(--primary);
  white-space: nowrap;
}

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

.trust-metric-card {
  text-align: left;
}

.cta-section {
  background: var(--bg-alt);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 48px;
  align-items: center;
}

.cta-text h2 {
  margin: 0 0 14px;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cta-text p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.cta-note {
  font-size: 12px;
  color: var(--text-muted);
}

.cta-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 0;
  border-left: 1px solid var(--border-subtle);
  padding-left: 32px;
}

.cta-qr-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.wechat-id {
  font-family: ui-monospace, Menlo, SFMono-Regular, monospace;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  display: inline-block;
  margin: 8px 0;
}

.wechat-tip {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.wechat-qr {
  max-width: 140px;
  height: auto;
  display: block;
  margin-top: 4px;
  border-radius: 8px;
}

.cta-qr-wrap.active {
  border-left-color: rgba(244, 177, 84, 0.6);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
  padding-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
}

.footer-links {
  display: flex;
  gap: 14px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    margin-bottom: 18px;
  }

  .nav {
    display: none;
  }

  .lang-switcher-mobile {
    display: inline-flex;
    margin-left: 0;
    margin-right: 12px;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

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

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

  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .cta-qr-wrap {
    border-left: none;
    padding-left: 0;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
  }

  .cta-text h2 {
    font-size: 32px;
  }

  .section {
    padding: 80px 0;
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .hero-metrics {
    gap: 12px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .logo-img {
    height: 32px;
    max-width: 240px;
  }
}

