/* /assets/home.css?v=4
   Home-specific styles:
   - Hero typography boost
   - CTA buttons size
   - Quickchips + lead line
   - Scroll reveal (sections + stagger items)
*/

.hero {
  position: relative;
  padding-top: clamp(26px, 4vw, 44px);
  padding-bottom: clamp(18px, 3vw, 34px);
}

.hero-intro {
  max-width: 980px;
}

.hero-intro h1 {
  font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 14px 0;
}

.hero-intro p {
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.6;
  opacity: 0.92;
  max-width: 72ch;
  margin: 0 0 18px 0;
}

.hero-intro .hl {
  display: inline-block;
  padding: 0 .18em;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset;
}

/* ---------- CTA buttons: taller + slightly wider ---------- */
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 18px;
}

.hero-cta .btn {
  padding: 14px 18px;
  min-height: 50px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-cta .btn.btn-accent {
  padding-left: 20px;
  padding-right: 20px;
}

.hero-cta .btn.btn-outline {
  padding-left: 18px;
  padding-right: 18px;
}

.hero-cta .btn .arrow {
  display: inline-block;
  transform: translateY(1px);
  margin-left: 6px;
}

@media (max-width: 520px) {
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Quickchips ---------- */
.quickchips {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  padding-top: 8px;
}

@media (max-width: 920px) {
  .quickchips {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.quickchips-lead {
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.quickchips-lead::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--accent2, #8b5cf6), transparent 60%);
  box-shadow: 0 0 22px rgba(99, 102, 241, 0.35);
}

.qchip {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.qico {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.qtxt strong {
  display: block;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.qtxt span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  opacity: .78;
  line-height: 1.25;
}

/* ---------- Top tools section: small polish ---------- */
.rec-shell {
  margin-top: clamp(18px, 2.8vw, 28px);
}

.rec-wrap .box-sub {
  font-size: 14px;
  line-height: 1.55;
  opacity: .82;
}

.rec-refresh {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.pick-card .pick-title {
  letter-spacing: -0.01em;
}

.pick-card .pick-desc {
  opacity: .82;
  line-height: 1.5;
}

.picks-actions .btn {
  min-height: 46px;
  padding: 12px 14px;
  border-radius: 14px;
}

/* =========================================================
   SCROLL REVEAL SYSTEM (sections + stagger items)
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
  transition:
    opacity 560ms ease,
    transform 560ms ease,
    filter 560ms ease;
  will-change: opacity, transform, filter;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Slightly different reveal for big boxes (more "premium") */
.reveal.reveal-box {
  transform: translateY(22px) scale(.992);
  transition:
    opacity 620ms ease,
    transform 620ms ease,
    filter 620ms ease;
}

.reveal.reveal-box.is-in {
  transform: translateY(0) scale(1);
}

/* Stagger children items inside a container */
.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(1.5px);
  transition:
    opacity 520ms ease,
    transform 520ms ease,
    filter 520ms ease;
  will-change: opacity, transform, filter;
}

.stagger.is-in > * {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Optional: calm hover micro-lift (only on devices with hover) */
@media (hover:hover) and (pointer:fine) {
  .qchip:hover {
    transform: translateY(-2px);
    transition: transform 180ms ease;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
