/* ─────────────────────────────────────────
   HERO — Full-height hero section +
          floating dashboard card
───────────────────────────────────────── */

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 80px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
  }
}

/* ── Eyebrow badge ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  border: 1px solid rgba(29, 135, 200, 0.3);
  background: rgba(29, 135, 200, 0.07);
  font-size: 12px;
  color: var(--brand-light);
  margin-bottom: 24px;
}

.eyebrow-pill {
  background: rgba(29, 135, 200, 0.18);
  border: 1px solid rgba(29, 135, 200, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 600;
  font-size: 11px;
  color: #fff;
}

/* ── Main headline ── */
.hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

/* Gradient text — applies to <span class="grad"> */
.grad {
  background: linear-gradient(110deg, var(--brand-light) 0%, #fff 50%, var(--brand-light) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shine 4s linear infinite;
}

@keyframes text-shine {
  to { background-position: 200% center; }
}

.hero-p {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 36rem;
  margin-bottom: 32px;
}

/* ── CTAs ── */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

/* ── Trust items ── */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-2);
}

.trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--brand);
  flex-shrink: 0;
}

/* ── Dashboard card (right side) ── */
.hero-visual { position: relative; }

/* Ambient glow behind the card */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, var(--brand-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-card {
  position: relative;
  z-index: 1;
  border-radius: var(--r-xl);
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}

/* Gradient top line */
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--brand) 50%, transparent 100%);
}

/* Subtle glow inside card */
.hero-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--brand-dim) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Card header */
.hc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--green);
}

/* Stat tiles */
.hc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.hc-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px;
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.hc-tile:hover { border-color: var(--border-2); }

.hc-tile.hi {
  background: var(--brand-dim);
  border-color: rgba(29, 135, 200, 0.22);
}

.tile-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 9px;
}

.ico-c { background: var(--brand-dim);  color: var(--brand); }
.ico-v { background: var(--violet-dim); color: var(--brand-light); }
.ico-g { background: var(--green-dim);  color: var(--green); }
.ico-a { background: rgba(245, 158, 11, 0.1); color: var(--amber); }

.tile-ico svg { width: 15px; height: 15px; }
.tile-n { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 1px; }
.tile-l { font-size: 11px; color: var(--text-2); }
.tile-s { font-size: 10.5px; color: var(--text-3); margin-top: 4px; }

/* Progress bar */
.hc-bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-2);
  margin-bottom: 6px;
}

.hc-bar-val { color: var(--brand-light); font-weight: 600; }

.hc-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.hc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  animation: bar-in 1.4s ease-out forwards;
  transform-origin: left;
  transform: scaleX(0);
}

@keyframes bar-in { to { transform: scaleX(1); } }

/* Integration tags */
.int-row  { display: flex; flex-wrap: wrap; gap: 7px; }
.int-tag  {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-2);
}

/* Floating chip below card */
.float-chip {
  position: absolute;
  bottom: -13px;
  right: 24px;
  background: rgba(14, 19, 24, 0.97);
  border: 1px solid rgba(29, 135, 200, 0.3);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 11px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  z-index: 2;
}

.float-chip svg { width: 12px; height: 12px; color: var(--brand); }
