/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, #f0f4ff 0%, #ffffff 50%, #f8f9ff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(65,117,252,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light); color: var(--blue);
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 20px;
}
.hero-eyebrow .lucide { width: 13px; height: 13px; }
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800; line-height: 1.1; color: var(--dark);
  letter-spacing: -.02em; margin-bottom: 20px;
}
.hero-title .accent { color: var(--blue); }
.hero-sub { font-size: 1.08rem; color: var(--gray-mid); line-height: 1.75; margin-bottom: 36px; max-width: 460px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-safety { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--gray-mid); }
.hero-safety .lucide { width: 14px; height: 14px; color: var(--blue); }
.hero-stats { display: flex; gap: 32px; padding-top: 32px; border-top: 1px solid var(--gray-line); }
.hero-stat-val { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--blue); }
.hero-stat-val span { color: var(--blue); }
.hero-stat-label { font-size: .78rem; color: var(--gray-mid); margin-top: 2px; }

/* Right visual — AI dashboard mockup */
.hero-visual { position: relative; }
.ai-card {
  background: var(--white); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(65,117,252,.14), 0 2px 8px rgba(0,0,0,.04);
  overflow: hidden; border: 1px solid var(--gray-line);
}
.ai-card-header {
  background: linear-gradient(135deg, #0f172a 0%, #1a2744 100%);
  padding: 20px 24px 16px; display: flex; align-items: center; justify-content: space-between;
}
.ai-card-header-left { display: flex; align-items: center; gap: 10px; }
.ai-header-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(65,117,252,.25); display: flex; align-items: center; justify-content: center;
}
.ai-header-icon .lucide { width: 16px; height: 16px; color: #93c5fd; }
.ai-header-title { font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: #fff; }
.ai-header-sub { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: 1px; }
.ai-header-status { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: #34d399; font-weight: 600; }
.ai-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.4} }

.ai-tasks { padding: 16px 20px; display: flex; flex-direction: column; gap: 8px; }
.ai-task {
  display: flex; align-items: center; gap: 10px;
  background: var(--gray-light); border-radius: 10px; padding: 10px 12px;
  border: 1px solid var(--gray-line);
}
.ai-task-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ai-task-icon.blue  { background: var(--blue-light); color: var(--blue); }
.ai-task-icon.green { background: #d1fae5; color: #059669; }
.ai-task-icon.amber { background: #fef3c7; color: #d97706; }
.ai-task-icon.purple{ background: #ede9fe; color: #7c3aed; }
.ai-task-icon .lucide { width: 14px; height: 14px; }
.ai-task-label { font-size: .8rem; font-weight: 600; color: var(--dark); flex: 1; }
.ai-task-sub { font-size: .7rem; color: var(--gray-mid); }
.ai-task-badge {
  font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: 50px;
  white-space: nowrap;
}
.ai-task-badge.done  { background: #d1fae5; color: #059669; }
.ai-task-badge.run   { background: var(--blue-light); color: var(--blue); }
.ai-task-badge.queue { background: var(--gray-line); color: var(--gray-mid); }

.ai-card-footer { padding: 12px 20px 18px; display: flex; gap: 10px; }
.ai-metric {
  flex: 1; border-radius: 10px; padding: 11px 12px; text-align: center;
}
.ai-metric.dark  { background: #0f172a; }
.ai-metric.blue  { background: var(--blue); }
.ai-metric.light { background: var(--blue-light); }
.ai-metric-val { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; }
.ai-metric.dark  .ai-metric-val { color: #fff; }
.ai-metric.blue  .ai-metric-val { color: #fff; }
.ai-metric.light .ai-metric-val { color: var(--blue); }
.ai-metric-label { font-size: .65rem; margin-top: 2px; }
.ai-metric.dark  .ai-metric-label { color: rgba(255,255,255,.45); }
.ai-metric.blue  .ai-metric-label { color: rgba(255,255,255,.65); }
.ai-metric.light .ai-metric-label { color: var(--blue); opacity: .7; }

/* Floating badges */
.fv-badge {
  position: absolute; background: var(--white);
  border-radius: 10px; padding: 10px 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; border: 1px solid var(--gray-line);
}
.fv-badge-icon { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fv-badge-val { font-family: var(--font-head); font-size: .88rem; font-weight: 800; color: var(--dark); }
.fv-badge-label { font-size: .68rem; color: var(--gray-mid); }
.fv-badge-1 { top: -18px; right: 16px; }
.fv-badge-2 { bottom: -16px; left: 12px; }

