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

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

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #1A1A2E;
  line-height: 1.8;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* Typography */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #0D2B4E;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.3;
}

.section-title.center {
  justify-content: center;
  text-align: center;
}

.title-bar {
  display: inline-block;
  width: 4px;
  height: 28px;
  background: #E36414;
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title.center .title-bar {
  position: relative;
  top: 2px;
}

/* ========================================
   Header / Navigation
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8ecf1;
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 12px rgba(13, 43, 78, 0.08);
}

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

.brand {
  font-size: 20px;
  font-weight: 900;
  color: #0D2B4E;
  white-space: nowrap;
  letter-spacing: 1px;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #1A1A2E;
  padding: 4px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #0D2B4E;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #E36414;
  border-radius: 1px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: #E36414;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  border-radius: 50px;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.contact-btn:hover {
  background: #c8550f;
}

.phone-icon {
  color: #ffb4a2;
}

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

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0D2B4E;
  border-radius: 1px;
  transition: transform 0.3s ease;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero Banner
   ======================================== */
.hero-banner {
  margin-top: 72px;
  background: linear-gradient(135deg, #0D2B4E 0%, #1B3A5C 60%, #254d74 100%);
  padding: 76px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: '';
  position: absolute;
  right: -100px;
  bottom: -60px;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(227, 100, 20, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-title {
  font-size: 42px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: 0;
  line-height: 1.22;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  display: none;
}

.hero-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  margin-bottom: 26px;
  line-height: 1.7;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero-note {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 8px;
  line-height: 1.7;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.hero-hotline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-top: 28px;
  border-left: 3px solid #E36414;
  background: rgba(255, 255, 255, 0.08);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.hero-hotline a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  background: transparent;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-hotline a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-hotline a:hover {
  color: #ffb07a;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: none;
  transition: color 0.3s ease;
  box-shadow: none;
}

.hero-tag:hover {
  color: #FFFFFF;
}

.hero-tag svg {
  flex-shrink: 0;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
  padding: 80px 0;
  background: #FFFFFF;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
}

.about-text {
  flex: 1;
  text-align: left;
}

.about-text .section-title {
  justify-content: flex-start;
}

.about-desc {
  font-size: 15px;
  color: #5A6275;
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: left;
}

.contact-strong {
  font-weight: 700;
  color: #0D2B4E;
}

.about-hotline {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
}

.hotline-item {
  padding: 12px 20px;
  background: #F0F4F8;
  border-radius: 6px;
}

.hotline-label {
  display: block;
  font-size: 12px;
  color: #5A6275;
  margin-bottom: 2px;
}

.hotline-number {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #0D2B4E;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

.hotline-note {
  font-size: 13px;
  color: #5A6275;
  margin: 0;
  padding: 0 4px;
}

.btn-primary {
  display: inline-block;
  padding: 10px 28px;
  background: #E36414;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s ease;
  text-align: center;
}

.btn-primary:hover {
  background: #c8550f;
}

.about-image {
  flex: 0 0 411px;
  max-width: 411px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 43, 78, 0.1);
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

/* ========================================
   Products Section
   ======================================== */
.products-section {
  padding: 56px 0 80px;
  background: #FFFFFF;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.products-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.products-section.alt-bg {
  background: #F0F4F8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 4px 0 10px;
}

.products-grid.products-count-1 {
  grid-template-columns: minmax(280px, 340px);
  justify-content: center;
}

.products-grid.products-count-2 {
  grid-template-columns: repeat(2, minmax(280px, 340px));
  justify-content: center;
}

.products-grid::-webkit-scrollbar {
  height: 8px;
}

.products-grid::-webkit-scrollbar-track {
  background: #e8ecf1;
  border-radius: 999px;
}

.products-grid::-webkit-scrollbar-thumb {
  background: #9fb0c2;
  border-radius: 999px;
}

.product-card {
  background: #FFFFFF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(13, 43, 78, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 43, 78, 0.12);
}

.product-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 4;
  height: auto;
  overflow: hidden;
  background: #e8ecf1;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-badge {
  display: flex;
  margin: 0 16px;
  position: relative;
  z-index: 2;
}

.badge-left,
.badge-right {
  flex: 1;
  text-align: center;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
}

.badge-left {
  background: #0D2B4E;
  color: #FFFFFF;
  border-radius: 0 0 0 6px;
}

.badge-right {
  background: #E36414;
  color: #FFFFFF;
  border-radius: 0 0 6px 0;
}

.product-name {
  font-size: 22px;
  font-weight: 900;
  color: #0D2B4E;
  padding: 22px 18px 8px;
  text-align: center;
}

.product-spec {
  font-size: 13px;
  color: #5A6275;
  padding: 0 16px 4px;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  text-align: center;
}

.product-desc {
  font-size: 15px;
  color: #5A6275;
  padding: 0 18px 26px;
  line-height: 1.6;
  text-align: center;
}

.product-link {
  display: inline-block;
  padding: 8px 16px 14px;
  font-size: 14px;
  color: #E36414;
  font-weight: 600;
  transition: color 0.3s ease;
  text-align: center;
}

.product-link:hover {
  color: #c8550f;
}

.products-note {
  text-align: center;
  margin-top: 32px;
  font-size: 15px;
  color: #E36414;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.product-combo-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 16px;
  font-size: 13px;
  color: #5A6275;
}

.product-combo-links span {
  color: #0D2B4E;
  font-weight: 600;
}

.product-combo-links a {
  color: #5A6275;
  border-bottom: 1px solid rgba(90, 98, 117, 0.28);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.product-combo-links a:hover {
  color: #E36414;
  border-color: #E36414;
}

/* ========================================
   Structured Content Sections
   ======================================== */
.structured-section {
  padding: 64px 0 76px;
  background: #FFFFFF;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.structured-section-muted {
  background: #F0F4F8;
}

.structured-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.module-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.module-card {
  min-height: 190px;
  padding: 24px 22px;
  background: #FFFFFF;
  border: 1px solid rgba(13, 43, 78, 0.08);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(13, 43, 78, 0.06);
}

.structured-section:not(.structured-section-muted) .module-card {
  background: #F8FAFC;
}

.module-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 28px;
  margin-bottom: 18px;
  border-left: 3px solid #E36414;
  color: #E36414;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.module-card h3 {
  margin-bottom: 10px;
  color: #0D2B4E;
  font-size: 20px;
  font-weight: 800;
}

.module-card p {
  color: #5A6275;
  font-size: 14px;
  line-height: 1.75;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: #0D2B4E;
  color: #FFFFFF;
  padding-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 8px;
}

.footer-info svg {
  color: #E36414;
  flex-shrink: 0;
}

.footer-contact-strong {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

.footer-left {
  min-width: 0;
  padding-right: 40px;
}

.footer-right {
  min-width: 0;
  max-width: 620px;
}

.footer-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.footer-subtitle-secondary {
  margin-top: 20px;
}

.footer-scope {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 14px;
}

.footer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 8px;
}

.footer-list li {
  padding: 5px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.4;
}

.footer-list li::before {
  content: none;
}

.footer-motto {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.54);
  font-weight: 500;
}

.footer-bottom {
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a,
.footer-links-toggle {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-links-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.footer-bottom a:hover,
.footer-links-toggle:hover,
.footer-links-toggle[aria-expanded="true"] {
  color: #FFFFFF;
}

.footer-friend-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  max-width: 900px;
  margin: 12px auto 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}

.footer-friend-links[hidden] {
  display: none;
}

.footer-friend-links a {
  font-size: 13px;
  line-height: 1.6;
}

.footer-link-group strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.footer-link-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

/* ========================================
   Float Contact Button
   ======================================== */
.float-contact {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #E36414;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(227, 100, 20, 0.35);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-contact:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(227, 100, 20, 0.45);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .module-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-inner {
    flex-direction: row;
    gap: 24px;
  }
  .about-image {
    flex: 0 0 280px;
    max-width: 280px;
  }
  .about-text {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 16px 20px;
    gap: 12px;
    border-bottom: 1px solid #e8ecf1;
    box-shadow: 0 4px 12px rgba(13, 43, 78, 0.08);
  }
  .main-nav.open {
    display: flex;
  }
  .contact-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-banner {
    margin-top: 60px;
    padding: 48px 0 40px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-tags {
    gap: 8px;
  }
  .hero-tag {
    padding: 0;
    font-size: 13px;
  }
  .hero-hotline {
    width: 100%;
  }
  .hero-hotline a {
    width: 100%;
    justify-content: center;
  }
  .hero-hotline a + a {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
  .products-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .product-card {
    flex-basis: 270px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .product-img-wrap {
    aspect-ratio: 4 / 4;
    height: auto;
  }
  .product-name {
    font-size: 21px;
  }
  .products-grid {
    gap: 20px;
  }
  .about-inner {
    flex-direction: column;
    align-items: center;
  }
  .about-image {
    flex: none;
    flex-basis: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    overflow: visible;
  }
  .about-section,
  .products-section,
  .structured-section {
    padding: 48px 0;
  }
  .module-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .module-card {
    min-height: 0;
    padding: 20px;
  }
  .section-title {
    font-size: 22px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }
  .footer-friend-links {
    grid-template-columns: 1fr;
  }
  .float-contact {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
  .about-hotline {
    flex-direction: column;
    gap: 12px;
  }
}
