/* ═══════════════════════════════════════
   PROFITRACK — HOME HERO
   ═══════════════════════════════════════ */

.hero {
  background: linear-gradient(160deg, #000000 0%, #0a0a0a 55%, #111111 100%);
  min-height: calc(100vh - 70px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 88px 0;
}

/* Dot-grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ─── Floating orbs ─── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
}
.hero-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,150,219,.13) 0%, transparent 70%);
  top: -140px; right: -100px;
  animation: orbFloat 10s ease-in-out infinite;
}
.hero-orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(59,130,246,.08) 0%, transparent 70%);
  bottom: -100px; left: -60px;
  animation: orbFloat 14s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(0,150,219,.06) 0%, transparent 70%);
  top: 40%; left: 42%;
  animation: orbFloat 9s ease-in-out infinite 2s;
}

@keyframes orbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-22px) scale(1.04); }
}

/* ─── Two-column grid ─── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ─── LEFT COLUMN ─── */
.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 99px;
  margin-bottom: 28px;
  width: fit-content;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: heroFadeUp .5s cubic-bezier(.4,0,.2,1) both;
}

.hero-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
  animation: heroFadeUp .55s cubic-bezier(.4,0,.2,1) .08s both;
}

.hero-word {
  font-style: normal;
  color: var(--gold2);
  display: inline-block;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
  animation: heroFadeUp .55s cubic-bezier(.4,0,.2,1) .16s both;
}

/* ─── CTA buttons ─── */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: heroFadeUp .55s cubic-bezier(.4,0,.2,1) .24s both;
}

/* ─── Stats row ─── */
.hero-stats {
  display: flex;
  gap: 0;
  animation: heroFadeUp .55s cubic-bezier(.4,0,.2,1) .32s both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid rgba(255,255,255,.14);
}
.hero-stat:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.hero-stat strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold2);
  line-height: 1;
  margin-bottom: 5px;
}
.hero-stat span {
  font-size: .77rem;
  color: rgba(255,255,255,.5);
  font-weight: 500;
}

/* ─── RIGHT COLUMN ─── */
.hero-right {
  position: relative;
  animation: heroFadeUp .65s cubic-bezier(.4,0,.2,1) .15s both;
}

.hero-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Service cards */
.hero-scard {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-scard:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(0,150,219,.35);
  transform: translateX(5px);
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
}

.hero-scard-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.hero-scard:hover .hero-scard-icon { transform: scale(1.1) rotate(-4deg); }

.hero-scard-body { flex: 1; min-width: 0; }
.hero-scard-body h4 {
  font-size: .97rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  line-height: 1.3;
}
.hero-scard-body p {
  font-size: .83rem;
  color: rgba(255,255,255,.52);
  line-height: 1.55;
  margin: 0;
}

/* Hide old arrow */
.hero-scard-arr { display: none; }

/* FTA badge — bottom right of card stack */
.hero-float-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 99px;
  margin-top: 16px;
  float: right;
  box-shadow: 0 4px 18px rgba(0,150,219,.45);
  letter-spacing: .02em;
}

/* Entrance keyframe */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════
   RESPONSIVE
   ═══════════════════════════ */

@media (max-width: 1000px) {
  .hero { padding: 72px 0; }
  .hero-grid { gap: 40px; }
  .hero-left h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding: 64px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-right { order: -1; }
  .hero-left h1 { font-size: clamp(2rem, 5.5vw, 3rem); }
  .hero-float-badge { float: none; display: inline-flex; }
}

@media (max-width: 680px) {
  .hero { padding: 52px 0; }
  .hero-left h1 { font-size: clamp(1.85rem, 7vw, 2.6rem); }
  .hero-sub { font-size: .95rem; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stat strong { font-size: 1.65rem; }
  .hero-stat { padding-right: 20px; margin-right: 20px; }
}

@media (max-width: 480px) {
  .hero { padding: 44px 0; }
  .hero-top-badge { font-size: .75rem; padding: 7px 14px; }
  .hero-scard { padding: 18px 16px; gap: 12px; }
  .hero-scard-icon { width: 44px; height: 44px; font-size: 1.25rem; }
  .hero-stats { gap: 0; }
  .hero-stat { padding-right: 16px; margin-right: 16px; }
}
