﻿:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #1d1d1d;
  background: #f7f7f7;
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
}
body {
  line-height: 1.75;
  background: #fff;
}
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}
.logo img {
  height: 80px;
  width: auto;
}
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #1d1d1d;
  text-decoration: none;
  font-weight: 500;
}
.site-nav a:hover {
  color: #0071f3;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #1d1d1d;
  border-radius: 2px;
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-image: linear-gradient(180deg, rgba(15, 26, 49, 0.7), rgba(15, 26, 49, 0.78)), url('https://static.aiyu-sh.cn/bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 26, 49, 0.45), rgba(15, 26, 49, 0.62));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 14px;
  color: #c6d5ff;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.03;
  margin: 0 0 18px;
  white-space: nowrap;
  word-break: keep-all;
}
.hero p {
  max-width: 600px;
  margin: 0 0 26px;
  color: #ebeff8;
  white-space: nowrap;
  word-break: keep-all;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary {
  background: #0071f3;
  color: #fff;
}
.btn-secondary {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.section-header {
  margin-bottom: 32px;
}
.section-header span {
  display: block;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #0071f3;
  font-size: .88rem;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0;
}
.about {
  padding: 80px 0 64px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-text p {
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
}
.about-image img {
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(15, 26, 49, 0.12);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.stat-grid article {
  background: #f7fbff;
  border: 1px solid #eef4ff;
  border-radius: 20px;
  padding: 26px;
  text-align: center;
}
.stat-grid strong {
  display: block;
  font-size: 2rem;
  color: #111827;
}
.stat-grid p {
  margin: 10px 0 0;
  color: #5b6776;
}
.features {
  background: #f7faff;
  padding: 72px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid #e8effb;
  border-radius: 24px;
  padding: 28px;
}
.feature-card h3 {
  margin-top: 0;
}
.feature-card p {
  color: #5b6776;
}
.products {
  padding: 72px 0;
}
.carousel-container {
  position: relative;
}
.product-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 24px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.product-carousel::-webkit-scrollbar {
  display: none;
}
.product-card {
  flex: 0 0 min(280px, 80%);
  min-width: 280px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #ebeef3;
  box-shadow: 0 12px 30px rgba(15, 26, 49, 0.08);
  position: relative;
  scroll-snap-align: start;
  cursor: pointer;
}
.product-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.product-info {
  padding: 18px;
}
.product-info h3 {
  margin: 0;
  font-size: 1.1rem;
}
.product-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.64);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.product-card:hover .product-overlay,
.product-card.active .product-overlay {
  opacity: 1;
  visibility: visible;
}
.product-overlay p {
  margin: 0;
  line-height: 1.75;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
}
.carousel-btn.prev {
  left: -10px;
}
.carousel-btn.next {
  right: -10px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: #1d1d1d;
  text-decoration: none;
  font-weight: 600;
}
.back-link:hover {
  color: #0071f3;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 32px;
  align-items: start;
}
.detail-sidebar {
  background: #fff;
  border: 1px solid #ebeef3;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-sidebar img {
  width: 100%;
  max-width: 180px;
  height: auto;
}
.detail-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.detail-action {
  margin-top: 24px;
}
.detail-page {
  padding: 72px 0;
}
.detail-page h1 {
  margin: 0 0 24px;
}
.detail-page p,
.detail-page ul {
  color: #4b5563;
  line-height: 1.8;
}
.news {
  padding: 72px 0;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(15, 26, 49, 0.08);
}
.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card-content {
  padding: 22px;
}
.news-date {
  color: #636f83;
  font-size: .92rem;
  margin-bottom: 10px;
}
.news-card h3 {
  margin: 0;
  font-size: 1rem;
}
.news-card h3 a {
  color: #121f42;
  text-decoration: none;
}
.news-card h3 a:hover {
  color: #0071f3;
}
.contact {
  padding: 72px 0 100px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}
.contact-grid h3 {
  margin-top: 0;
}
.contact-grid p {
  color: #4b5563;
}
.contact-grid img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}
.contact-grid img.qrcode {
  width: 50%;
  max-width: 220px;
  display: block;
}
.site-footer {
  background: #0f1a31;
  color: #cbd7ff;
  padding: 28px 0 36px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  color: #9bb5ff;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}
@media (max-width: 960px) {
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .stat-grid, .features-grid, .product-grid, .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .site-header {
    padding: 0 16px;
  }
  .header-inner {
    align-items: flex-start;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .site-nav.open {
    max-height: 320px;
  }
  .site-nav ul {
    flex-direction: column;
    padding: 16px;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    min-height: 64vh;
  }
  .feature-card, .product-card, .news-card {
    border-radius: 18px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
