/* ── Variables & Base ────────────────────────── */
:root {
  --bg: #fcfcfc;
  --white: #ffffff;
  --black: #000000;
  --gray-10: #e6e6e6;
  --gray-25: #bfbfbf;
  --gray-75: #404040;
  --green: #7fc342;
  --mint: #60c3ad;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: #0f0f0f;
}

.container {
  width: min(1320px, 92vw);
  margin: 0 auto;
}
.gradient-text {
  background: linear-gradient(90deg, #7fc342 0%, #88d2c2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Header ──────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.52);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  color: #7fc342;
  font-weight: 600;
  letter-spacing: 1px;
}
.menu {
  display: flex;
  gap: 24px;
}
.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown {
  position: relative;
}
.dropdown-trigger {
  cursor: pointer;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(8px);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.15s;
}
.dropdown-menu a:hover {
  color: #fff;
}
.dropdown-menu a svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.dropdown-menu a:hover svg {
  opacity: 1;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  padding: 14px 26px;
  font: 500 15px/1 "Poppins", sans-serif;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  text-decoration: none;
}
.btn-dark {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.62);
  color: var(--green);
  border: 1px solid rgba(127, 195, 66, 0.3);
}

/* ── Footer ──────────────────────────────────── */
.footer {
  background: #191919;
  color: #727373;
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.footer-brand a:not(.btn):not(.footer-icon) {
  color: #727373;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-brand a:not(.btn):not(.footer-icon):hover {
  color: #fff;
}
.footer-btn {
  display: inline-block;
  margin-top: 4px;
  width: fit-content;
}
.footer-social {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-social-label {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}
.footer-social-icons {
  display: flex;
  gap: 8px;
}
.footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #727373;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-icon:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.footer h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-grid a {
  display: flex;
  color: #727373;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-grid a:hover {
  color: #fff;
}
.footer-bottom {
  padding: 20px 0;
}
.copyright {
  font-size: 13px;
  margin: 0;
  color: #4a4a4a;
}

/* ── Burger button ─────────────────────────────── */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 102;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu panel ─────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(18px);
  z-index: 100;
  overflow-y: auto;
  padding: 32px 24px 40px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 32px;
}
.mobile-link {
  display: block;
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.15s;
}
.mobile-link:hover {
  color: #fff;
}
.mobile-group {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.mobile-group-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mint);
}
.mobile-sub-link {
  display: block;
  padding: 9px 0 9px 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s;
}
.mobile-sub-link:hover {
  color: #fff;
}
.mobile-cta {
  display: block;
  text-align: center;
  width: 100%;
  font-size: 16px;
  padding: 16px;
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .menu {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
  .mobile-menu {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
