/* Dark hero (25.11.2026, decision #154): the light grey hero looked weak on mobile.
   Elchai's site style: dark-blue radial background, big gradient headline, glass stat cards,
   bold primary CTA (blue, never yellow/orange), gentle fade-up. Loaded last so it wins over
   light.css and home-v2.css; everything is scoped to .hero, the rest of the page stays light.
   The headline text itself lives in one place only: the .hero-title element in index.html. */

.hero {
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(56,170,255,.22), transparent 62%),
    radial-gradient(120% 90% at 50% 0%, #12325e 0%, #0a1830 55%, #060d1c 100%);
  color: #fff;
  border-radius: 0 0 36px 36px;
  isolation: isolate;
}
/* faint grid, fades out toward the bottom */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, transparent 70%);
}
.hero .hero-glow { background: radial-gradient(ellipse, rgba(47,184,255,.20) 0%, transparent 70%); }

/* Nav pill stays crisp white over the dark hero (72% white over navy reads as grey) */
.nav-in { background: rgba(255,255,255,.95) !important; }

/* Badge: glass pill */
.hero .hero-badge {
  color: #d6e6ff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.20);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero .hero-badge .badge-dot { background: #5cc8ff; box-shadow: 0 0 10px rgba(92,200,255,.8); }

/* Headline: big, bold, gradient second line */
.hero .hero-title {
  font-family: 'Heebo', sans-serif;
  font-size: clamp(2.5rem, 4vw + 1.6rem, 4.1rem);
  font-weight: 900; line-height: 1.12; letter-spacing: -0.02em;
  margin-bottom: 20px; text-wrap: balance;
}
.hero .hero-title .ht-l1 { color: #fff; }
.hero .hero-title .grad {
  background: linear-gradient(135deg, #8fe0ff 0%, #4fa8ff 55%, #b9d3ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: .06em;
}

/* Value line */
.hero .hero-value { color: rgba(220,232,255,.84); text-wrap: balance; }
.hero .hero-value strong { color: #fff; background: linear-gradient(transparent 62%, rgba(92,200,255,.30) 62%); }

/* CTAs: primary is the loud one, secondary is glass */
.hero .btn-p {
  color: #fff; font-weight: 800;
  background: linear-gradient(135deg, #2fb8ff 0%, #1f6fe5 100%);
  border: 0; box-shadow: 0 14px 34px -10px rgba(47,160,255,.75), inset 0 1px 0 rgba(255,255,255,.25);
}
.hero .btn-p:hover { box-shadow: 0 18px 42px -10px rgba(47,160,255,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.hero .btn-s {
  color: #fff; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.28);
  box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero .btn-s:hover { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); }
.hero .btn-p:focus-visible, .hero .btn-s:focus-visible { outline: 3px solid #8fe0ff; outline-offset: 3px; }

/* Stat cards: glass on dark */
.hero .hero-stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 18px 40px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
}
.hero .hero-stat b { background: linear-gradient(135deg, #ffffff, #8fd3ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .hero-stat span { color: rgba(214,228,255,.82); }

/* Gentle fade-up, one element after the other */
@keyframes hd-fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero .hero-content > * { animation: hd-fadeup .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .hero-content > :nth-child(2) { animation-delay: .06s; }
.hero .hero-content > :nth-child(3) { animation-delay: .12s; }
.hero .hero-content > :nth-child(4) { animation-delay: .2s; }
.hero .hero-content > :nth-child(5) { animation-delay: .28s; }
.hero .hero-content > :nth-child(6) { animation-delay: .36s; }

/* Mobile: less empty space under the nav, full-width CTAs with a real tap height */
@media (max-width: 768px) {
  .hero { border-radius: 0 0 28px 28px; }
  .hero .hero-content { padding: 112px 20px 44px; }
  .hero .hero-badge { margin-bottom: 22px; }
  .hero .hero-title { margin-bottom: 16px; }
  /* the value line is one sentence: keep it on one line on phones */
  .hero .hero-value { font-size: clamp(.9rem, 4.1vw, 1.02rem); margin-bottom: 28px; white-space: nowrap; }
  .hero .hero-value strong { white-space: nowrap; }
  .hero .ctas { gap: 12px; }
  .hero .ctas a { min-height: 56px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; border-radius: 16px; }
  .hero .hero-shot { margin-top: 28px; }
  .hero .hero-stat { padding: 14px 6px; }
  .hero .hero-stat b { font-size: 1.4rem; }
}
@media (max-width: 375px) {
  .hero .hero-value { white-space: normal; }
}
@media (max-width: 480px) {
  .hero .hero-title { font-size: clamp(2.4rem, 10.6vw, 2.9rem); }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-content > * { animation: none; }
}
