/* ============================================================
   HERO.CSS
   ============================================================ */

.hero {
  min-height: calc(100vh - 64px);
  background: var(--hero-gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--hero-blob) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--hero-blob) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4.75rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.26);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #15803d;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-badge .dot {
  width: 10px; height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease infinite;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-title .name-accent {
  color: var(--accent-blue);
  display: block;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-cta .btn {
  padding: 0.62rem 0.95rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.hero-cta .btn-ghost {
  background: transparent;
  border-color: var(--accent-blue);
  color: var(--text-secondary) !important;
}

.hero-cta .btn-ghost:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-blue-dark);
  color: var(--text-heading) !important;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item { }

.stat-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-number span { color: var(--accent-blue); }

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
  font-weight: 500;
}

/* Photo */
.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero-photo {
  width: 330px; height: 370px;
  border-radius: 30px;
  object-fit: cover;
  object-position: center 18%;
  border: 2px solid rgba(255, 255, 255, 0.64);
  box-shadow:
    0 0 0 8px rgba(14, 118, 218, 0.10),
    0 0 0 18px rgba(255, 255, 255, 0.16),
    0 28px 74px var(--shadow-strong);
  position: relative;
  z-index: 1;
}

.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -20px 14px 14px -20px;
  border: 2px dashed rgba(14, 118, 218, 0.34);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(14, 118, 218, 0.10), rgba(255, 255, 255, 0.04));
  z-index: 0;
}

.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 14px -16px -16px 14px;
  border: 1px solid rgba(14, 118, 218, 0.22);
  border-radius: 36px;
  z-index: 0;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo-wrap { order: -1; margin: 0 auto; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-description { max-width: 100%; }
  .hero-photo {
    width: 270px;
    height: 300px;
  }
}

@media (min-width: 901px) {
  .hero-cta { flex-wrap: nowrap; }
}

@media (max-width: 480px) {
  .hero-photo {
    width: 240px;
    height: 265px;
    border-radius: 24px;
  }
  .hero-stats { gap: 1.5rem; }
}
