/* ===== HERO SECTION ===== */

.page {
  min-height: calc(100dvh - 70px);
}

.hero {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(125deg, #0f1224 0%, #131a33 50%, #1a2a4a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91,99,255,0.15) 0%, transparent 70%);
  animation: orbitRadius 4s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(107,114,255,0.1) 0%, transparent 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-text h1, 
.hero-text p {
  color: #fff;
}

.hero-text h1 {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-text p {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-name {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  font-weight: 600;
}

.hero-lastname {
  margin-left: 0.3rem;
  font-weight: 900;
}

.highlight {
  color: var(--primary);
  font-weight: 800;
  font-size: 66%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glowPulse 3s ease-in-out infinite;
}

.hero p {
  margin-top: 1rem;
  max-width: 58ch;
  color: var(--text-muted);
  font-size: var(--font-size-lg);
  line-height: 1.8;
}

.hero-image img {
  width: 80%;
  max-width: 480px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: slideInRight 0.8s ease-out 0.3s both;
}

.hero-image {
  justify-self: end;
  margin-left: var(--hero-image-offset);
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image img {
    margin-inline: auto;
    max-width: 320px;
  }
  
  .hero-text h1 {
    animation: slideInLeft 0.8s ease-out 0.2s both;
  }
  
  .hero-text {
    animation: fadeInUp 0.8s ease-out 0.1s both;
  }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  .hero { 
    background: linear-gradient(125deg, #0a1218 0%, #0f1729 50%, #132340 100%);
  }
  
  .hero p {
    color: #cbd5e1;
  }
}
