/**
 * zk Theme Components CSS
 * All component styles for the theme
 */

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;

  background-color: rgba(0, 0, 0, 0.05); /* 5% transparent - very light tint */
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
}

.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.15); /* 15% when scrolled - still mostly transparent */
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.site-main {
  position: relative;
  margin-top: var(--header-height);/* no header, otherwise the video can't full screen playing*/
  width: 100%;
  transition: all 0.3s ease;
  background: transparent;
}

/* Remove margin-top for home/front page */
.home .site-main,
.front-page .site-main {
  margin-top: 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.site-logo .logo-img,
.site-logo .custom-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.main-navigation {
  display: none;
}

@media (min-width: 1024px) {
  .main-navigation {
    display: block;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.chevron-icon {
  opacity: 0.6;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  will-change: backdrop-filter;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.menu-item-has-children:hover .dropdown-menu,
.mega-menu-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.sub-menu a:hover {
  color: var(--color-primary);
  background: var(--color-border);
}

/* Mega Menu Styles */
.dropdown-menu.mega-menu {
  width: 1050px;
  max-width: 95vw;
  left: 0;
  transform: translateY(10px);
  padding: 28px 32px;
  z-index: 1000;
  overflow: hidden;
}

.menu-item-has-children.mega-menu-item:hover > .dropdown-menu.mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-sections {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mega-menu-section {
  display: flex;
  flex-direction: column;
}

.mega-menu-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  position: relative;
}

.mega-menu-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(230, 0, 18, 0.5);
}

.section-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.mega-menu-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: stretch;
}

/* Allow solutions to wrap into multiple rows */
.mega-menu-section:nth-child(2) .mega-menu-grid {
  flex-wrap: wrap;
}

.mega-menu-grid > a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--color-bg-dark);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.mega-menu-grid > a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mega-menu-grid > a:hover {
  border-color: var(--color-primary);
  background: rgba(230, 0, 18, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.mega-menu-grid > a:hover::before {
  opacity: 1;
}

.mega-menu-thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.mega-menu-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mega-menu-grid > a:hover .mega-menu-thumb::after {
  opacity: 1;
}

.mega-menu-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 10;
  display: block;
}

.mega-menu-grid > a:hover .mega-menu-thumb img {
  transform: scale(1.1);
}

.mega-menu-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-gray);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  line-height: 1.4;
  white-space: nowrap;
}

.mega-menu-grid > a:hover .mega-menu-label {
  color: var(--color-primary);
}

@media (max-width: 1200px) {
  .dropdown-menu.mega-menu {
    min-width: 650px;
    padding: 24px 28px;
  }
  
  .mega-menu-sections {
    gap: 28px;
  }
  
  .mega-menu-thumb {
    width: 55px;
    height: 55px;
  }
  
  .mega-menu-label {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .dropdown-menu.mega-menu {
    min-width: 550px;
    max-width: 90vw;
    padding: 20px 24px;
  }
  
  .mega-menu-sections {
    gap: 24px;
  }
  
  .mega-menu-grid {
    gap: 10px;
  }
  
  .mega-menu-grid > a {
    padding: 8px 12px;
  }
  
  .mega-menu-thumb {
    width: 50px;
    height: 50px;
  }
  
  .mega-menu-label {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .dropdown-menu.mega-menu {
    min-width: 450px;
  }
  
  .mega-menu-grid {
    flex-direction: column;
  }
  
  .mega-menu-grid > a {
    width: 100%;
  }
}

.header-contact {
  display: none;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .header-contact {
    display: flex;
  }
}

.phone-icon {
  color: var(--color-primary);
}

.phone-number {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--color-text-white);
  transition: all 0.3s ease;
}

/* ==========================================================================
   BREADCRUMBS (Under Header)
   ========================================================================== */

.site-breadcrumbs {
  position: relative;
  z-index: 90;
  background-color: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  border-bottom: 1px solid var(--color-border);
  margin-top: var(--header-height);
  padding: 0;
}

.site-breadcrumbs .container {
  display: flex;
  justify-content: flex-start; /* align left */
  align-items: center;         /* align vertically */
  min-height: 36px;            /* compact height */
  padding: 0 12px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 8px;
  padding: 0;
  list-style: none;
  overflow: hidden;
  font-size: 14px;
}

.breadcrumb-item a {
  color: var(--color-text-white);
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.breadcrumb-item .current {
  color: var(--color-text-gray);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  max-width: 40vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

.separator {
  color: var(--color-text-gray);
  opacity: 0.6;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

/* When breadcrumbs present, remove extra top margin from main */
.site-breadcrumbs + .site-main {
  margin-top: 0;
}

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh);
  overflow: hidden;
  background: #000;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 10;
}

.slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.slider-arrow {

/* Fallback for browsers without backdrop-filter support: increase opacity for readability */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .dropdown-menu {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(0, 0, 0, 0.12);
  }
}
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: all 0.3s ease;
}

.hero-slider:hover .slider-arrow {
  opacity: 1;
}

    background: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
}

.slider-prev {
  left: 24px;
}

.slider-next {
  right: 24px;
}

.slider-pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: 12px;
}

.pagination-dot {
  height: 6px;
  width: 16px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.pagination-dot.active {
  width: 32px;
  background: var(--color-primary);
}

.pagination-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.slide-counter {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 30;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .slide-counter {
    display: none;
  }
}

/* ==========================================================================
   PRODUCT CENTER SECTION
   ========================================================================== */

.product-center-section {
  background: var(--color-bg-dark);
  min-height:50vh;
  margin: 80px 0;
}

.product-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tabs-container {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  background: var(--color-bg-dark);
}

.tab-btn {
  padding: 10px 32px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-gray);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--color-text-white);
}

.tab-btn.active {
  background: var(--color-primary);
  color: var(--color-text-white);
}

.product-tab-content {
  display: none;
}

.product-tab-content.active {
  display: block;
}

.products-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-doc-shortcuts{
    grid-template-columns: repeat(5, 1fr);
  }
}

.doc-icon-img {
  width: 100px;
  height: auto;
  object-fit: contain;
}


.products-grid-small {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .products-grid-small {
    grid-template-columns: 1fr;
  }
}

/* Scroll-in Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
}

.scroll-animate.animated {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scroll-animate-scale {
  opacity: 0;
  transform: scale(0.95);
}

.scroll-animate-scale.animated {
  animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.product-card {
  background: var(--color-bg-card);
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0;
  transition: all 0.3s ease;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--color-border);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.product-card-large {
  min-height: 450px;
}

.product-link {
  display: block;
  height: 100%;
  position: relative;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.product-card:hover .product-name {
  color: var(--color-primary);
}

.product-card-large .product-name {
  font-size: 24px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.product-tags li {
  padding: 2px 8px;
  font-size: 12px;
  color: var(--color-text-gray);
  background: var(--color-border);
  border-radius: 4px;
}

.product-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  transition: transform 0.5s ease;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
  z-index: 1;
  border-radius: 8px;
  background: transparent;
  /* Knock out white backdrops from product PNGs on home cards */
  mix-blend-mode: multiply;
}

.products-grid-small .product-image img {
  object-fit: contain;
  background: #ffffff;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-model-number {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  z-index: 10;
  transition: all 0.3s ease;
}

.product-card:hover .product-model-number {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-primary);
}

.product-name-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 10;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.product-card:hover .product-name-card {
  opacity: 1;
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(230, 0, 18, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(230, 0, 18, 0.2);
}

.product-name-card .product-title {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  line-height: 1.3;
}

.product-card:hover .product-name-card .product-title {
  color: var(--color-primary);
  letter-spacing: 0.04em;
  transform: translateX(2px);
}

.product-name-card .product-excerpt-text {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.6;
  transition: all 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card:hover .product-name-card .product-excerpt-text {
  color: var(--color-primary);
}

.product-excerpt-overlay {
  display: none;
}

.product-excerpt-overlay p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text-gray);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-action {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.product-card:hover .product-action {
  opacity: 1;
}

.view-details {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.product-card:hover .view-details {
  color: #fff;
  background: var(--color-primary);
}

.plus-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 12px;
  transition: all 0.3s ease;
}

.product-card:hover .plus-icon {
  border-color: #fff;
}

.section-footer {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-gray);
  transition: color 0.3s ease;
}

.view-all-link:hover {
  color: var(--color-primary);
}

.link-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--color-border);
  transition: background 0.3s ease;
}

.view-all-link:hover .link-line {
  background: var(--color-primary);
}

/* ==========================================================================
   APPLICATION SCENARIOS SECTION
   ========================================================================== */

.scenarios-section {
  background: var(--color-bg-dark);  
  min-height:50vh;
  margin: 80px 0;
}

.section-header h2 .header-line {
  display: none;
  width: 48px;
  height: 2px;
  background: var(--color-primary);
}

@media (min-width: 768px) {
  .section-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  
  .section-header h2 .header-line {
    display: block;
  }
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .scenarios-grid {
    grid-template-columns: 1fr;
  }
}

.scenario-card {
  position: relative;
  min-height: 240px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.scenario-large {
  grid-row: span 2;
  min-height: 500px;
}

.scenario-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.scenario-image {
  position: absolute;
  inset: 0;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  transition: transform 0.7s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
}

.scenario-card:hover .scenario-image {
  transform: scale(1.1);
  will-change: transform;
}

.scenario-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2), transparent);
  opacity: 0.9;
  transition: opacity 0.5s ease;
}

.scenario-card:hover .scenario-overlay {
  opacity: 1;
}

.scenario-content {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 280px;
  z-index: 10;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scenario-name-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(245, 245, 245, 0.3) 100%);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  padding: 18px 24px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
  opacity: 0.3;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.scenario-name-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), rgba(230, 0, 18, 0.5), var(--color-primary));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.scenario-card:hover .scenario-name-card::before {
  transform: scaleX(1);
}

.scenario-card:hover .scenario-name-card {
  transform: translateY(-6px) scale(1.02);
  opacity: 0.95;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 250, 250, 0.9) 100%);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), 0 4px 16px rgba(230, 0, 18, 0.1);
}

.scenario-title {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 6px 0;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
  text-shadow: none;
  line-height: 1.2;
  text-align: center;
}

.scenario-card:hover .scenario-title {
  color: var(--color-primary);
  letter-spacing: 0.04em;
  transform: translateX(0);
}

.scenario-english {
  font-size: 12px;
  font-weight: 700;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
  transition: all 0.3s ease;
  line-height: 1.4;
  text-shadow: none;
  text-align: center;
  margin: 0;
}

.scenario-card:hover .scenario-english {
  opacity: 1;
  color: #333;
  letter-spacing: 0.15em;
}

.scenario-arrow {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: var(--color-text-white);
  opacity: 0;
  transform: translateX(16px);
  transition: all 0.5s ease;
}

.scenario-card:hover .scenario-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */

.about-section {
  background: var(--color-bg-dark);
  min-height:50vh;
  margin: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(540px, 1fr) minmax(420px, 0.9fr);
  align-items: flex-start;
  gap: 48px;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.section-header h4.highlight {
  color: var(--color-primary);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

@media (max-width: 1024px) {
  .about-content {
    align-items: flex-start;
  }
}

.company-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-white);
  margin-bottom: 24px;
}

.company-description {
  margin-bottom: 32px;
  max-width: 760px;
}

.company-description p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-gray);
  margin-bottom: 14px;
}

.about-structured {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.about-card-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.about-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.about-stats {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.about-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 12px 0;
  letter-spacing: 0.02em;
}


.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 12px 14px 12px 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  align-items: flex-start;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.trust-item::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #fff 0, #fff 30%, transparent 31%), var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.trust-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-white);
  margin: 0 0 2px 0;
}

.trust-sub {
  font-size: 13px;
  color: var(--color-text-gray);
  margin: 0;
  line-height: 1.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px 16px;
  margin: 0;
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-gray);
  margin-top: 4px;
}

.about-cta {
  margin-top: 24px;
}

.about-image {
  position: relative;
}

.image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  width: 100%;
  height: 100%;
}

.facility-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image:hover .facility-image {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.4), transparent);
  pointer-events: none;
}

.decor-corner {
  position: absolute;
  width: 160px;
  height: 160px;
  z-index: -1;
  transition: transform 0.5s ease;
  display: none;
}

.decor-top-left {
  top: -16px;
  left: -16px;
  border-left: 2px solid rgba(230, 0, 18, 0.3);
  border-top: 2px solid rgba(230, 0, 18, 0.3);
  border-top-left-radius: 12px;
}

.decor-bottom-right {
  bottom: -16px;
  right: -16px;
  border-right: 2px solid rgba(230, 0, 18, 0.3);
  border-bottom: 2px solid rgba(230, 0, 18, 0.3);
  border-bottom-right-radius: 12px;
}

.about-image:hover .decor-top-left {
  transform: translate(-8px, -8px);
}

.about-image:hover .decor-bottom-right {
  transform: translate(8px, 8px);
}

/* ==========================================================================
   NEWS CENTER SECTION
   ========================================================================== */

.news-section {
  background: var(--color-bg-dark);  
  min-height:50vh;
  margin: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-featured {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-card {
  background: var(--color-bg-card);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.3s ease;
}

.news-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.news-card-horizontal .news-link {
  display: flex;
  flex-direction: row;
}

@media (max-width: 640px) {
  .news-card-horizontal .news-link {
    flex-direction: column;
  }
}

.news-image {
  position: relative;
  width: 280px;
  height: 180px;
  flex-shrink: 0;
  overflow: hidden;
}

@media (max-width: 640px) {
  .news-image {
    width: 100%;
    height: 200px;
  }
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-date {
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 12px;
  background: var(--color-primary);
  color: var(--color-text-white);
  font-size: 14px;
}

.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.news-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text-white);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s ease;
}

.news-card:hover .news-title {
  color: var(--color-primary);
}

.news-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-gray);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-sidebar {
  background: var(--color-bg-card);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  padding: 25px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
}

.sidebar-header h3 {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text-white);
}

.accent-bar {
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--color-primary);
  margin-right: 12px;
}

.view-more {
  font-size: 14px;
  color: var(--color-text-gray);
  transition: color 0.3s ease;
}

.view-more:hover {
  color: var(--color-primary);
}

.sidebar-news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-news-item {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-news-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-news-item a {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-date-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  background: var(--news-date-badge);
  border-radius: 4px;
  width: fit-content;
}

.sidebar-news-item .news-title {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-gray);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  transition: color 0.3s ease;
}

.sidebar-news-item:hover .news-title {
  color: var(--color-text-white);
}

.mobile-only {
  display: flex;
}

@media (min-width: 1024px) {
  .mobile-only {
    display: none;
  }
}

/* ==========================================================================
   STICKY SIDEBAR
   ========================================================================== */

.sticky-sidebar {
  position: fixed;
  right: 0;
  bottom: 0px;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  background: var(--color-text-white);
  box-shadow: -2px 0 10px rgba(243, 240, 240, 0.1);
  border-left: 1px solid var(--color-border);
  color: #fff;
  background-color: rgba(124, 124, 124, 0.5); /* 黑色背景透明10% */
  
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
  height: 76px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-bg-gray);
  transition: all 0.3s ease;
}

.sidebar-item:last-child {
  border-bottom: none;
}

.sidebar-item:hover {
  background: var(--color-primary);
}

.sidebar-item:hover svg {
  filter: brightness(0) invert(1);
}

.sidebar-label {
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  position: relative;
  background-color: #cccccc;
  padding-top: 80px;
  margin-top: var(--header-height);
  width: 100%;
  transition: all 0.3s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding-bottom: 48px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links a {
  font-size: 16px;
  color: #333333;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #000000;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.contact-list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin-top: 16px;
}

.footer-bottom {
  padding: 32px 0;
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.copyright a {
  color: #333333;
  transition: color 0.3s ease;
}

.copyright a:hover {
  color: #000000;
}

.friendship-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #333333;
}

.friendship-label {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.6;
}

.friendship-links a {
  color: #333333;
  transition: color 0.3s ease;
}

.friendship-links a:hover {
  color: #000000;
}

/* ==========================================================================
   PRODUCT SINGLE PAGE STYLES
   ========================================================================== */

.product-header-section {
  margin-bottom: 40px;
  text-align: left;
}

.product-header-section .product-breadcrumb {
  margin-bottom: 12px;
}

.product-header-section .product-category {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.product-header-section .product-category a {
  color: #0066cc;
  text-decoration: none;
}

.product-header-section .product-category a:hover {
  text-decoration: underline;
}

.product-header-section .product-title {
  font-size: 32px;
  font-weight: 700;
  margin: 12px 0;
  color: #1a1a1a;
}

.product-header-section .product-subtitle {
  font-size: 16px;
  color: #666;
  margin: 8px 0 0 0;
}

/* Price and Stock Labels */
.price-label,
.stock-label {
  font-weight: 600;
  color: #333;
  margin-right: 8px;
  font-size: 14px;
}

.product-price-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.product-stock-block {
  display: flex;
  align-items: center;
  gap: 12px;
}
