/* 文件路径：css/index.css */

/* ========== 颜色变量补充 ========== */
:root {
  --kv-start: #111827;
  --kv-end: #064E3B;
  --dark-bg: #1A1A1A;
  --green-bg: #07C160;
}

/* ========== 滚动淡入动画 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ========== 模块1：首屏KV ========== */
.kv-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #111827 0%, #064E3B 50%, #035A3A 100%);
  overflow: hidden;
}
.kv-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.kv-bg-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
}
.kv-bg-lines::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border: 2px solid #07C160;
  border-radius: 50%;
}
.kv-bg-lines::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: 5%;
  width: 400px;
  height: 400px;
  border: 2px solid #07C160;
  border-radius: 50%;
}
.kv-bg-lines-2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
}
.kv-bg-lines-2::before {
  content: '';
  position: absolute;
  top: 10%;
  right: 20%;
  width: 300px;
  height: 300px;
  border: 1px solid #fff;
  border-radius: 50%;
}
.kv-bg-lines-2::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 200px;
  height: 200px;
  border: 1px solid #fff;
  border-radius: 50%;
}

.kv-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.kv-left {
  flex: 1;
  max-width: 600px;
}
.kv-left .kv-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(7,193,96,0.15);
  border: 1px solid rgba(7,193,96,0.3);
  border-radius: 20px;
  color: #07C160;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.kv-left h1 {
  font-size: 48px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.kv-left h1 span {
  color: #07C160;
}
.kv-left .kv-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.6;
}
.kv-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.kv-buttons .btn-accent {
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  transition: all 0.3s;
}
.kv-buttons .btn-accent:hover {
  background: #E66000;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,107,0,0.4);
}
.kv-buttons .btn-outline-white {
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  transition: all 0.3s;
}
.kv-buttons .btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* 右侧几何装饰 */
.kv-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 500px;
}
.kv-geo {
  position: relative;
  width: 320px;
  height: 320px;
}
.kv-geo-hex {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border: 2px solid rgba(7,193,96,0.3);
  border-radius: 40%;
  animation: kvRotate 20s linear infinite;
}
.kv-geo-hex::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(7,193,96,0.15);
  border-radius: 35%;
}
.kv-geo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 50%;
  animation: kvRotate 30s linear infinite reverse;
}
.kv-geo-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #07C160;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(7,193,96,0.6);
}
.kv-geo-dot:nth-child(1) { top: 20%; left: 70%; }
.kv-geo-dot:nth-child(2) { bottom: 25%; left: 20%; }
.kv-geo-dot:nth-child(3) { top: 60%; right: 15%; }
.kv-geo-line {
  position: absolute;
  background: rgba(7,193,96,0.12);
}
.kv-geo-line:nth-child(4) {
  top: 30%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: rotate(15deg);
}
.kv-geo-line:nth-child(5) {
  top: 60%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: rotate(-10deg);
}
.kv-geo-battery {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 80px;
  border: 3px solid rgba(7,193,96,0.5);
  border-radius: 8px;
}
.kv-geo-battery::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 6px;
  background: rgba(7,193,96,0.5);
  border-radius: 3px 3px 0 0;
}
.kv-geo-battery::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  height: 50%;
  background: rgba(7,193,96,0.4);
  border-radius: 3px;
  animation: kvCharge 2s ease-in-out infinite;
}

@keyframes kvRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes kvCharge {
  0%, 100% { height: 50%; }
  50% { height: 65%; }
}

/* KV 滚动指示器 */
.kv-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  animation: kvScrollHint 2s ease-in-out infinite;
}
.kv-scroll-hint::before {
  content: '';
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
}
@keyframes kvScrollHint {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* ========== 模块2：四大核心优势 ========== */
.advantages-section {
  background: var(--bg);
  padding: 100px 0;
}
.advantage-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: rgba(7,193,96,0.15);
}
.adv-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 20px;
  font-size: 32px;
  position: relative;
}
.adv-icon-circle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(7,193,96,0.2);
}
.adv-icon-1 { background: rgba(7,193,96,0.1); color: #07C160; }
.adv-icon-2 { background: rgba(255,107,0,0.1); color: #FF6B00; }
.adv-icon-3 { background: rgba(26,173,143,0.1); color: #1AAD8F; }
.adv-icon-4 { background: rgba(7,193,96,0.1); color: #07C160; }
.advantage-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.advantage-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== 模块3：产品矩阵预览 ========== */
.products-section {
  background: var(--white);
  padding: 100px 0;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: rgba(7,193,96,0.2);
}
.product-card .product-tier {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.tier-entry { color: #07C160; }
.tier-main { color: #1AAD8F; }
.tier-flagship { color: #FF6B00; }
.product-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.product-card .product-spec {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.product-card .product-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}
.product-card .product-stats .stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.product-card .product-stats .stat-label {
  color: var(--text-light);
}
.product-card .product-stats .stat-value {
  font-weight: 600;
  color: var(--text);
}
.product-card .btn-primary {
  align-self: flex-start;
  margin-top: auto;
}

/* ========== 模块4：生产实力 ========== */
.strength-section {
  background: var(--dark-bg);
  padding: 100px 0;
  color: #fff;
}
.strength-section .section-title h2 {
  color: #fff;
}
.strength-section .section-title p {
  color: rgba(255,255,255,0.6);
}
.strength-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.strength-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.strength-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.strength-item .si-num {
  font-size: 40px;
  font-weight: 800;
  color: rgba(7,193,96,0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 50px;
}
.strength-item .si-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.strength-item .si-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.strength-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.strength-img-placeholder {
  background: linear-gradient(135deg, #2A2A2A, #1A1A1A);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.strength-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 49%, rgba(7,193,96,0.05) 50%, transparent 51%);
}

/* ========== 模块5：服务保障 ========== */
.service-section {
  background: var(--white);
  padding: 100px 0;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.service-card-highlight {
  background: var(--green-bg);
  border-color: var(--green-bg);
  color: #fff;
}
.service-card-highlight h3 { color: #fff; }
.service-card-highlight p { color: rgba(255,255,255,0.85); }
.service-card .svc-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== 模块6：招商合作 CTA ========== */
.join-cta-section {
  background: linear-gradient(135deg, #035A3A 0%, #064E3B 40%, #07C160 100%);
  padding: 100px 0;
  color: #fff;
}
.join-cta-section .section-title h2 {
  color: #fff;
}
.join-cta-section .section-title h2::after {
  background: #fff;
}
.join-cta-section .section-title p {
  color: rgba(255,255,255,0.7);
}
.join-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.join-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
}
.join-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.join-card .join-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.join-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.join-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 20px;
}
.join-card .btn-outline-white {
  padding: 10px 28px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 6px;
  transition: all 0.3s;
}
.join-card .btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

/* ========== 模块7：合作客户/案例 ========== */
.clients-section {
  background: var(--bg);
  padding: 100px 0;
}
.clients-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.client-logo-placeholder {
  background: #E8ECF0;
  border-radius: 8px;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
}
.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.case-card .case-thumb {
  height: 180px;
  background: linear-gradient(135deg, #E8ECF0, #D0D5DD);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
}
.case-card .case-info {
  padding: 20px;
}
.case-card .case-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.case-card .case-info p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.case-card .case-info .case-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(7,193,96,0.08);
  color: #07C160;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 8px;
}

/* ========== 模块8：新闻资讯预览 ========== */
.news-section {
  background: var(--white);
  padding: 100px 0;
}
.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.news-card .news-date {
  padding: 20px 20px 0;
  font-size: 12px;
  color: var(--text-light);
}
.news-card .news-body {
  padding: 12px 20px 20px;
}
.news-card .news-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .news-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 模块9：底部联系板块 ========== */
.contact-strip {
  background: var(--dark-bg);
  padding: 80px 0;
  color: #fff;
}
.contact-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.cs-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.cs-item:hover {
  background: rgba(255,255,255,0.06);
}
.cs-item .cs-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.cs-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #07C160;
  margin-bottom: 10px;
}
.cs-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.cs-item .cs-qr {
  display: inline-block;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  margin: 8px auto 0;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .kv-container { flex-direction: column; text-align: center; padding-top: 80px; padding-bottom: 40px; }
  .kv-left { max-width: 100%; }
  .kv-left h1 { font-size: 36px; }
  .kv-right { display: none; }
  .kv-buttons { justify-content: center; }
  .strength-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .clients-logos { grid-template-columns: repeat(3, 1fr); }
  .case-cards { grid-template-columns: repeat(2, 1fr); }
  .news-cards { grid-template-columns: repeat(2, 1fr); }
  .contact-strip-grid { grid-template-columns: 1fr; gap: 20px; }
  .join-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .kv-section { min-height: 500px; }
  .kv-left h1 { font-size: 28px; }
  .kv-left .kv-subtitle { font-size: 15px; }
  .kv-buttons { flex-direction: column; align-items: center; }
  .kv-buttons .btn-accent,
  .kv-buttons .btn-outline-white { width: 100%; max-width: 280px; text-align: center; }
  .advantages-section,
  .products-section,
  .strength-section,
  .service-section,
  .join-cta-section,
  .clients-section,
  .news-section { padding: 60px 0; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .clients-logos { grid-template-columns: repeat(2, 1fr); }
  .case-cards { grid-template-columns: 1fr; }
  .news-cards { grid-template-columns: 1fr; }
  .strength-images { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .service-cards { grid-template-columns: 1fr; }
  .clients-logos { grid-template-columns: repeat(2, 1fr); }
}
