/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
}

a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: #1e40af;
}

.logo span { color: #2563eb; }

.main-nav { display: flex; gap: 32px; }

.main-nav a {
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background: #e53e3e;
  color: #fff;
  padding: 12px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #c53030;
  text-decoration: none;
  color: #fff;
}

.btn-outline {
  display: inline-block;
  border: 1px solid #2563eb;
  color: #2563eb;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: #2563eb;
  color: #fff;
  text-decoration: none;
}

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 60px 24px;
}

.feature-item {
  text-align: center;
  padding: 24px;
}

.feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
}

/* ===== SECTIONS ===== */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e3a5f;
  text-align: center;
  margin-bottom: 40px;
}

.hot-products { padding: 60px 24px 80px; }

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
  border-color: #2563eb;
}

.product-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.product-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-card a {
  font-size: 13px;
  font-weight: 500;
}

/* ===== SPEC TABLE ===== */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 13px;
}

.spec-table tr { border-bottom: 1px solid #f3f4f6; }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 5px 0; }
.spec-table td:first-child { color: #9ca3af; width: 40%; }
.spec-table td:last-child { color: #374151; }

/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-banner p {
  font-size: 16px;
  opacity: 0.85;
}

/* ===== PRODUCTS SECTION ===== */
.products-section { padding: 60px 24px 80px; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

/* ===== ABOUT SECTION ===== */
.about-section { padding: 60px 24px 80px; }

.about-content {
  margin-bottom: 60px;
}

.about-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2563eb;
  display: inline-block;
}

.about-content > p {
  font-size: 15px;
  color: #4b5563;
  margin-bottom: 12px;
  max-width: 800px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  padding: 24px;
  background: #f8fafc;
  border-radius: 8px;
}

.stat-item strong {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 4px;
}

.stat-item span {
  font-size: 14px;
  color: #6b7280;
}

.advantage-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.advantage-item {
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.advantage-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 8px;
}

.advantage-item p {
  font-size: 14px;
  color: #6b7280;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.equipment-item {
  text-align: center;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}

.equipment-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: #1e40af;
  margin-bottom: 6px;
}

.equipment-item p {
  font-size: 13px;
  color: #6b7280;
}

/* ===== CONTACT SECTION ===== */
.contact-section { padding: 60px 24px 80px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.contact-form-wrapper h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 8px;
}

.form-desc {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.form-group textarea { resize: vertical; }

.btn-submit {
  width: 100%;
  font-size: 16px;
  padding: 14px;
}

/* ===== CONTACT INFO ===== */
.contact-info h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 24px;
}

.info-item { margin-bottom: 24px; }

.info-item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-item p {
  font-size: 14px;
  color: #374151;
}

.info-map-placeholder {
  background: #f3f4f6;
  border-radius: 8px;
  margin-top: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #1e3a5f;
  color: #e5e7eb;
  padding-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-col .logo {
  color: #fff;
  margin-bottom: 12px;
  display: block;
}

.footer-col p {
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; font-size: 13px; }
.footer-col ul li a { color: #cbd5e1; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-col ul li p { color: #cbd5e1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 16px;
  font-size: 13px;
  opacity: 0.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 30px; }
  .features { grid-template-columns: 1fr; gap: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-list { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 14px; }
}