/* ============================================================
   HERO — two column: text left, globe right
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: var(--nav-h) 0 60px;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  top: 30%;
  right: 0;
  width: 760px;
  height: 760px;
  background: radial-gradient(ellipse at center, rgba(245,230,66,.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Source Code Pro', monospace;
  font-size: var(--text-label);
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 30px;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin-bottom: 26px;
  background: linear-gradient(175deg, #F0F0F0 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
/* Reserve width so the button doesn't resize while the label types/erases */
.hero-cta .btn-primary { min-width: 254px; justify-content: center; }

/* Globe column */
.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: 'Source Code Pro', monospace;
  font-size: var(--text-label);
  letter-spacing: .12em;
}
.scroll-hint-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.5); opacity: .4; }
}

/* Hero entrance — pure CSS (no JS dependency) */
@keyframes heroEnter {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: none; }
}
.hero-content { animation: heroEnter .9s var(--ease-out) .2s both; }
.hero-visual { animation: heroEnter 1.1s var(--ease-out) .35s both; }
