/* ===== CSS Variables ===== */
:root {
  --primary: #1a6dd4;
  --primary-dark: #0d4f9e;
  --primary-light: #e8f2ff;
  --accent: #00b4d8;
  --gradient: linear-gradient(135deg, #0d4f9e 0%, #1a6dd4 40%, #00b4d8 100%);
  --gradient-hero: linear-gradient(135deg, #0a3d7c 0%, #1565c0 50%, #0097a7 100%);
  --text: #1a1a2e;
  --text-secondary: #555;
  --text-light: #888;
  --bg: #ffffff;
  --bg-light: #f5f8fc;
  --bg-section: #f0f6ff;
  --border: #e0e8f0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1200px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: var(--font); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Header / Navigation ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 40px; }
.logo-text {
  font-size: 20px; font-weight: 700; color: var(--primary-dark);
  letter-spacing: 1px;
}
.logo-text span { font-size: 11px; color: var(--text-light); display: block; letter-spacing: 0; font-weight: 400; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  padding: 8px 18px; border-radius: 6px; font-size: 15px; font-weight: 500;
  color: var(--text); position: relative;
}
.nav a:hover, .nav a.active { color: var(--primary); background: var(--primary-light); }
.nav-phone {
  display: flex; align-items: center; gap: 8px;
  margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--border);
  font-size: 14px; color: var(--text-secondary);
}
.nav-phone svg { color: var(--primary); }
.nav-phone strong { color: var(--primary); font-size: 16px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); transition: var(--transition); }

/* ===== Hero Section ===== */
.hero {
  padding: 140px 0 80px;
  background: var(--gradient-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: rgba(255,255,255,0.15); font-size: 13px; margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #7dd3fc; }
.hero-desc { font-size: 17px; opacity: 0.9; line-height: 1.8; margin-bottom: 32px; max-width: 520px; }
.hero-stats { display: flex; gap: 40px; margin-bottom: 36px; }
.hero-stat { text-align: left; }
.hero-stat .num { font-size: 36px; font-weight: 800; color: #7dd3fc; }
.hero-stat .num span { font-size: 16px; font-weight: 400; }
.hero-stat .label { font-size: 13px; opacity: 0.8; margin-top: 4px; }
.hero-buttons { display: flex; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary { background: #fff; color: var(--primary-dark); }
.btn-primary:hover { background: #e8f2ff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-image { flex: 0 0 600px; position: relative; }
.hero-image img { border-radius: 16px; background: rgba(255,255,255,0.95); padding: 20px; }

/* ===== Section Styles ===== */
.section { padding: 80px 0; }
.section-light { background: var(--bg-light); }
.section-blue { background: var(--gradient-hero); color: #fff; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .tag {
  display: inline-block; padding: 4px 16px; border-radius: 20px;
  background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 600; margin-bottom: 12px;
}
.section-blue .section-header .tag { background: rgba(255,255,255,0.15); color: #7dd3fc; }
.section-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-secondary); max-width: 640px; margin: 0 auto; }
.section-blue .section-header p { color: rgba(255,255,255,0.8); }

/* ===== Product Cards ===== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid var(--border);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.product-card-img { height: 280px; overflow: hidden; background: var(--bg-light); display: flex; align-items: center; justify-content: center; }
.product-card-img img { width: 100%; height: 100%; object-fit: contain; transition: var(--transition); }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 24px; }
.product-card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.product-card-body .subtitle { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.product-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.product-card-body .link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 14px; color: var(--primary); font-weight: 600;
}
.product-card-body .link:hover { gap: 10px; }

/* ===== Feature Cards ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--primary-light); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Advantage Section ===== */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.advantage-item { text-align: center; padding: 40px 24px; }
.advantage-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; margin: 0 auto 20px; color: #7dd3fc;
}
.advantage-item h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.advantage-item p { font-size: 14px; opacity: 0.85; line-height: 1.8; }

/* ===== Case Cards ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid var(--border);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card-img { height: 200px; overflow: hidden; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-body { padding: 20px 24px; }
.case-card-body .region { font-size: 12px; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.case-card-body h3 { font-size: 17px; font-weight: 700; margin: 6px 0 8px; }
.case-card-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ===== News Cards ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition);
  border: 1px solid var(--border);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { height: 180px; overflow: hidden; background: var(--bg-light); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 20px 24px; }
.news-card-body .date { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.news-card-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.5; }
.news-card-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ===== About Page ===== */
.about-hero {
  padding: 140px 0 60px;
  background: var(--gradient-hero);
  color: #fff;
  text-align: center;
}
.about-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.about-hero p { font-size: 17px; opacity: 0.9; max-width: 700px; margin: 0 auto; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 20px; color: var(--primary-dark); }
.about-text p { font-size: 15px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; }
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--primary); border: 3px solid var(--primary-light);
}
.timeline-item .year { font-size: 14px; color: var(--primary); font-weight: 700; }
.timeline-item h4 { font-size: 16px; font-weight: 700; margin: 4px 0; }
.timeline-item p { font-size: 14px; color: var(--text-secondary); }

/* ===== Contact Page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-card {
  background: var(--gradient-hero); border-radius: var(--radius);
  padding: 48px; color: #fff;
}
.contact-info-card h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.contact-info-card p { opacity: 0.9; margin-bottom: 32px; line-height: 1.8; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px;
}
.contact-detail h4 { font-size: 14px; opacity: 0.7; margin-bottom: 4px; }
.contact-detail p { font-size: 16px; font-weight: 600; opacity: 1; margin: 0; }
.contact-form-card {
  background: #fff; border-radius: var(--radius); padding: 48px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.contact-form-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.contact-form-card > p { font-size: 14px; color: var(--text-secondary); margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group label .required { color: #e53e3e; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; font-family: var(--font);
  transition: var(--transition); background: var(--bg-light);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,109,212,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== Footer ===== */
.footer {
  background: #0a1628; color: rgba(255,255,255,0.7); padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .logo-text { color: #fff; font-size: 22px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; opacity: 0.7; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 20px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; opacity: 0.7; }
.footer ul li a:hover { opacity: 1; color: #7dd3fc; }
.footer-contact p { font-size: 14px; margin-bottom: 8px; opacity: 0.7; }
.footer-contact strong { color: #fff; opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; opacity: 0.5;
}

/* ===== Floating CTA ===== */
.floating-cta {
  position: fixed; right: 24px; bottom: 80px; z-index: 999;
  display: flex; flex-direction: column; gap: 12px;
}
.floating-cta a {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff; box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.floating-cta a:hover { transform: scale(1.1); }
.floating-cta .cta-phone { background: #f59e0b; }
.floating-cta .cta-form { background: var(--primary); }
.floating-cta .cta-top { background: #6b7280; }

/* ===== Page Banner ===== */
.page-banner {
  padding: 120px 0 60px;
  background: var(--gradient-hero);
  color: #fff;
  text-align: center;
}
.page-banner h1 { font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.page-banner p { font-size: 16px; opacity: 0.85; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px; font-size: 14px; opacity: 0.7;
}
.breadcrumb a:hover { opacity: 1; color: #7dd3fc; }

/* ===== Product Detail Tabs ===== */
.product-tabs { display: flex; gap: 8px; margin-bottom: 40px; justify-content: center; flex-wrap: wrap; }
.product-tab {
  padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: var(--bg-light); color: var(--text-secondary);
  border: 1px solid var(--border); transition: var(--transition); cursor: pointer;
}
.product-tab:hover, .product-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Stats Bar ===== */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  margin-top: -40px; position: relative; z-index: 10; overflow: hidden;
}
.stats-item {
  padding: 32px 24px; text-align: center;
  border-right: 1px solid var(--border);
}
.stats-item:last-child { border-right: none; }
.stats-item .num { font-size: 36px; font-weight: 800; color: var(--primary); }
.stats-item .num span { font-size: 16px; font-weight: 400; }
.stats-item .label { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* ===== Manufacturer Badge ===== */
.mfr-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 8px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff; font-size: 14px; font-weight: 700;
  margin-bottom: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-content { flex-direction: column; text-align: center; }
  .hero-image { flex: none; width: 100%; max-width: 400px; }
  .hero-desc { margin: 0 auto 32px; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-item:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: #fff;
    padding: 16px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--border);
  }
  .hamburger { display: flex; }
  .nav-phone { display: none; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 32px; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .product-grid, .case-grid, .news-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .floating-cta { right: 16px; bottom: 60px; }
}
