/* ============================================================
   pages/home.css — Hero, Hero Cards, Ticker, Stats
   ============================================================ */

/* --- Hero --- */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(155deg, var(--g900) 0%, var(--g800) 45%, #1a3c20 100%);
}
.hero-bg-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 65% 30%, rgba(46,138,62,.13) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(200,145,30,.07) 0%, transparent 50%);
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(46,138,62,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,138,62,.04) 1px, transparent 1px);
  background-size: 55px 55px;
}
.hero-inner {
  padding: 7rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-content { /* left column */ }

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(200,145,30,.14);
  border: 1px solid rgba(200,145,30,.28);
  border-radius: var(--r-full);
  padding: .35rem .9rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 1.35rem;
}
.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-lt);
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: 1.35rem;
}
.hero-subtitle {
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(255,255,255,.62);
  max-width: 460px;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}
.hero-stats { display: flex; gap: 2.25rem; flex-wrap: wrap; }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-lt);
  letter-spacing: -.02em;
}
.stat-item span {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Hero visual */
.hero-visual { position: relative; }
.hero-image-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 2px solid rgba(71,168,90,.22);
  box-shadow: 0 20px 70px rgba(0,0,0,.5);
  aspect-ratio: 4/3;
  position: relative;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.88) saturate(1.1);
}
.hero-image-wrap.img-error { background: var(--g700); }
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,26,9,.5) 0%, transparent 55%);
}

/* Floating cards */
.hero-float-card {
  position: absolute;
  background: rgba(7,26,9,.84);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(71,168,90,.18);
  border-radius: var(--r-lg);
  padding: .9rem 1.1rem;
  box-shadow: 0 6px 26px rgba(0,0,0,.3);
  min-width: 160px;
}
.hero-float-card--left  { bottom: -18px; left: -18px; }
.hero-float-card--right { top: -14px; right: -14px; }
.float-label {
  font-size: .62rem;
  color: var(--g300);
  letter-spacing: .09em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}
.float-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.float-sub { font-size: .7rem; color: rgba(255,255,255,.45); }

/* Responsive hero */
@media (max-width: 768px) {
  .hero-inner  { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-stats  { gap: 1.35rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
