/* ============================================================
   食蚊莺官网样式 · 深林绿主题
   ============================================================ */
:root {
  --ink: #0c2b1d;
  --ink-soft: #3f5a4c;
  --primary: #15803d;
  --primary-deep: #0e5c2f;
  --primary-bright: #22c55e;
  --mint: #4ade80;
  --amber: #f59e0b;
  --bg: #ffffff;
  --tint: #f2f7f2;
  --dark: #08281a;
  --dark-2: #0b3521;
  --line: #dce8dd;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(12, 43, 29, .08);
  --shadow-lg: 0 16px 48px rgba(12, 43, 29, .16);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
sup { font-size: .55em; }

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

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: #e7f4ea; }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .35em;
  color: var(--primary); text-transform: uppercase; margin-bottom: 14px;
  padding: 6px 14px; border: 1px solid #bfe3c8; border-radius: 999px; background: #eef8f0;
}
.kicker-light { color: var(--mint); border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .08); }
.sec-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: .01em; }
.sec-head h2 b { color: var(--primary); }
.section-dark .sec-head h2 b { color: var(--mint); }
.sec-head p { margin-top: 16px; color: var(--ink-soft); font-size: 16.5px; }
.section-dark .sec-head p { color: #b9d4c1; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; cursor: pointer; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%); color: #fff; box-shadow: 0 8px 20px rgba(21, 128, 61, .35); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(21, 128, 61, .45); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-lg { padding: 15px 34px; font-size: 16.5px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(12, 43, 29, .10); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line); object-fit: cover; padding: 2px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 20px; font-weight: 800; color: var(--ink); }
.brand-text i { font-style: normal; font-size: 11px; color: var(--ink-soft); letter-spacing: .08em; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding: 140px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero_bg.jpg") center 30% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6, 30, 19, .88) 0%, rgba(6, 30, 19, .68) 45%, rgba(6, 30, 19, .35) 100%);
}
.hero-inner { position: relative; z-index: 2; color: #fff; max-width: 760px; }
.hero-kicker {
  font-size: 14px; letter-spacing: .2em; color: var(--mint); font-weight: 600;
  margin-bottom: 20px; padding-left: 14px; border-left: 3px solid var(--primary-bright);
}
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 900; line-height: 1.22; letter-spacing: .01em; }
.hero-sub { margin: 26px 0 36px; font-size: clamp(15px, 2vw, 18px); color: #d9eadd; max-width: 620px; }
.hero-sub b { color: var(--mint); }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-trust {
  display: flex; gap: clamp(20px, 4vw, 52px); flex-wrap: wrap;
  margin-top: 58px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .22);
}
.trust-item { display: flex; flex-direction: column; }
.trust-item b { font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: var(--mint); }
.trust-item span { font-size: 13px; color: #bcd3c2; }

/* ---------- 痛点数据 ---------- */
.stats { padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { text-align: center; padding: 10px 6px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .14); }
.stat-num {
  font-size: clamp(34px, 4.5vw, 52px); font-weight: 900;
  color: var(--mint); font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stat-label { font-size: 15.5px; font-weight: 600; margin-top: 10px; color: #e7f4ea; }
.stat-note { font-size: 13px; color: #93b39c; margin-top: 6px; }

/* ---------- 原理 ---------- */
.lure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 46px; }
.lure-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.lure-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.lure-icon {
  width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f6ec, #d1ecd9); color: var(--primary-deep);
  font-size: 20px; font-weight: 800; margin-bottom: 18px;
}
.lure-icon-light { background: linear-gradient(135deg, #f3effe, #e4dbfa); color: #6d28d9; font-size: 17px; }
.lure-icon-dark { background: linear-gradient(135deg, #123524, #0c2b1d); color: #a7e3b4; }
.lure-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; }
.lure-card p { font-size: 14px; color: var(--ink-soft); }

.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 46px; }
.flow-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--tint); border: 1.5px dashed #bcd9c4; border-radius: 14px;
  padding: 16px 26px; min-width: 160px;
}
.flow-step b { color: var(--primary); font-size: 13px; letter-spacing: .15em; }
.flow-step span { font-weight: 600; font-size: 15px; }
.flow-arrow { color: var(--primary); font-size: 22px; font-weight: 800; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare-col { border-radius: var(--radius); padding: 32px; }
.compare-col h3 { font-size: 19px; font-weight: 800; margin-bottom: 16px; }
.compare-col ul { list-style: none; }
.compare-col li { padding: 7px 0; font-size: 15px; }
.compare-col.bad { background: #faf5f0; border: 1px solid #eedfce; }
.compare-col.bad h3 { color: #b45309; }
.compare-col.bad li { color: #92702f; }
.compare-col.good { background: #eef8f0; border: 1px solid #c4e5cc; }
.compare-col.good h3 { color: var(--primary-deep); }
.compare-col.good li { color: #2f5c40; font-weight: 500; }

/* ---------- 产品 ---------- */
.product-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.product-figure { position: relative; }
.product-figure img { max-width: 100%; height: auto; object-fit: contain !important;
  border-radius: 20px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); background: #fff;
}
.figure-tag {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(8, 40, 26, .82); color: #d9fbe4; font-size: 12.5px;
  padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(4px);
}
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: 14px 18px; font-size: 14.5px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 108px; background: #f4f9f5; color: var(--primary-deep); font-weight: 700; white-space: nowrap; }
.spec-table td { color: var(--ink-soft); }
.product-cta { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cta-note { font-size: 13px; color: var(--ink-soft); }

/* ---------- 数据看板 ---------- */
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.dash-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(74, 222, 128, .22);
  border-radius: var(--radius); padding: 26px 28px; text-align: center;
}
.dash-num { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; color: var(--mint); font-variant-numeric: tabular-nums; }
.dash-label { margin-top: 8px; font-size: 14px; color: #b9d4c1; }
.dash-charts { display: grid; grid-template-columns: 1.35fr 1fr; gap: 20px; }
.chart-box {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 24px;
}
.chart-box h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 14px; color: #e7f4ea; }
.chart-box h4 span { font-size: 12px; color: #8fae98; font-weight: 400; margin-left: 6px; }
.chart-box svg { width: 100%; height: auto; }
.donut-wrap { display: flex; align-items: center; gap: 20px; }
.donut-wrap svg { max-width: 170px; }
.donut-legend { list-style: none; font-size: 13.5px; color: #c9ddcf; }
.donut-legend li { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.donut-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dash-note { margin-top: 18px; font-size: 12.5px; color: #8fae98; text-align: center; }

/* ---------- 场景 ---------- */
.scene-flagship {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center;
  background: linear-gradient(135deg, #0b3521, #12502e); border-radius: 22px;
  padding: clamp(28px, 4vw, 52px); color: #e7f4ea; margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}
.flagship-badge {
  display: inline-block; background: var(--amber); color: #3b2606; font-size: 12.5px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .1em; margin-bottom: 16px;
}
.scene-flagship h3 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; margin-bottom: 14px; }
.scene-flagship-text > p { color: #bcd3c2; font-size: 15px; }
.flagship-points { list-style: none; margin: 18px 0 26px; }
.flagship-points li { padding: 5px 0 5px 26px; position: relative; font-size: 14.5px; color: #d9eadd; }
.flagship-points li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 800; }
.scene-flagship-img img { border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }

.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); transition: transform .2s ease;
}
.scene-card:hover { transform: translateY(-4px); }
.scene-card h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.scene-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 实拍 ---------- */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 40px; }
.proof-grid-single { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.proof-grid-single .proof-item img { max-height: 520px; object-fit: cover; }
.proof-item { position: relative; }
.proof-item img { border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.proof-item figcaption {
  margin-top: 10px; text-align: center; font-size: 13px; color: var(--ink-soft);
}
.endorse { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.endo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 6px;
}
.endo-icon { font-size: 26px; }
.endo-card b { font-size: 15.5px; }
.endo-card span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- 关于 ---------- */
.about-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin-bottom: 18px; }
.about-text p { color: var(--ink-soft); margin-bottom: 14px; font-size: 15.5px; }
.about-text b { color: var(--primary-deep); }
.about-values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.about-values span {
  background: #eef8f0; color: var(--primary-deep); border: 1px solid #c4e5cc;
  padding: 6px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
}
.about-figures { text-align: center; }
.about-figures img {
  width: 200px; margin: 0 auto 14px; border-radius: 24px;
  background: #fff; border: 1px solid var(--line); padding: 14px; box-shadow: var(--shadow);
}
.about-figures p { color: var(--ink-soft); letter-spacing: .35em; font-size: 14px; }

/* ---------- 表单 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-intro h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; margin-bottom: 16px; }
.contact-intro > p { color: #b9d4c1; margin-bottom: 26px; }
.contact-alt { border-left: 3px solid var(--primary-bright); padding-left: 18px; }
.contact-alt p { color: #c9ddcf; font-size: 14.5px; padding: 3px 0; }
.contact-alt b { color: var(--mint); }

.lead-form {
  background: #fff; border-radius: 20px; padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-lg); color: var(--ink);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field label i { color: #dc2626; font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 14.5px; color: var(--ink); background: #fbfdfb;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary-bright); box-shadow: 0 0 0 3px rgba(34, 197, 94, .15);
}
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-privacy { text-align: center; font-size: 12.5px; color: #94a89a; margin-top: 12px; }
.form-success {
  margin-top: 16px; background: #eef8f0; border: 1px solid #b7e2c2;
  border-radius: 12px; padding: 16px 18px; color: #14532d; text-align: center;
}
.form-success b { display: block; font-size: 16px; margin-bottom: 4px; }
.form-error {
  margin-top: 16px; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 12px; padding: 12px 16px; color: #b91c1c; font-size: 14px; text-align: center;
}
#submitBtn:disabled { opacity: .6; cursor: wait; transform: none; }

/* ---------- 页脚 ---------- */
.footer { background: #052014; color: #9cb8a5; padding: 56px 0 34px; }
.footer-inner { display: flex; flex-direction: column; gap: 26px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 54px; height: 54px; border-radius: 50%; background: #fff; padding: 3px; }
.footer-brand b { display: block; color: #fff; font-size: 17px; }
.footer-brand span { font-size: 12.5px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; font-size: 14px; }
.footer-links a:hover { color: var(--mint); }
.footer-meta { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 22px; font-size: 13px; }
.footer-meta p { padding: 2px 0; }
.footer-meta a { color: #7d9c88; } .footer-meta a:hover { color: var(--mint); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 场景图集 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gallery-grid-15 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: 14px;
  aspect-ratio: 4 / 3; box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 14px 12px; text-align: center;
  background: linear-gradient(transparent, rgba(8,40,26,.82));
  opacity: 0; transition: opacity .25s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #d9fbe4; font-size: 13.5px; font-weight: 600; }

/* ---------- 视频实录 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-item video { width: 100%; display: block; background: #000; aspect-ratio: 16 / 9; object-fit: cover; }
.video-item-wide { grid-column: 1 / -1; max-width: 800px; margin: 0 auto; }
.video-caption {
  padding: 14px 20px; font-size: 14.5px; font-weight: 600;
  color: var(--primary-deep); text-align: center;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .lure-grid, .stats-grid, .endorse { grid-template-columns: repeat(2, 1fr); }
  .dash-charts { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat { border-left: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid-15 { grid-template-columns: repeat(3, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(12, 43, 29, .12);
    padding: 10px 4%;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid #eef4ef; }
  .nav-links .btn { margin: 14px 0; text-align: center; }
  .product-wrap, .scene-flagship, .about-wrap, .contact-wrap, .compare, .proof-grid { grid-template-columns: 1fr; }
  .compare-col { padding: 24px; }
  .hero { min-height: 88vh; padding-top: 110px; }
  .hero-trust { gap: 22px; }
  .scene-flagship-img { order: -1; }
}
@media (max-width: 560px) {
  .lure-grid, .stats-grid, .endorse, .scene-grid, .dash-cards, .form-row { grid-template-columns: 1fr; }
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
  .donut-wrap { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-15 { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
}
