/* Enhanced Banner Styles for Comprehensive Outstanding */

.banner-enhanced {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 600px;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(24, 172, 227, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 61, 102, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, #000d1a 0%, #001a33 30%, #002440 60%, #001a33 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%;
  will-change: auto;
}

/* Animated Background Particles */
.banner-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 15% 30%, rgba(24, 172, 227, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(24, 172, 227, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(24, 172, 227, 0.04) 0%, transparent 50%);
  animation: backgroundPulse 10s ease-in-out infinite;
  will-change: transform, opacity;
}

/* Tech Grid Overlay - More subtle */
.banner-enhanced::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(24, 172, 227, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 172, 227, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  animation: gridMove 30s linear infinite;
  will-change: transform;
}

@keyframes backgroundPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1) rotate(2deg);
  }
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Container */
.banner-enhanced .container {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Content Wrapper */
.banner-enhanced__content {
  max-width: 800px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtitle */
.banner-enhanced__subtitle {
  color: #18ace3;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.banner-enhanced__subtitle::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #18ace3 0%, transparent 100%);
  animation: lineExpand 1s ease-out 0.5s both;
}

@keyframes lineExpand {
  from { width: 0; }
  to { width: 60px; }
}

/* Main Title Container */
.banner-enhanced__title-wrapper {
  position: relative;
  margin-bottom: 40px;
}

/* Title Styles */
.banner-enhanced__title {
  font-size: 80px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 6px;
  margin: 0;
  position: relative;
}

.banner-enhanced__title-line {
  display: block;
  position: relative;
  overflow: hidden;
}

/* First Line - Comprehensive */
.banner-enhanced__title-line:first-child {
  color: #ffffff;
  text-shadow:
    0 0 30px rgba(24, 172, 227, 0.6),
    0 0 60px rgba(24, 172, 227, 0.4),
    0 0 90px rgba(24, 172, 227, 0.2),
    2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out 0.4s both, glowPulse 4s ease-in-out 1.5s infinite;
  font-weight: 900;
}

/* Second Line - Outstanding */
.banner-enhanced__title-line:last-child {
  background: linear-gradient(135deg, #18ace3 0%, #00d4ff 30%, #18ace3 60%, #0099cc 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation:
    fadeInUp 1s ease-out 0.6s both,
    gradientShift 6s ease-in-out infinite,
    glowPulseStrong 4s ease-in-out 2s infinite;
  filter: drop-shadow(0 0 40px rgba(24, 172, 227, 0.8));
  font-weight: 900;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow:
      0 0 30px rgba(24, 172, 227, 0.6),
      0 0 60px rgba(24, 172, 227, 0.4),
      0 0 90px rgba(24, 172, 227, 0.2),
      2px 2px 4px rgba(0, 0, 0, 0.8);
  }
  50% {
    text-shadow:
      0 0 40px rgba(24, 172, 227, 0.9),
      0 0 80px rgba(24, 172, 227, 0.6),
      0 0 120px rgba(24, 172, 227, 0.4),
      2px 2px 4px rgba(0, 0, 0, 0.8);
  }
}

@keyframes glowPulseStrong {
  0%, 100% {
    filter: drop-shadow(0 0 40px rgba(24, 172, 227, 0.8));
  }
  50% {
    filter: drop-shadow(0 0 60px rgba(24, 172, 227, 1)) drop-shadow(0 0 80px rgba(24, 172, 227, 0.6));
  }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Decorative Elements */
.banner-enhanced__title-line::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, transparent 0%, #18ace3 50%, transparent 100%);
  animation: lineGrow 0.8s ease-out 0.8s both;
}

.banner-enhanced__title-line:first-child::before {
  animation-delay: 0.5s;
}

.banner-enhanced__title-line:last-child::before {
  animation-delay: 0.7s;
}

@keyframes lineGrow {
  from { height: 0; }
  to { height: 100%; }
}

/* CTA Button */
.banner-enhanced__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #18ace3 0%, #0d8ab8 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 2px solid #18ace3;
  border-radius: 50px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: fadeInUp 1s ease-out 0.8s both;
  box-shadow:
    0 4px 15px rgba(24, 172, 227, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.banner-enhanced__cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.banner-enhanced__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 25px rgba(24, 172, 227, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: #00d4ff;
}

.banner-enhanced__cta:hover::before {
  width: 300px;
  height: 300px;
}

.banner-enhanced__cta-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
}

.banner-enhanced__cta:hover .banner-enhanced__cta-icon {
  transform: translate(4px, -4px);
}

/* Shield Image - Enhanced with Blur Background */
.banner-enhanced__shield {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  z-index: 5;
  animation: floatAnimation 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatAnimation {
  0%, 100% {
    transform: translateY(-50%) translateX(0) scale(1);
  }
  50% {
    transform: translateY(-50%) translateX(-15px) scale(1.05);
  }
}

/* Blur background circle behind shield */
.banner-enhanced__shield::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(24, 172, 227, 0.15) 0%,
    rgba(24, 172, 227, 0.08) 30%,
    transparent 70%
  );
  filter: blur(40px);
  animation: pulseGlow 4s ease-in-out infinite;
  z-index: -1;
  will-change: transform, opacity;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

/* Rotating ring effect */
.banner-enhanced__shield::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  border: 2px solid rgba(24, 172, 227, 0.3);
  border-radius: 50%;
  border-top-color: rgba(24, 172, 227, 0.8);
  border-right-color: rgba(24, 172, 227, 0.6);
  animation: rotateRing 8s linear infinite;
  z-index: -1;
  will-change: transform;
}

@keyframes rotateRing {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.banner-enhanced__shield-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 30px rgba(24, 172, 227, 0.8))
    drop-shadow(0 0 60px rgba(24, 172, 227, 0.4))
    brightness(1.1)
    contrast(1.2);
  animation: shieldPulse 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
  will-change: filter;
}

@keyframes shieldPulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 30px rgba(24, 172, 227, 0.8))
      drop-shadow(0 0 60px rgba(24, 172, 227, 0.4))
      brightness(1.1)
      contrast(1.2);
  }
  50% {
    filter:
      drop-shadow(0 0 50px rgba(24, 172, 227, 1))
      drop-shadow(0 0 80px rgba(24, 172, 227, 0.6))
      brightness(1.2)
      contrast(1.3);
  }
}

/* Floating Particles - Enhanced */
.banner-enhanced__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.banner-enhanced__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: #18ace3;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 10s ease-in-out infinite;
  box-shadow:
    0 0 10px rgba(24, 172, 227, 1),
    0 0 20px rgba(24, 172, 227, 0.5),
    0 0 30px rgba(24, 172, 227, 0.3);
}

.banner-enhanced__particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 8s; }
.banner-enhanced__particle:nth-child(2) { left: 20%; animation-delay: 1.5s; animation-duration: 10s; }
.banner-enhanced__particle:nth-child(3) { left: 30%; animation-delay: 3s; animation-duration: 7s; }
.banner-enhanced__particle:nth-child(4) { left: 40%; animation-delay: 0.8s; animation-duration: 9s; }
.banner-enhanced__particle:nth-child(5) { left: 50%; animation-delay: 2.2s; animation-duration: 8.5s; }
.banner-enhanced__particle:nth-child(6) { left: 60%; animation-delay: 4s; animation-duration: 9.5s; }
.banner-enhanced__particle:nth-child(7) { left: 70%; animation-delay: 1.2s; animation-duration: 7.5s; }
.banner-enhanced__particle:nth-child(8) { left: 80%; animation-delay: 2.8s; animation-duration: 10s; }
.banner-enhanced__particle:nth-child(9) { left: 90%; animation-delay: 3.5s; animation-duration: 8s; }

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) scale(1.5);
    opacity: 0;
  }
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .banner-enhanced__title {
    font-size: 64px;
    letter-spacing: 4px;
  }

  .banner-enhanced__shield {
    width: 400px;
    height: 400px;
    right: 5%;
  }
}

@media screen and (max-width: 992px) {
  .banner-enhanced__title {
    font-size: 52px;
    letter-spacing: 3px;
  }

  .banner-enhanced__shield {
    width: 350px;
    height: 350px;
    right: 3%;
  }

  .banner-enhanced__subtitle {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .banner-enhanced {
    height: calc(100vh - 60px);
    min-height: 500px;
  }

  .banner-enhanced__title {
    font-size: 42px;
    letter-spacing: 2px;
  }

  .banner-enhanced__subtitle {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .banner-enhanced__shield {
    width: 280px;
    height: 280px;
    right: 50%;
    transform: translateX(50%) translateY(-50%);
    opacity: 0.25;
  }

  .banner-enhanced__shield::before {
    filter: blur(30px);
  }

  .banner-enhanced__shield::after {
    display: none;
  }

  .banner-enhanced__content {
    text-align: center;
    width: 100%;
  }

  .banner-enhanced__cta {
    padding: 14px 28px;
    font-size: 14px;
  }
}

@media screen and (max-width: 576px) {
  .banner-enhanced__title {
    font-size: 32px;
    letter-spacing: 1px;
  }

  .banner-enhanced__subtitle {
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .banner-enhanced__shield {
    width: 220px;
    height: 220px;
    opacity: 0.2;
  }

  .banner-enhanced__cta {
    padding: 12px 24px;
    font-size: 13px;
    gap: 8px;
  }

  .banner-enhanced__cta-icon {
    width: 16px;
    height: 16px;
  }
}
