/* ============================================================
   hero.css — Hero section (Linear-style: text left, product peek below)
   ============================================================ */
.hero {
  position: relative;
  z-index: var(--z-base);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 0 var(--space-lg);
  min-height: 85vh;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 40px;
}

/* Glow behind hero */
.hero-glow {
  position: absolute;
  top: 8%;
  left: 30%;
  width: 900px;
  height: 550px;
  background: radial-gradient(ellipse, var(--glow-hero) 0%, transparent 65%);
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}

/* Badge — clean, no purple, Apple-style */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 28px;
  margin-top: calc(var(--nav-height) + 80px);
  letter-spacing: -0.01em;
}
.beta-pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  line-height: 1.4;
}

/* Headline — Linear-style: massive, left-aligned, confident */
.hero h1 {
  font-size: clamp(52px, 7.5vw, 82px);
  max-width: 900px;
  margin-bottom: 24px;
  font-weight: 700;
}

/* Subtitle */
.hero-sub {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.5;
}

/* CTA group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.hero-free-note {
  font-size: 13px;
  color: var(--color-text-tertiary);
}
.hero-platform {
  font-size: 12px;
  color: var(--color-text-muted);
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

/* ---- Keyboard shortcut visual ---- */
.keyboard-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.key {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.2s ease, border-color 0.12s ease;
  user-select: none;
}
.key.pressed {
  transform: translateY(2px) scale(0.97);
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 24px rgba(255,255,255,0.15);
}
.key-plus {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 400;
  user-select: none;
}

/* ---- Hero overlay (right side, slides in) ---- */
.hero-overlay-wrapper {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-55%) translateX(100px);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero-overlay-panel {
  width: 360px;
  box-shadow:
    0 40px 100px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 100px rgba(255,255,255,0.05);
}
/* Subtle glow behind the hero overlay */
.hero-overlay-wrapper::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  border-radius: 50%;
}

/* ---- Hero animation initial states ---- */
.hero-badge,
.hero h1,
.hero-sub,
.hero-cta-group,
.hero-meta {
  opacity: 0;
  transform: translateY(28px);
}
.hero h1 {
  transform: translateY(40px);
}
