/* Geo SEO Banner - Vanilla JS/CSS Implementation */

.geo-seo-banner {
  position: relative;
  padding: 3rem 0 6rem;
  overflow: hidden;
  display: block;
  background: linear-gradient(to bottom right, #581c87, #6b21a8, #4c1d95);
}

/* Mobile adjustments */
@media (max-width: 1023px) {
  .geo-seo-banner {
    padding: 2rem 0 4rem;
  }
}

@media (min-width: 1024px) {
  .geo-seo-banner {
    padding: 5rem 0 8rem;
  }
}

/* Background */
.geo-seo-banner__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #581c87, #6b21a8, #4c1d95);
}

.geo-seo-banner__pattern {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjAzIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=');
  opacity: 0.4;
}

.geo-seo-banner__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .geo-seo-banner__container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .geo-seo-banner__container {
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .geo-seo-banner__container {
    padding: 0 5rem;
  }
}

/* Slide Container */
.geo-seo-banner__slide-wrapper {
  position: relative;
  min-height: 400px;
}

@media (min-width: 1024px) {
  .geo-seo-banner__slide-wrapper {
    min-height: 500px;
  }
}

.geo-seo-banner__slide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  opacity: 0;
  transform: translateX(1000px);
  transition: opacity 0.3s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

@media (min-width: 768px) {
  .geo-seo-banner__slide {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .geo-seo-banner__slide {
    gap: 4rem;
  }
}

.geo-seo-banner__slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  z-index: 1;
}

.geo-seo-banner__slide.exit-left {
  transform: translateX(-1000px);
  opacity: 0;
}

.geo-seo-banner__slide.exit-right {
  transform: translateX(1000px);
  opacity: 0;
}

/* Visual Section (Left) */
.geo-seo-banner__visual {
  position: relative;
  order: 2;
}

@media (min-width: 768px) {
  .geo-seo-banner__visual {
    order: 1;
  }
}

.geo-seo-banner__visual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.geo-seo-banner__visual-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(249, 115, 22, 0.2), rgba(234, 179, 8, 0.2));
  border-radius: 1.5rem;
  filter: blur(48px);
}

.geo-seo-banner__visual-content {
  position: relative;
}

.geo-seo-banner__map-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.geo-seo-banner__icon-visual {
  aspect-ratio: 1;
  background: linear-gradient(to bottom right, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.1));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-seo-banner__icon-visual--growth {
  background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.1));
}

.geo-seo-banner__icon-visual--mobile {
  background: linear-gradient(to bottom right, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
}

.geo-seo-banner__icon-visual--dashboard {
  background: linear-gradient(to bottom right, rgba(234, 179, 8, 0.1), rgba(245, 158, 11, 0.1));
}

.geo-seo-banner__icon {
  width: 8rem;
  height: 8rem;
  color: #34d399;
}

.geo-seo-banner__icon--growth {
  color: #60a5fa;
}

.geo-seo-banner__icon--mobile {
  color: #a78bfa;
}

.geo-seo-banner__icon--dashboard {
  color: #fbbf24;
}

/* Animated Dots on Map */
.geo-seo-banner__dot {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  filter: blur(4px);
  animation: pulse-dot 2s ease-in-out infinite;
}

.geo-seo-banner__dot--1 {
  top: 30%;
  left: 25%;
  background: #facc15;
  animation-delay: 0s;
}

.geo-seo-banner__dot--2 {
  top: 45%;
  right: 30%;
  background: #fb923c;
  animation-delay: 0.5s;
}

.geo-seo-banner__dot--3 {
  bottom: 35%;
  left: 40%;
  background: #fde047;
  animation-delay: 1s;
}

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

/* Stats Grid */
.geo-seo-banner__stats {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.geo-seo-banner__stat {
  background: linear-gradient(to bottom right, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  animation: fade-in-up 0.5s ease forwards;
  opacity: 0;
}

.geo-seo-banner__stat:nth-child(1) {
  animation-delay: 0.3s;
}

.geo-seo-banner__stat:nth-child(2) {
  animation-delay: 0.4s;
}

.geo-seo-banner__stat:nth-child(3) {
  animation-delay: 0.5s;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.geo-seo-banner__stat-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #facc15;
  margin: 0 auto 0.5rem;
}

.geo-seo-banner__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.geo-seo-banner__stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Decorative Glows */
.geo-seo-banner__glow-1 {
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
  width: 10rem;
  height: 10rem;
  background: rgba(250, 204, 21, 0.2);
  border-radius: 50%;
  filter: blur(48px);
}

.geo-seo-banner__glow-2 {
  position: absolute;
  bottom: -2.5rem;
  right: -2.5rem;
  width: 10rem;
  height: 10rem;
  background: rgba(251, 146, 60, 0.2);
  border-radius: 50%;
  filter: blur(48px);
}

/* Content Section (Right) */
.geo-seo-banner__content {
  order: 1;
}

@media (min-width: 768px) {
  .geo-seo-banner__content {
    order: 2;
  }
}

.geo-seo-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  border: 1px solid;
  backdrop-filter: blur(12px);
  animation: scale-in 0.5s ease 0.1s forwards;
  opacity: 0;
  transform: scale(0.9);
}

@keyframes scale-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.geo-seo-banner__badge-icon {
  width: 1rem;
  height: 1rem;
}

.geo-seo-banner__badge-text {
  font-size: 0.875rem;
  font-weight: 600;
}

.geo-seo-banner__title {
  color: white;
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .geo-seo-banner__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .geo-seo-banner__title {
    font-size: 3.75rem;
  }
}

.geo-seo-banner__title-highlight {
  background: linear-gradient(to right, #fde047, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.geo-seo-banner__description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .geo-seo-banner__description {
    font-size: 1.25rem;
  }
}

/* Features */
.geo-seo-banner__features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.geo-seo-banner__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  animation: slide-in-right 0.5s ease forwards;
  opacity: 0;
  transform: translateX(20px);
}

.geo-seo-banner__feature:nth-child(1) {
  animation-delay: 0.2s;
}

.geo-seo-banner__feature:nth-child(2) {
  animation-delay: 0.3s;
}

.geo-seo-banner__feature:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes slide-in-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.geo-seo-banner__feature:hover {
  background: rgba(255, 255, 255, 0.1);
}

.geo-seo-banner__feature-icon-wrapper {
  background: linear-gradient(to bottom right, #facc15, #fb923c);
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.geo-seo-banner__feature:hover .geo-seo-banner__feature-icon-wrapper {
  transform: scale(1.1);
}

.geo-seo-banner__feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.geo-seo-banner__feature-content {
  flex: 1;
}

.geo-seo-banner__feature-title {
  color: white;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.geo-seo-banner__feature-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* CTA Button */
.geo-seo-banner__cta {
  animation: fade-in-up 0.5s ease 0.5s forwards;
  opacity: 0;
}

.geo-seo-banner__cta-link {
  display: inline-block;
  width: 100%;
}

@media (min-width: 640px) {
  .geo-seo-banner__cta-link {
    width: auto;
  }
}

.geo-seo-banner__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.75rem 2rem;
  background: linear-gradient(to right, #facc15, #fb923c);
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  width: 100%;
  border: none;
  cursor: pointer;
}

@media (min-width: 640px) {
  .geo-seo-banner__cta-button {
    width: auto;
  }
}

.geo-seo-banner__cta-button:hover {
  background: linear-gradient(to right, #eab308, #f97316);
  transform: scale(1.05);
}

.geo-seo-banner__cta-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.geo-seo-banner__cta-arrow {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.geo-seo-banner__cta-button:hover .geo-seo-banner__cta-arrow {
  transform: translateX(4px);
}

/* Navigation Controls */
.geo-seo-banner__navigation {
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.geo-seo-banner__nav-button {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 0.625rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.geo-seo-banner__nav-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.geo-seo-banner__nav-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
  transition: transform 0.3s ease;
}

.geo-seo-banner__nav-button:hover .geo-seo-banner__nav-icon--left {
  transform: translateX(-2px);
}

.geo-seo-banner__nav-button:hover .geo-seo-banner__nav-icon--right {
  transform: translateX(2px);
}

.geo-seo-banner__dots {
  display: flex;
  gap: 0.5rem;
}

.geo-seo-banner__dot-button {
  height: 0.5rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: rgba(255, 255, 255, 0.3);
}

.geo-seo-banner__dot-button:hover {
  background: rgba(255, 255, 255, 0.5);
}

.geo-seo-banner__dot-button.active {
  width: 2rem;
  background: #facc15;
}

.geo-seo-banner__dot-button:not(.active) {
  width: 0.5rem;
}

/* Bottom Glow */
.geo-seo-banner__bottom-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 8rem;
  background: linear-gradient(to top, rgba(249, 115, 22, 0.1), transparent);
  filter: blur(48px);
}

/* Badge Color Variants */
.geo-seo-banner__badge--yellow {
  background: linear-gradient(to right, rgba(250, 204, 21, 0.2), rgba(251, 146, 60, 0.2));
  border-color: rgba(250, 204, 21, 0.3);
  color: #facc15;
}

.geo-seo-banner__badge--green {
  background: linear-gradient(to right, rgba(74, 222, 128, 0.2), rgba(16, 185, 129, 0.2));
  border-color: rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.geo-seo-banner__badge--blue {
  background: linear-gradient(to right, rgba(96, 165, 250, 0.2), rgba(6, 182, 212, 0.2));
  border-color: rgba(96, 165, 250, 0.3);
  color: #60a5fa;
}

.geo-seo-banner__badge--purple {
  background: linear-gradient(to right, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
  border-color: rgba(168, 85, 247, 0.3);
  color: #a78bfa;
}
