@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #f3f5ef;
  --surface: #ffffff;
  --surface-soft: #f8fbf7;
  --ink: #10241f;
  --muted: #456058;
  --brand: #0a8c63;
  --brand-strong: #06694a;
  --accent: #ffc857;
  --line: #d8e3de;
  --shadow: 0 14px 36px rgba(16, 36, 31, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 0%, #e3f2ea 0%, rgba(227, 242, 234, 0) 34%),
    radial-gradient(circle at 94% 0%, #f6ecd0 0%, rgba(246, 236, 208, 0) 28%),
    linear-gradient(180deg, #f4f6f1 0%, #edf3ef 100%);
}

p {
  margin: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 246, 241, 0.9);
  backdrop-filter: blur(9px);
}

.nav-wrap {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(10, 140, 99, 0.09);
}

.nav-links .lang-switch {
  margin-left: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.nav-links .lang-switch:hover {
  background: #f4faf6;
  color: var(--brand-strong);
}

.floating-lang-switch {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 30;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(16, 36, 31, 0.08);
}

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

.hero-panel {
  background: linear-gradient(130deg, #ffffff 0%, #f6fbf8 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(10, 140, 99, 0.18), rgba(10, 140, 99, 0));
  right: -120px;
  top: -120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-strong);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
}

h1 {
  max-width: 900px;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.15;
}

.hero-copy {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.68;
  max-width: 780px;
  margin-top: 16px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 20px rgba(10, 140, 99, 0.25);
}

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

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.announcement {
  margin: 18px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px dashed #b9cfc5;
  border-radius: 12px;
  background: #f8fbf7;
}

.announcement strong {
  color: var(--brand-strong);
}

.announcement a {
  color: var(--brand-strong);
  font-weight: 700;
}

.stats-grid {
  margin: 24px 0 10px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

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

.stat-card h3 {
  font-size: 1.5rem;
  color: var(--brand-strong);
}

.stat-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  margin-top: 34px;
  margin-bottom: 34px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.cards > *,
.split > *,
.pricing-grid > * {
  min-width: 0;
}

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card h3,
.card h2 {
  margin-bottom: 8px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.62;
}

.card ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.card a,
.list a {
  color: var(--brand-strong);
  text-decoration: none;
  font-weight: 700;
}

.card > a:last-child {
  margin-top: auto;
}

.card a:hover,
.list a:hover {
  text-decoration: underline;
}

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

.chip {
  border: 1px solid #c8d8d1;
  background: #f7fbf9;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.83rem;
  color: var(--brand-strong);
  font-weight: 600;
}

.brand-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  padding: 6px 8px;
  text-align: center;
}

.brand-pill-logo {
  min-height: 64px;
  padding: 10px 12px;
  overflow: hidden;
}

.brand-logo-img {
  width: 100%;
  max-width: 220px;
  height: 42px;
  max-height: 42px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.brand-logo-fallback {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.brand-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.auto-visual-split {
  margin: 16px auto 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.auto-main-visual,
.auto-mini-visual,
.auto-visual-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auto-side-visuals {
  display: grid;
  gap: 14px;
}

.auto-visual-image-wrap {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f2f7f4;
}

.auto-visual-image-wrap--mini {
  aspect-ratio: 16 / 8;
}

.auto-visual-image-wrap--card {
  aspect-ratio: 16 / 9;
}

.auto-visual-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auto-visual-copy {
  padding: 12px 14px 14px;
}

.auto-visual-copy h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.3;
}

.auto-visual-copy p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.auto-visual-band {
  margin: 32px auto 36px;
}

.auto-visual-band h2 {
  margin-bottom: 12px;
}

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

.auto-post-cover {
  margin: 12px 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #f3f8f5;
  box-shadow: var(--shadow);
}

.auto-post-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.list {
  display: grid;
  gap: 10px;
}

.list a {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #fff;
}

.list a:hover {
  background: #f4faf6;
  border-color: #d7e7df;
  text-decoration: none;
}

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

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

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.pricing-card.featured {
  border-color: var(--brand);
  box-shadow: 0 14px 28px rgba(10, 140, 99, 0.12);
  transform: translateY(-2px);
}

.price {
  color: var(--brand-strong);
  font-weight: 700;
}

.pricing-card ul {
  margin: 0;
  padding-left: 16px;
}

.page {
  padding: 42px 0;
}

.lead-form {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

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

.form-grid label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--ink);
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

.wechat-qr-section {
  margin-top: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.wechat-qr-image {
  width: min(320px, 88vw);
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.table-wrap {
  margin-top: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.seo-table th,
.seo-table td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 10px 12px;
  font-size: 0.93rem;
}

.seo-table th {
  background: #edf4ef;
  color: var(--ink);
  font-weight: 700;
}

.post {
  width: min(820px, 92vw);
  margin: 40px auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.post p,
.post li {
  color: #21332e;
  line-height: 1.72;
}

.post p {
  margin: 0 0 12px;
}

.post h2 {
  margin-top: 22px;
  margin-bottom: 10px;
}

blockquote {
  margin: 14px 0;
  padding: 10px 14px;
  border-left: 4px solid var(--brand);
  background: #f6fbf8;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(244, 246, 241, 0.92);
  padding: 18px 0;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-wrap p {
  margin: 0;
}

.footer-wrap a {
  color: inherit;
}

.reveal {
  animation: revealUp 0.6s ease both;
}

.reveal.delay-1 {
  animation-delay: 0.08s;
}

.reveal.delay-2 {
  animation-delay: 0.16s;
}

.reveal.delay-3 {
  animation-delay: 0.24s;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    gap: 10px;
  }

  .nav-links {
    justify-content: flex-start;
  }

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

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

  .cards,
  .pricing-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .auto-visual-split,
  .auto-visual-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .hero-panel,
  .card,
  .lead-form,
  .post {
    padding: 16px;
    border-radius: 14px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    font-size: 0.84rem;
    padding: 4px 8px;
  }

  .brand-grid {
    grid-template-columns: 1fr;
  }
}
