:root {
  --c-indigo: #6366f1;
  --c-purple: #8b5cf6;
  --c-pink: #ec4899;
  --c-coral: #ff7a59;
  --c-coral-soft: #ff6b81;
  --c-amber: #f59e0b;
  --c-bg: #f8fafc;
  --c-bg-soft: #eef2ff;
  --c-card: #ffffff;
  --c-text: #0f172a;
  --c-muted: #475569;
  --c-border: rgba(15, 23, 42, 0.1);
  --shadow-sm: 0 10px 24px rgba(79, 70, 229, 0.1);
  --shadow-md: 0 20px 44px rgba(79, 70, 229, 0.16);
  --shadow-lg: 0 26px 64px rgba(79, 70, 229, 0.22);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--c-text);
  background:
    radial-gradient(920px 320px at 102% -8%, rgba(139, 92, 246, 0.2), transparent 62%),
    radial-gradient(760px 280px at -12% 8%, rgba(99, 102, 241, 0.13), transparent 66%),
    var(--c-bg);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  background: rgba(248, 250, 252, 0.92);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  text-decoration: none;
  color: var(--c-indigo);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  padding-left: 14px;
}

.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--c-pink);
}

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

.nav-link {
  text-decoration: none;
  color: var(--c-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: var(--c-indigo);
}

.nav-link.active {
  color: var(--c-indigo);
  border-bottom-color: var(--c-pink);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn:focus-visible {
  outline: 2px solid var(--c-pink);
  outline-offset: 2px;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--c-indigo), var(--c-purple));
  border-color: rgba(99, 102, 241, 0.66);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.24);
}

.btn-outline {
  color: var(--c-indigo);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(99, 102, 241, 0.34);
}

.btn-coral {
  color: #ffffff;
  background: linear-gradient(135deg, var(--c-coral), var(--c-coral-soft));
  border-color: rgba(255, 122, 89, 0.7);
  box-shadow: 0 12px 24px rgba(255, 122, 89, 0.28);
}

.btn-soft {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 20px rgba(30, 35, 95, 0.24);
}

.btn-gold {
  color: #ffffff;
  background: var(--c-amber);
  border-color: var(--c-amber);
  box-shadow: 0 10px 18px rgba(245, 158, 11, 0.26);
}

.section {
  padding: 80px 0;
}

.section-soft {
  background: linear-gradient(165deg, rgba(238, 242, 255, 0.84), rgba(255, 255, 255, 0.96));
}

.section-tight {
  padding: 28px 0 8px;
}

.hero {
  padding-top: 50px;
  padding-bottom: 50px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 34px 36px 36px;
  color: #f9faff;
  background:
    radial-gradient(600px 280px at 98% -12%, rgba(236, 72, 153, 0.24), transparent 64%),
    radial-gradient(480px 260px at -10% 108%, rgba(139, 92, 246, 0.26), transparent 70%),
    linear-gradient(148deg, #5456e9 0%, #6366f1 52%, #7c3aed 100%);
  box-shadow: var(--shadow-lg);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 44%, transparent 100%);
}

.hero-panel.light {
  color: var(--c-text);
  border: 1px solid var(--c-border);
  background:
    radial-gradient(560px 230px at 98% -8%, rgba(99, 102, 241, 0.14), transparent 72%),
    radial-gradient(460px 220px at -6% 106%, rgba(236, 72, 153, 0.1), transparent 70%),
    #ffffff;
  box-shadow: var(--shadow-md);
}

.hero-panel.light::before {
  display: none;
}

.hero-panel h1 {
  margin-top: 12px;
  max-width: 780px;
  line-height: 1.14;
}

h1,
h2,
.brand-close {
  font-family: "STSong", "Songti SC", "Noto Serif SC", serif;
  letter-spacing: -0.01em;
}

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

h1 {
  margin-top: 14px;
  max-width: 940px;
  font-size: 46px;
  line-height: 1.16;
  color: #fcfdff;
}

.hero-panel.light h1 {
  color: var(--c-text);
}

h2 {
  margin-bottom: 24px;
  font-size: 33px;
  line-height: 1.24;
}

h3 {
  font-size: 20px;
  line-height: 1.34;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(250, 251, 255, 0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--c-amber);
}

.hero-panel.light .kicker {
  color: var(--c-indigo);
}

.hero-panel .sub {
  margin-top: 16px;
  max-width: 760px;
  color: rgba(248, 250, 255, 0.9);
  font-size: 17px;
  line-height: 1.72;
}

.hero-panel.light .sub {
  color: var(--c-muted);
}

.card-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.hero-panel .hero-actions .btn {
  min-height: 44px;
  padding: 0 20px;
  white-space: nowrap;
}

.fun-entry {
  border: 1px solid rgba(255, 122, 89, 0.34);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.14), rgba(255, 139, 91, 0.08));
  box-shadow: 0 14px 30px rgba(255, 122, 89, 0.15);
}

.fun-entry h3 {
  color: #9a3f3f;
}

.fun-entry p {
  margin-top: 8px;
  color: #7c4a4a;
  font-size: 14px;
}

.disclaimer-mini {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(124, 74, 74, 0.86);
}

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

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

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

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

.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card p,
.card li {
  margin-top: 10px;
  color: var(--c-muted);
  font-size: 14px;
}

.card-list {
  display: grid;
  gap: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #965e09;
  background: rgba(255, 255, 255, 0.96);
  font-size: 12px;
  font-weight: 700;
}

.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--c-amber);
}

.card-main {
  border: 2px solid rgba(99, 102, 241, 0.5);
  background:
    radial-gradient(520px 220px at 98% -24%, rgba(139, 92, 246, 0.14), transparent 68%),
    linear-gradient(180deg, #ffffff, #fbfbff);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.18);
}

.card-plus {
  border: 1.8px solid rgba(123, 97, 255, 0.44);
  background:
    radial-gradient(520px 220px at 98% -24%, rgba(99, 102, 241, 0.1), transparent 68%),
    linear-gradient(180deg, #ffffff, #fcfcff);
}

.card-muted {
  border: 1.4px dashed rgba(99, 102, 241, 0.32);
  background: rgba(255, 255, 255, 0.92);
}

.diag-basic {
  border-color: rgba(99, 102, 241, 0.58);
  box-shadow: 0 22px 42px rgba(99, 102, 241, 0.2);
}

.diag-basic .badge {
  border-color: rgba(99, 102, 241, 0.44);
  color: #4338ca;
}

.diag-deep {
  border-color: rgba(99, 102, 241, 0.28);
  background:
    radial-gradient(420px 200px at 100% -26%, rgba(99, 102, 241, 0.08), transparent 72%),
    rgba(255, 255, 255, 0.95);
}

.diag-deep .badge {
  border-color: rgba(245, 158, 11, 0.42);
  color: #8c5f10;
}

.diag-upgrade-note {
  background: linear-gradient(120deg, rgba(99, 102, 241, 0.13), rgba(255, 255, 255, 0.92));
}

.savings-grid .card h3,
.industry-grid .card h3,
.path-grid .card h3 {
  font-size: 18px;
}

.industry-more {
  position: relative;
  overflow: hidden;
}

.industry-more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.08), rgba(236, 72, 153, 0.08));
  pointer-events: none;
}

.tag-cloud {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.26);
  font-size: 12px;
  color: var(--c-muted);
  background: rgba(255, 255, 255, 0.86);
}

.notice-strip {
  border: 1px solid rgba(99, 102, 241, 0.24);
  border-radius: 14px;
  background: rgba(238, 242, 255, 0.74);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notice-strip p {
  color: var(--c-muted);
  font-size: 14px;
}

.small-note {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 14px;
}

.center-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.center-row .btn {
  min-width: 220px;
}

.inline-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inline-links a {
  font-size: 14px;
  color: var(--c-indigo);
  text-decoration: none;
  border-bottom: 1px solid rgba(99, 102, 241, 0.3);
}

.inline-links a:hover {
  border-bottom-color: var(--c-indigo);
}

.form-wrap {
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: #ffffff;
  color: var(--c-text);
  padding: 10px 12px;
  font: inherit;
}

.field textarea {
  min-height: 86px;
  resize: vertical;
}

.success-box,
.query-result,
.test-result {
  margin-top: 16px;
  display: none;
  border: 1px solid rgba(99, 102, 241, 0.34);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(126deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.08));
}

.success-box.show,
.query-result.show,
.test-result.show {
  display: block;
}

.success-title,
.query-title,
.test-title {
  color: var(--c-indigo);
  font-size: 15px;
  font-weight: 700;
}

.success-text,
.query-text,
.test-text,
.order-error,
.wx-tip,
.test-note {
  margin-top: 6px;
  color: var(--c-muted);
  font-size: 14px;
}

.order-error,
.wx-tip {
  display: none;
}

.order-error.show,
.wx-tip.show {
  display: block;
}

.success-actions,
.query-actions,
.test-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.result-grid {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.result-row {
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--c-muted);
  font-size: 14px;
}

.result-row strong {
  color: var(--c-text);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-delivered {
  background: rgba(99, 102, 241, 0.18);
  color: #4338ca;
}

.status-processing {
  background: rgba(245, 158, 11, 0.18);
  color: #92400e;
}

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

.path-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #3f3fb4;
  background: rgba(99, 102, 241, 0.12);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  position: relative;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.faq-question {
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  background: transparent;
  color: var(--c-text);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question span:last-child {
  color: var(--c-pink);
  font-size: 18px;
}

.faq-answer {
  margin-top: 10px;
  color: var(--c-muted);
  font-size: 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-item.open {
  border-color: rgba(99, 102, 241, 0.46);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-md);
}

.faq-item.open::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: var(--c-pink);
}

.faq-item.open .faq-answer {
  max-height: 260px;
}

.brand-close {
  text-align: center;
  color: var(--c-indigo);
  font-size: 24px;
  font-weight: 700;
}

.footer {
  margin-top: 16px;
  padding: 28px 0 16px;
  background:
    radial-gradient(740px 220px at 100% 0%, rgba(236, 72, 153, 0.18), transparent 72%),
    linear-gradient(158deg, #5c60ea 0%, #6366f1 56%, #8b5cf6 100%);
  color: rgba(249, 250, 255, 0.92);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.footer-line,
.footer-links a {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(249, 250, 255, 0.84);
}

.footer-links {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(249, 250, 255, 0.34);
}

.preview-note {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: rgba(249, 250, 255, 0.7);
}

.focus-spot {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.24);
  transition: box-shadow 0.25s ease;
}

@media (max-width: 1180px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav {
    width: 100%;
    order: 3;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .price-block,
  .footer-main,
  .notice-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 56px 0;
  }

  .section-tight {
    padding: 20px 0 4px;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .hero-panel {
    padding: 24px 22px 24px;
    border-radius: 18px;
  }

  .hero-panel h1 {
    max-width: 100%;
  }

  .hero-panel .sub {
    font-size: 16px;
    line-height: 1.68;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  .header-cta,
  .hero-actions {
    width: 100%;
  }

  .header-cta .btn,
  .hero-actions .btn,
  .center-row .btn,
  .success-actions .btn,
  .query-actions .btn,
  .test-actions .btn {
    width: 100%;
  }
}
