/*
Theme Name: PVAHM zhok enwufaxiugai 1.0
Theme URI: https://pvahm.com
Author: PVAHM Team
Author URI: https://pvahm.com
Description: 南京绵绵新材料科技有限公司 - 中英文双语主题，专为PVA发泡材料企业设计
Version: 2.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pvahm
*/

/* ========== CSS Variables ========== */
:root {
  --primary: #1e3a5f;
  --accent: #2c7be5;
  --tech-cyan: #00b4d8;
  --tech-green: #06d6a0;
  --light-bg: #f0f4ff;
  --card-bg: #ffffff;
  --text-muted: #6b7280;
  --border: #e2e8f0;
  --gradient-hero: linear-gradient(135deg, #0a192f 0%, #1e3a5f 40%, #0d2137 70%, #091428 100%);
  --section-gap: 100px;
  --radius: 16px;
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.14);
}

/* ========== Global Reset ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif; color: #1a1a2e; line-height: 1.7; background: #f8f9fc; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== Language Switcher ========== */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-shrink: 0;
  margin-left: 24px;
  background: transparent;
  position: static;
  padding: 0;
  border-radius: 0;
  z-index: auto;
}
.lang-switcher a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  transition: all 0.3s;
}
.lang-switcher a:hover,
.lang-switcher a.active {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ========== Navigation ========== */
.nav-mock {
  background: var(--primary);
  padding: 0 20px 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: relative;
}
.nav-logo { color: #fff; font-size: 1.1rem; font-weight: 700; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 0.88rem; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--tech-cyan); }

/* ========== Hero Section ========== */
.hero {
  background: var(--gradient-hero);
  padding: 140px 60px 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44,123,229,0.15) 0%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,216,0.1) 0%, transparent 70%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}
.particle:nth-child(1) { width:6px;height:6px; background:var(--tech-cyan); top:20%; left:15%; animation-delay:0s; }
.particle:nth-child(2) { width:4px;height:4px; background:var(--tech-green); top:60%; left:25%; animation-delay:1.5s; }
.particle:nth-child(3) { width:8px;height:8px; background:var(--accent); top:35%; left:70%; animation-delay:3s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,216,0.12);
  border: 1px solid rgba(0,180,216,0.4);
  color: var(--tech-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  margin-bottom: 30px;
}
.hero h1 {
  font-size: 3.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 28px;
}
.hero h1 span { color: var(--tech-cyan); }
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--tech-cyan) 0%, var(--accent) 100%);
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,180,216,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0,180,216,0.4); }
.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* ========== Stats Section ========== */
.stats-section { padding: 60px; background: #fff; }
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--light-bg);
  transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-icon {
  width: 70px; height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}
.stat-card:nth-child(1) .stat-icon { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); }
.stat-card:nth-child(2) .stat-icon { background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%); }
.stat-card:nth-child(3) .stat-icon { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.stat-card:nth-child(4) .stat-icon { background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%); }
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}
.stat-label { font-size: 0.95rem; color: var(--text-muted); }

/* ========== Features Section ========== */
.features-section { padding: var(--section-gap) 60px; background: #f8f9fc; }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: 2.6rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 50px 35px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tech-cyan), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 90px; height: 90px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 28px;
  background: linear-gradient(135deg, var(--light-bg) 0%, #e8f4fd 100%);
}
.feature-card h3 { font-size: 1.35rem; color: var(--primary); margin-bottom: 16px; }
.feature-card p { font-size: 0.98rem; color: var(--text-muted); line-height: 1.8; }

/* ========== Products Section ========== */
.products-section { padding: var(--section-gap) 60px; background: #fff; }
.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s ease;
  border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--accent); }
.product-image {
  height: 220px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.product-image::before {
  content: '';
  position: absolute;
  width: 150%; height: 150%;
  background: radial-gradient(circle, rgba(44,123,229,0.05) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }
.product-info { padding: 30px; }
.product-info h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 12px; }
.product-info p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tags span {
  background: var(--light-bg);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ========== CTA Section ========== */
.cta-section {
  padding: 120px 60px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.cta-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-section h2 { font-size: 2.8rem; color: #fff; margin-bottom: 20px; }
.cta-section p { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin-bottom: 40px; }

/* ========== Footer ========== */
.footer {
  background: #0a192f;
  padding: 80px 60px 40px;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-logo { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-desc { font-size: 0.95rem; line-height: 1.8; margin-bottom: 24px; }
.footer h4 { font-size: 1rem; color: #fff; margin-bottom: 24px; }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { font-size: 0.95rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--tech-cyan); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 100px 30px 80px; }
  .hero h1 { font-size: 2.5rem; }
  .nav-mock { padding: 15px 30px; flex-direction: column; gap: 15px; }
  .nav-links { gap: 20px; }
  .stats-grid, .features-grid, .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-header h2 { font-size: 2rem; }
}
