/* ==== index.css ==== */
:root {
  /* Colors */
  --color-primary: #1F3F5E;
  --color-primary-light: #2E5C8A;
  --color-accent: #43A047; /* The green from logo */
  --color-text-main: #1F2937;
  --color-text-light: #6B7280;
  --color-bg-body: #FFFFFF;
  --color-bg-alt: #F3F4F6;
  --color-border: #E5E7EB;
  --color-white: #FFFFFF;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 80px;

  /* Fonts */
  --font-family-main: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

body {
  font-family: var(--font-family-main);
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul {
  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;
}

/* Utilities */
.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Search Modal Overlay */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  backdrop-filter: blur(4px);
}
.search-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.search-modal__content {
  position: relative;
  background: var(--color-white);
  padding: 40px 30px 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transform: translateY(-20px);
  transition: transform 0.3s;
}
.search-modal.is-open .search-modal__content {
  transform: translateY(0);
}
.search-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--color-text-main);
  cursor: pointer;
}
.search-modal__form {
  display: flex;
  width: 100%;
}
.search-modal__input {
  flex: 1;
  width: 100%;
  padding: 15px 20px;
  border: 1px solid var(--color-border);
  border-radius: 4px 0 0 4px;
  font-size: 16px;
  outline: none;
}
.search-modal__input:focus {
  border-color: var(--color-primary);
}
.search-modal__btn {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0 30px;
  border-radius: 0 4px 4px 0;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s;
}
.search-modal__btn:hover {
  background: var(--color-primary-light);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}
.header.is-scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__logo img {
  height: 40px;
}
.header__logo-text {
  display: flex;
  flex-direction: column;
}
.header__logo-text strong {
  font-size: 20px;
  color: var(--color-primary);
  line-height: 1.2;
}
.header__logo-text span {
  font-size: 10px;
  color: var(--color-text-light);
  letter-spacing: 1px;
}

/* Desktop Nav */
.nav__list {
  display: flex;
  gap: 40px;
  height: 100%;
}
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-main);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--color-primary);
}
.nav__link.is-active {
  position: relative;
}
.nav__link.is-active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}
.nav__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}
.nav__item:hover .nav__link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.nav__item:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--color-text-main);
  transition: background 0.3s, color 0.3s;
}
.nav__dropdown a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__icon-btn {
  color: var(--color-text-main);
  transition: color 0.3s;
  display: flex;
  align-items: center;
}
.header__icon-btn:hover {
  color: var(--color-primary);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}
.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-main);
}
.lang-switcher__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background: var(--color-white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
}
.lang-switcher:hover .lang-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switcher__dropdown a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
  text-align: left;
}
.lang-switcher__dropdown a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-main);
  cursor: pointer;
}

@media (max-width: 991px) {
  .nav__list { display: none; }
  .lang-text, .lang-icon-down { display: none; }
  .mobile-menu-btn { display: block; }
  .header__actions { gap: 15px; }
  .lang-switcher__dropdown { right: -50px; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--color-white);
  z-index: 99;
  overflow-y: auto;
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}
.mobile-menu.is-open {
  transform: translateX(0);
}
.mobile-menu__item {
  border-bottom: 1px solid var(--color-border);
}
.mobile-menu__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-main);
}
.mobile-menu__link.is-active {
  color: var(--color-primary);
  font-weight: 700;
}
.mobile-menu__sublist {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  background: var(--color-bg-alt);
  margin: 0 -20px;
  padding: 0 40px;
}
.mobile-menu__item.is-expanded .mobile-menu__sublist {
  max-height: 200px;
}
.mobile-menu__sublist a {
  display: block;
  padding: 12px 0;
  font-size: 14px;
  color: var(--color-text-light);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  background-color: var(--color-bg-alt);
  display: flex;
  align-items: center;
  margin-top: var(--header-height);
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}
.hero__slide.is-active {
  opacity: 1;
  z-index: 2;
}
.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.hero__dot.is-active {
  background: var(--color-primary);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero__tagline {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--color-text-light);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero__title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.hero__subtitle {
  font-size: 20px;
  color: var(--color-text-main);
  margin-bottom: 40px;
}
.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.hero__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}
.hero__feature svg {
  color: var(--color-accent);
}
.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s;
}
.hero__btn:hover {
  background: var(--color-primary-light);
}

/* Common Section */
.section {
  padding: 100px 0;
  overflow: hidden;
}
.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}
.section__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-main);
  position: relative;
}
.section__title-en {
  font-size: 48px;
  font-weight: 800;
  color: var(--color-bg-alt);
  position: absolute;
  top: -20px;
  left: 0;
  z-index: -1;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.section__link {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-main);
  transition: color 0.3s;
}
.section__link:hover {
  color: var(--color-primary);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.product-card {
  background: var(--color-bg-alt);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
}
.product-card__image {
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}
.product-card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.product-card__desc {
  color: var(--color-text-light);
  margin-bottom: 24px;
  font-size: 15px;
}
.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.product-card__tag {
  background: var(--color-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--color-text-main);
}
.product-card__icon-btn {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: background 0.3s, color 0.3s;
}
.product-card:hover .product-card__icon-btn {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Applications */
.app-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}
.app-card {
  position: relative;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: var(--color-white);
  transition: transform 0.3s;
}
.app-card:hover {
  transform: translateY(-5px);
}
.app-card__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.app-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(31, 63, 94, 0.7);
  z-index: 2;
  transition: background 0.3s;
}
.app-card:hover .app-card__overlay {
  background: rgba(31, 63, 94, 0.5);
}
.app-card__content {
  position: relative;
  z-index: 3;
}
.app-card__icon {
  margin-bottom: 15px;
}
.app-card__title {
  font-size: 15px;
  font-weight: 500;
}

/* About Section */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__image-wrap {
  border-radius: 12px;
  overflow: hidden;
}
.about__image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.about__content {
  padding-right: 40px;
}
.about__subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.about__subtitle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
}
.about__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 20px;
}
.about__desc {
  color: var(--color-text-light);
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.6;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}
.about__stat-item {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 15px;
}
.about__stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--color-border);
}
.about__stat-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.about__stat-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.about__stat-desc {
  font-size: 13px;
  color: var(--color-text-light);
}
.about__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}
.about__btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.news-card__image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-card__image {
  transform: scale(1.05);
}
.news-card__date {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--color-white);
  padding: 8px 12px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.news-card__date-year { font-size: 12px; color: var(--color-text-light); }
.news-card__date-day { font-size: 16px; font-weight: 700; color: var(--color-primary); }
.news-card__content {
  padding: 25px;
}
.news-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}
.news-card__desc {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 20px;
  line-height: 1.5;
}
.news-card__link {
  display: flex;
  justify-content: flex-end;
  color: var(--color-primary);
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.5fr;
  gap: 30px;
  margin-bottom: 60px;
}
.footer__logo-area img {
  height: 40px;
  margin-bottom: 20px;
}
.footer__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  line-height: 1.6;
}
.footer__contact {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}
.footer__contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer__links li {
  margin-bottom: 12px;
}
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
.footer__links a:hover {
  color: var(--color-white);
}
.footer__qrs {
  display: flex;
  gap: 20px;
}
.footer__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer__qr img {
  width: 100px;
  height: 100px;
  background: var(--color-white);
  padding: 5px;
  border-radius: 4px;
}
.footer__qr span {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer__friendly-links {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer__friendly-links a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.footer__friendly-links a:hover {
  color: var(--color-white);
}

/* --- Micro-Interactions (Click / Active Feedback) --- */
/* Base transitions upgraded to support smooth transform/shadow interpolation */
.hero__btn,
.search-modal__btn,
.about__btn,
.product-card__icon-btn,
.header__icon-btn,
.mobile-menu-btn,
.search-modal__close {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Snappy press effect for primary action buttons */
.hero__btn:active,
.search-modal__btn:active,
.about__btn:active {
  transform: scale(0.96);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

/* Slightly deeper squish for icon-only buttons */
.product-card__icon-btn:active,
.header__icon-btn:active,
.mobile-menu-btn:active,
.search-modal__close:active {
  transform: scale(0.85);
  transition: all 0.1s ease;
}

/* Snappy press effect for interactive cards */
.product-card:active,
.app-card:active,
.news-card:active {
  transform: scale(0.98);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.1s ease;
}

/* --- Internal Pages --- */
.page-banner {
  position: relative;
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px; /* Header height */
}
.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 30, 46, 0.75); /* Darker overlay for better text contrast */
}
.page-banner .container {
  text-align: center;
}
.page-banner__title {
  color: var(--color-white);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}
.page-banner__subtitle {
  color: var(--color-accent);
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* --- Category Filter & Pagination --- */
.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}
.category-filter__btn {
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: 30px;
  background: var(--color-white);
  color: var(--color-text-main);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.category-filter__btn.is-active,
.category-filter__btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.category-filter__btn:active {
  transform: scale(0.95);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}
.pagination__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
  color: var(--color-text-main);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.pagination__btn.is-active,
.pagination__btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.pagination__btn:active {
  transform: scale(0.9);
}

/* --- Products Page Detailed --- */
.products-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* --- Applications Page Detailed --- */
.app-detailed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.app-detailed-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.app-detailed-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.app-detailed-card__img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}
.app-detailed-card__content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.app-detailed-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-detailed-card__desc {
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 20px;
}
.app-detailed-card__features {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.app-detailed-card__feature {
  background: var(--color-bg-alt);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- About Page Detailed --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.about-intro__content h2 {
  font-size: 36px;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 700;
}
.about-intro__content p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}
.about-intro__img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.about-culture {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 100px;
}
.culture-card {
  background: var(--color-bg-alt);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}
.culture-card:hover {
  transform: translateY(-5px);
}
.culture-card__icon {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.culture-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}
.culture-card__desc {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.6;
}
.about-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  position: relative;
}
.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}
.timeline-item__content {
  width: 45%;
  background: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
}
.timeline-item:nth-child(odd) .timeline-item__content::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 0 10px 10px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-white);
}
.timeline-item:nth-child(even) .timeline-item__content::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent var(--color-white) transparent transparent;
}
.timeline-item__year {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-primary);
  color: var(--color-white);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  border: 5px solid var(--color-bg-body);
  z-index: 2;
}

/* --- Contact Page Refined --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}
.contact-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-info-card {
  background: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.contact-info-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-info-card__content h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--color-text-main);
}
.contact-info-card__content p {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.5;
}
.contact-form-container {
  background: var(--color-white);
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.contact-form-group {
  margin-bottom: 20px;
}
.contact-form-container input,
.contact-form-container textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-alt);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.3s;
}
.contact-form-container input:focus,
.contact-form-container textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(31, 63, 94, 0.1);
}
.contact-form-container textarea {
  min-height: 160px;
  resize: vertical;
}

/* Map Placeholder */
.contact-map {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  margin-top: 30px;
  object-fit: cover;
}

.relative { position: relative; }
.z-10 { z-index: 10; }


/* Details Pages Styles */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.product-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-detail__img-main {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.product-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.product-detail__thumbs img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.product-detail__thumbs img:hover,
.product-detail__thumbs img.is-active {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.product-detail__info {
  display: flex;
  flex-direction: column;
}
.product-detail__desc {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 16px;
}
.product-detail__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--color-bg-alt);
  border-radius: 12px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-main);
}
.highlight-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}
.product-detail__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.outline-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.outline-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

.product-extended-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}
.product-section-title {
  font-size: 24px;
  color: var(--color-text-main);
  margin-bottom: 24px;
  font-weight: 600;
}
.product-advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.advantage-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}
.advantage-card:hover {
  transform: translateY(-5px);
}
.advantage-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(14, 116, 144, 0.1);
  color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.advantage-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--color-text-main);
}
.advantage-card p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.product-extended__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-widget {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.sidebar-widget--accent {
  background: var(--color-primary);
  color: white;
}
.sidebar-widget__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text-main);
}
.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 15px;
}
.sidebar-list li:last-child {
  border-bottom: none;
}
.sidebar-list li svg {
  color: var(--color-accent);
}
.product-detail__title {
  font-size: 32px;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.product-detail__specs {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.product-detail__specs th, .product-detail__specs td {
  border: 1px solid var(--color-border);
  padding: 12px 16px;
  text-align: left;
  font-size: 15px;
}
.product-detail__specs th {
  background: var(--color-bg-alt);
  width: 30%;
  font-weight: 600;
  color: var(--color-text-main);
}
.product-detail__specs td {
  color: var(--color-text-light);
}

.news-detail {
  margin: 0 auto;
}
.news-detail__title {
  font-size: 36px;
  color: var(--color-text-main);
  margin-bottom: 24px;
  line-height: 1.4;
  font-weight: 700;
}
.news-detail__meta {
  display: flex;
  gap: 24px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 500;
}
.news-detail__hero {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}
.news-detail__content p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.news-detail__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}
.news-detail__nav-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 45%;
  text-decoration: none;
  transition: transform 0.3s ease;
}
.news-detail__nav-link.next {
  align-items: flex-end;
  text-align: right;
}
.news-detail__nav-link .nav-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-light);
  transition: color 0.3s;
}
.news-detail__nav-link .nav-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.5;
  transition: color 0.3s;
}
.news-detail__nav-link:hover .nav-label,
.news-detail__nav-link:hover .nav-title {
  color: var(--color-primary);
}
.news-detail__nav-link:active {
  transform: scale(0.98);
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
@media (max-width: 991px) {
  .hero__title { font-size: 40px; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__content { padding-right: 0; }
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .about__stat-item { padding-right: 0; }
  .about__stat-item::after { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .products-page__grid { grid-template-columns: repeat(2, 1fr); }
  .app-detailed-grid { grid-template-columns: 1fr; }
  .about-intro, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-culture { grid-template-columns: 1fr; }
  .timeline-item { flex-direction: column !important; align-items: flex-start; padding-left: 50px; margin-bottom: 30px; }
  .about-timeline::before { left: 20px; }
  .timeline-item__year { left: 20px; width: 50px; height: 50px; font-size: 14px; }
  .timeline-item__content { width: 100%; }
  .timeline-item:nth-child(odd) .timeline-item__content::after,
  .timeline-item:nth-child(even) .timeline-item__content::after {
    left: -10px; right: auto; border-width: 10px 10px 10px 0; border-color: transparent var(--color-white) transparent transparent;
  }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-banner { height: 250px; margin-top: 60px; }
  .page-banner__title { font-size: 32px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-extended-layout { grid-template-columns: 1fr; gap: 40px; }
  .product-detail__highlights { grid-template-columns: 1fr; }
  .product-advantages-grid { grid-template-columns: 1fr; }
  .news-detail__title { font-size: 28px; }
  .product-detail__title { font-size: 26px; }
}
@media (max-width: 768px) {
  .products-page__grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section__header { flex-direction: column; align-items: flex-start; gap: 15px; }
  
  .news-detail__nav {
    flex-direction: column;
    gap: 20px;
  }
  .news-detail__nav-link {
    max-width: 100%;
  }
  .news-detail__nav-link.next {
    align-items: flex-start;
    text-align: left;
  }
  .news-detail__nav-link.next .nav-label {
    flex-direction: row-reverse;
  }
}
@media (max-width: 576px) {
  .hero__title { font-size: 32px; }
  .app-grid { grid-template-columns: 1fr; }
  .hero__features { flex-direction: column; align-items: flex-start; }
}
/* ==== xr82 追加段：lucide size → FA font-size 映射 ==== */
.header__logo .fa-shield-halved { font-size: 32px; color: var(--color-accent); }
.nav__link .fa-chevron-down { font-size: 14px; }
.nav__item:hover .nav__link .fa-chevron-down { transform: rotate(180deg); }
.header__icon-btn .fa-solid { font-size: 20px; }
.lang-switcher__btn .fa-globe { font-size: 20px; }
.lang-switcher__btn .fa-chevron-down { font-size: 14px; }
.mobile-menu-btn .fa-solid { font-size: 24px; }
.hero__feature .fa-solid { font-size: 16px; color: var(--color-accent); }
.hero__btn .fa-arrow-right { font-size: 18px; }
.section__link .fa-arrow-right { font-size: 16px; }
.product-card__icon-btn .fa-arrow-right { font-size: 24px; }
.app-card__icon .fa-solid { font-size: 24px; }
.about__stat-icon .fa-solid { font-size: 24px; }
.about__btn .fa-arrow-right { font-size: 16px; }
.news-card__link .fa-arrow-right { font-size: 24px; }
.footer__logo-area .fa-shield-halved { font-size: 40px; color: var(--color-accent); }
.footer__contact p .fa-solid { font-size: 16px; }
.highlight-item .fa-circle-check { font-size: 18px; }
.advantage-card__icon .fa-solid { font-size: 24px; }
.sidebar-list li .fa-circle-check { font-size: 16px; }
.app-detailed-card__title .fa-circle-check { font-size: 24px; }
.news-detail__meta .fa-solid { font-size: 16px; }
.news-detail__nav-link .fa-arrow-left,
.news-detail__nav-link .fa-arrow-right { font-size: 16px; }
.contact-info-card__icon .fa-solid { font-size: 24px; }
.culture-card__icon .fa-solid { font-size: 30px; }
.search-modal__close .fa-times { font-size: 24px; }

/* ==========================================
   CMS 适配段：logo 限高 / 幻灯片显隐与文字动效 / 分页结构映射 / 内页补充
   （xr0083 静态设计未覆盖的 CMS 输出结构，全部用套内 CSS 变量与样式值补齐）
   ========================================== */

/* 1. Logo 图片限高（header 原生已有 .header__logo img 规则，此处统一兜底；
      footer.html 使用 .footer__logo 类，原 CSS 只定义了 .footer__logo-area img，故补子选择器） */
.header__logo img { height: 40px; width: auto; object-fit: contain; }
.footer__logo img { height: 40px; width: auto; object-fit: contain; }

/* 2. Hero 幻灯片：CMS 版每个 slide 为容器 div（背景图 + 文案），配 main.js initHeroSlider 的 is-active 切换 */
.hero__slide { display: flex; align-items: center; }
.hero__slide > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__slide::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.1) 100%); z-index: 1; }
.hero__slide .container { position: relative; z-index: 2; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__btn--ghost { background: transparent; border: 1px solid rgba(31, 63, 94, 0.4); color: var(--color-primary); }
.hero__btn--ghost:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
/* 文字动效：激活 slide 内的文案逐条上浮 */
.hero__slide .hero__content > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: translateY(0); }
.hero__slide.is-active .hero__content > *:nth-child(2) { transition-delay: 0.15s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { transition-delay: 0.3s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { transition-delay: 0.45s; }

/* 3. 分页结构映射：CMS 输出 ul.pagination > li > a（含 li.active），
      样式值复制自套内 .pagination__btn 按钮 */
ul.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 60px; }
ul.pagination li { display: flex; }
ul.pagination li a {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: var(--color-white);
  color: var(--color-text-main);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}
ul.pagination li a:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
ul.pagination li.active a { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* 4. 内页 banner 面包屑（套内原设计无面包屑样式，用套内变量补最小样式） */
.page-banner__breadcrumbs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; color: rgba(255, 255, 255, 0.8); font-size: 15px; }
.page-banner__breadcrumbs a { color: rgba(255, 255, 255, 0.8); transition: color 0.3s; }
.page-banner__breadcrumbs a:hover { color: var(--color-white); }
.page-banner__breadcrumbs i { font-size: 12px; color: var(--color-accent); }

/* 5. 分类筛选导航（套内原生按钮样式值，另名实现以避免与 CMS 通用类名冲突） */
.cms-catnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 50px; }
.cms-catnav a { padding: 10px 24px; border: 1px solid var(--color-border); border-radius: 30px; background: var(--color-white); color: var(--color-text-main); font-size: 15px; font-weight: 500; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.cms-catnav a:hover, .cms-catnav a.active { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* 6. 详情正文排版（.news-detail__content 原生只定义了 p，补齐 CMS 富文本常用元素） */
.news-detail__content img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; }
.news-detail__content h3 { font-size: 20px; color: var(--color-primary); margin: 30px 0 15px; }
.news-detail__content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.news-detail__content table th, .news-detail__content table td { border: 1px solid var(--color-border); padding: 12px 16px; font-size: 15px; text-align: left; }
.news-detail__content table th { background: var(--color-bg-alt); font-weight: 600; }
.news-detail__content ul, .news-detail__content ol { padding-left: 20px; margin-bottom: 24px; color: var(--color-text-light); }

/* 7. 合作伙伴滚动（index.html 保留双份内容实现无缝滚动） */
.marquee-container { overflow: hidden; }
.marquee-content { display: flex; align-items: center; width: max-content; animation: partnerScroll 30s linear infinite; }
.partner-logo { margin-right: 60px; flex-shrink: 0; }
.partner-logo img { height: 64px; width: auto; object-fit: contain; opacity: 0.75; }
@keyframes partnerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 8. footer 固定结构映射（footer.html 为 CMS 固定写法，映射到套内 footer 设计栅格） */
.footer__main { display: grid; grid-template-columns: 1.6fr 2.6fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer__col-title { font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.footer__link-list li { margin-bottom: 12px; }
.footer__link-list a { font-size: 14px; color: rgba(255, 255, 255, 0.7); transition: color 0.3s; }
.footer__link-list a:hover { color: var(--color-white); }
.footer__contact-item { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-bottom: 8px; }
.footer__friends { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 10px;padding-bottom: 10px; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 15px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.footer__friends a { color: rgba(255, 255, 255, 0.6); transition: color 0.3s; }
.footer__friends a:hover { color: var(--color-white); }
.footer__bottom-links { display: flex; gap: 20px; }
@media (max-width: 991px) {
  .footer__main { grid-template-columns: 1fr; gap: 30px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================
   CMS 适配段：FAQ 手风琴（默认全收起，单开）
   ========================================== */
.faq-page-title { font-size: 32px; font-weight: 700; color: var(--color-text-main); text-align: center; margin-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; margin: 0 auto; }
.faq-item { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; transition: border-color .2s ease; }
.faq-item--active { border-color: var(--color-primary); }
.faq-item__header { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; background: none; border: 0; cursor: pointer; text-align: left; font-size: 16px; font-weight: 500; color: var(--color-text-main); font-family: inherit; }
.faq-item__icon { flex-shrink: 0; color: var(--color-text-light); transition: transform .2s ease; }
.faq-item--active .faq-item__icon { transform: rotate(45deg); color: var(--color-primary); }
.faq-item__content { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item--active .faq-item__content { max-height: 400px; }
.faq-item__text { padding: 0 20px; color: var(--color-text-light); font-size: 14px; line-height: 1.8; }
.faq-item__details-btn { display: inline-flex; align-items: center; gap: 6px; margin: 14px 20px 18px; font-size: 14px; font-weight: 500; color: var(--color-primary); }
.faq-item__details-btn:hover { color: var(--color-primary-light); text-decoration: underline; }

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

/* fix: card image / whole-card clickable links */
a.img-link { display: block; width: 100%; height: 100%; }
a.img-link > img { display: block; }
a.card-link { display: block; }

/* ==========================================
   友情链接独立内页（links.html）样式
   ========================================== */
.links-page { padding: 60px 0 100px; }
.links-page__title { font-size: 32px; font-weight: 700; color: var(--color-text-main); margin-bottom: 12px; }
.links-page__desc { font-size: 15px; color: var(--color-text-light); margin-bottom: 40px; }
.links-page__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.links-page__item { display: flex; align-items: center; justify-content: center; padding: 16px 20px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 8px; font-size: 15px; color: var(--color-text-main); text-decoration: none; transition: all 0.3s; }
.links-page__item:hover { border-color: var(--color-primary); color: var(--color-primary); }
.links-page__empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--color-text-light); font-size: 16px; }
/* footer "更多友情链接" 入口（继承友链区配色，深色底上保持可读） */
.footer__friends-more { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.footer__friends-more:hover { opacity: 0.75; }
