/* ================================================================
   PayStubCheck — hero.css  v2.0
   Full-viewport dark hero with document image
   ================================================================ */

.video-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0E1E33;
  width: 100%;
  max-width: 100vw;
}

/* ── ANIMATED ORBS ── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.hero-orb-1 {
  width: 640px; height: 640px;
  background: rgba(200, 165, 104, 0.16);
  top: -160px; left: -120px;
  animation: orbFloat1 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 420px; height: 420px;
  background: rgba(200, 165, 104, 0.10);
  bottom: -100px; right: 8%;
  animation: orbFloat2 11s ease-in-out infinite;
}
.hero-orb-3 {
  width: 280px; height: 280px;
  background: rgba(200, 165, 104, 0.08);
  top: 42%; right: 28%;
  animation: orbFloat3 16s ease-in-out infinite;
}

/* ── VIDEO ── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

/* ── OVERLAY ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 30, 51, 0.92) 0%,
    rgba(14, 30, 51, 0.60) 52%,
    rgba(14, 30, 51, 0.76) 100%
  );
  z-index: 1;
}

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

/* ── LEFT ── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 165, 104, 0.13);
  border: 1px solid rgba(200, 165, 104, 0.28);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: #D9C28F;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.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(58px, 7vw, 88px);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: 0px;
  color: #fff;
  margin-bottom: 0;
}
.hero-headline .hero-q { color: rgba(255,255,255,0.35); }

.hero-headline-organized {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.hero-headline-line { display: block; }
.hero-headline-line-check {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-headline-line-check .hero-checkmark {
  width: 66px;
  height: 66px;
}
.hero-headline-line-check .hero-checkmark svg {
  width: 30px;
  height: 30px;
}

.hero-check-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.hero-checkmark {
  width: 56px; height: 56px;
  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; }

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

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.46);
}
.hero-trust-chip svg { color: var(--green); flex-shrink: 0; }
.hero-trust-sep { color: rgba(255,255,255,0.16); }

/* ── RIGHT — document image ── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-doc-float {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 440px;
}

.hero-doc-badge {
  position: absolute;
  top: -14px;
  right: 4px;
  z-index: 10;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 16px rgba(200, 165, 104, 0.45);
}

.hero-stub-frame {
  transform: perspective(1400px) rotateY(-7deg) rotateX(4deg) rotate(-1.5deg);
  transition: transform 0.5s ease;
  filter: drop-shadow(0 36px 72px rgba(0,0,0,0.55));
  position: relative;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  width: 100%;
}
.hero-stub-frame:hover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg) rotate(-0.5deg);
}

.stub-img {
  width: 100%;
  max-width: 440px;
  border-radius: 12px;
  display: block;
}

.stub-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(200, 165, 104, 0.13) 0%, transparent 70%);
  border-radius: 24px;
  pointer-events: none;
  z-index: -1;
}

.hero-stub-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}
.hero-stub-wm-text {
  font-size: 11px;
  font-weight: 700;
  color: rgba(200, 165, 104, 0.22);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-35deg) translateY(-20px);
  width: 200%;
  text-align: center;
}

/* ── SCROLL CUE ── */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.28);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: fadeCue 2s 2.5s both;
}
.scroll-cue-arrow {
  width: 26px; height: 26px;
  border: 1.5px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 100px 24px 48px;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-right { display: none; }
}

@media (max-width: 767px) {
  .video-hero {
    min-height: auto;
    height: auto;
  }
  .hero-content {
    padding: 90px 20px 52px;
    gap: 24px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-left {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .hero-headline {
    font-size: clamp(48px, 12vw, 64px);
    letter-spacing: -1.8px;
  }
  .hero-headline-line-check { gap: 14px; }
  .hero-headline-line-check .hero-checkmark { width: 48px; height: 48px; }
  .hero-headline-line-check .hero-checkmark svg { width: 23px; height: 23px; }
  .hero-sub {
    font-size: 15px;
    max-width: 100%;
    margin-bottom: 28px;
    line-height: 1.65;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline-white {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: 16px 20px;
    font-size: 15px;
    white-space: normal;
    text-align: center;
  }
  .hero-trust {
    gap: 10px;
    flex-wrap: wrap;
  }
  .hero-trust-chip { font-size: 11.5px; }
  .hero-preview-badge { display: none; }
  .scroll-cue { display: none; }
}

@media (max-width: 420px) {
  .hero-headline { font-size: clamp(46px, 13vw, 58px); }
}

/* ================================================================
   STAGE 3 — Hero elevation (additive). Desktop + mobile.
   ================================================================ */

/* headline depth on the dark field */
.hero-headline{ text-shadow:0 2px 30px rgba(0,0,0,.35); letter-spacing:-1px; }
.hero-eyebrow{ backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }

/* the document becomes a premium floating object */
.hero-doc-float{ animation:heroDocFloat 7s ease-in-out infinite; }
@keyframes heroDocFloat{
  0%,100%{ transform:translateY(0) rotate(-1.2deg); }
  50%{ transform:translateY(-14px) rotate(-1.2deg); }
}
.hero-stub-frame{
  /* box-shadow removed — was causing the visible square halo */
  transition:transform .5s cubic-bezier(.32,.72,0,1) !important;
}

.stub-glow{
  background:radial-gradient(circle at 50% 40%, rgba(200, 165, 104, .34), transparent 62%) !important;
  filter:blur(30px) !important;
}

/* refined trust chips */
.hero-trust-chip{ transition:color .2s; }

@media (prefers-reduced-motion:reduce){
  .hero-doc-float{ animation:none; }
}

/* Belt-and-suspenders: ensure zero halo on hero stub frame */
.hero-stub-frame::before,
.hero-stub-frame::after { display: none !important; content: none !important; }
.hero-stub-frame { 
  background: transparent !important;
  overflow: visible !important;
  border-radius: 0 !important;
}
.hero-stub-frame .stub-glow { display: none !important; }
.hero-doc-float { background: transparent !important; }
.hero-right { background: transparent !important; }
