/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Variables ===== */
:root {
  --primary: #0d1f35;
  --primary-light: #1a3655;
  --accent: #c8963e;
  --accent-light: #e8c97a;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e4e6eb;
  --gray-600: #6b7280;
  --gray-800: #1f2937;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

/* ===== Utility ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 48px;
  border-radius: 2px;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 31, 53, 0.92);
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 31, 53, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 132px;
  height: 40px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-light);
}

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

/* ===== Nav right group ===== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ===== Language Switcher ===== */
.lang-switch {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.lang-btn .lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-btn .lang-arrow {
  font-size: 0.6rem;
  transition: transform 0.25s;
}

.lang-switch.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 1100;
  list-style: none;
}

.lang-switch.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: #333;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.lang-option:hover {
  background: var(--gray-50);
}

.lang-option.active {
  color: var(--accent);
  font-weight: 600;
  background: rgba(200, 150, 62, 0.08);
}

.lang-option .lang-flag {
  font-size: 1.1rem;
  width: 22px;
  text-align: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 40%, #1a3a5c 70%, #0d1f35 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(200, 150, 62, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(200, 150, 62, 0.08) 0%, transparent 50%);
  animation: heroGlow 15s ease-in-out infinite;
}

@keyframes heroGlow {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(2%, -1%) scale(1.05);
  }

  66% {
    transform: translate(-1%, 2%) scale(1.03);
  }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  animation: floatUp linear infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

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

.hero-content .badge {
  display: inline-block;
  background: rgba(200, 150, 62, 0.15);
  color: var(--accent-light);
  border: 1px solid rgba(200, 150, 62, 0.3);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-content h1 span {
  color: var(--accent-light);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #b8862e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 150, 62, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
  z-index: 2;
}

.hero-scroll span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-scroll .arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ===== About Section ===== */
.about {
  background: var(--white);
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-text h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-text h2 span {
  color: var(--accent);
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.8;
}

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

.stat-item {
  text-align: center;
  padding: 20px 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 4px;
}

/* ===== Products Section ===== */
.products {
  background: var(--gray-50);
}

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

.product-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.product-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(13, 31, 53, 0.85) 0%, rgba(13, 31, 53, 0.2) 50%, transparent 100%);
}

.product-card .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: #fff;
}

.product-card .card-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-card .card-content p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 12px;
}

.product-card .card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  transition: var(--transition);
}

.product-card:hover .card-arrow {
  background: #b8862e;
}

.card-arrow svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
}

/* ===== Culture Section ===== */
.culture {
  background: var(--white);
}

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.culture-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.culture-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.culture-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.culture-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.culture-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.culture-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.culture-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.culture-icon-item {
  text-align: center;
  padding: 24px 16px;
  background: var(--gray-50);
  border-radius: var(--radius);
  transition: var(--transition);
}

.culture-icon-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.culture-icon-item .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #e8c97a);
}

.culture-icon-item .icon-circle svg {
  width: 28px;
  height: 28px;
}

.culture-icon-item span {
  font-size: 0.95rem;
  color: var(--gray-800);
  font-weight: 500;
}

/* ===== Honors Section ===== */
.honors {
  background: var(--primary);
  color: #fff;
}

.honors .section-title {
  color: #fff;
}

.honors .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.honors .section-divider {
  background: var(--accent);
}

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

.honor-item {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.honor-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.honor-item .honor-icon {
  padding: 2px;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 150, 62, 0.15);
  border-radius: 50%;
}

.honor-item .honor-icon svg {
  width: 32px;
  height: 32px;
}

.honor-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.honor-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== Contact Section ===== */
.contact {
  background: var(--gray-100);
}

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

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-item .c-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .c-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item div h4 {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 2px;
}

.contact-item div span {
  font-size: 0.95rem;
  color: var(--gray-800);
  font-weight: 500;
}

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

.contact-qr img {
  width: 160px;
  height: 160px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-qr p {
  margin-top: 12px;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
  text-align: center;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer p {
  font-size: 0.85rem;
}

/* ===== Back to Top ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  border: none;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: #b8862e;
  transform: translateY(-3px);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

/* ===== Animations on Scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .honor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav-right { gap: 12px; }
  .lang-btn { padding: 5px 10px; font-size: 0.72rem; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 31, 53, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(16px);
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .honor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

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

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

  .about-stats {
    grid-template-columns: 1fr;
  }

  .culture-icons {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* 轮播容器全屏宽 */
.swiper {
  width: 100%;
}

/* 图片宽满屏，高度自适应 */
.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: #ffffff;
}

.honor-icon img {
  width: 50%;
  height: 100%;
  object-fit: contain;
}