/* ================================================================
   PayStubCheck — hero.css
   Full-viewport video hero section
   ================================================================ */

/* ── HERO WRAPPER ── */
.video-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0b1806;
}

/* ── ANIMATED ORB FALLBACK ── */
/* Visible when no video file is present — looks intentional */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(121, 192, 6, 0.18);
  top: -100px;
  left: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(252, 148, 11, 0.12);
  bottom: -80px;
  right: 10%;
  animation: orbFloat2 10s ease-in-out infinite;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(121, 192, 6, 0.10);
  top: 40%;
  right: 30%;
  animation: orbFloat3 14s ease-in-out infinite;
}

/* ── VIDEO ELEMENT ── */
/* Drop hero-video.mp4 into assets/video/ to activate */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
}

/* ── OVERLAY ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 5, 0.88) 0%,
    rgba(10, 22, 5, 0.58) 55%,
    rgba(10, 22, 5, 0.72) 100%
  );
  z-index: 1;
}

/* ── CONTENT GRID ── */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 68px 5% 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ── LEFT COLUMN ── */
.hero-left {}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(121, 192, 6, 0.15);
  border: 1px solid rgba(121, 192, 6, 0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #a8e040;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.hero-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(52px, 6.5vw, 82px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -2.5px;
  color: #ffffff;
  margin-bottom: 0;
}

.hero-headline .hero-q {
  color: rgba(255, 255, 255, 0.4);
}

.hero-check-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.hero-checkmark {
  width: 54px;
  height: 54px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation:
    popIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both,
    ripple 2.5s ease-out 1.2s infinite;
}

.hero-checkmark svg {
  width: 26px;
  height: 26px;
}

/* Preview guarantee badge */
.hero-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(252, 148, 11, 0.14);
  border: 1.5px solid rgba(252, 148, 11, 0.32);
  border-radius: 12px;
  padding: 12px 18px;
  margin-bottom: 24px;
  margin-top: 6px;
}

.hero-preview-badge svg {
  color: var(--orange);
  flex-shrink: 0;
}

.hero-preview-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffc875;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-trust-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.50);
}

.hero-trust-chip svg {
  color: var(--green);
  flex-shrink: 0;
}

.hero-trust-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 16px;
}

/* ── RIGHT COLUMN — FLOATING DOC CARD ── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.doc-float {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.doc-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: floatUp 0.9s cubic-bezier(0.34, 1.2, 0.64, 1) 0.2s both;
}

.doc-card-header {
  background: var(--text);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.doc-card-header-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.doc-card-header-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  font-family: 'Bricolage Grotesque', sans-serif;
}

.doc-card-badge {
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.doc-card-body {
  padding: 18px 20px;
}

.doc-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 7px 0;
  border-bottom: 1px solid #f4f8ef;
}

.doc-row:last-of-type {
  border-bottom: none;
}

.doc-row-label {
  font-size: 10.5px;
  color: #8a9f78;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.doc-row-val {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

.doc-row-val.muted {
  color: #8a9f78;
}

.doc-divider {
  height: 1px;
  background: #eef5e6;
  margin: 10px 0;
}

.doc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--green-light);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 8px;
}

.doc-total-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--green-xdark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.doc-total-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-dark);
  font-family: 'Bricolage Grotesque', sans-serif;
}

/* Watermark overlay */
.doc-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.doc-watermark-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: rgba(121, 192, 6, 0.14);
  white-space: nowrap;
  transform: rotate(-35deg);
  letter-spacing: 3px;
  text-transform: uppercase;
  user-select: none;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-badge-a {
  bottom: -18px;
  right: -18px;
  padding: 10px 14px;
  animation: floatUp 0.9s 0.35s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}

.float-badge-b {
  top: -16px;
  left: -16px;
  padding: 8px 14px;
  animation: floatUp 0.9s 0.15s cubic-bezier(0.34, 1.2, 0.64, 1) both;
}

.float-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.float-badge-top {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 500;
}

.float-badge-bot {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.float-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.float-badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* ── SCROLL CUE ── */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: fadeCue 2s 2s both;
}

.scroll-cue-arrow {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-right {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-headline {
    letter-spacing: -1.5px;
  }

  .video-hero {
    min-height: 580px;
  }
}
