/* ========================================
   南能移动焚烧车展示页 — 与官网风格一致
   绿色主题（与官网统一） · 橙色仅火焰点缀
   ======================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #1B5E20;
  --green-800: #2E7D32;
  --green-700: #388E3C;
  --green-600: #43A047;
  --green-500: #4CAF50;
  --green-300: #81C784;
  --green-200: #A5D6A7;
  --green-100: #C8E6C9;
  --green-50:  #E8F5E9;
  --green-25:  #F1F8E9;
  --orange-600: #F4511E;
  --orange-500: #FF5722;
  --orange-300: #FF8A65;
  --orange-200: #FFAB91;
  --orange-100: #FFCCBC;
  --orange-50:  #FBE9E7;
  --white:    #ffffff;
  --gray-50:  #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-500: #9E9E9E;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-main: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-900); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: box-shadow .3s;
}
.top-bar.scrolled { box-shadow: var(--shadow-md); }

.top-bar-logo { display: flex; align-items: center; gap: 12px; }
.top-bar-logo img { height: 42px; width: auto; object-fit: contain; }
.top-bar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-900);
  white-space: nowrap;
}
.top-bar-title .accent { color: var(--green-700); }

.top-nav { display: flex; gap: 4px; margin-left: auto; margin-right: 24px; }
.top-nav a {
  display: block;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.top-nav a:hover, .top-nav a.active {
  color: var(--green-800);
  background: var(--green-50);
}

.back-link {
  font-size: 14px;
  color: var(--green-700);
  border: 1px solid var(--green-200);
  padding: 6px 16px;
  border-radius: 20px;
  transition: all .2s;
  white-space: nowrap;
}
.back-link:hover {
  background: var(--green-600);
  color: var(--white);
  border-color: var(--green-600);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 140px 40px 80px;
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 30%, #388E3C 60%, #43A047 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,87,34,.06) 0%, transparent 50%);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-particles span {
  position: absolute; width: 4px; height: 4px;
  background: rgba(255,255,255,.4); border-radius: 50%;
  opacity: 0.3; animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(-30px); opacity: 0.6; }
}

.hero-content { max-width: 640px; position: relative; z-index: 2; color: var(--white); }
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.15);
  color: var(--white);
  font-size: 13px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,.25);
}
.hero h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 2px;
  color: var(--white);
}
.hero-subtitle {
  font-size: 20px;
  opacity: .9;
  margin-bottom: 16px;
  font-weight: 600;
}
.hero-desc {
  font-size: 16px;
  opacity: .85;
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.8;
}
.hero-stats { display: flex; gap: 36px; margin-bottom: 36px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 32px; font-weight: 700; color: var(--white); }
.stat-label { font-size: 13px; opacity: .7; }

.hero-btns { display: flex; gap: 16px; }
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .3s;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--green-600);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(46,125,50,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.1);
}

.hero-image {
  position: relative;
  z-index: 2;
  width: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.hero-image img { width: 100%; height: auto; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.section-header p {
  font-size: 15px;
  color: var(--gray-500);
}

/* ---------- 核心优势 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--green-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--green-200);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 {
  font-size: 17px;
  color: var(--green-800);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
}

/* ---------- 设备实拍 ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: var(--white);
  font-size: 14px;
}

/* ---------- AI控制系统 ---------- */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ai-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.ai-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--green-200);
}
.ai-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--gray-100);
}
.ai-card h3 {
  font-size: 17px;
  color: var(--green-800);
  padding: 20px 20px 8px;
}
.ai-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.7;
  padding: 0 20px 24px;
}

/* ---------- 合作咨询 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.contact-info h3 {
  font-size: 20px;
  color: var(--gray-900);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-200);
}
.contact-list li {
  font-size: 15px;
  color: var(--gray-700);
  margin-bottom: 12px;
  line-height: 1.6;
}
.qr-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
}
.qr-box:hover { box-shadow: var(--shadow-md); }
.qr-box img {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-sm);
  margin: 0 auto 16px;
}
.qr-box p {
  font-size: 16px;
  color: var(--green-700);
  font-weight: 600;
}
.qr-box .qr-note {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 8px;
  font-weight: normal;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 40px 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  box-shadow: var(--shadow-md);
  z-index: 999;
  font-size: 20px;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--green-900); transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-nav { display: none; }
  .top-bar { padding: 0 20px; }
  .hero {
    flex-direction: column;
    padding: 120px 24px 60px;
    text-align: center;
  }
  .hero h1 { font-size: 30px; }
  .hero-subtitle { font-size: 16px; }
  .hero-desc { font-size: 14px; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .hero-btns { justify-content: center; }
  .hero-image { width: 100%; }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 26px; }
  .features-grid, .ai-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }
  .contact-grid { gap: 30px; }
  .back-to-top { bottom: 20px; right: 20px; }
}
