/* ===== HOME PAGE CSS ===== */

/* HERO */
.hero {
  min-height: 100vh;
  padding: 120px 5% 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
}

.hero-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 12s ease-in-out infinite;
}
.orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(176,255,0,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(176,255,0,0.06) 0%, transparent 70%);
  bottom: 20%; left: -80px;
  animation-delay: -4s;
}
.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(176,255,0,0.08) 0%, transparent 70%);
  top: 40%; right: 30%;
  animation-delay: -8s;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(176,255,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(176,255,0,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { animation: heroFadeIn 0.9s ease forwards; }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(176,255,0,0.06);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-heading {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  animation: heroFadeIn 0.9s 0.15s ease both;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
  animation: heroFadeIn 0.9s 0.25s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroFadeIn 0.9s 0.35s ease both;
}

/* HERO VISUAL */
.hero-visual {
  position: relative;
  height: 480px;
  animation: heroFadeIn 0.9s 0.2s ease both;
}

.stat-card {
  background: rgba(20,31,11,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.8rem;
  position: absolute;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--glow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.stat-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 60px rgba(176,255,0,0.2);
}

.stat-card--main {
  width: 280px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-14px); }
}
.stat-card--main:hover {
  animation-play-state: paused;
  transform: translate(-50%, -50%) translateY(-8px) !important;
}

.stat-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.2rem;
}
.stat-label { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; }
.stat-chart { width: 100%; }

.stat-card--sm {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 180px;
  padding: 1.2rem;
  border-radius: 16px;
}
.stat-card--top {
  top: 8%; right: 5%;
  animation: float2 7s 1s ease-in-out infinite;
}
.stat-card--bottom {
  bottom: 10%; left: 5%;
  animation: float2 7s 2.5s ease-in-out infinite;
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.stat-card--sm:hover {
  animation-play-state: paused;
}
.stat-icon-sm { font-size: 1.2rem; background: rgba(176,255,0,0.1); padding: 10px; border-radius: 10px; }
.stat-num-sm { font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--lime); }
.stat-label-sm { font-size: 0.75rem; color: var(--muted); }

.floating-badge {
  position: absolute;
  background: rgba(176,255,0,0.12);
  border: 1px solid rgba(176,255,0,0.3);
  color: var(--lime);
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  animation: float3 5s ease-in-out infinite;
}
.fb1 { top: 15%; left: 3%; animation-delay: 0s; }
.fb2 { top: 50%; right: 0%; animation-delay: 1.5s; }
.fb3 { bottom: 18%; right: 12%; animation-delay: 3s; }
@keyframes float3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* RESPONSIVE HERO */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 100px;
    text-align: center;
  }
  .hero-sub { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 360px; }
}
@media (max-width: 600px) {
  .hero-visual { height: 280px; }
  .stat-card--main { width: 220px; }
}
