﻿:root {
  --bg: #f4fbf8;
  --bg-deep: #e7f7ef;
  --surface: #ffffff;
  --text-main: #0f2c25;
  --text-muted: #4c6f66;
  --line: #cde7dc;
  --brand: #13b879;
  --brand-dark: #0f8e5d;
  --accent: #23c7a7;
  --tech: #0f5a73;
  --danger: #d54d4d;
  --radius: 16px;
  --shadow: 0 16px 35px rgba(19, 184, 121, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 10% 10%, #ddf9ec 0%, transparent 35%),
    radial-gradient(circle at 92% 5%, #e2f5ff 0%, transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #f8fffc 100%);
  line-height: 1.6;
}

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(244, 251, 248, 0.88);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.08rem;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 6px rgba(19, 184, 121, 0.18);
}

.main-nav,
.auth-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav a {
  color: var(--text-muted);
  font-weight: 500;
}

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

.hello {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.btn {
  border: 1px solid transparent;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: var(--shadow);
}

.btn-ghost {
  color: var(--brand-dark);
  border-color: #bce9d6;
  background: #effcf6;
}

.w-full {
  width: 100%;
  text-align: center;
}

.hero {
  padding: 64px 0 46px;
}

.hero.hero-pro {
  padding-top: 74px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.kicker {
  margin: 0;
  color: var(--tech);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

h1 {
  margin: 10px 0 16px;
  line-height: 1.2;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 56ch;
}

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

.stats-row {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

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

.stats-row article {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 12px;
}

.stats-row strong {
  display: block;
  font-size: 1.4rem;
}

.stats-row span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-panel {
  border-radius: 22px;
  background: linear-gradient(160deg, #0e6c8a 0%, #0d8364 100%);
  color: #ddfbf0;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(11, 78, 68, 0.2);
}

.hero-panel h3 {
  margin-top: 0;
}
.hero-panel ul {
  padding-left: 18px;
}
.hero-panel li {
  margin-bottom: 8px;
}
.link-arrow {
  color: #fff;
  font-weight: 700;
}

.section {
  padding: 30px 0;
}
.section-head h2,
.section-head h1 {
  margin: 0;
}
.section-head p {
  color: var(--text-muted);
  margin-top: 8px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #f8fffc;
  border-radius: 14px;
  padding: 14px;
}

.trust-row span {
  color: var(--text-muted);
}

.trust-row b {
  background: #eafaf3;
  color: #165640;
  border: 1px solid #b9e8d2;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.86rem;
}

.scene-grid,
.pricing-grid,
.dashboard-grid,
.compare-grid {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

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

.role-grid,
.module-grid,
.funnel-grid,
.faq-grid {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.funnel-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scene-card,
.plan-card,
.dash-card,
.compare-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(30, 90, 79, 0.06);
}

.role-card,
.module-grid article,
.funnel-grid article,
.faq-grid article,
.cta-card,
.compliance-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(30, 90, 79, 0.06);
}

.role-card h3,
.module-grid h3,
.faq-grid h3 {
  margin-top: 0;
}

.role-card ul,
.compliance-grid ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.role-card li,
.compliance-grid li {
  margin-bottom: 6px;
}

.funnel-grid article {
  text-align: center;
  position: relative;
}

.funnel-grid b {
  display: block;
  font-size: 1rem;
  color: #11523f;
}

.funnel-grid span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.scene-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d2ece0;
  background: #eefbf5;
}

.contrast-section {
  background: linear-gradient(180deg, #ecfaf4 0%, #f8fffd 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compare-grid .highlight {
  border-color: #88dfbd;
  box-shadow: 0 14px 28px rgba(18, 150, 104, 0.18);
}

.compliance-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: stretch;
}

.cta-card {
  background: linear-gradient(165deg, #ffffff 0%, #ecfbf4 100%);
}

.cta-card .btn + .btn {
  margin-top: 10px;
}

.faq-section {
  padding-bottom: 12px;
}

.final-cta {
  text-align: center;
  background: linear-gradient(180deg, #f0fff8 0%, #ebf8ff 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 14px;
}

.final-cta p {
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 auto;
}

.final-cta .hero-actions {
  justify-content: center;
}

.plan-card .price {
  margin: 4px 0 12px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.plan-card .price span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-card ul {
  padding-left: 18px;
  min-height: 110px;
}

.plan-card.featured {
  border-color: #8edebe;
  background: linear-gradient(180deg, #ffffff 0%, #f1fff9 100%);
}

.auth-section {
  min-height: calc(100vh - 190px);
  display: grid;
  place-items: center;
  padding: 32px 10px;
}

.auth-card {
  width: min(480px, 94vw);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(16, 83, 65, 0.09);
}

.stack {
  display: grid;
  gap: 14px;
}
.stack label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

input,
select {
  border: 1px solid #c8e7da;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  background: #fbfffd;
}

input:focus,
select:focus {
  outline: 2px solid #97e4c6;
  border-color: #7edcb5;
}

.inline-tip {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.inline-tip a {
  color: var(--brand-dark);
  font-weight: 700;
}

.alert {
  padding: 10px 12px;
  border-radius: 10px;
  margin: 12px 0;
  font-size: 0.92rem;
}

.alert-error {
  background: #ffecec;
  border: 1px solid #f4c6c6;
  color: #8f2f2f;
}

.alert-success {
  background: #e8fbf2;
  border: 1px solid #bce9d5;
  color: #1c6b4d;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background: #f3fcf8;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px 0;
}

.site-footer h4 {
  margin-bottom: 8px;
  color: #174f3f;
}

.site-footer p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .hero-grid,
  .dashboard-grid,
  .pricing-grid,
  .compare-grid,
  .role-grid,
  .module-grid,
  .funnel-grid,
  .faq-grid,
  .compliance-grid,
  .footer-grid,
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 28px;
  }

  .stats-row.stats-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
