/* ===== 全局重置 & 基础 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #1e293b;
  background: #f8fafc;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

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

.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
  color: #0f172a;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  margin: 12px auto 0;
  border-radius: 4px;
}

.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

/* ===== 导航栏 ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #f97316;
}

.logo i {
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: #334155;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #f97316;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #334155;
}

/* ===== Hero 区 ===== */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, #fef3c7 0%, #ffedd5 40%, #fed7aa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxnIGZpbGw9IiNmNTllMGIiIGZpbGwtb3BhY2l0eT0iMC4wNSI+PHBhdGggZD0iTTM2IDE4YzEuNjU3IDAgMy0xLjM0MyAzLTNzLTEuMzQzLTMtMy0zLTMgMS4zNDMtMyAzIDEuMzQzIDMgMyAzem0tMTIgMGMyLjIxIDAgNC0xLjc5IDQtNHMtMS43OS00LTQtNC00IDEuNzktNCA0IDEuNzkgNCA0IDR6bTYtMTBjMS4xMDUgMCAyLS44OTUgMi0ycy0uODk1LTItMi0yLTIgLjg5NS0yIDIgLjg5NSAyIDIgMnoiLz48L2c+PC9nPjwvc3ZnPg==');
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  color: #475569;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(249,115,22,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.4);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: #f97316;
  font-weight: 600;
  border: 2px solid #f97316;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #f97316;
  color: #fff;
}

/* ===== 特色卡片 ===== */
.features {
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: #f8fafc;
  padding: 36px 24px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #f59e0b;
}

.feature-card i {
  font-size: 2.4rem;
  color: #f97316;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #0f172a;
}

.feature-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

/* ===== 数据统计 ===== */
.stats {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
}

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

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  color: #94a3b8;
  margin-top: 8px;
  display: block;
}

/* ===== 产品网格 ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #0f172a;
}

.product-info .category {
  font-size: 0.85rem;
  color: #f97316;
  font-weight: 500;
  margin-bottom: 4px;
}

.product-info .desc {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-info .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f97316;
}

/* ===== 合作伙伴 ===== */
.partners {
  background: #fff;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.partner-logo {
  font-size: 1.4rem;
  font-weight: 600;
  color: #94a3b8;
  padding: 20px 36px;
  border: 2px dashed #e2e8f0;
  border-radius: 16px;
  transition: all 0.3s;
}

.partner-logo:hover {
  color: #f97316;
  border-color: #f59e0b;
  background: #fffbeb;
}

/* ===== 页脚 ===== */
.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 60px;
}

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

.footer h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.footer-info p {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #f59e0b;
}

.social-icons {
  display: flex;
  gap: 16px;
  font-size: 1.4rem;
}

.social-icons a {
  color: #94a3b8;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #f59e0b;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #475569;
}

/* ===== 页面内部 Hero ===== */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, #fef3c7, #ffedd5);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
  color: #475569;
}

/* ===== 产品筛选栏 ===== */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 8px 20px;
  flex: 1;
  max-width: 400px;
}

.search-box i {
  color: #94a3b8;
  margin-right: 10px;
}

.search-box input {
  border: none;
  outline: none;
  font-size: 1rem;
  width: 100%;
  background: transparent;
}

.category-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s;
}

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

/* ===== 关于页 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0f172a;
}

.about-text p {
  margin-bottom: 16px;
  color: #475569;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-image img {
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 时间线 */
.timeline {
  background: #fff;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.timeline-item {
  text-align: center;
  padding: 24px 12px;
  background: #f8fafc;
  border-radius: 16px;
  border-top: 4px solid #f59e0b;
  transition: transform 0.3s;
}

.timeline-item:hover {
  transform: translateY(-5px);
}

.year {
  font-size: 1.6rem;
  font-weight: 800;
  color: #f97316;
  margin-bottom: 8px;
}

.desc {
  font-size: 0.95rem;
  color: #475569;
}

/* 团队 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card {
  text-align: center;
  background: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}

.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.team-card p {
  color: #f97316;
  font-weight: 500;
  margin-bottom: 6px;
}

.team-card span {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* ===== 联系我们 ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2,
.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #0f172a;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item i {
  font-size: 1.4rem;
  color: #f97316;
  margin-top: 4px;
}

.info-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #1e293b;
}

.info-item p {
  color: #475569;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: border 0.3s;
  background: #fff;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.1);
}

.form-feedback {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  font-weight: 500;
}

.form-feedback.success {
  background: #d1fae5;
  color: #065f46;
}

.form-feedback.error {
  background: #fee2e2;
  color: #991b1b;
}

.map-section {
  padding-bottom: 80px;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .features-grid,
  .stats-grid,
  .products-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .features-grid,
  .stats-grid,
  .products-grid,
  .timeline-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 500px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .btn-primary {
    padding: 14px 30px;
    font-size: 0.95rem;
  }

  .product-card img {
    height: 200px;
  }
}