/* 炼丹科技 — 对标国内数字营销服务商获客审美（浅绿渐变 · 白卡片 · 强 CTA） */
:root {
  --bg: #f3fbf5;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #666;
  --line: #e8ece9;
  --green: #1bd629;
  --green-dark: #12b520;
  --green-soft: #e8fce9;
  --blue: #005ce6;
  --nav: #ffffff;
  --max: 1180px;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 40, 20, 0.08);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Top notice */
.topbar {
  background: #0d3d18;
  color: rgba(255,255,255,.88);
  font-size: 13px;
  min-height: 40px;
  display: flex;
  align-items: center;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a { color: #fff; }
.topbar .pill {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #fff !important;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(0,0,0,.04);
  backdrop-filter: blur(12px);
}
.nav-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-size: 22px;
  font-weight: 800;
  color: var(--text) !important;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand span { color: var(--green); }
.nav-phone {
  display: none;
  align-items: center;
  gap: 10px;
  background: #f5f7f6;
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--muted);
  font-size: 13px;
  margin-left: 16px;
}
.nav-phone strong { color: var(--text); font-size: 15px; }
@media (min-width: 1100px) {
  .nav-phone { display: inline-flex; }
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0; margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: #444;
  font-size: 15px;
  border-radius: 8px;
}
.nav-links a:hover,
.nav-links a.is-on { color: var(--green-dark); }
.nav-links a.nav-cta {
  background: var(--green);
  color: #fff !important;
  margin-left: 10px;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
}
.nav-links a.nav-cta:hover { background: var(--green-dark); }
.nav-toggle {
  display: none;
  border: 0; background: transparent; width: 40px; height: 40px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text); margin: 6px 8px;
}

/* Soft hero (首页) */
.hero-soft {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(27,214,41,.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 10%, rgba(0,92,230,.10), transparent 50%),
    linear-gradient(180deg, #eaf9ee 0%, #f7fbf8 55%, #f3fbf5 100%);
  padding: 72px 0 56px;
}
.hero-soft .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.hero-soft .eyebrow {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-soft h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-soft h1 em {
  font-style: normal;
  color: var(--green-dark);
}
.hero-soft .lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  max-width: 32em;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--green); color: #fff !important; }
.btn-primary:hover { background: var(--green-dark); color: #fff !important; }
.btn-ghost {
  background: #fff;
  color: var(--text) !important;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green-dark) !important; }
.btn-line {
  background: #fff;
  color: var(--green-dark) !important;
  border: 1px solid var(--green);
}
.btn-block { width: 100%; border-radius: 10px; min-height: 52px; font-size: 16px; }

.hero-card {
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 26px;
  border: 1px solid rgba(27,214,41,.12);
}
.hero-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--green-dark);
}
.hero-card .sub {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.chk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.chk-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  color: #333;
}
.chk-list .tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.chk-list strong { display: block; margin-bottom: 2px; font-size: 14px; }
.chk-list span { color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Sections */
.sec { padding: 64px 0; }
.sec-alt { background: #fff; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 32px;
}
.sec-head h2 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 800;
}
.sec-head p { margin: 0; color: var(--muted); font-size: 15px; }
.sec-head a { font-size: 14px; color: var(--green-dark); white-space: nowrap; font-weight: 600; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc-card:hover {
  border-color: rgba(27,214,41,.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.svc-ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 16px;
}
.svc-card h3 { margin: 0 0 8px; font-size: 18px; }
.svc-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; min-height: 44px; }
.svc-card a { font-size: 13px; color: var(--green-dark); font-weight: 600; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
  color: inherit !important;
  transition: transform .2s, box-shadow .2s;
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.case-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #e8f0ea;
}
.case-card .body { padding: 18px 20px 22px; }
.case-card .tag {
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 6px;
}
.case-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
}
.case-card p { margin: 0; color: var(--muted); font-size: 13px; }

.news-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
.news-feature {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 300px;
  color: #fff !important;
  display: flex;
  align-items: end;
}
.news-feature img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.news-feature .shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(10,40,18,.88));
}
.news-feature .body { position: relative; z-index: 1; padding: 26px; }
.news-feature .tag { font-size: 12px; opacity: .9; }
.news-feature h3 { margin: 8px 0 0; font-size: 22px; line-height: 1.35; color: #fff; }
.news-side {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px 4px;
}
.news-row {
  display: block;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: inherit !important;
}
.news-row:last-child { border-bottom: 0; }
.news-row:hover h4 { color: var(--green-dark); }
.news-row .date { font-size: 12px; color: #999; }
.news-row h4 {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 18px;
  text-align: center;
}
.why-item strong {
  display: block;
  font-size: 22px;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.why-item span { color: var(--muted); font-size: 13px; }

.cta-band {
  background: linear-gradient(120deg, #0d3d18, #1bd629);
  color: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band h2 { margin: 0 0 8px; font-size: 26px; }
.cta-band p { margin: 0; opacity: .9; font-size: 14px; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--green-dark) !important;
}
.cta-band .btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,.45);
}

/* ===== 获取方案页（增长超人式） ===== */
.lead-page {
  min-height: calc(100vh - 112px);
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(27,214,41,.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(0,92,230,.08), transparent 50%),
    linear-gradient(180deg, #dff7e4 0%, #f3fbf5 42%, #f3fbf5 100%);
  padding: 48px 0 72px;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.lead-left h2 {
  margin: 0 0 22px;
  font-size: 28px;
  font-weight: 800;
  color: var(--green-dark);
}
.lead-left .chk-list { gap: 18px; margin-bottom: 36px; }
.lead-left .chk-list strong { font-size: 16px; }
.trust-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.logo-wall span {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.04);
  border-radius: 10px;
  padding: 14px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #888;
}

.lead-form {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 32px 28px 28px;
  border: 1px solid rgba(0,0,0,.03);
}
.lead-form h2 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
}
.lead-form .hint {
  margin: 0 0 22px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
  font-weight: 500;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #e5e8e6;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  background: #fafbfa;
  color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,214,41,.15);
}
.field textarea { min-height: 100px; resize: vertical; }
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e5e8e6;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  color: #444;
}
.chip:has(input:checked) {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 600;
}
.chip input { display: none; }
.form-actions { display: flex; flex-direction: column; gap: 10px; }
.form-status { font-size: 13px; color: var(--muted); text-align: center; }
.form-status[data-err="1"] { color: #d4380d; }
.privacy {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 0;
}

/* Inner pages */
.page-banner {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 80% at 10% 0%, rgba(27,214,41,.25), transparent 55%),
    linear-gradient(120deg, #0d3d18, #1a8f2e);
  color: #fff;
}
.page-banner .bg { position: absolute; inset: 0; }
.page-banner .bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .25;
}
.page-banner .shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13,61,24,.85), rgba(13,61,24,.35));
}
.page-banner .inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: 48px 24px 36px; width: 100%;
}
.page-banner h1 { margin: 0 0 8px; font-size: 32px; font-weight: 800; }
.page-banner p { margin: 0; opacity: .9; max-width: 36em; }
.page-main { padding: 40px 0 72px; }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
  margin-bottom: 16px;
}
.panel h2 { margin: 0 0 10px; font-size: 18px; }
.panel > p { margin: 0; color: var(--muted); font-size: 14px; }
.panel .cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.panel .cols h4 {
  margin: 0 0 6px;
  font-size: 12px;
  color: #999;
}
.panel .cols p { font-size: 13px; color: var(--muted); margin: 0; }

.case-list { display: grid; gap: 16px; }
.case-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
  color: inherit !important;
}
.case-row:hover { border-color: rgba(27,214,41,.35); }
.case-row img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.case-row .body { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.case-row .tag { color: var(--green-dark); font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.case-row h3 { margin: 0 0 8px; font-size: 18px; color: var(--text); }
.case-row p { margin: 0; color: var(--muted); font-size: 14px; }

.news-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.news-switch a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted) !important;
  font-weight: 600;
}
.news-switch a.is-on,
.news-switch a:hover {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-dark) !important;
}
.news-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hub-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
  transition: transform .2s, box-shadow .2s;
}
.hub-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hub-card img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; }
.hub-card .body { padding: 22px 20px; }
.hub-card .tag { color: var(--green-dark); font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.hub-card h2 { margin: 0 0 8px; font-size: 22px; color: var(--text); }
.hub-card p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.hub-card .more { color: var(--green-dark); font-size: 13px; font-weight: 600; }
.news-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.news-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #e8f0ea;
}
.news-card .body { padding: 16px 18px 20px; }
.news-card .meta { color: var(--green-dark); font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.news-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.4; color: var(--text); }
.news-card p { margin: 0; color: var(--muted); font-size: 13px; }

.news-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.news-tabs button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  cursor: pointer;
  color: var(--muted);
  font-family: inherit;
}
.news-tabs button.is-on {
  background: var(--green-soft);
  border-color: var(--green);
  color: var(--green-dark);
  font-weight: 600;
}
.news-list-page {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.news-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: inherit !important;
}
.news-item:last-child { border-bottom: 0; }
.news-item:hover h3 { color: var(--green-dark); }
.news-item .date { color: #999; font-size: 13px; }
.news-item .cat { font-size: 12px; color: var(--green-dark); margin-bottom: 4px; font-weight: 600; }
.news-item h3 { margin: 0; font-size: 16px; color: var(--text); }
.news-item .more { color: var(--green-dark); font-size: 13px; }

.article {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 16px rgba(0,0,0,.03);
}
.article .meta { color: #999; font-size: 13px; margin: 0 0 10px; }
.article h1 { margin: 0 0 12px; font-size: 28px; line-height: 1.3; }
.article .deck { color: var(--muted); margin: 0 0 20px; }
.article-cover { border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-body p { color: var(--muted); margin: 0 0 1em; }
.article-body h2 { color: var(--text); font-size: 18px; margin: 1.4em 0 .6em; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }

.site-footer {
  background: #0d3d18;
  color: rgba(255,255,255,.72);
  padding: 40px 0 28px;
  font-size: 13px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer a { color: rgba(255,255,255,.88); }
.site-footer a:hover { color: #fff; }

@media (max-width: 960px) {
  .hero-soft .inner,
  .lead-grid,
  .svc-grid,
  .case-grid,
  .why-grid,
  .news-layout,
  .news-hub,
  .news-cards,
  .contact-grid,
  .case-row,
  .hub-card { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .nav-toggle { display: block; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .panel .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-item .more { display: none; }
  .panel .cols { grid-template-columns: 1fr; }
  .lead-form { padding: 24px 18px; }
}
