/* xr0088 merged styles (React -> static) */

/* ===== index.css ===== */
:root {
  /* Colors */
  --color-primary: #0f2444;       /* Dark navy, used in header, footer, hero buttons */
  --color-primary-hover: #163461; /* Slightly lighter navy for hover states */
  --color-secondary: #f4f6f8;     /* Light gray/blue bg for sections */
  --color-accent: #0f2444;        /* Matching primary for accents */
  --color-text-main: #333333;     /* Main body text */
  --color-text-muted: #666666;    /* Secondary text */
  --color-text-light: #999999;    /* Lighter text */
  --color-bg-white: #ffffff;      /* White background */
  --color-border: #eaeaea;        /* Borders */

  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1200px;
  --header-height: 80px;
  --section-padding-y: 80px;
  --transition-speed: 0.3s;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 24px rgba(0,0,0,0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-main);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-speed) ease;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Animations Base */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, visibility 0.6s ease-out;
  will-change: opacity, transform, visibility;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* Common Section Styles */
.section {
  padding: var(--section-padding-y) 0;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section__header-left {
  max-width: 800px;
}

.section__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
}

.section__link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.section__link:hover {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* ===== styles/Header.css ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
}

.header__logo-icon {
  width: 32px;
  height: 32px;
}

.header__logo-text h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.header__logo-text span {
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.header__nav {
  display: none;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
  padding: 8px 0;
  position: relative;
}

.nav__link:hover {
  color: var(--color-primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-speed) ease;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__item {
  position: relative;
}

.nav__link-icon {
  margin-left: 4px;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-bg-white);
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  min-width: 140px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--color-text-main);
  transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
}

.nav__dropdown li a:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.header__actions {
  display: none;
  align-items: center;
  gap: 24px;
}

.header__action-btn {
  color: var(--color-text-main);
  transition: color var(--transition-speed) ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__action-btn:hover {
  color: var(--color-primary);
}

.header__lang {
  position: relative;
  padding: 10px 0;
}

.header__lang-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg-white);
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  min-width: 120px;
  padding: 8px 0;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.header__lang-dropdown li {
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-speed) ease;
}

.header__lang-dropdown li:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.btn {
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
}

.btn--outline {
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--full {
  width: 100%;
}

.header__mobile-toggle {
  display: block;
  color: var(--color-primary);
}

.header__mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: var(--color-bg-white);
  padding: 24px 20px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.header__mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-nav__item {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav__link-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-nav__submenu-wrapper {
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mobile-nav__submenu {
  padding-bottom: 16px;
  padding-left: 26px;
}

.mobile-nav__submenu li a {
  display: block;
  padding: 10px 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.mobile-nav__link, .mobile-nav__lang-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.mobile-nav__lang-toggle span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav__lang-list {
  padding-bottom: 16px;
  padding-left: 26px;
}

.mobile-nav__lang-list li {
  padding: 10px 0;
  color: var(--color-text-muted);
  cursor: pointer;
}

.rotate {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

@media (min-width: 992px) {
  .header__nav {
    display: block;
  }
  .header__actions {
    display: flex;
  }
  .header__mobile-toggle {
    display: none;
  }
  .header__mobile-menu {
    display: none;
  }
}

/* ===== styles/Hero.css ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #eef2f6; /* fallback */
}

.hero__slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-image: linear-gradient(to right, rgba(238, 242, 246, 0.95) 0%, rgba(238, 242, 246, 0.4) 60%, transparent 100%);
}

.hero__container {
  position: relative;
  z-index: 3;
  padding: 60px 20px;
}

.hero__content {
  max-width: 700px;
}

.hero__subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero__desc {
  font-size: 1.2rem;
  color: var(--color-text-main);
  margin-bottom: 48px;
  font-weight: 500;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}

.hero__feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed) ease;
}

.hero__feature-item:hover .hero__feature-icon {
  transform: translateY(-4px);
  color: var(--color-secondary); /* or bright blue */
}

.hero__feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__btn-outline {
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.hero__pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 12px;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(15, 36, 68, 0.2);
  border: 2px solid transparent;
  transition: all var(--transition-speed) ease;
  padding: 0;
  cursor: pointer;
}

.hero__dot:hover {
  background-color: rgba(15, 36, 68, 0.4);
}

.hero__dot.is-active {
  background-color: var(--color-primary);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .hero__gradient-overlay {
    background-image: linear-gradient(to bottom, rgba(238, 242, 246, 0.95) 0%, rgba(238, 242, 246, 0.8) 100%);
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__features {
    gap: 20px;
    justify-content: space-between;
  }
  
  .hero__feature-item {
    width: calc(50% - 10px);
  }
}

/* ===== styles/Products.css ===== */
.products {
  padding: var(--section-padding-y) 0;
  background-color: var(--color-bg-white);
}

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

.product-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

.product-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #f8f9fb;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

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

.product-card__content {
  padding: 24px 20px;
}

.product-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  min-height: 40px; /* Aligns content if description lengths vary */
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.product-card__link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .products__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== styles/Applications.css ===== */
.applications {
  background-color: var(--color-bg-white);
  padding-bottom: 0; /* padding handled differently */
}

.applications__banner {
  width: 100%;
  background-color: var(--color-primary);
  background-image: linear-gradient(to right, rgba(15, 36, 68, 0.9), rgba(15, 36, 68, 0.7)), url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=1920');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}

.applications__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.app-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
  transition: transform var(--transition-speed) ease;
}

.app-card:hover {
  transform: translateY(-8px);
}

.app-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(15, 36, 68, 0.9));
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.app-card:hover .app-card__bg {
  opacity: 1;
}

.app-card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  z-index: 2;
}

.app-card__icon {
  color: var(--color-bg-white);
  margin-bottom: 16px;
  transition: transform var(--transition-speed) ease;
}

.app-card:hover .app-card__icon {
  transform: scale(1.1);
  color: #4da6ff; /* Accent bright blue */
}

.app-card__label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-bg-white);
}

@media (max-width: 1200px) {
  .applications__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .app-card {
    aspect-ratio: auto;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .applications__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .applications__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .app-card {
    height: 120px;
    flex-direction: row;
  }
  .app-card__content {
    flex-direction: row;
    gap: 16px;
    justify-content: flex-start;
    padding-left: 24px;
  }
  .app-card__icon {
    margin-bottom: 0;
  }
}

/* ===== styles/AdvantagesCases.css ===== */
.adv-cases {
  background-color: var(--color-secondary); /* Very light gray/blue background */
}

.adv-cases__layout {
  display: flex;
  gap: 60px;
}

.adv-cases__left {
  flex: 0 0 40%;
}

.adv-cases__right {
  flex: 0 0 calc(60% - 60px);
  min-width: 0; /* Important for flex items with overflowing children */
}

/* Advantages Grid */
.adv__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0 40px;
}

.adv-card {
  display: flex;
  gap: 16px;
  background: var(--color-bg-white);
  padding: 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed) ease;
}

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

.adv-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adv-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.adv-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Cases Carousel */
.cases__carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none; /* Firefox */
}

.cases__carousel::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.case-card {
  flex: 0 0 calc(33.333% - 14px);
  background: var(--color-bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.case-card__image-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.case-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-card:hover .case-card__image {
  transform: scale(1.05);
}

.case-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
}

.case-card__content {
  padding: 20px;
}

.case-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.cases__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 24px;
  height: 4px;
  background-color: var(--color-border);
  border-radius: 2px;
  transition: background-color var(--transition-speed) ease;
  cursor: pointer;
}

.dot--active {
  background-color: var(--color-primary);
}

@media (max-width: 1024px) {
  .adv-cases__layout {
    flex-direction: column;
    gap: 60px;
  }
  .adv-cases__left, .adv-cases__right {
    flex: 1 1 auto;
  }
}

@media (max-width: 768px) {
  .adv__grid {
    grid-template-columns: 1fr;
  }
  .case-card {
    flex: 0 0 calc(85%); /* Allow horizontal scrolling preview */
  }
}

/* ===== styles/FAQNews.css ===== */
.faq-news {
  background-color: var(--color-bg-white);
}

.faq-news__layout {
  display: flex;
  gap: 60px;
}

.faq-news__left, .faq-news__right {
  flex: 1 1 50%;
  min-width: 0;
}

/* FAQ List */
.faq__list {
  display: flex;
  flex-direction: column;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  cursor: pointer;
  color: var(--color-text-main);
  transition: color var(--transition-speed) ease;
}

.faq__question h3 {
  font-size: 1.05rem;
  font-weight: 500;
}

.faq__item.is-open .faq__question {
  color: var(--color-primary);
}

.faq__toggle-btn {
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-speed) ease;
}

.faq__item.is-open .faq__toggle-btn {
  color: var(--color-primary);
}

.faq__answer-wrapper {
  overflow: hidden;
  max-height: 0; /* 默认收起；展开时由 main.js initHomeFaq 写入内联 maxHeight(300px)，内联样式优先级更高不受影响 */
  transition: max-height 0.4s ease;
}

.faq__answer {
  padding-bottom: 24px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq__details-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 12px;
  transition: color var(--transition-speed) ease;
}

.faq__details-link:hover {
  color: var(--color-primary-hover);
  text-decoration: underline;
}

/* News List */
.news__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  display: flex;
  gap: 20px;
  background: var(--color-bg-white);
  padding: 0;
  border-radius: 8px;
  transition: transform var(--transition-speed) ease;
}

.news-card:hover {
  transform: translateX(8px);
}

.news-card__date {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.date-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.date-year {
  font-size: 0.8rem;
  opacity: 0.8;
}

.news-card__image-wrapper {
  flex-shrink: 0;
  width: 140px;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
}

.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__image {
  transform: scale(1.05);
}

.news-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .faq-news__layout {
    flex-direction: column;
    gap: 60px;
  }
}

@media (max-width: 600px) {
  .news-card {
    flex-direction: column;
  }
  .news-card__date {
    width: 60px;
    height: 60px;
    flex-direction: row;
    gap: 8px;
  }
  .date-day {
    font-size: 1.4rem;
    margin-bottom: 0;
  }
  .news-card__image-wrapper {
    width: 100%;
    height: 180px;
  }
}

/* ===== styles/Footer.css ===== */
.footer {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 80px 0 20px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.footer__col--brand {
  flex: 0 0 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer__logo svg {
  width: 32px;
  height: 32px;
}

.footer__logo-text h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.footer__logo-text span {
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.footer__desc {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 24px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer__col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer__col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 20px;
  height: 2px;
  background-color: var(--color-bg-white);
}

.footer__col--links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col--links a {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity var(--transition-speed) ease;
}

.footer__col--links a:hover {
  opacity: 1;
}

.qr__container {
  display: flex;
  gap: 24px;
}

.qr__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr__item img {
  width: 100px;
  height: 100px;
  border-radius: 4px;
  background: white;
  padding: 4px;
}

.qr__item span {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* CMS 适配段：footer 联系方式栏目（最右列，含二维码） */
.footer__col--qr .footer__contact { margin-bottom: 20px; }

.footer__bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom p {
  font-size: 0.8rem;
  opacity: 0.6;
}

@media (max-width: 1024px) {
  .footer__top {
    gap: 32px 60px;
  }
}

@media (max-width: 768px) {
  .footer__top {
    flex-direction: column;
    gap: 40px;
  }
  .footer__col--brand {
    flex: 1 1 auto;
  }
  .qr__container {
    justify-content: flex-start;
  }
}

/* ===== styles/SearchModal.css ===== */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 36, 68, 0.85); /* Dark navy semi-transparent */
  backdrop-filter: blur(4px);
  animation: fadeInModal 0.3s ease forwards;
}

.search-modal__content {
  position: relative;
  z-index: 10000;
  width: 90%;
  max-width: 800px;
  animation: slideDownModal 0.4s ease forwards;
}

.search-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  color: var(--color-bg-white);
  opacity: 0.7;
  transition: opacity var(--transition-speed) ease;
}

.search-modal__close:hover {
  opacity: 1;
}

.search-modal__input-group {
  display: flex;
  align-items: center;
  background: var(--color-bg-white);
  padding: 10px 10px 10px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.search-modal__icon {
  color: var(--color-text-muted);
  margin-right: 16px;
}

.search-modal__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.5rem;
  padding: 16px 0;
  color: var(--color-text-main);
}

.search-modal__input::placeholder {
  color: var(--color-text-light);
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDownModal {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .search-modal__input {
    font-size: 1.2rem;
  }
  .search-modal__input-group {
    padding: 8px 8px 8px 16px;
  }
}

/* ===== styles/PageBanner.css ===== */
.page-banner {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.page-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 36, 68, 0.8), rgba(15, 36, 68, 0.4));
  z-index: 1;
}

.page-banner__container {
  position: relative;
  z-index: 2;
  color: var(--color-bg-white);
}

.page-banner__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-banner__subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
}

@media (max-width: 768px) {
  .page-banner {
    height: 200px;
  }
  .page-banner__title {
    font-size: 2rem;
  }
}

/* ===== styles/InnerPage.css ===== */
.inner-page {
  background-color: var(--color-bg-white);
  padding-bottom: 80px;
}

.inner-page__container {
  padding-top: 60px;
}

.inner-page__content {
  background: var(--color-bg-white);
  min-height: 400px;
  padding-top: 20px;
}

.app-card-inner {
  position: relative;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

.app-card-inner__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.app-card-inner:hover .app-card-inner__image {
  transform: scale(1.05);
}

.app-card-inner__content {
  padding: 24px;
}

.app-card-inner__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.app-card-inner__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
}

.category-btn {
  padding: 8px 24px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background-color: var(--color-bg-white);
  color: var(--color-text-main);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
}

.category-btn:hover,
.category-btn.is-active {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-color: var(--color-primary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
}

.page-item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background-color: var(--color-bg-white);
  color: var(--color-text-main);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
}

.page-item:hover:not(.disabled),
.page-item.is-active {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  border-color: var(--color-primary);
}

.page-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: var(--color-secondary);
}

.inner-page__heading {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.inner-page__heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--color-primary);
}

.inner-page__subheading {
  font-size: 1.3rem;
  color: var(--color-text-main);
  margin: 32px 0 16px;
}

/* About Layout */
.about__layout {
  display: flex;
  gap: 60px;
}

.about__text {
  flex: 1 1 50%;
}

.about__text p {
  margin-bottom: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.about__image {
  flex: 1 1 50%;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.about__list-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Timeline (About Us) */
.timeline {
  position: relative;
  padding-left: 30px;
  margin-top: 40px;
  border-left: 2px solid var(--color-border);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-bg-white);
  box-shadow: 0 0 0 2px var(--color-border);
}

.timeline-year {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1;
}

.timeline-content h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Honors Grid (About Us) */
.honors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.honor-card {
  border: 1px solid var(--color-border);
  padding: 32px 20px;
  border-radius: 8px;
  text-align: center;
  background-color: var(--color-bg-white);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.honor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

/* News List Page */
.news-page__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-list-item {
  display: flex;
  gap: 24px;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition-speed) ease;
}

.news-list-item:hover {
  box-shadow: var(--shadow-md);
}

.news-list-item__image {
  flex: 0 0 280px;
  overflow: hidden;
}

.news-list-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-list-item:hover .news-list-item__image img {
  transform: scale(1.05);
}

.news-list-item__content {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-list-item__category {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.news-list-item__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 12px;
  transition: color var(--transition-speed) ease;
}

.news-list-item__title:hover {
  color: var(--color-primary);
}

.news-list-item__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.news-list-item__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.news-list-item__date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Product Detail */
.product-detail {
  display: flex;
  gap: 40px;
}

.product-detail__gallery {
  flex: 1 1 50%;
}

.product-detail__gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.product-detail__info {
  flex: 1 1 50%;
}

.product-detail__specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.product-detail__specs th, 
.product-detail__specs td {
  border: 1px solid var(--color-border);
  padding: 16px;
  text-align: left;
  font-size: 0.95rem;
}

.product-detail__specs th {
  background: var(--color-secondary);
  width: 30%;
  font-weight: 600;
  color: var(--color-text-main);
}

.product-detail__specs td {
  color: var(--color-text-muted);
}

/* Contact Page */
.contact-layout {
  display: flex;
  gap: 60px;
}

.contact-info {
  flex: 1 1 40%;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  margin-top: 4px;
}

.contact-info-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-form-container {
  flex: 1 1 60%;
  background: var(--color-bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition-speed) ease;
  background-color: #fafafa;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-bg-white);
}

.btn-submit {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-submit:hover {
  background: var(--color-primary-hover);
}

/* FAQ Details & Modal */
.faq__details-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  background-color: var(--color-secondary);
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  margin-top: 14px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.faq__details-btn:hover {
  background-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.25);
}

.faq-modal__overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.faq-modal__dialog {
  background: var(--color-bg-white);
  border-radius: 12px;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.faq-modal__header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.faq-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.4;
}

.faq-modal__close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 4px;
  transition: background var(--transition-speed) ease, color var(--transition-speed) ease;
}

.faq-modal__close:hover {
  background: var(--color-secondary);
  color: var(--color-text-main);
}

.faq-modal__body {
  padding: 24px 28px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-modal__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-secondary);
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.faq-modal__details-section {
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 16px 0;
}

.faq-modal__details-section h4 {
  color: var(--color-text-main);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-modal__footer {
  padding: 16px 28px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 992px) {
  .about__layout,
  .product-detail,
  .contact-layout {
    flex-direction: column;
  }
  
  .news-list-item {
    flex-direction: column;
  }
  
  .news-list-item__image {
    flex: 0 0 200px;
  }
  
  .news-list-item__content {
    padding: 20px;
  }
  
  .contact-form-container {
    padding: 24px;
  }
}

/* ===== static-bridge append ===== */
/* 搜索模态：默认隐藏，is-open 显示 */
.search-modal { display: none; }
.search-modal.is-open { display: flex; }

/* FAQ 详情模态：默认隐藏，is-open 显示 */
.faq-modal__overlay { display: none; }
.faq-modal__overlay.is-open { display: flex; }

/* 桌面语言下拉：hover 展开替代 React 状态 */
.header__lang .header__lang-dropdown { display: none; }
.header__lang:hover .header__lang-dropdown { display: block; }

/* 移动端语言列表：is-open 显示 */
.mobile-nav__lang-list { display: none; }
.mobile-nav__item--lang.is-open .mobile-nav__lang-list { display: block; }

/* 桌面导航当前页高亮 */
.nav__link.is-active { color: var(--color-primary); }
.nav__link.is-active::after { width: 100%; }

/* hero 轮播进度点按钮样式继承 */
.hero__dot i { display: none; }

/* ========================================
   404 Error Page Styles
   ======================================== */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.error-404__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}

.error-404__wave {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
}

.error-404__wave:nth-child(1) {
  animation: wave 8s ease-in-out infinite;
}

.error-404__wave:nth-child(2) {
  animation: wave 10s ease-in-out infinite reverse;
}

@keyframes wave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-50px); }
}

.error-404__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
}

.error-404__number {
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.1;
  margin-bottom: -60px;
}

.error-404__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.error-404__text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-404__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .error-404__number {
    font-size: 120px;
    margin-bottom: -40px;
  }
  
  .error-404__title {
    font-size: 2rem;
  }
  
  .error-404__text {
    font-size: 1rem;
  }
}

/* ========================================
   Search Page Styles
   ======================================== */
.search-page {
  padding: 60px 0;
}

.search-page__form-wrapper {
  margin-bottom: 60px;
}

.search-form {
  max-width: 800px;
  margin: 0 auto;
}

.search-form__group {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 2px solid var(--color-border);
  border-radius: 50px;
  padding: 8px 8px 8px 24px;
  transition: all var(--transition-speed);
}

.search-form__group:focus-within {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.search-form__icon {
  color: var(--color-text-muted);
  margin-right: 12px;
  font-size: 20px;
}

.search-form__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.1rem;
  padding: 12px 16px;
  background: transparent;
}

.search-form__btn {
  border-radius: 40px;
  padding: 12px 32px;
  white-space: nowrap;
}

.search-results {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  margin-top: 40px;
}

.search-results__header {
  margin-bottom: 32px;
}

.search-results__title {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.search-results__count {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.search-results__count strong {
  color: var(--color-primary);
  font-weight: 600;
}

.search-results__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.search-result-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
  transition: all var(--transition-speed);
}

.search-result-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.search-result-item__title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.search-result-item__title a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.search-result-item__title a:hover {
  color: var(--color-primary-hover);
}

.search-result-item__desc {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.search-result-item__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.search-result-item__link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  margin-left: auto;
}

.search-result-item__link:hover {
  text-decoration: underline;
}

.search-results__empty {
  text-align: center;
  padding: 80px 20px;
}

.search-results__empty-icon {
  color: var(--color-text-light);
  margin-bottom: 24px;
  opacity: 0.3;
}

.search-results__empty-title {
  font-size: 1.5rem;
  color: var(--color-text-main);
  margin-bottom: 12px;
}

.search-results__empty-text {
  color: var(--color-text-muted);
}

.search-results__pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* Search Sidebar */
.search-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.search-sidebar-widget {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

.search-sidebar-widget__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-secondary);
}

.hot-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hot-keywords__tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-secondary);
  color: var(--color-text-main);
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-speed);
}

.hot-keywords__tag:hover {
  background: var(--color-primary);
  color: #fff;
}

.search-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-sidebar-list__item {
  color: var(--color-text-main);
  text-decoration: none;
  padding: 8px 0;
  display: flex;
  align-items: center;
  transition: color var(--transition-speed);
}

.search-sidebar-list__item:hover {
  color: var(--color-primary);
}

@media (max-width: 968px) {
  .search-results {
    grid-template-columns: 1fr;
  }
  
  .search-page__sidebar {
    order: -1;
  }
}

@media (max-width: 640px) {
  .search-form__group {
    flex-wrap: wrap;
    border-radius: 16px;
    padding: 12px;
  }
  
  .search-form__input {
    width: 100%;
    margin-bottom: 8px;
  }
  
  .search-form__btn {
    width: 100%;
    border-radius: 12px;
  }
}

/* ========================================
   Page Header (Top) Styles
   ======================================== */
.page-header {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
  color: #fff;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.4;
}

.page-header__content {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumbs__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-speed);
}

.breadcrumbs__link:hover {
  color: #fff;
}

.page-header__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

@media (max-width: 768px) {
  .page-header {
    padding: 60px 0 40px;
  }
  
  .page-header__title {
    font-size: 1.8rem;
  }
  
  .page-header__subtitle {
    font-size: 1rem;
  }
}

/* ========================================
   Footer Friends Links
   ======================================== */
.footer__friends {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.footer__friends-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer__friends-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer__friends-list a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-speed);
}

.footer__friends-list a:hover {
  color: #fff;
}

/* ========================================
   Pagination Styles
   ======================================== */
.pagination-wrapper {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-speed);
}

.pagination a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-secondary);
}

.pagination .current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ==========================================
   多级分类：二级按钮行（追加）
   ========================================== */
a.category-btn {
  text-decoration: none;
}
.category-subfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: -20px 0 40px;
}
.category-btn--sub {
  padding: 6px 18px;
  font-size: 0.9rem;
  border-radius: 16px;
}

/* ==========================================
   分页兼容（{$pages} 实际输出：ul.pagination > li > a）
   ========================================== */
ul.pagination {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination li a,
.pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background-color: var(--color-bg-white);
  color: var(--color-text-main);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.pagination li a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.pagination li.active > a {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-bg-white);
}
.pagination li.disabled > a {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ========================================
   Responsive Utilities
   ======================================== */
@media (max-width: 968px) {
  .footer__friends-list {
    justify-content: center;
  }
  
  .footer__friends {
    text-align: center;
  }
}
  
/* Page Header Overlay */  
.page-header__overlay {  
  position: absolute;  
  top: 0;  
  left: 0;  
  right: 0;  
  bottom: 0;  
  background: rgba(15, 36, 68, 0.7);  
  z-index: 1;  
}  
  
/* ==========================================  
   Simplified Hero Slider Styles  
   ========================================== */ 

/* ==========================================
   Simplified Hero Slider Styles
   ========================================== */

/* Hero Container */
.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #000;
}

/* Hero Slides */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Hero Background Image */
.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Overlay */
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

/* Hero Content Wrapper */
.hero-content-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

/* Hero Content */
.hero-content {
  color: #fff;
  max-width: 800px;
}

.hero-pretitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  font-weight: 600;
  opacity: 0.9;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0.95;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Slider Navigation Arrows */
.slider-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 20px;
}

.slider-arrow {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.slider-arrow:active {
  transform: scale(0.95);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s ease;
}

.slider-dot.active {
  background: #fff;
  width: 40px;
  border-radius: 6px;
  border-color: #fff;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Fade Up Animations */
.fade-up {
  animation: fadeUp 0.8s ease-out backwards;
}

.delay-0 { animation-delay: 0.2s; }
.delay-1 { animation-delay: 0.4s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.8s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero {
    height: 80vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-desc {
    font-size: 1.1rem;
  }

  .slider-nav {
    bottom: 30px;
  }

  .slider-dots {
    bottom: 30px;
    right: 30px;
  }

  .slider-arrow {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 640px) {
  .hero {
    height: 70vh;
    min-height: 450px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .hero-pretitle {
    font-size: 0.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons a {
    width: 100%;
    justify-content: center;
  }

  .slider-nav {
    bottom: 20px;
    gap: 15px;
  }

  .slider-dots {
    bottom: 20px;
    right: 20px;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  .slider-dot.active {
    width: 30px;
  }
}

/* ==========================================
   CMS 适配段（xr0088 模板套件专用）
   logo 限高 / 幻灯片桥接 / 分页间距 / 内页最小补充
   ========================================== */

/* 一、Logo 图片限高（header 高 80px；本套移动端菜单内无 logo，无需处理） */
.header__logo a img { height: 44px; width: auto; object-fit: contain; }
.footer__logo a img { height: 40px; width: auto; object-fit: contain; }

/* 二、首页幻灯片：main.js initHeroSlider 切换 .hero__slide / .hero__dot 的 is-active，
   模板已统一为该标记；这里补两件事：
   1) 非激活 slide 禁止点击穿透（系统一只有 opacity，无 visibility）；
   2) 文字 fade-up 动效仅在 slide 激活时重播 */
.hero__slide { pointer-events: none; }
.hero__slide.is-active { pointer-events: auto; }
.hero__slide .fade-up { animation: none; }
.hero__slide.is-active .fade-up { animation: fadeUp 0.8s ease-out backwards; }

/* 3) 进度点右置：.hero__pagination（系统一）默认居中 bottom 40px，与 .slider-nav（系统二，居中 bottom 40px z-index 10）完全重叠；对齐原版 .slider-dots 位置（右下角），并随断点同步偏移 */
.hero__pagination { left: auto; right: 40px; transform: none; }
@media (max-width: 968px) {
  .hero__pagination { right: 30px; bottom: 30px; }
}
@media (max-width: 640px) {
  .hero__pagination { right: 20px; bottom: 20px; }
}

/* 三、CMS 分页 {$pages} 实际输出 ul.pagination > li > a；
   本套 CSS 已有 .pagination li a / li.active > a 按钮样式映射，
   但 ul.pagination 的 margin 被重置为 0，这里补回间距 */
ul.pagination { margin: 60px auto 60px; }

/* 四、内页 banner（top.html）：缩略图由模板以内联 background-image 输出，这里补尺寸约束与面包屑分隔间距 */
.page-header { background-size: cover; background-position: center; }
.breadcrumbs__separator { margin: 0 10px; opacity: 0.6; }

/* 五、全站搜索页：无样式的侧栏已按 CMS 需求移除，结果区由两栏改单列 */
.search-results { grid-template-columns: 1fr; }

/* 六、详情页正文最小补充（news-detail / show 复用，取值全部来自本套 CSS 变量） */
.news-detail__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 24px; color: var(--color-text-muted); font-size: 0.9rem; }
.news-detail__meta i { margin-right: 4px; color: var(--color-primary); }
.news-detail__content,
.product-detail__content { line-height: 1.8; color: var(--color-text-main); }
.news-detail__content img,
.product-detail__content img { border-radius: 8px; margin: 16px 0; }
.news-detail__content h3,
.product-detail__content h3 { margin: 24px 0 12px; color: var(--color-primary); font-size: 1.2rem; }
.news-detail__nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 40px;margin-bottom: 40px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.news-detail__nav-link { font-size: 0.9rem; color: var(--color-text-muted); max-width: 38%; }
.news-detail__nav-link:hover { color: var(--color-primary); }

/* 七、产品详情信息区补充（show.html / product-detail.html 共用词汇，非新体系） */
.product-detail__cat { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--color-primary); background-color: var(--color-secondary); padding: 4px 12px; border-radius: 12px; margin-bottom: 12px; }
.product-detail__title { font-size: 1.8rem; font-weight: 700; color: var(--color-text-main); margin-bottom: 12px; }
.product-detail__desc { color: var(--color-text-muted); margin-bottom: 20px; }
.product-detail__meta { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 20px 0; }
.meta-label { display: block; font-size: 0.8rem; color: var(--color-text-light); margin-bottom: 4px; }
.meta-value { color: var(--color-text-main); font-weight: 600; }
.product-detail__actions { margin-top: 8px; }
