/* ============================================================
   iKardia — Hero Section
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* ── Background Image ── */
/* REPLACE: swap hero/hero-bg.jpg with your own full-width image */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(17, 24, 41, 0.97) 0%,
    rgba(17, 24, 41, 0.82) 48%,
    rgba(26, 33, 68, 0.52) 100%
  );
  z-index: 1;
}

.hero__overlay-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 70% at 85% 50%,
    rgba(59, 95, 212, 0.18) 0%,
    transparent 65%
  );
  z-index: 2;
}

/* ── Chevron Decorative Pattern ── */
.hero__chevrons {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 3;
}

.hero__chev-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__chev {
  width: 0;
  height: 0;
  border-top: 32px solid transparent;
  border-bottom: 32px solid transparent;
  border-left: 42px solid;
  opacity: 0;
  animation: chevFade 1.2s ease forwards;
}

.hero__chev-col:nth-child(1) .hero__chev:nth-child(1) { border-left-color: rgba(61,217,179,0.55); animation-delay: 0.10s; }
.hero__chev-col:nth-child(1) .hero__chev:nth-child(2) { border-left-color: rgba(61,217,179,0.38); animation-delay: 0.20s; }
.hero__chev-col:nth-child(1) .hero__chev:nth-child(3) { border-left-color: rgba(61,217,179,0.22); animation-delay: 0.30s; }
.hero__chev-col:nth-child(2) .hero__chev:nth-child(1) { border-left-color: rgba(59,95,212,0.45); animation-delay: 0.40s; }
.hero__chev-col:nth-child(2) .hero__chev:nth-child(2) { border-left-color: rgba(59,95,212,0.28); animation-delay: 0.50s; }
.hero__chev-col:nth-child(2) .hero__chev:nth-child(3) { border-left-color: rgba(59,95,212,0.15); animation-delay: 0.60s; }
.hero__chev-col:nth-child(3) .hero__chev:nth-child(1) { border-left-color: rgba(74,127,213,0.30); animation-delay: 0.70s; }
.hero__chev-col:nth-child(3) .hero__chev:nth-child(2) { border-left-color: rgba(74,127,213,0.18); animation-delay: 0.80s; }
.hero__chev-col:nth-child(3) .hero__chev:nth-child(3) { border-left-color: rgba(74,127,213,0.08); animation-delay: 0.90s; }

@keyframes chevFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Content ── */
.hero__content {
  position: relative;
  z-index: 5;
  padding: 0 var(--section-pad-x) 100px;
  max-width: 840px;
}

.hero__eyebrow {
padding-top: 75px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 20px;
  display: block;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.4s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.0;
  color: var(--color-white);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.6s forwards;
}

.hero__title span { color: var(--color-teal); }

.hero__desc {
  font-size: var(--text-md);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.8s forwards;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 1.0s forwards;
}

/* ── Stats Bar ── */
.hero__stats {
  position: relative;
  z-index: 5;
  background: rgba(17, 24, 41, 0.88);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  padding: 0 var(--section-pad-x);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 1.2s forwards;
}

.hero__stat {
  padding: 22px 44px 22px 0;
  margin-right: 44px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.hero__stat:last-child {
  border-right: none;
  margin-right: 0;
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  color: var(--color-teal);
  line-height: 1;
}

.hero__stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero__content { padding-bottom: 80px; }
  .hero__chevrons { display: none; }
  .hero__stats { gap: 8px; }
  .hero__stat { padding: 16px 20px 16px 0; margin-right: 20px; }
  .hero__stat-num { font-size: 24px; }
}
