/* ================================================================
   SUANOVA New Design - Index Page Styles
   ================================================================ */

/* Hero */
.hero {
  position: relative;
  height: 800px;
  background: linear-gradient(135deg, #001a3d 0%, #002855 50%, #003366 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0 160px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/images/index/zh-new/hero-bg.jpg') center/cover;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding-top: 200px;
  flex: 1;
}

.hero-heading {
  font-size: 84px;
  font-weight: 900;
  line-height: 92px;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 2px;
}

.hero-heading span {
  color: var(--teal);
  font-size: inherit;
}

.hero-subheading {
  font-size: 18px;
  color: var(--white);
  line-height: 26px;
  max-width: 1140px;
  margin-bottom: 24px;
  opacity: 0.9;
}

/* Features Bar */
.features-bar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 12px;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 21.5px 2.9px rgba(44,43,79,0), 0 13.7px 2.7px rgba(44,43,79,0.01), 0 7.8px 2.2px rgba(44,43,79,0.03), 0 3.4px 1.7px rgba(44,43,79,0.04), 0 1px 1px rgba(44,43,79,0.05);
  max-width: 1361px;
  width: 100%;
  margin-bottom: -200px;
}

.feature-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 48px;
  text-align: center;
  border-right: 1px solid var(--border-mid);
}

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

.feature-item img {
  width: 60px;
  height: 60px;
}

.feature-item .feature-icon {
  width: 60px;
  height: 60px;
}

.feature-item .feature-icon svg {
  width: 60px;
  height: 60px;
}

.feature-item h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  padding-top: 12px;
}

.feature-item p {
  font-size: 16px;
  color: var(--cadet-blue);
  line-height: 22px;
}

/* Section Title */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .subtitle {
  font-size: 20px;
  color: var(--teal-light);
  font-weight: 500;
  line-height: 30px;
  margin-bottom: 8px;
  text-align: center !important;
}

.section-title h2 {
  font-size: 36px;
  color: var(--navy);
  font-weight: 700;
  line-height: 40px;
}

/* Services */
.services {
  padding: 100px 0 60px;
  background: var(--white);
}

.services-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 0 40px;
}

.service-card {
  width: 284px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  box-shadow: 0 21.5px 2.9px rgba(44,43,79,0), 0 13.7px 2.7px rgba(44,43,79,0.01), 0 7.8px 2.2px rgba(44,43,79,0.03), 0 3.4px 1.7px rgba(44,43,79,0.04), 0 1px 1px rgba(44,43,79,0.05);
}

.service-card .icon-wrap {
  width: 106px;
  height: 106px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(32deg, #0e6af7 0%, #12c2d1 100%);
}

.service-card .icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  line-height: 34px;
}

.service-card p {
  font-size: 16px;
  color: var(--cadet-blue);
  line-height: 20px;
  text-align: left;
  width: 100%;
  flex: 1;
}

.service-card .arrow-btn {
  width: 36px;
  height: 36px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  cursor: pointer;
  transition: background 0.2s;
}

.service-card .arrow-btn:hover {
  background: var(--teal);
}

.service-card .arrow-btn:hover svg path {
  fill: var(--white);
}

.service-card .arrow-btn img {
  width: 24px;
  height: 24px;
}

/* Promo Section (Carousel) */
.promo-section {
  background: var(--navy);
  padding: 64px 160px;
  overflow: hidden;
}

.promo-carousel {
  position: relative;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.promo-carousel:active {
  cursor: grabbing;
}

.promo-carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
}

.promo-slide {
  flex: 0 0 100%;
  width: 100%;
}

.promo-slide.slide-out-left {
  opacity: 0;
  transform: translateX(-60px);
}

.promo-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.promo-left {
  min-width: 310px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.promo-left h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 40px;
}

.promo-left .highlight {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 30px;
  padding-top: 16px;
}

.promo-left p {
  font-size: 16px;
  color: var(--cadet-blue);
  line-height: 24px;
  margin-bottom: 0 !important;
}

.promo-left .action-text {
  color: var(--teal-light);
  font-weight: 700;
  padding-top: 8px;
}

.promo-left .text-white {
  color: var(--white);
  font-size: 16px;
  line-height: 24px;
}

.promo-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 880px;
}

.promo-card {
  background: var(--light-card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 13.7px 2.7px rgba(44,43,79,0.01), 0 7.8px 2.2px rgba(44,43,79,0.03), 0 3.4px 1.7px rgba(44,43,79,0.04), 0 1px 1px rgba(44,43,79,0.05);
}

.promo-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 30px;
  margin-bottom: 8px;
}

.promo-card p {
  font-size: 12px;
  color: var(--dark-text);
  line-height: 20px;
  margin-bottom: 0 !important;
}

.promo-note {
  font-size: 16px;
  color: var(--teal-light);
  line-height: 24px;
  margin-top: 16px;
}

/* Promo Dots */
.promo-dots {
  display: flex;
  gap: 2px;
  justify-content: center;
  margin-top: 48px;
}

.promo-dots .dot {
  width: 19px;
  height: 4px;
  border-radius: 2px;
  background: #d0cee2;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 5px;
}

.promo-dots .dot.active {
  width: 29px;
  background: #64ccc9;
}

/* Product Sections */
.products-section {
  background: var(--teal);
  padding: 42px 0;
}

.product-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 160px;
  gap: 40px;
}

.product-row.alt-bg {
  background: var(--white);
}

.product-text {
  flex: 1 1 50%;
  min-width: 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.product-header .tag {
  font-size: 20px;
  font-weight: 500;
  color: var(--teal-light);
  line-height: 30px;
  margin-bottom: 8px;
}

.product-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 40px;
  margin-bottom: 8px;
}

.product-header p {
  font-size: 16px;
  color: var(--dark-text);
  line-height: 20px;
  letter-spacing: 1px;
}

.product-advantages h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 30px;
  margin-bottom: 16px;
}

.product-advantages h4.teal {
  color: var(--teal-light);
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 42px;
}

.advantage-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.advantage-item .adv-icon,
.advantage-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.advantage-item svg {
  preserveAspectRatio: xMidYMid meet;
}

.advantage-item .adv-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 20px;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.advantage-item .adv-desc {
  font-size: 16px;
  color: var(--dark-text);
  line-height: 20px;
  letter-spacing: 1px;
}

.product-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
}

.product-buttons .btn-navy,
.product-buttons .btn-primary,
.product-buttons .btn-outline {
  white-space: nowrap;
  flex-shrink: 0;
}

.product-image {
  flex: 1 1 50%;
  min-width: 0;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

/* Responsive */
@media (max-width: 1440px) {
  .hero {
    padding: 0 80px;
  }
  .hero-heading {
    font-size: 64px;
    line-height: 72px;
  }
  .promo-section,
  .product-row {
    padding-left: 80px;
    padding-right: 80px;
  }
  .promo-right {
    width: 600px;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 0 40px;
    height: auto;
    padding-top: 120px;
    padding-bottom: 120px;
  }
  .hero-heading {
    font-size: 48px;
    line-height: 56px;
  }
  .features-bar {
    flex-wrap: wrap;
    margin: 30px 20px 0;
  }
  .feature-item {
    border-right: none;
    border-bottom: 1px solid var(--border-mid);
    min-width: 250px;
  }
  .feature-item:last-child {
    border-bottom: none;
  }
  .services-grid {
    gap: 20px;
    flex-wrap: wrap;
  }
  .promo-section,
  .product-row {
    padding-left: 40px;
    padding-right: 40px;
  }
  .promo-content {
    flex-direction: column;
  }
  .promo-right {
    width: 100%;
  }
  .product-row {
    flex-direction: column;
  }
  .product-buttons {
    flex-wrap: wrap;
  }
  .product-row.reverse {
    flex-direction: column-reverse;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}
