/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ── Navigation ── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #34d399;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

#nav.scrolled {
  background: rgba(2, 44, 34, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
#nav.scrolled .nav-link { color: #d1fae5; }
#nav.scrolled .nav-link:hover { color: #6ee7b7; }

/* ── Buttons ── */
.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #10b981;
  color: #022c22;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-emerald:hover {
  background: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-emerald-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #10b981;
  color: #022c22;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}
.btn-emerald-lg:hover {
  background: #34d399;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
}
.btn-ghost:hover {
  transform: translateY(-2px);
}

/* ── Mobile Links ── */
.mobile-link { transition: all 0.3s ease; }
.mobile-menu-open #mobileMenu { opacity: 1 !important; pointer-events: all !important; aria-hidden: false; }

/* ── Hero Geometric Shapes ── */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.geo-circle--1 {
  width: 500px; height: 500px;
  background: #34d399;
  top: -150px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.geo-circle--2 {
  width: 300px; height: 300px;
  background: #6ee7b7;
  bottom: -80px; left: 5%;
  animation: float 6s ease-in-out infinite reverse;
}
.geo-circle--3 {
  width: 150px; height: 150px;
  background: #a7f3d0;
  top: 30%; left: 8%;
  animation: float 10s ease-in-out infinite;
}
.geo-rect {
  position: absolute;
  opacity: 0.08;
}
.geo-rect--1 {
  width: 200px; height: 200px;
  background: #34d399;
  top: 20%; right: 5%;
  transform: rotate(45deg);
  animation: spin 20s linear infinite;
}
.geo-rect--2 {
  width: 120px; height: 120px;
  background: #6ee7b7;
  bottom: 25%; right: 15%;
  transform: rotate(20deg);
  animation: spin 15s linear infinite reverse;
}
.geo-tri {
  position: absolute;
  opacity: 0.1;
}
.geo-tri--1 {
  width: 0; height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid #34d399;
  top: 15%; left: 5%;
  animation: float 7s ease-in-out infinite;
}
.geo-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #34d399 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.06;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── Cards ── */
.card-emerald {
  background: rgba(4, 120, 87, 0.4);
  border: 1px solid rgba(52, 211, 153, 0.15);
  transition: all 0.4s ease;
}
.card-emerald:hover {
  background: rgba(4, 120, 87, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ── Scroll Reveal ── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-up { opacity: 0; transform: translateY(40px); }
  .reveal-left { opacity: 0; transform: translateX(-40px); }
  .reveal-right { opacity: 0; transform: translateX(40px); }
  .reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1;
    transform: none;
  }
}

/* ── Mobile Menu ── */
#mobileMenu { transition: opacity 0.3s ease, pointer-events 0.3s ease; }
#mobileMenu.open { opacity: 1; pointer-events: all; }

/* ── Form ── */
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ── Selection ── */
::selection { background: #34d399; color: #022c22; }
</style>
