/* ===================== 基础 ===================== */
:root {
  --green-900: #0d3b1e;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #16a34a;
  --gold: #d4a017;
  --gold-light: #f0c75e;
  --ink: #1a2b22;
  --gray-700: #475752;
  --gray-500: #6b7a74;
  --line: #e4eae6;
  --bg-alt: #f4f7f5;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(13, 59, 30, .08);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ===================== 按钮 ===================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(22, 101, 52, .3); }
.btn-primary:hover { background: var(--green-800); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #b8860b); color: #fff; box-shadow: 0 6px 18px rgba(212, 160, 23, .35); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 38px; font-size: 16px; }

/* ===================== 导航 ===================== */
.navbar {
  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 .3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(13,59,30,.08); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: var(--gold-light); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text { font-size: 18px; font-weight: 700; color: var(--green-900); display: flex; flex-direction: column; line-height: 1.2; }
.logo-text small { font-size: 11px; font-weight: 400; color: var(--gray-500); }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--gray-700); font-weight: 500; position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--green-600);
  transition: width .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-700); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 9px 22px; font-size: 14px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--green-900); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ===================== 首屏 ===================== */
.hero {
  padding: 150px 0 70px;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(22,163,74,.10), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(212,160,23,.10), transparent 60%),
    linear-gradient(180deg, #f6faf7 0%, #ffffff 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-tag {
  display: inline-block;
  background: rgba(22,163,74,.1); color: var(--green-700);
  font-size: 14px; font-weight: 600;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.25; color: var(--green-900); letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--gold); position: relative; }
.hero-sub { margin: 22px 0 30px; font-size: 16.5px; color: var(--gray-700); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--gray-500); }

.hero-shot { position: relative; }
.shot-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px rgba(13,59,30,.18), 0 4px 12px rgba(13,59,30,.1);
  border: 1px solid var(--line);
  background: #fff;
}
.shot-frame img { width: 100%; }

.hero-stats {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px;
  box-shadow: var(--shadow);
}
.stat strong { display: block; font-size: 19px; color: var(--green-800); margin-bottom: 6px; }
.stat span { font-size: 13.5px; color: var(--gray-500); }

/* ===================== 通用 Section ===================== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-tag {
  font-size: 13px; font-weight: 700; letter-spacing: 3px;
  color: var(--gold); margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); color: var(--green-900); }
.section-sub { margin-top: 12px; color: var(--gray-500); font-size: 15.5px; }

/* ===================== 宣传片 ===================== */
.video-section { padding: 40px 0 80px; }
.video-box {
  position: relative;
  max-width: 960px; margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px; overflow: hidden;
  background: #000;
  box-shadow: 0 30px 60px rgba(13,59,30,.18), 0 4px 12px rgba(13,59,30,.1);
  cursor: pointer;
}
.video-box img, .video-box video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.video-box img { object-fit: cover; }
.video-box video { object-fit: contain; }
.video-box.playing img, .video-box.playing .video-play, .video-box.playing .video-tip { display: none; }
.video-box.playing { cursor: default; }

.video-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%;
  border: none; cursor: pointer;
  background: rgba(255,255,255,.92);
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.video-play svg { width: 36px; height: 36px; margin-left: 4px; }
.video-box:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-tip {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 13px; letter-spacing: 1px;
  background: rgba(0,0,0,.45); padding: 6px 16px; border-radius: 999px;
  backdrop-filter: blur(4px); white-space: nowrap;
}

/* ===================== 核心功能 ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(22,101,52,.12), rgba(212,160,23,.14));
  color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 19px; color: var(--green-900); margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--gray-700); }

/* ===================== 产品截图 ===================== */
.shots-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.shots-tabs { display: flex; flex-direction: column; gap: 10px; }
.shot-tab {
  text-align: left; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 18px; cursor: pointer;
  transition: all .25s ease; font-family: inherit;
}
.shot-tab strong { display: block; font-size: 15.5px; color: var(--ink); }
.shot-tab span { font-size: 12.5px; color: var(--gray-500); }
.shot-tab:hover { border-color: var(--green-600); }
.shot-tab.active {
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(22,101,52,.25);
}
.shot-tab.active strong { color: #fff; }
.shot-tab.active span { color: rgba(255,255,255,.75); }

.shots-view { min-width: 0; }
.shots-frame {
  border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(13,59,30,.14);
  aspect-ratio: 1180 / 640;
  display: flex; align-items: center; justify-content: center;
}
.shots-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shots-caption { margin-top: 20px; padding: 0 6px; }
.shots-caption h3 { font-size: 19px; color: var(--green-900); }
.shots-caption p { margin-top: 6px; font-size: 14.5px; color: var(--gray-700); }

/* ===================== 功能全景 ===================== */
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.module-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.module-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.module-card h3 { display: flex; align-items: center; gap: 10px; font-size: 16.5px; color: var(--green-900); margin-bottom: 14px; }
.module-card h3 i {
  font-style: normal; font-size: 13px; font-weight: 700;
  color: var(--gold); background: rgba(212,160,23,.14);
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.module-card li {
  font-size: 13.5px; color: var(--gray-700);
  padding: 5px 0 5px 18px; position: relative;
}
.module-card li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-600); opacity: .7;
}
.module-extra {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.module-extra span {
  background: rgba(22,101,52,.08); color: var(--green-800);
  font-size: 13.5px; font-weight: 600;
  padding: 8px 18px; border-radius: 999px;
}

/* ===================== 适用场景 ===================== */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scene-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.scene-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--green-600), var(--gold));
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.scene-card h3 { font-size: 19px; color: var(--green-900); margin-bottom: 12px; }
.scene-card > p { font-size: 14.5px; color: var(--gray-700); margin-bottom: 16px; }
.scene-card li {
  font-size: 13.5px; color: var(--green-800); font-weight: 500;
  padding: 4px 0 4px 22px; position: relative;
}
.scene-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}

/* ===================== 技术保障 ===================== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech-card {
  background: var(--bg-alt); border-radius: var(--radius);
  padding: 28px 26px; border: 1px solid transparent;
  transition: all .3s ease;
}
.tech-card:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.tech-card h4 { font-size: 16.5px; color: var(--green-900); margin-bottom: 8px; }
.tech-card h4::before { content: "◆ "; color: var(--gold); font-size: 13px; }
.tech-card p { font-size: 14px; color: var(--gray-700); }

/* ===================== 联系我们 ===================== */
.section-cta {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(212,160,23,.18), transparent 60%),
    linear-gradient(135deg, var(--green-900), var(--green-800));
  color: #fff; text-align: center;
}
.section-cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.contact-sub { margin: 14px 0 40px; color: rgba(255,255,255,.75); font-size: 15.5px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 860px; margin: 0 auto 40px; }
.contact-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 26px 20px;
}
.contact-card h5 { font-size: 14px; color: rgba(255,255,255,.7); font-weight: 500; margin-bottom: 8px; }
.contact-value { font-size: 20px; font-weight: 700; color: var(--gold-light); }
.contact-company { font-size: 17px; }
.contact-note { font-size: 12.5px; color: rgba(255,255,255,.55); margin-top: 6px; }
.qr-wrap {
  background: #fff; border-radius: 10px;
  padding: 8px; margin: 8px auto 4px;
  width: 128px; height: 128px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.qr-wrap img { width: 100%; height: 100%; object-fit: contain; }

/* ===================== 页脚 ===================== */
.footer { background: #0a2a15; color: rgba(255,255,255,.65); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.footer-brand .logo-mark { width: 34px; height: 34px; font-size: 16px; border-radius: 8px; }
.footer-brand small { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.45); }
.footer-nav { display: flex; gap: 20px; margin-left: auto; }
.footer-nav a { font-size: 13.5px; color: rgba(255,255,255,.65); }
.footer-nav a:hover { color: #fff; }
.footer-copy { width: 100%; font-size: 12.5px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; margin-top: 4px; }
.footer-copy a { color: rgba(255,255,255,.65); }
.footer-copy a:hover { color: #fff; }

/* ===================== 滚动动画 ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

/* ===================== 响应式 ===================== */
@media (max-width: 1024px) {
  .feature-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .shots-wrap { grid-template-columns: 1fr; }
  .shots-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 8px; }
  .shot-tab { min-width: 150px; flex-shrink: 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 130px; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 18px 6%;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(13,59,30,.1);
    gap: 14px;
  }
  .feature-grid, .module-grid, .scene-grid, .tech-grid, .contact-cards, .hero-stats { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .video-section { padding: 20px 0 56px; }
  .video-play { width: 64px; height: 64px; }
  .video-play svg { width: 26px; height: 26px; }
  .video-tip { bottom: 14px; font-size: 12px; }
  .shots-frame { aspect-ratio: 4 / 3; }
  .shots-frame img { object-fit: contain; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { margin-left: 0; }
}
