/* === 全局变量 === */
:root {
  --bg-primary: #059669;
  --bg-secondary: #047857;
  --bg-card: rgba(5, 46, 22, 0.75);
  --accent-cyan: #4ade80;
  --accent-green: #86efac;
  --accent-purple: #7c3aed;
  --text-primary: #000000;
  --text-secondary: #000000;
  --border-glow: rgba(16, 185, 129, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.03);
}

/* === 基础重置 === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background: linear-gradient(160deg, #064e3b 0%, #10b981 50%, #6ee7b7 100%);
  color: #ffffff;
  line-height: 1.7;
  overflow-x: hidden;
}

/* === 动态背景网格 === */
body::before {
  content: ;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% -10%, rgba(255, 255, 255, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 80% 90%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
    linear-gradient(160deg, #064e3b 0%, #10b981 50%, #6ee7b7 100%);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: ;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  pointer-events: none;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === 导航栏 === */
.navbar {
  background: rgba(5, 46, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid rgba(16, 185, 129, 0.4);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
}

.navbar .logo-wrap { color: #ffffff; } .navbar .logo-wrap-old {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  gap: 10px;
}

.navbar .logo-wrap img { height: 38px; border-radius: 4px; }
.navbar .logo-wrap span {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(90deg, #4ade80, #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.navbar nav { display: flex; flex-wrap: wrap; gap: 4px; }
.navbar nav a { color: #ffffff; } .navbar nav a-old {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.3px;
}
.navbar nav a:hover,
.navbar nav a.active {
  color: #10b981;
  background: rgba(16, 185, 129, 0.2);
}
.navbar nav a::after {
  content: ;
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: #4ade80;
  border-radius: 1px;
  transition: all 0.3s;
}
.navbar nav a:hover::after { left: 16px; right: 16px; }

/* === Hero 区域 === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: ;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.12) 0%, transparent 70%);
  animation: pulse-glow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #d1fae5 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fade-up 0.8s ease both;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: #ffffff;
  max-width: 620px;
  margin: 0 auto 40px;
  animation: fade-up 0.8s 0.2s ease both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  animation: fade-up 0.8s 0.3s ease both;
}

.badge {
  background: var(--glass-bg);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  color: #10b981;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === 按钮 === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: #000000;
  color: #000;
  box-shadow: 0 0 30px rgba(74, 222, 128, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(74, 222, 128, 0.5);
}

.btn-outline {
  background: transparent;
  color: #10b981;
  border: 1px solid rgba(74, 222, 128, 0.4);
}
.btn-outline:hover {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.2);
}

/* === Section 通用 === */
.section { padding: 100px 0; position: relative; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc {
  font-size: 17px;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.8;
}
.section-header { text-align: center; margin-bottom: 60px; }

/* === 玻璃卡片网格 === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  animation: fade-up 0.6s ease both;
}

.product-card::before {
  content: ;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4ade80, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(74, 222, 128, 0.2);
  box-shadow: 0 20px 60px rgba(5, 46, 22, 0.12), 0 0 40px rgba(74, 222, 128, 0.1);
}
.product-card:hover::before { opacity: 1; }

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s;
}
.product-card:hover img { transform: scale(1.05); }

.product-card .card-body {
  padding: 24px;
}

.product-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.product-card p {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.7;
}

.product-card .card-link {
  color: #10b981;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.product-card:hover .card-link { gap: 10px; }
.product-card .card-link::after { content: →; }

/* === 统计数据区 === */
.stats-section {
  background: linear-gradient(135deg, rgba(5, 46, 22, 0.6), rgba(5, 46, 22, 0.6));
  border-top: 1px solid var(--border-glow);
  border-bottom: 2px solid rgba(16, 185, 129, 0.4);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 20px;
}
.stat-item::after {
  content: ;
  position: absolute;
  right: -20px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 50px;
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}
.stat-item:last-child::after { display: none; }

.stat-number {
  font-size: 44px;
  font-weight: 800;
  background: linear-gradient(135deg, #4ade80, #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* === 新闻卡片 === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}
.news-card:hover {
  border-color: rgba(74, 222, 128, 0.2);
  transform: translateY(-4px);
}
.news-card img {
  width: 100%; height: 160px; object-fit: cover;
}
.news-card .card-body { padding: 20px; }
.news-date {
  font-size: 12px;
  color: #10b981;
  margin-bottom: 8px;
  font-weight: 600;
}
.news-card h3 { font-size: 15px; font-weight: 700; line-height: 1.5; }

/* === Page Header === */
.page-header {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
}
.page-header::before {
  content: ;
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(74, 222, 128, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* === 详情内容区 === */
.detail-section { padding: 80px 0; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.detail-grid.reverse { direction: rtl; }
.detail-grid.reverse > * { direction: ltr; }
.detail-img {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(5, 46, 22, 0.15);
}
.detail-img img { width: 100%; display: block; }
.detail-tag {
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.detail-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.detail-text { color: var(--text-secondary); font-size: 15px; line-height: 1.9; }
.detail-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.detail-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #ffffff;
}
.detail-feature::before {
  content: ✓;
  color: #86efac;
  font-weight: 700;
  font-size: 13px;
  background: rgba(16, 185, 129, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

/* === 分隔光效 === */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  margin: 0 auto;
  max-width: 400px;
}

/* === Footer === */
footer {
  background: linear-gradient(160deg, #064e3b 0%, #10b981 50%, #6ee7b7 100%);
  border-top: 1px solid var(--border-glow);
  padding: 60px 0 30px;
  margin-top: 0;
}
footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; letter-spacing: 1px; }
.footer-col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color 0.3s; }
.footer-col a:hover { color: #10b981; }
footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(209, 250, 229, 0.5);
}
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(5, 46, 22, 0.6);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}
.social-links a:hover {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.4);
  transform: translateY(-2px);
}
.social-links img { height: 18px; filter: brightness(0) invert(1); }

/* === 表单 === */
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(5, 46, 22, 0.6);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(209, 250, 229, 0.5); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; font-weight: 500; }

/* === Partners 网格 === */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.partner-item {
  background: rgba(5, 46, 22, 0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.partner-item:hover {
  border-color: rgba(74, 222, 128, 0.2);
  background: rgba(0, 212, 255, 0.05);
}
.partner-item img { max-width: 80px; max-height: 40px; filter: brightness(0) invert(1); opacity: 0.6; transition: opacity 0.3s; }
.partner-item:hover img { opacity: 1; }

/* === Certs 网格 === */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cert-item {
  background: rgba(5, 46, 22, 0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: all 0.3s;
}
.cert-item:hover {
  border-color: rgba(74, 222, 128, 0.3);
  transform: translateY(-4px);
}
.cert-item img { width: 100%; max-height: 120px; object-fit: contain; filter: brightness(0) invert(1) opacity(0.7); }

/* === 响应式 === */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  footer .container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .news-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  footer .container { grid-template-columns: 1fr; }
  .navbar nav a { color: #ffffff; } .navbar nav a-old { padding: 8px 12px; font-size: 13px; }
  .detail-features { grid-template-columns: 1fr; }
  .hero { padding: 100px 20px 60px; }
}

/* === 滚动动画 === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
