/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  overflow: hidden;
}

/* Background glow blobs */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__blob-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.18) 0%, transparent 70%);
  top: -100px;
  left: -150px;
}

.hero__blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
  bottom: -50px;
  right: -100px;
}

.hero__blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, transparent 70%);
  top: 40%;
  left: 50%;
}

/* Grid lines background */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 99, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 99, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Left content */
.hero__content {
  max-width: 580px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 99, 255, 0.1);
  border: 1px solid rgba(108, 99, 255, 0.25);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-secondary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero__title {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero__title .line-highlight {
  display: block;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__actions .btn-primary {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.hero__actions .btn-secondary {
  padding: 15px 36px;
  font-size: 1.05rem;
}

/* Stats row */
.hero__stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Right visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card-stack {
  position: relative;
  width: 360px;
  height: 420px;
}

/* Floating bot cards */
.bot-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition-slow);
}

.bot-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.bot-card__info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.bot-card__info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.bot-card--1 {
  top: 0;
  left: 0;
  width: 260px;
  border-color: rgba(108, 99, 255, 0.3);
  animation: float-1 4s ease-in-out infinite;
}
.bot-card--1 .bot-card__icon {
  background: rgba(108, 99, 255, 0.15);
}

.bot-card--2 {
  top: 80px;
  right: 0;
  width: 240px;
  border-color: rgba(0, 212, 255, 0.3);
  animation: float-2 4.5s ease-in-out infinite;
}
.bot-card--2 .bot-card__icon {
  background: rgba(0, 212, 255, 0.15);
}

.bot-card--3 {
  bottom: 100px;
  left: 20px;
  width: 250px;
  border-color: rgba(108, 99, 255, 0.2);
  animation: float-3 5s ease-in-out infinite;
}
.bot-card--3 .bot-card__icon {
  background: rgba(255, 180, 0, 0.15);
}

.bot-card--4 {
  bottom: 20px;
  right: 10px;
  width: 230px;
  border-color: rgba(0, 212, 255, 0.2);
  animation: float-4 3.8s ease-in-out infinite;
}
.bot-card--4 .bot-card__icon {
  background: rgba(0, 255, 150, 0.15);
}

/* Central glow ring */
.hero__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(108, 99, 255, 0.15);
  box-shadow: 0 0 60px rgba(108, 99, 255, 0.1), inset 0 0 60px rgba(108, 99, 255, 0.05);
  z-index: -1;
}

@keyframes float-1 {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}
@keyframes float-2 {
  0%, 100% { transform: translateY(-8px) rotate(1deg); }
  50% { transform: translateY(4px) rotate(-1deg); }
}
@keyframes float-3 {
  0%, 100% { transform: translateY(4px) rotate(0.5deg); }
  50% { transform: translateY(-10px) rotate(-0.5deg); }
}
@keyframes float-4 {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(8px); }
}

/* Responsive */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero__content {
    max-width: 100%;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__stats {
    justify-content: center;
  }
  .hero__visual {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn-primary,
  .hero__actions .btn-secondary {
    text-align: center;
    justify-content: center;
  }
}
