/* ═══════════════════════════════════════════════
   HoloHawk Landing Page Styles
   ═══════════════════════════════════════════════ */

html { scroll-behavior: smooth; }

/* ── Holo text (moved from shared <style>) ──── */
.holo-text {
  background: linear-gradient(135deg, #818cf8, #67e8f9, #c084fc, #818cf8);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  animation: holo-shift 4s ease-in-out infinite;
}
@keyframes holo-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── Dot grid background ────────────────────── */
.dot-grid {
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ── Hero gradient glow ─────────────────────── */
.hero-glow {
  position: relative;
  overflow: hidden;
}
.hero-glow::before,
.hero-glow::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow::before {
  width: 600px;
  height: 600px;
  top: -200px;
  left: 50%;
  transform: translateX(-70%);
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
}
.hero-glow::after {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  left: auto;
  transform: none;
  background: radial-gradient(circle, rgba(168,85,247,0.06) 0%, transparent 70%);
}
.hero-glow > * {
  position: relative;
  z-index: 1;
}

/* ── Glass card ─────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.glass-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}

/* ── Scroll reveal ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

/* ── Primary CTA button ────────────────────── */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #030712;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.75rem;
  transition: box-shadow 0.25s ease, transform 0.15s ease;
  box-shadow: 0 0 20px rgba(99,102,241,0.25), 0 0 60px rgba(99,102,241,0.1);
}
.cta-primary:hover {
  box-shadow: 0 0 30px rgba(99,102,241,0.35), 0 0 80px rgba(99,102,241,0.15);
  transform: translateY(-1px);
}

/* ── Discord frame chrome ───────────────────── */
.discord-frame {
  background: #1e1f22;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.discord-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.discord-titlebar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.discord-titlebar .dot-red    { background: #ff5f57; }
.discord-titlebar .dot-yellow { background: #febc2e; }
.discord-titlebar .dot-green  { background: #28c840; }
.discord-titlebar .title-label {
  margin-left: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}

/* ── Pipeline diagram ───────────────────────── */
.pipeline-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 9999px;
  font-size: 0.8125rem;
  color: #d1d5db;
  font-weight: 500;
  transition: border-color 0.2s ease;
}
.pipeline-step:hover {
  border-color: rgba(255,255,255,0.12);
}
.pipeline-step .step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.pipeline-connector {
  width: 2px;
  height: 20px;
  margin-left: 1.75rem;
  background: linear-gradient(to bottom, rgba(99,102,241,0.3), rgba(168,85,247,0.3));
}

/* ── Section overline ───────────────────────── */
.section-overline {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

/* ── Step number badge ──────────────────────── */
.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Tech spec row ──────────────────────────── */
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  align-items: baseline;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-key {
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, monospace;
  font-size: 0.8125rem;
  color: #a5b4fc;
  white-space: nowrap;
  flex-shrink: 0;
}
.spec-val {
  font-size: 0.8125rem;
  color: #9ca3af;
}
@media (min-width: 640px) {
  .spec-key { min-width: 130px; }
}

/* ── Footer ─────────────────────────────────── */
.landing-footer a {
  color: #6b7280;
  transition: color 0.15s ease;
}
.landing-footer a:hover {
  color: #d1d5db;
}

/* ── Connecting line between how-it-works cards */
@media (min-width: 768px) {
  .hiw-grid {
    position: relative;
  }
  .hiw-grid::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.2) 20%, rgba(168,85,247,0.2) 80%, transparent);
    z-index: 0;
  }
  .hiw-grid > .glass-card {
    position: relative;
    z-index: 1;
  }
}

