/**
 * Hero homepage cu glob 3D rotativ – design modern, compact.
 */

#Carousel.hero-globe-section {
  position: relative;
  overflow: hidden;
}

.hero-globe-inner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.hero-globe-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0c1222 0%, #151b2d 35%, #0f1629 60%, #0a0f1a 100%);
  z-index: 0;
}

.hero-globe-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 70% 50%, rgba(0, 196, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 30% 60%, rgba(42, 167, 255, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

.hero-globe-container {
  position: relative;
  z-index: 1;
}

.hero-globe-content-col {
  order: 1;
}

.hero-globe-visual-col {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Card conținut – sticlă, colțuri rotunde și ascuțite */
.hero-globe-content.glass-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-globe-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  line-height: 1.25;
}

.hero-globe-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-globe-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Butoane cu colțuri rotunde și ascuțite (contur clar) */
.hero-globe-btns .btn-hero {
  border-radius: 14px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border-width: 1px;
  outline: none;
}

/* Butoane mai spre închis – fără albastru strălucitor */
.hero-globe-btns .btn-primary.btn-hero {
  background: rgba(30, 50, 80, 0.9) !important;
  border: 1px solid rgba(0, 196, 255, 0.35);
  color: rgba(255, 255, 255, 0.95);
}

.hero-globe-btns .btn-primary.btn-hero:hover {
  background: rgba(40, 65, 100, 0.95) !important;
  border-color: rgba(0, 196, 255, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-globe-btns .btn-hero:hover {
  transform: translateY(-2px);
}

.hero-globe-btns .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.2);
}

.hero-globe-btns .btn-outline-light:hover {
  color: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

/* Logo Protecție DDoS 3D animat (în loc de glob) */
.hero-ddos-logo {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  perspective: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.hero-ddos-logo-inner {
  position: relative;
  width: 180px;
  height: 220px;
  transform-style: preserve-3d;
  animation: ddos-rotate3d 12s linear infinite;
}

.hero-ddos-shield-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ddos-pulse 3s ease-in-out infinite;
}

.hero-ddos-shield {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 196, 255, 0.18));
  transition: filter 0.3s ease;
}

.hero-ddos-shield .shield-path {
  transition: filter 0.3s ease;
}

.hero-ddos-logo-inner:hover .hero-ddos-shield {
  filter: drop-shadow(0 0 18px rgba(0, 196, 255, 0.28));
}

/* Cercuri în jurul logo – învârt mai încet (16s) + efect impuls (opacitate) */
.hero-ddos-ring {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(0, 196, 255, 0.18);
  border-radius: 50%;
  animation: ddos-ring-impulse 5s ease-out infinite, ddos-ring-rotate 16s linear infinite;
}

.hero-ddos-ring::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(0, 196, 255, 0.1);
  border-radius: 50%;
  animation: ddos-ring-impulse 5s ease-out infinite 1s, ddos-ring-rotate 16s linear infinite reverse;
}

.hero-ddos-ring::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(0, 196, 255, 0.06);
  border-radius: 50%;
  animation: ddos-ring-impulse 5s ease-out infinite 2s, ddos-ring-rotate 16s linear infinite;
}

.hero-ddos-shield .shield-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2em;
  font-family: inherit;
}

.hero-ddos-shield .shield-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  font-family: inherit;
}

@keyframes ddos-rotate3d {
  0% { transform: rotateY(0deg) rotateX(-5deg); }
  100% { transform: rotateY(360deg) rotateX(-5deg); }
}

@keyframes ddos-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.95; }
}

/* Impuls: opacitate care pulsează (efect ripple); rotația separată, mai încet */
@keyframes ddos-ring-impulse {
  0% { opacity: 0.12; }
  25% { opacity: 0.45; }
  50% { opacity: 0.22; }
  75% { opacity: 0.08; }
  100% { opacity: 0.06; }
}

@keyframes ddos-ring-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Carduri indicator – același stil, fără data-target carousel */
.radeSlider-indicators {
  margin-top: 1rem;
  position: relative;
  z-index: 2;
}

.radeSlider-indicators .container {
  max-width: 880px;
}

/* Carduri servicii – colțuri rotunde și ascuțite (captura 1) */
.radeSlider-indicators .card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  overflow: hidden;
}

.radeSlider-indicators .card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 196, 255, 0.4);
  transform: translateY(-2px);
}

.radeSlider-indicators .card.active {
  background: rgba(0, 196, 255, 0.15);
  border-color: rgba(0, 196, 255, 0.5);
}

.radeSlider-indicators .card-body {
  padding: 0.75rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.radeSlider-indicators .card-body img {
  max-height: 40px;
  width: auto;
  opacity: 0.9;
}

.radeSlider-indicators .card.active .card-body img {
  opacity: 1;
}

.radeSlider-indicators .card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.radeSlider-indicators .card.active .card-label {
  color: #00c4ff;
}

/* Tablet */
@media (max-width: 991.98px) {
  .hero-globe-inner {
    min-height: 280px;
    padding: 1.5rem 0;
  }

  .hero-globe-content.glass-card {
    padding: 1.25rem 1.5rem;
  }

  .hero-globe-title {
    font-size: 1.35rem;
  }

  .hero-globe-desc {
    font-size: 0.9rem;
  }

  .hero-ddos-logo {
    max-width: 220px;
    min-height: 240px;
  }

  .hero-ddos-logo-inner {
    width: 150px;
    height: 185px;
  }

  .radeSlider-indicators {
    margin-top: 0.75rem;
  }

  .radeSlider-indicators .card-body img {
    max-height: 32px;
  }

  .radeSlider-indicators .card-label {
    font-size: 0.65rem;
  }
}

/* Mobil – glob deasupra textului */
@media (max-width: 767.98px) {
  .hero-globe-content-col {
    order: 2;
  }

  .hero-globe-visual-col {
    order: 1;
  }

  .hero-ddos-logo {
    max-width: 180px;
    min-height: 200px;
  }

  .hero-ddos-logo-inner {
    width: 130px;
    height: 160px;
  }

  .hero-globe-inner {
    min-height: 260px;
    padding: 1.25rem 0;
  }
}

@media (max-width: 575.98px) {
  .hero-globe-inner {
    min-height: 240px;
    padding: 1rem 0;
  }

  .hero-globe-content.glass-card {
    padding: 1rem 1.25rem;
  }

  .hero-globe-title {
    font-size: 1.15rem;
  }

  .hero-globe-desc {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .hero-ddos-logo {
    max-width: 150px;
    min-height: 180px;
  }

  .hero-ddos-logo-inner {
    width: 110px;
    height: 135px;
  }

  .hero-ddos-shield .shield-text {
    font-size: 16px;
  }

  .hero-ddos-shield .shield-sub {
    font-size: 8px;
    letter-spacing: 0.2em;
  }

  .radeSlider-indicators {
    margin-top: 0.6rem;
  }

  .radeSlider-indicators .card-body {
    padding: 0.5rem 0.35rem;
    gap: 0.25rem;
  }

  .radeSlider-indicators .card-body img {
    max-height: 26px;
  }

  .radeSlider-indicators .card-label {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }
}
