/* ═══════════════ BASE ═══════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ═══════════════ HERO GRADIENT ═══════════════ */
.hero-gradient {
  background: linear-gradient(135deg, #022C22 0%, #064E3B 30%, #047857 60%, #059669 85%, #10B981 100%);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ═══════════════ FLOATING SHAPES ═══════════════ */
.hero-shapes { pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: white;
}
.shape-1 { width: 300px; height: 300px; top: -60px; right: -60px; animation: float 8s ease-in-out infinite; }
.shape-2 { width: 180px; height: 180px; bottom: 15%; left: 5%; animation: float 10s ease-in-out infinite reverse; }
.shape-3 { width: 100px; height: 100px; top: 30%; right: 10%; animation: float 6s ease-in-out infinite; }
.shape-4 { width: 60px; height: 60px; bottom: 25%; right: 25%; animation: float 7s ease-in-out infinite reverse; }
.shape-5 { width: 200px; height: 200px; bottom: -40px; left: 30%; animation: float 9s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(4deg); }
}

/* ═══════════════ HERO ANIMATIONS ═══════════════ */
.hero-eyebrow {
  animation: fadeDown 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}
.hero-headline {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}
.hero-sub {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
}
.hero-ctas {
  animation: fadeUp 1s ease forwards;
  animation-delay: 0.9s;
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════ NAVBAR ═══════════════ */
#navbar { background: transparent; }
#navbar.scrolled {
  background: rgba(2, 44, 34, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

/* ═══════════════ BUTTONS ═══════════════ */
.btn-primary {
  background: white;
  color: #047857;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  background: #FFFCF5;
}
.btn-secondary {
  background: transparent;
  color: white;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ═══════════════ SCROLL REVEAL ═══════════════ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 1; /* visible by default — JS enhances with animation */
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up   { transform: translateY(30px); }
.reveal-left  { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ═══════════════ MOBILE MENU ═══════════════ */
#mobile-menu {
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mobile-link { display: block; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 767px) {
  .hero-headline { font-size: 3.2rem; }
}
@media (min-width: 768px) {
  .hero-headline { font-size: 5rem; }
}
@media (min-width: 1024px) {
  .hero-headline { font-size: 6rem; }
}

/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal-up, .reveal-left, .reveal-right {
    transform: none;
    opacity: 1;
  }
}
