/* Hero Section Styling */

.hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: calc(var(--spacing-3xl) + 80px) 0 var(--spacing-2xl) 0;
  color: var(--white);
}

.hero-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
  z-index: var(--z-base);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  max-width: 620px;
  animation: fadeInUp 0.8s var(--ease-out) 0s both;
}

.hero-title {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem);
  font-weight: var(--font-weight-extrabold);
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-subtitle {
  font-size: clamp(1rem, 1vw + 0.75rem, 1.25rem);
  line-height: 1.6;
  color: rgba(241, 245, 249, 0.9);
  margin: 0;
  animation: fadeInUp 0.8s var(--ease-out) 0.15s both;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-cta-group .btn {
  padding-inline: clamp(1.5rem, 1.5vw + 1rem, 2.5rem);
  padding-block: clamp(0.85rem, 0.5vw + 0.5rem, 1.15rem);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.28);
  transition: transform var(--transition-base) var(--ease-out), box-shadow var(--transition-base) var(--ease-out);
}

.hero-cta-group .btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.hero-cta-group .btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.35);
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 1vw + 0.5rem, 1.5rem);
  align-items: center;
  animation: fadeInUp 0.8s var(--ease-out) 0.45s both;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  min-width: 140px;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
  text-align: center;
}

.hero-badge__label {
  font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem);
  font-weight: var(--font-weight-semibold);
}

.hero-badge__caption {
  font-size: var(--text-sm);
  color: rgba(241, 245, 249, 0.85);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.9s var(--ease-out) 0.25s both;
}

.hero-visual__media {
  position: relative;
  width: min(525px, 100%);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-2xl, 28px);
  overflow: hidden;
  box-shadow: 0 36px 84px rgba(15, 23, 42, 0.35);
}

.hero-visual__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease-out;
}

.hero-visual__media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(59, 130, 246, 0.25), transparent 60%);
  mix-blend-mode: screen;
}

.hero-visual:hover .hero-visual__image {
  transform: scale(1.05);
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 65%);
  z-index: -1;
  filter: blur(1px);
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: calc(var(--z-base) - 1);
  opacity: 0.35;
  mix-blend-mode: screen;
}

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

/* Responsive */

@media (max-width: 1024px) {
  .hero-section {
    padding: var(--spacing-2xl) 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual__media {
    width: min(560px, 100%);
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: var(--spacing-2xl) 0;
  }

  .hero-content {
    gap: var(--spacing-xl);
    text-align: center;
    align-items: center;
  }

  .hero-cta-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .hero-badge {
    min-width: 120px;
    padding-inline: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .hero-visual__media {
    aspect-ratio: 5 / 4;
  }

  .hero-cta-group .btn {
    padding-block: 0.85rem;
  }
}
