/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Ambient blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero__blob--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108,99,255,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: blob-drift-1 12s ease-in-out infinite alternate;
}

.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
  bottom: 0;
  left: 10%;
  animation: blob-drift-2 16s ease-in-out infinite alternate;
}

@keyframes blob-drift-1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-40px, 60px) scale(1.15); }
}

@keyframes blob-drift-2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, -40px) scale(1.1); }
}

/* ========== GRID ========== */
.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  position: relative;
  z-index: 2;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 55% 45%;
    gap: 0;
  }
}

/* ========== CONTENT ========== */
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* BADGE */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: rgba(108,99,255,0.06);
  width: fit-content;
  opacity: 0;
  transform: translateY(12px);
}

body.hero--loaded .hero__badge {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease) 0.1s, transform 0.7s var(--ease) 0.1s;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

/* TITLE */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 11vw, 9.5rem);
  font-weight: 800;
  line-height: 0.92;
  display: flex;
  flex-direction: column;
  letter-spacing: -0.02em;
}

.hero__name-line {
  opacity: 0;
  transform: translateY(110%);
  display: block;
  overflow: hidden;
}

body.hero--loaded .hero__name-line {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

body.hero--loaded .hero__name-line:nth-child(1) { transition-delay: 0.05s; }
body.hero--loaded .hero__name-line:nth-child(2) { transition-delay: 0.2s; }
body.hero--loaded .hero__name-line:nth-child(3) { transition-delay: 0.35s; }

.hero__name-line--outline {
  -webkit-text-stroke: 2px var(--accent);
  color: transparent;
  background: none;
}

/* SUBTITLE */
.hero__subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--text-soft);
  min-height: 1.6em;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}

/* ACTIONS */
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
}

body.hero--loaded .hero__actions {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease) 0.5s, transform 0.8s var(--ease) 0.5s;
}

/* SOCIAL */
.hero__social {
  display: flex;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(16px);
}

body.hero--loaded .hero__social {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s var(--ease) 0.65s, transform 0.8s var(--ease) 0.65s;
}

.hero__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-soft);
  transition: all 0.3s var(--ease);
}

.hero__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(108,99,255,0.08);
  transform: translateY(-3px);
}

/* ========== IMAGE COLUMN ========== */
.hero__image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrap {
  position: relative;
  width: min(340px, 75vw);
  aspect-ratio: 1;
  opacity: 0;
  transform: scale(0.92);
}

body.hero--loaded .hero__image-wrap {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1s var(--ease) 0.3s, transform 1s var(--ease) 0.3s;
}

/* Rotating rings */
.hero__image-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1.5px dashed;
  pointer-events: none;
}

.hero__image-ring--outer {
  inset: -24px;
  border-color: rgba(108,99,255,0.18);
  animation: spin-cw 20s linear infinite;
}

.hero__image-ring--mid {
  inset: -10px;
  border-color: rgba(0,212,255,0.15);
  animation: spin-ccw 14s linear infinite;
}

@keyframes spin-cw  { to { transform: rotate(360deg); } }
@keyframes spin-ccw { to { transform: rotate(-360deg); } }

/* Photo frame */
.hero__image-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 3px solid transparent;
  background:
    linear-gradient(135deg, #0d1020 0%, #141828 50%, #0a0c14 100%) padding-box,
    var(--gradient-accent) border-box;
  box-shadow:
    0 0 0 1px rgba(108,99,255,0.15),
    0 20px 80px rgba(108,99,255,0.25),
    0 0 60px rgba(0,212,255,0.12);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.hero__image-frame:hover {
  box-shadow:
    0 0 0 1px rgba(108,99,255,0.3),
    0 24px 100px rgba(108,99,255,0.4),
    0 0 80px rgba(0,212,255,0.2);
  transform: scale(1.03);
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s var(--ease);
}

.hero__image-frame:hover .hero__photo {
  transform: scale(1.05);
}

/* Glow overlay on image */
.hero__image-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 80%, rgba(108,99,255,0.15), transparent 60%);
  pointer-events: none;
}

/* Floating tags */
.hero__image-tag {
  position: absolute;
  background: rgba(13,15,20,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  white-space: nowrap;
  z-index: 3;
}

.hero__image-tag--tl {
  top: 8%;
  left: -10%;
  animation: float-tag 4s ease-in-out infinite;
}

.hero__image-tag--br {
  bottom: 10%;
  right: -10%;
  animation: float-tag 4s ease-in-out 2s infinite;
}

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

.tag-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
}

/* ========== SCROLL INDICATOR ========== */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}

.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.2em;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-line 2s var(--ease) infinite;
}

/* ========== FADEUP KEYFRAME ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
