/* ===== Atlas Intro Section ===== */
.atlas-intro {
  padding: var(--space-6xl) 0;
}

.atlas-intro-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6xl);
  align-items: center;
}

.atlas-intro-content {
  max-width: 600px;
}

.atlas-intro-title {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

.atlas-intro-subtitle {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: var(--space-xl);
  opacity: 0.85;
}

.atlas-intro-description {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--text-muted-light);
  margin-bottom: var(--space-3xl);
}

.atlas-intro-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
  justify-content: center;
}

.atlas-intro-feature {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.feature-icon-animated {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: var(--radius-xl);
  background: rgba(36, 36, 40, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-base) ease;
}

.atlas-intro-feature:hover .feature-icon-animated {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(230, 99, 0, 0.15);
}

.feature-text {
  flex: 1;
}

.feature-text h4 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature-text p {
  font-size: var(--text-base);
  color: var(--text-muted-light);
  line-height: 1.6;
}

/* Animation 1: Location Ping */
.location-ping {
  position: relative;
  width: 48px;
  height: 48px;
}

.ping-circle {
  opacity: 0;
  transform-origin: center;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-1 {
  animation-delay: 0s;
}

.ping-2 {
  animation-delay: 1s;
}

@keyframes ping {
  0% {
    opacity: 1;
    transform: scale(0.5);
  }
  75%, 100% {
    opacity: 0;
    transform: scale(2);
  }
}

/* Animation 2: Data Merge */
.data-merge {
  position: relative;
  width: 48px;
  height: 48px;
}

.merge-block {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--signal-orange);
  border-radius: 2px;
  opacity: 0;
  animation: mergeToCenter 3s ease-in-out infinite;
}

.merge-1 {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
}

.merge-2 {
  top: 8px;
  right: 8px;
  animation-delay: 0.3s;
}

.merge-3 {
  bottom: 8px;
  left: 18px;
  animation-delay: 0.6s;
}

.merge-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: var(--signal-orange);
  border-radius: 3px;
  transform: translate(-50%, -50%) scale(0);
  animation: centerPulse 3s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(230, 99, 0, 0.6);
}

@keyframes mergeToCenter {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(0, 0);
  }
  70% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes centerPulse {
  0%, 60% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  70% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  90% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
}

/* Animation 3: Unified Check */
.unified-check {
  position: relative;
  width: 48px;
  height: 48px;
}

.check-path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawCheck 2s ease-in-out infinite;
}

@keyframes drawCheck {
  0%, 30% {
    stroke-dashoffset: 40;
  }
  60%, 100% {
    stroke-dashoffset: 0;
  }
}

.atlas-intro-actions {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .atlas-intro-container {
    grid-template-columns: 1fr;
    gap: var(--space-5xl);
  }

  .atlas-intro-content {
    max-width: 100%;
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .atlas-intro {
    padding: var(--space-4xl) 0;
  }

  .atlas-intro-features {
    gap: var(--space-lg);
  }

  .atlas-intro-feature {
    gap: var(--space-md);
  }

  .feature-icon-animated {
    width: 64px;
    height: 64px;
  }

  .location-ping,
  .data-merge,
  .unified-check {
    width: 40px;
    height: 40px;
  }

  .location-ping svg,
  .unified-check svg {
    width: 40px;
    height: 40px;
  }

  .feature-text h4 {
    font-size: var(--text-base);
  }

  .feature-text p {
    font-size: var(--text-xs);
  }

  .atlas-intro-actions {
    flex-direction: column;
  }

  .atlas-intro-actions .btn {
    width: 100%;
    text-align: center;
  }
}
