/* ============================================================
   hero.css — hero section
   ============================================================ */

#hero {
  text-align: center;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 100px;
  border-top: none;
  position: relative;
}

/* Indigo spotlight behind headline */
#hero::before {
  content: '';
  position: absolute;
  top: calc(var(--nav-height) + 40px);
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo-dim);
  border: 1px solid var(--border-accent);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 36px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { opacity: 1; }
  50%  { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Headline */
#hero h1 {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.08;
  max-width: 820px;
  margin: 0 auto 24px;
}

/* Subheading */
.hero-subhead {
  font-size: 21px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* CTA row */
.hero-ctas {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Terminal / CI output mock */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  max-width: 520px;
  margin: 0 auto 40px;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 4px 60px rgba(99, 102, 241, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.15);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red    { background: #EF4444; opacity: 0.6; }
.terminal-dot.yellow { background: #F59E0B; opacity: 0.6; }
.terminal-dot.green  { background: #34D399; opacity: 0.6; }

.terminal-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin: 0 auto;
}

.terminal-body {
  background: var(--surface-2);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-family: var(--font-mono);
}

.terminal-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.terminal-flow {
  color: var(--text-secondary);
  flex: 1;
}

.terminal-time {
  color: var(--text-muted);
  font-size: 12px;
}

.terminal-summary {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--green);
  font-weight: 600;
}

/* Trust items */
.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

.trust-check {
  color: var(--green);
  font-weight: 700;
}
