/* ============================================
   Hero Section
   ============================================ */

/* --- Hero Base --- */
.hero {
  background: linear-gradient(135deg, var(--color-primary-900), var(--color-primary-800));
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
  padding-bottom: var(--space-20);
}

/* --- Grid --- */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* --- Content --- */
.hero-content {
  position: relative;
  z-index: 4;
}

/* --- Badge --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: var(--text-sm);
  color: var(--color-primary-200);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* --- Heading --- */
.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-6);
}

/* --- Paragraph --- */
.hero p {
  color: var(--color-primary-200);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

/* --- Features List --- */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-features li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.hero-features li svg,
.hero-features li .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-accent-green);
}

.hero-features li span {
  color: var(--color-primary-100);
  font-size: var(--text-lg);
}

/* --- Actions --- */
.hero-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: var(--space-8);
}

/* --- Visual Side --- */
.hero-visual {
  position: relative;
  z-index: 2;
}

/* --- Mockup --- */
.hero-mockup {
  max-width: 100%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 40px rgba(37, 99, 235, 0.3));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* --- Glow Effect --- */
.hero-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  filter: blur(60px);
  pointer-events: none;
}

/* --- Wave Divider --- */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height-mobile) + var(--space-10));
    padding-bottom: var(--space-16);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
    text-align: center;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-badge {
    margin-inline: auto;
  }

  .hero-features {
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-glow {
    width: 280px;
    height: 280px;
  }
}
