/* ===========================
   Maxdent - Global styles
   Inspired by Shuhua website design style
=========================== */

:root {
  --primary: #1a6db5;
  --primary-dark: #0e4d8a;
  --primary-light: #4d9fd6;
  --accent: #00b4d8;
  --accent2: #0077b6;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-light: #f0f2f5;
  --gray: #8a9ab0;
  --gray-dark: #4a5568;
  --text: #1a2433;
  --text-light: #6b7a8d;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(26, 109, 181, 0.10);
  --shadow-hover: 0 12px 40px rgba(26, 109, 181, 0.20);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

/* ===========================
   Top notice bar
=========================== */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.top-bar a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.5);
}

/* ===========================
   Shuhua-style navbar
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(8, 8, 8, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}

.navbar.white {
  background-color: #ffffff;
  box-shadow: 12px 3px 18px 0px rgba(58, 58, 58, 0.19), 12px 3px 18px 0px rgba(58, 58, 58, 0.04);
}

.nav-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-logo {
  flex-shrink: 0;
  margin-right: 60px;
}

.nav-logo img {
  height: 45px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
}

.nav-item {
  margin-right: 45px;
  position: relative;
}

.nav-item:last-child {
  margin-right: 0;
}

.nav-link {
  display: block;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 60px;
  height: 60px;
  padding: 0;
  transition: var(--transition);
  white-space: nowrap;
}

.navbar.white .nav-link {
  color: #333333;
}

.nav-link:hover {
  color: #4aa7f6;
}

/* Dropdown menu */
.nav-dropdown {
  position: absolute;
  min-width: 160px;
  background-color: #fff;
  display: none;
  left: 50%;
  transform: translateX(-50%);
  top: 60px;
  padding: 0 10px;
  box-shadow: none;
  border-radius: 0;
}

.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown .dropdown-item {
  display: block;
  padding: 0;
  color: #333;
  font-size: 16px;
  line-height: 50px;
  height: 50px;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #eee;
  text-align: center;
  white-space: nowrap;
}

.nav-dropdown .dropdown-item:last-child {
  border-bottom: none;
}

.nav-dropdown .dropdown-item:hover {
  background-color: #00B8CF;
  color: #fff;
}

/* ===========================
   Mega menu dropdown
=========================== */
.nav-dropdown.mega-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  min-width: 600px;
  width: auto;
  background-color: #fff;
  display: none;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  z-index: 1000;
}

.nav-item.have-right:hover .nav-dropdown.mega-menu {
  display: flex;
}

.dropdown-left {
  width: 150px;
  flex-shrink: 0;
  border-right: 1px solid #eee;
  padding-right: 30px;
  margin-right: 30px;
}

.dropdown-category {
  font-size: 17px;
  color: #333;
  padding: 12px 0;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: all 0.2s ease;
}

.dropdown-category:last-child {
  border-bottom: none;
}

.dropdown-category:hover,
.dropdown-category.active {
  color: #00B8CF;
  font-weight: 600;
}

.dropdown-right {
  flex: 1;
  min-width: 350px;
}

.dropdown-content {
  display: none;
}

.dropdown-content.active {
  display: block;
}

.dropdown-section {
  padding-bottom: 20px;
}

.dropdown-section:last-child {
  padding-bottom: 0;
}

.section-title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.3;
  white-space: nowrap;
}

.section-title:hover {
  color: #00B8CF;
}

.section-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
}

.section-item {
  font-size: 14px;
  color: #999;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.section-item:hover {
  color: #333;
  font-weight: 500;
}

/* Right-side button area */
.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.nav-search {
  display: flex;
  align-items: center;
}

.nav-search input {
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background-color: transparent;
  width: 130px;
  padding: 8px 4px;
  color: #fff;
  font-size: 14px;
  transition: var(--transition);
}

.navbar.white .nav-search input {
  border-bottom: 1px solid #848484;
  color: #333;
}

.nav-search input::placeholder {
  color: rgba(255,255,255,0.6);
}

.navbar.white .nav-search input::placeholder {
  color: #999;
}

.nav-search input:focus {
  outline: none;
  border-bottom-color: #4aa7f6;
}

.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.7;
  padding: 4px;
  transition: var(--transition);
}

.navbar.white .nav-search-btn {
  filter: brightness(0);
  opacity: 0.4;
}

.nav-search-btn:hover {
  opacity: 1;
}

.nav-search-btn svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.navbar.white .nav-search-btn svg {
  color: #333;
}

/* Hamburger menu button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.white .nav-toggle span {
  background-color: #333;
}

/* Dropdown arrow icon */
.nav-link .op {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.nav-item.have-right:hover .nav-link .op {
  transform: rotate(180deg);
}

/* Mobile navigation */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 0 20px;
    height: 70px;
  }
  
  .nav-logo img {
    height: 40px;
  }
  
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    width: 280px;
    height: 100vh;
    background-color: rgba(26, 109, 181, 0.95);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 70px;
    transition: all 0.3s ease;
    z-index: 1001;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin-right: 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .nav-link {
    padding: 16px 20px;
    font-size: 16px;
    color: #fff;
    height: auto;
    line-height: 1.4;
  }
  
  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    background-color: rgba(0,0,0,0.2);
    border-radius: 0;
    display: none;
  }
  
  .nav-item:hover .nav-dropdown,
  .nav-item.active .nav-dropdown {
    display: block;
  }
  
  .nav-dropdown .dropdown-item {
    color: rgba(255,255,255,0.9);
    border-bottom-color: rgba(255,255,255,0.1);
    font-size: 14px;
  }
  
  .nav-dropdown .dropdown-item:hover {
    background-color: rgba(0,0,0,0.3);
    color: #fff;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1002;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .nav-right {
    display: none;
  }
}

/* ===========================
   Hero fullscreen video carousel
=========================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

/* Carousel container */
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Single slide - fullscreen background */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

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

/* Fullscreen background media (video/image) */
.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-media video,
.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide.resin-banner-slide .hero-bg-media {
  background: #f7fbff;
}

.hero-slide.resin-banner-slide .hero-bg-media img {
  object-fit: contain;
}

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(0, 0, 0, 0.05) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Content area - left aligned center */
.hero-content {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 600px;
  z-index: 10;
  color: #fff;
}

/* Tag */
.hero-tag {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Main title */
.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Subtitle description */
.hero-desc {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 500px;
}

/* Button group */
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  text-align: center;
  line-height: 52px;
  background-color: #fff;
  color: #1a1a1a;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 32px;
  transition: all 0.3s ease;
  border: none;
  letter-spacing: 1px;
}

.btn-hero-primary:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(26, 109, 181, 0.4);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  text-align: center;
  line-height: 50px;
  background: transparent;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  padding: 0 32px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
  letter-spacing: 1px;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* Indicators - bottom center */
.hero-indicators {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.indicator {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
  padding: 0;
}

.indicator.active {
  background: #fff;
  width: 60px;
}

/* Arrow navigation - both sides */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.hero-prev {
  left: 40px;
}

.hero-next {
  right: 40px;
}

/* Fade-in animation */
@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide.active .hero-content {
  animation: heroFadeIn 1s ease forwards;
}

.hero-slide.active .hero-tag {
  animation: heroFadeIn 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-slide.active .hero-title {
  animation: heroFadeIn 0.8s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero-slide.active .hero-desc {
  animation: heroFadeIn 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.hero-slide.active .hero-btns {
  animation: heroFadeIn 0.8s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

/* ===========================
   Slide 2 Special animation - slide and scale
=========================== */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(80px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInZoom {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textGlitch {
  0%, 100% {
    opacity: 1;
    transform: translateX(0);
  }
  10% {
    opacity: 0.8;
    transform: translateX(-3px);
  }
  20% {
    opacity: 1;
    transform: translateX(3px);
  }
  30% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide 2 Special styles */
.hero-slide.slide-style-2.active .hero-tag {
  animation: slideInRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-slide.slide-style-2.active .hero-title {
  animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero-slide.slide-style-2.active .hero-desc {
  animation: slideInZoom 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

/* ===========================
   Common section styles
=========================== */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

.container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  position: relative;
  padding: 0 20px;
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1.5px;
  background: var(--primary-light);
  border-radius: 1px;
}

.section-label::before { right: 0; }
.section-label::after { left: 0; }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===========================
   Statistics section
=========================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #063a6e 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -200px;
  right: -100px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 32px 24px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.12);
  position: relative;
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0%, #90cdf4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-unit {
  font-size: 1.1rem;
  font-weight: 700;
}

.stat-label {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
}

/* ===========================
   Product series
=========================== */
.products-section {
  background: var(--off-white);
}

.products-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  color: var(--text-light);
  background: #fff;
  transition: var(--transition);
}

.product-tab:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.product-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  group: true;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(26, 109, 181, 0.2);
}

.product-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: var(--gray-light);
}

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

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

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
}

.product-badge.new {
  background: #0caf60;
}

.product-card-body {
  padding: 24px;
}

.product-card-category {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.product-card-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}

.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.product-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(26, 109, 181, 0.08);
  padding: 4px 10px;
  border-radius: 20px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.btn-view-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.btn-view-detail:hover {
  gap: 10px;
}

.btn-view-detail svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.btn-view-detail:hover svg {
  transform: translateX(3px);
}

/* ===========================
   Solutions
=========================== */
.solutions-section {
  background: var(--white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 300px;
  cursor: pointer;
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.solution-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.solution-card:hover .solution-card-bg {
  transform: scale(1.06);
}

.solution-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 30, 60, 0.15) 0%,
    rgba(10, 30, 60, 0.75) 100%
  );
  transition: var(--transition);
}

.solution-card:hover .solution-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(26, 109, 181, 0.25) 0%,
    rgba(10, 30, 60, 0.88) 100%
  );
}

.solution-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  color: #fff;
  transform: translateY(8px);
  transition: var(--transition);
}

.solution-card:hover .solution-card-content {
  transform: translateY(0);
}

.solution-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}

.solution-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.solution-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.solution-card:hover .solution-desc {
  max-height: 80px;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #60c8f0;
  margin-top: 12px;
  opacity: 0;
  transition: var(--transition);
}

.solution-card:hover .solution-link {
  opacity: 1;
}

/* ===========================
   Feature showcase
=========================== */
.features-section {
  background: var(--off-white);
}

.features-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-content.reverse {
  direction: rtl;
}

.features-content.reverse > * {
  direction: ltr;
}

.features-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  position: relative;
}

.features-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.features-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: 0 8px 32px rgba(26,109,181,0.35);
  text-align: center;
}

.features-image-badge .num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.features-image-badge .label {
  font-size: 12px;
  opacity: 0.85;
}

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

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: default;
}

.feature-item:hover {
  background: #fff;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(26, 109, 181, 0.3);
}

.feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===========================
   Software ecosystem
=========================== */
.software-section {
  background: var(--text);
  color: #fff;
  padding: 96px 0;
  overflow: hidden;
}

.software-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.software-text .section-title {
  color: #fff;
}

.software-text .section-desc {
  color: rgba(255,255,255,0.7);
}

.software-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.software-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  cursor: pointer;
}

.software-card:hover {
  background: rgba(26, 109, 181, 0.2);
  border-color: rgba(26, 109, 181, 0.4);
  transform: translateY(-4px);
}

.software-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.software-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.software-card p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.software-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.software-image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.software-image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,109,181,0.3), transparent);
  z-index: 1;
  border-radius: var(--radius-lg);
}

/* ===========================
   Partners / Certifications
=========================== */
.partners-section {
  background: var(--white);
  padding: 64px 0;
}

.partners-title {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 40px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo {
  height: 40px;
  filter: grayscale(100%) opacity(0.5);
  transition: var(--transition);
}

.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
}

/* Certification badges */
.certs-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--off-white);
  padding: 14px 24px;
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cert-item:hover {
  border-color: var(--primary-light);
  background: rgba(26, 109, 181, 0.05);
}

.cert-item .cert-icon {
  font-size: 22px;
}

.cert-item .cert-text {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

/* ===========================
   Contact / CTA section
=========================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent2) 100%);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -400px;
  left: -200px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -300px;
  right: -100px;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-white {
  padding: 14px 40px;
  background: #fff;
  color: var(--primary);
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  border: 2px solid #fff;
}

.btn-cta-white:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.btn-cta-outline {
  padding: 14px 40px;
  background: transparent;
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5);
  transition: var(--transition);
}

.btn-cta-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===========================
   News / Updates
=========================== */
.news-section {
  background: var(--off-white);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
}

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

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

.news-card-body {
  padding: 22px;
}

.news-card-date {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-card-excerpt {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===========================
   Footer
=========================== */
.footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 114, 206, 0.18), transparent 32%),
    linear-gradient(180deg, #0d1b2e 0%, #081321 100%);
  color: rgba(255,255,255,0.72);
  padding: 78px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(160px, 1fr));
  gap: 56px;
  margin-bottom: 64px;
}

.footer-brand .footer-logo {
  height: 44px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand p {
  max-width: 390px;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.64);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-links li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
}

.footer-contact-item .icon {
  width: 42px;
  color: rgba(255,255,255,0.36);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 10px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition);
}

.footer-contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(255,255,255,0.42);
  transition: var(--transition);
}

.footer-legal a:hover {
  color: #fff;
}

/* ===========================
   Shuhua-style footer
=========================== */
.section_bottom {
  padding: 0;
}

.bottom {
  --sh-footer-rem: min(100px, 5.208333vw);
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 184, 207, 0.18), transparent 34%),
    linear-gradient(135deg, #07111f 0%, #101827 58%, #06101d 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  padding: calc(var(--sh-footer-rem) * 0.5) 0 calc(var(--sh-footer-rem) * 0.15);
  font-family: "MicrosoftYaHei", "Microsoft YaHei", sans-serif;
}

.bottom .auto {
  margin: 0 auto;
}

.bottom .auto_1600 {
  max-width: calc(var(--sh-footer-rem) * 16);
}

.bottom .flex_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(var(--sh-footer-rem) * 0.1);
}

.bottom .left_nav {
  display: flex;
  justify-content: space-between;
  width: 50%;
}

.bottom .left_nav .item {
  width: calc(100% / 3);
  max-width: calc(var(--sh-footer-rem) * 2);
}

.bottom .left_nav .nav_title {
  font-size: calc(var(--sh-footer-rem) * 0.2);
  color: #fff;
  position: relative;
  padding-bottom: calc(var(--sh-footer-rem) * 0.5);
  display: block;
}

.bottom .left_nav .nav_title::after {
  position: absolute;
  content: "";
  width: calc(var(--sh-footer-rem) * 0.15);
  height: calc(var(--sh-footer-rem) * 0.05);
  background-color: #00b8cf;
  border-radius: calc(var(--sh-footer-rem) * 0.02);
  bottom: calc(var(--sh-footer-rem) * 0.24);
  left: 0;
}

.bottom .left_nav .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bottom .left_nav .nav a {
  font-size: calc(var(--sh-footer-rem) * 0.14);
  color: #fff;
  width: 50%;
  opacity: 0.3;
  display: block;
  margin-bottom: calc(var(--sh-footer-rem) * 0.15);
}

.bottom .left_nav .nav a:hover {
  opacity: 1;
}

.bottom .left_nav .item:last-child .nav {
  display: block;
}

.bottom .left_nav .item:last-child .nav a {
  display: block;
  width: auto;
}

.bottom .right_part {
  text-align: right;
}

.foot_logo {
  width: calc(var(--sh-footer-rem) * 3.5);
  margin-bottom: calc(var(--sh-footer-rem) * 0.67);
}

.foot_logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.share ul {
  display: flex;
  justify-content: flex-end;
}

.share li {
  margin-left: calc(var(--sh-footer-rem) * 0.2);
  position: relative;
}

.share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--sh-footer-rem) * 0.57);
  height: calc(var(--sh-footer-rem) * 0.52);
  color: #fff;
  font-size: calc(var(--sh-footer-rem) * 0.13);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.share li .hover {
  position: absolute;
  left: 50%;
  bottom: 100%;
  padding-bottom: calc(var(--sh-footer-rem) * 0.12);
  display: none;
  transform: translateX(-50%);
  z-index: 100;
}

.share li:nth-child(4) .hover {
  left: -100%;
}

.share li .hover .warp {
  display: flex;
  width: calc(var(--sh-footer-rem) * 4);
  padding: calc(var(--sh-footer-rem) * 0.2);
  border-radius: calc(var(--sh-footer-rem) * 0.1);
  align-items: center;
  background-color: #fff;
}

.share li a::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
  border: calc(var(--sh-footer-rem) * 0.06) solid transparent;
  border-top-color: #fff;
  display: none;
}

.share li .hover figure {
  width: calc(var(--sh-footer-rem) * 1.2);
  flex-shrink: 0;
}

.share li figure img {
  width: 100%;
}

.share li .hover .textwarp {
  flex: 1;
  padding: calc(var(--sh-footer-rem) * 0.2);
}

.share li .hover .textwarp .title {
  font-size: calc(var(--sh-footer-rem) * 0.2);
  margin-bottom: calc(var(--sh-footer-rem) * 0.1);
  font-weight: normal;
  color: #111;
}

.share li .hover .textwarp p {
  color: #657173;
  font-size: calc(var(--sh-footer-rem) * 0.13);
}

.share li:hover a::before,
.share li:hover .hover {
  display: block;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: calc(var(--sh-footer-rem) * 0.14);
  color: rgba(255, 255, 255, 0.3);
}

.copyright p {
  padding: 0 calc(var(--sh-footer-rem) * 0.25);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright a {
  font-size: calc(var(--sh-footer-rem) * 0.14);
  color: rgba(255, 255, 255, 0.3);
  padding-left: calc(var(--sh-footer-rem) * 0.25);
}

.copyright a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ===========================
   Scroll animation
=========================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

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

/* ===========================
   Responsive
=========================== */
@media (max-width: 1200px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-menu, .nav-cta {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-content {
    padding: 0 40px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item {
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  
  .features-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .software-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    height: 100vh;
    min-height: 600px;
  }

  .hero-content {
    padding: 0 24px;
    top: 50%;
    justify-content: center;
    text-align: center;
  }

  .hero-logo {
    height: 60px;
  }

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

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

  .hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    width: 100%;
    max-width: 280px;
  }

  .hero-indicators {
    bottom: 30px;
    left: 24px;
  }

  .hero-arrows {
    right: 20px;
    bottom: 30px;
    top: auto;
    transform: none;
    flex-direction: row;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .bottom .left_nav {
    display: none;
  }

  .bottom .right_part {
    width: 100%;
    text-align: center;
  }

  .foot_logo {
    margin: 0 auto 10px;
  }

  .share ul {
    justify-content: center;
  }

  .copyright {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 0;
    text-align: center;
  }
}

/* ===========================
   Scrollbar styling
=========================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ===========================
   Page loading animation
=========================== */
.page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  height: 50px;
  animation: pulse 1.2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.96); }
}

/* ===========================
   Video modal
=========================== */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.video-modal.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-inner {
  position: relative;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16/9;
}

.video-modal-inner video,
.video-modal-inner iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.video-modal-close:hover {
  background: rgba(255,255,255,0.4);
}

/* Video play button */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: #fff;
}

.video-play-btn::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 4px;
}
