:root {
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-dark: #0f172a;
  --text-strong: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --line: #e2e8f0;
  --brand: #0f766e;
  --brand-hover: #115e59;
  --brand-soft: #ccfbf1;
  --accent-warm: #ea580c;
  --ok: #15803d;
  --ok-soft: #dcfce7;
  --warn: #b45309;
  --warn-soft: #fef3c7;
  --err: #b91c1c;
  --err-soft: #fee2e2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-strong);
  font-weight: 700;
  font-size: 18px;
}

.brand-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-nav a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--brand);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--bg-muted);
}

.lang-switch a {
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
}

.lang-switch a.current {
  background: var(--bg-surface);
  color: var(--text-strong);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.hero {
  padding: 64px 0 54px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: 38px;
  line-height: 1.22;
  color: var(--text-strong);
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 0 24px;
  max-width: 680px;
  font-size: 16px;
  color: var(--text-muted);
}

.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.trust-metric {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
}

.trust-metric strong {
  display: block;
  font-size: 20px;
  color: var(--text-strong);
}

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

.compare-demo {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.compare-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  user-select: none;
}

.compare-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.compare-before {
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
  color: #1e293b;
}

.compare-after {
  background: #ffffff;
  color: #0f172a;
  clip-path: inset(0 0 0 50%);
}

.compare-chip {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
}

.compare-after .compare-chip {
  background: var(--brand);
}

.compare-shoe {
  margin: auto;
  width: 64%;
  max-width: 240px;
}

.compare-caption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.compare-slider {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--brand);
  cursor: ew-resize;
}

.dl-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 18px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--bg-surface);
  color: var(--text-strong);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.btn:hover {
  border-color: var(--brand);
}

.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.btn.primary:hover {
  background: var(--brand-hover);
}

.btn.os-recommended {
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.22);
}

.sys-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.section {
  padding: 58px 0;
}

.section.alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: 26px;
  color: var(--text-strong);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-card h3 {
  margin: 0;
  font-size: 16.5px;
  color: var(--text-strong);
}

.feature-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-muted);
}

.card-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.pill-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--brand-soft);
  color: var(--brand);
}

.roi-box {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
}

.roi-control {
  margin-bottom: 16px;
}

.roi-control label {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 6px;
}

.roi-control input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
}

.roi-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.roi-stat {
  background: var(--bg-page);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.roi-stat.highlight {
  background: #f0fdfa;
  border-color: #99f6e4;
}

.roi-stat span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.roi-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  color: var(--text-strong);
}

.roi-stat.highlight strong {
  color: var(--brand);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
}

.price-card.recommended {
  border: 2px solid var(--brand);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.09);
}

.tier-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
}

.tier-price {
  margin: 10px 0 4px;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-strong);
}

.tier-price small {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--text-muted);
}

.tier-sub {
  font-size: 12.5px;
  color: var(--brand);
  margin-bottom: 14px;
  font-weight: 600;
}

.tier-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-body);
  flex: 1;
}

.tier-list li {
  margin-bottom: 7px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 13.5px;
  min-width: 640px;
}

.spec-table th,
.spec-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  background: var(--bg-muted);
  color: var(--text-strong);
  font-weight: 600;
}

.multiplatform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
  font-size: 15px;
}

.faq-item p {
  margin: 10px 0 2px;
  font-size: 13.5px;
  color: var(--text-body);
}

.tool-shell {
  padding: 36px 0 64px;
}

.tool-panel {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
}

.dropzone {
  border: 2px dashed #94a3b8;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  background: var(--bg-page);
  cursor: pointer;
}

.dropzone:hover {
  border-color: var(--brand);
  background: #f0fdfa;
}

.tool-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.preview-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: var(--bg-page);
}

.preview-box canvas,
.preview-box img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.badge-ok {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 12px;
  font-weight: 600;
}

.badge-warn {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 12px;
  font-weight: 600;
}

.badge-err {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--err-soft);
  color: var(--err);
  font-size: 12px;
  font-weight: 600;
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--line);
  padding: 32px 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

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

.hidden {
  display: none !important;
}

.aff-banner {
  background: #f0fdfa;
  border-bottom: 1px solid #99f6e4;
  color: #115e59;
  font-size: 13px;
  padding: 9px 0;
}

.aff-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.promoter-wrap {
  max-width: 960px;
  margin: 32px auto 64px;
  padding: 0 20px;
}

.promoter-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 18px;
}

.promoter-login-box {
  max-width: 440px;
  margin: 48px auto;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-strong);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-strong);
  background: var(--bg-surface);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.kpi-box {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
}

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

.kpi-val {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-strong);
}

.kpi-val.accent {
  color: var(--brand);
}

.promo-code-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  margin-bottom: 14px;
}

.promo-textarea {
  width: 100%;
  min-height: 92px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-page);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-body);
  resize: vertical;
}

.notice-list {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-body);
}

.notice-list li {
  margin-bottom: 6px;
}

.msg-bar {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}

.msg-bar.err {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.msg-bar.ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

@media (max-width: 860px) {
  .hero-grid,
  .roi-box {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 28px;
  }
  .trust-metrics {
    grid-template-columns: 1fr;
  }
}
