.hero-slider {
  position: relative;
  overflow: hidden;
  /* border-radius: 0 0 24px 24px; */
  margin-bottom: 0;
}

.hero-slides-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.06;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 40%
    );
}

.hero-slide--ssl .hero-slide-bg {
  background: linear-gradient(135deg, #0c1d36 0%, #1e3a8a 40%, #1e40af 100%);
}

.hero-slide--reseller .hero-slide-bg {
  background: linear-gradient(135deg, #042f2e 0%, #065f46 40%, #059669 100%);
}

.hero-slide--enterprise .hero-slide-bg {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4338ca 100%);
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 520px;
  padding: 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-slide-content {
  color: #ffffff;
}

.hero-slide-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.hero-slide--ssl .hero-slide-badge {
  color: #93c5fd;
  border-color: rgba(147, 197, 253, 0.3);
}

.hero-slide--reseller .hero-slide-badge {
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.3);
}

.hero-slide--enterprise .hero-slide-badge {
  color: #c4b5fd;
  border-color: rgba(196, 181, 253, 0.3);
}

.hero-slide-content h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 20px 0;
  color: #ffffff !important;
  letter-spacing: -0.5px;
}

.hero-slide-content p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0 0 32px 0;
  max-width: 520px;
}

.hero-slide-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-heading), system-ui, sans-serif;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1.3;
}

.hero-btn--primary {
  background: var(--accent, #f07725);
  color: #ffffff;
  border-color: var(--accent, #f07725);
}

.hero-btn--primary:hover {
  background: var(--accent-hover, #dc6520);
  border-color: var(--accent-hover, #dc6520);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(240, 119, 37, 0.35);
  color: #ffffff;
  text-decoration: none;
}

.hero-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
  color: #ffffff;
  text-decoration: none;
}

.hero-slide-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat strong {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.hero-stat span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-illustration {
  width: 100%;
  max-width: 460px;
  position: relative;
}

.hero-illustration-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-slider-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-nav-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-nav-dot.active {
  background: var(--accent, #f07725);
  width: 32px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  padding: 0;
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
}

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

.hero-arrow--prev {
  left: 20px;
}

.hero-arrow--next {
  right: 20px;
}

@media (max-width: 991px) {
  .hero-slide-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding: 60px 20px 80px;
  }

  .hero-slide-content h1 {
    font-size: 36px;
  }

  .hero-illustration {
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-slide-stats {
    gap: 24px;
  }

  .hero-stat strong {
    font-size: 18px;
  }

  .hero-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    /* border-radius: 0 0 16px 16px; */
  }

  .hero-slide-inner {
    padding: 50px 16px 70px;
  }

  .hero-slide-content h1 {
    font-size: 30px;
  }

  .hero-slide-content p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-slide-badge {
    font-size: 11px;
    padding: 6px 14px;
    margin-bottom: 18px;
  }

  .hero-btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .hero-slide-visual {
    display: none;
  }

  .hero-slide-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .hero-stat strong {
    font-size: 16px;
  }

  .hero-stat span {
    font-size: 11px;
  }

  .hero-slider-nav {
    bottom: 20px;
  }

  .hero-nav-dot {
    width: 10px;
    height: 10px;
  }

  .hero-nav-dot.active {
    width: 26px;
  }
}

@media (max-width: 480px) {
  .hero-slide-content h1 {
    font-size: 26px;
  }

  .hero-slide-actions {
    flex-direction: column;
  }

  .hero-btn {
    text-align: center;
    justify-content: center;
  }
}
