/* ==========================================================
   Home hero — white, full-screen landing (homepage only)
   Uses .home-hero (not .hero) so the shared dark .hero styles
   on the Solutions pages and the transparent-header rules
   in style.css are unaffected.
   ========================================================== */
.home-hero {
  --hh-navy: #0f2f52;
  --hh-blue: #144a7c;
  --hh-teal: #3bb99f;
  --hh-ink: #0b1b2f;
  --hh-muted: #56667b;
  position: relative;
  overflow: hidden;
  background: #fff;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 138px;
  display: flex;
  flex-direction: column;
  font-family: "Inter", system-ui, sans-serif;
}

/* ---------- background ---------- */
.home-hero .hh-bg { position: absolute; inset: 0; pointer-events: none; }
.home-hero .hh-aurora { position: absolute; border-radius: 50%; filter: blur(80px); }
.home-hero .hh-aurora-1 { width: 620px; height: 420px; left: -180px; top: 60px; background: rgba(59,185,159,.20); animation: hh-drift 16s ease-in-out infinite; }
.home-hero .hh-aurora-2 { width: 640px; height: 440px; right: -200px; top: 20px; background: rgba(66,133,244,.16); animation: hh-drift 18s ease-in-out infinite reverse; }
.home-hero .hh-aurora-3 { width: 760px; height: 420px; left: 50%; bottom: -160px; transform: translateX(-50%); background: rgba(124,92,255,.10); }
.home-hero .hh-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,74,124,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,74,124,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
}

/* ---------- centred copy ---------- */
.home-hero .hh-center { text-align: center; display: flex; flex-direction: column; align-items: center; }

.home-hero .hh-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 26px; padding: 5px 14px 5px 5px;
  border: 1px solid #dfe8f0; border-radius: 999px;
  background: rgba(255,255,255,.8); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px -6px rgba(15,47,82,.15);
  color: #2b3d52; font-size: .9rem; font-weight: 500; text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
  animation: hh-rise .7s ease both;
}
.home-hero .hh-eyebrow:hover { border-color: var(--hh-teal); transform: translateY(-1px); }
.home-hero .hh-eyebrow-tag {
  padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(90deg, var(--hh-blue), var(--hh-teal)); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
}
.home-hero .hh-eyebrow-arrow { color: var(--hh-teal); font-weight: 700; transition: transform .2s ease; }
.home-hero .hh-eyebrow:hover .hh-eyebrow-arrow { transform: translateX(3px); }

.home-hero .hh-title {
  margin: 0 0 24px; max-width: 1000px;
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  line-height: 1.02; font-weight: 800; letter-spacing: -0.045em;
  color: var(--hh-ink);
  animation: hh-rise .7s .08s ease both;
}
.home-hero .hh-accent {
  position: relative; display: inline-block;
  background: linear-gradient(95deg, var(--hh-blue) 5%, #1d7fa0 45%, var(--hh-teal) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.home-hero .hh-swoosh {
  position: absolute; left: 2%; bottom: -.12em; width: 96%; height: .26em; overflow: visible;
}
.home-hero .hh-swoosh path {
  fill: none; stroke: var(--hh-teal); stroke-width: 6; stroke-linecap: round; opacity: .55;
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: hh-draw 1.1s .7s ease forwards;
}

.home-hero .hh-lead {
  margin: 0 0 34px; max-width: 680px;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.65; color: var(--hh-muted);
  animation: hh-rise .7s .16s ease both;
}

.home-hero .hh-cta-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 26px;
  animation: hh-rise .7s .24s ease both;
}
.home-hero .hh-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 14px;
  font-weight: 600; font-size: 1.03rem; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.home-hero .hh-btn-primary {
  background: var(--hh-navy); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(15,47,82,.6), inset 0 1px 0 rgba(255,255,255,.12);
}
.home-hero .hh-btn-primary:hover { background: var(--hh-blue); transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(15,47,82,.65); }
.home-hero .hh-arrow { transition: transform .2s ease; }
.home-hero .hh-btn-primary:hover .hh-arrow { transform: translateX(4px); }
.home-hero .hh-btn-ghost { background: #fff; color: var(--hh-ink); border: 1.5px solid #dfe6ee; }
.home-hero .hh-btn-ghost svg { width: 20px; height: 20px; color: #25d366; }
.home-hero .hh-btn-ghost:hover { border-color: var(--hh-teal); transform: translateY(-2px); }

.home-hero .hh-trust {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  color: #46566c; font-size: .92rem; font-weight: 500;
  animation: hh-rise .7s .32s ease both;
}
.home-hero .hh-trust li { display: inline-flex; align-items: center; gap: 8px; }
.home-hero .hh-trust svg {
  width: 18px; height: 18px; padding: 3px; border-radius: 50%;
  background: rgba(59,185,159,.15); stroke: #23977f; stroke-width: 3; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- showcase stage ---------- */
.home-hero .hh-stage {
  position: relative; flex: 1; margin-top: 56px;
  min-height: 330px;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  animation: hh-rise-big 1s .35s cubic-bezier(.2,.8,.2,1) both;
}
.home-hero .hh-stage-inner { position: relative; max-width: 1180px; height: 100%; min-height: 420px; margin: 0 auto; }

.home-hero .hh-browser {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: min(780px, 86%);
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid #e3eaf1;
  box-shadow: 0 50px 100px -40px rgba(15,47,82,.45), 0 16px 40px -18px rgba(15,47,82,.18);
}
.home-hero .hh-browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f5f8fb; border-bottom: 1px solid #e9eef4; }
.home-hero .hh-browser-bar > span { width: 11px; height: 11px; border-radius: 50%; background: #ff6b6b; }
.home-hero .hh-browser-bar > span:nth-child(2) { background: #ffc145; }
.home-hero .hh-browser-bar > span:nth-child(3) { background: #3ddc84; }
.home-hero .hh-url {
  display: flex; align-items: center; gap: 6px;
  margin: 0 auto; transform: translateX(-24px); width: 260px; justify-content: center;
  padding: 6px 14px; border-radius: 8px; background: #fff; border: 1px solid #e4ebf2;
  font-size: .76rem; color: #7b8da3;
}
.home-hero .hh-url svg { width: 12px; height: 12px; fill: none; stroke: #3bb99f; stroke-width: 2.4; }
.home-hero .hh-browser-body { padding: 18px 26px 26px; }
.home-hero .hh-site-nav { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.home-hero .hh-logo-dot { width: 24px; height: 24px; border-radius: 8px; background: linear-gradient(135deg, var(--hh-blue), var(--hh-teal)); }
.home-hero .hh-brand { width: 70px; height: 9px; border-radius: 5px; background: #1c3350; }
.home-hero .hh-site-nav b { width: 48px; height: 7px; border-radius: 4px; background: #e3eaf1; }
.home-hero .hh-site-nav b:first-of-type { margin-left: auto; }
.home-hero .hh-site-nav em { width: 74px; height: 26px; border-radius: 8px; background: var(--hh-navy); }

.home-hero .hh-site-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: center; margin-bottom: 26px; }
.home-hero .hh-site-pill { display: block; width: 84px; height: 16px; border-radius: 99px; background: #dcf5ee; margin-bottom: 14px; }
.home-hero .hh-site-copy i { display: block; height: 15px; border-radius: 6px; background: #1c3350; margin-bottom: 10px; }
.home-hero .hh-site-copy i.thin { height: 8px; background: #dfe7ef; margin-bottom: 8px; }
.home-hero .hh-site-copy i.thin.w95 { margin-top: 16px; }
.home-hero .w90 { width: 94%; } .home-hero .w70 { width: 66%; } .home-hero .w95 { width: 96%; } .home-hero .w80 { width: 78%; }
.home-hero .hh-site-btns { display: flex; gap: 10px; margin-top: 18px; }
.home-hero .hh-site-btn { width: 100px; height: 30px; border-radius: 9px; background: linear-gradient(90deg, var(--hh-blue), var(--hh-teal)); }
.home-hero .hh-site-btn.ghost { width: 80px; background: #fff; border: 1.5px solid #dfe7ef; }
.home-hero .hh-site-art {
  position: relative; height: 170px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(140deg, #e0f6ef 0%, #dde9fb 60%, #ebe4fd 100%);
}
.home-hero .hh-art-sun { position: absolute; width: 90px; height: 90px; border-radius: 50%; right: 22px; top: 20px; background: linear-gradient(135deg, var(--hh-teal), #8fe3cf); }
.home-hero .hh-art-card { position: absolute; border-radius: 12px; background: rgba(255,255,255,.9); box-shadow: 0 10px 20px -10px rgba(15,47,82,.3); }
.home-hero .hh-art-card-a { left: 18px; bottom: 18px; width: 58%; height: 48px; }
.home-hero .hh-art-card-b { left: 18px; top: 22px; width: 34%; height: 30px; background: rgba(255,255,255,.7); }

.home-hero .hh-site-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.home-hero .hh-site-cards > div { padding: 14px; border-radius: 12px; border: 1px solid #edf1f6; background: #fbfcfe; }
.home-hero .hh-site-cards i { display: block; width: 28px; height: 28px; border-radius: 8px; background: #dbe8f7; margin-bottom: 12px; }
.home-hero .hh-site-cards i.t { background: #d3f2ea; } .home-hero .hh-site-cards i.v { background: #e8e1fb; } .home-hero .hh-site-cards i.o { background: #ffe6d5; }
.home-hero .hh-site-cards b { display: block; height: 7px; border-radius: 4px; background: #dfe7ef; margin-bottom: 7px; }
.home-hero .hh-site-cards b.s { width: 60%; }

/* left analytics card */
.home-hero .hh-card {
  position: absolute; z-index: 2;
  background: #fff; border: 1px solid #e6edf3; border-radius: 18px;
  box-shadow: 0 30px 60px -28px rgba(15,47,82,.4);
}
.home-hero .hh-card-left { left: 2%; top: 70px; width: 250px; padding: 18px; animation: hh-float 7s ease-in-out infinite; }
.home-hero .hh-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; text-align: left; }
.home-hero .hh-card-head b { display: block; font-size: .95rem; color: var(--hh-ink); }
.home-hero .hh-card-head small { display: block; font-size: .78rem; color: #7b8da3; }
.home-hero .hh-spark { width: 100%; height: 80px; display: block; }

/* phone */
.home-hero .hh-phone {
  position: absolute; right: 4%; top: 40px; z-index: 2; width: 200px; height: 400px;
  padding: 10px; border-radius: 36px; background: #0e1c2e;
  box-shadow: 0 40px 80px -28px rgba(11,27,47,.6);
  animation: hh-float 7s ease-in-out infinite; animation-delay: -3.5s;
}
.home-hero .hh-phone-notch { position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 62px; height: 16px; border-radius: 10px; background: #0e1c2e; z-index: 2; }
.home-hero .hh-phone-screen { height: 100%; border-radius: 27px; background: #f6f9fc; padding: 42px 14px 14px; overflow: hidden; }
.home-hero .hh-app-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.home-hero .hh-app-head i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #ffd29d, #ff9f7a); }
.home-hero .hh-app-head b { width: 70px; height: 8px; border-radius: 4px; background: #d9e2ec; }
.home-hero .hh-app-card { padding: 14px; border-radius: 16px; margin-bottom: 12px; background: linear-gradient(140deg, var(--hh-navy) 0%, #1f6c8f 60%, var(--hh-teal) 120%); }
.home-hero .hh-app-card small { display: block; width: 50px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.5); margin-bottom: 9px; }
.home-hero .hh-app-card strong { display: block; width: 70%; height: 14px; border-radius: 5px; background: #fff; margin-bottom: 14px; }
.home-hero .hh-app-bars { display: flex; align-items: flex-end; gap: 7px; height: 54px; }
.home-hero .hh-app-bars span { flex: 1; border-radius: 4px; background: rgba(255,255,255,.75); transform-origin: bottom; animation: hh-grow 3.2s ease-in-out infinite; }
.home-hero .hh-app-bars span:nth-child(2) { animation-delay: .2s; }
.home-hero .hh-app-bars span:nth-child(3) { animation-delay: .4s; }
.home-hero .hh-app-bars span:nth-child(4) { animation-delay: .6s; background: #8ff0d8; }
.home-hero .hh-app-bars span:nth-child(5) { animation-delay: .8s; }
.home-hero .hh-app-row { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; border-radius: 12px; background: #fff; box-shadow: 0 2px 6px rgba(15,47,82,.05); }
.home-hero .hh-app-row i { width: 24px; height: 24px; border-radius: 8px; background: #dbe8f7; }
.home-hero .hh-app-row i.t { background: #d3f2ea; } .home-hero .hh-app-row i.v { background: #e8e1fb; }
.home-hero .hh-app-row b { flex: 1; height: 7px; border-radius: 4px; background: #e1e8ef; }

/* chips */
.home-hero .hh-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 9px; border-radius: 14px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border: 1px solid #e6edf3; box-shadow: 0 16px 32px -14px rgba(15,47,82,.32);
  font-size: .9rem; font-weight: 600; color: var(--hh-ink); white-space: nowrap;
  animation: hh-float 6s ease-in-out infinite;
}
.home-hero .hh-chip-1 { left: 9%; top: 0; animation-delay: -1s; }
.home-hero .hh-chip-2 { right: 1%; top: 6px; animation-delay: -2.5s; }
.home-hero .hh-chip-3 { left: 5%; top: 250px; animation-delay: -4s; }
.home-hero .hh-chip-4 { right: 2%; top: 300px; animation-delay: -1.8s; }
.home-hero .hh-dot-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; }
.home-hero .hh-dot-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.home-hero .hh-ic-teal { background: #dcf5ee; color: #1f9a80; }
.home-hero .hh-ic-blue { background: #e1ecfa; color: var(--hh-blue); }
.home-hero .hh-ic-violet { background: #ece6fd; color: #6a4fd8; }
.home-hero .hh-ic-orange { background: #ffeadc; color: #e46a1f; }

/* ---------- motion ---------- */
@keyframes hh-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hh-grow { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.7); } }
@keyframes hh-drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px,30px); } }
@keyframes hh-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hh-rise-big { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes hh-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .home-hero *, .home-hero *::before, .home-hero *::after { animation: none !important; }
  .home-hero .hh-swoosh path { stroke-dashoffset: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .home-hero .hh-card-left { left: 0; width: 210px; }
  .home-hero .hh-phone { right: 0; }
  .home-hero .hh-chip-1 { left: 2%; }
}
@media (max-width: 860px) {
  .home-hero { padding-top: 118px; }
  .home-hero .hh-card-left, .home-hero .hh-chip-3, .home-hero .hh-chip-4 { display: none; }
  .home-hero .hh-browser { left: 0; transform: none; width: 82%; }
  .home-hero .hh-phone { right: 0; width: 170px; height: 340px; }
  .home-hero .hh-site-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .home-hero { padding-top: 104px; }
  .home-hero .hh-eyebrow { font-size: .8rem; }
  .home-hero .hh-eyebrow-tag { display: none; }
  .home-hero .hh-eyebrow { padding: 7px 14px; }
  .home-hero .hh-title br { display: none; }
  .home-hero .hh-swoosh { display: none; }
  .home-hero .hh-btn { width: 100%; justify-content: center; }
  .home-hero .hh-trust { gap: 8px 16px; font-size: .85rem; }
  .home-hero .hh-stage { margin-top: 40px; min-height: 300px; }
  .home-hero .hh-stage-inner { min-height: 320px; }
  .home-hero .hh-browser { width: 92%; }
  .home-hero .hh-browser-body { padding: 14px 14px 18px; }
  .home-hero .hh-site-hero { grid-template-columns: 1fr; }
  .home-hero .hh-site-art { display: none; }
  .home-hero .hh-url { width: 150px; transform: none; }
  .home-hero .hh-phone { width: 128px; height: 260px; top: 60px; border-radius: 26px; padding: 7px; }
  .home-hero .hh-phone-screen { border-radius: 20px; padding: 32px 9px 9px; }
  .home-hero .hh-phone-notch { top: 12px; width: 44px; height: 12px; }
  .home-hero .hh-app-bars { height: 36px; }
  .home-hero .hh-chip { font-size: .78rem; padding: 7px 12px 7px 7px; }
  .home-hero .hh-dot-ic { width: 26px; height: 26px; }
  .home-hero .hh-chip-1 { left: auto; right: 4px; top: -14px; }
  .home-hero .hh-chip-2 { right: auto; left: 8px; top: 230px; }
}
