:root {
  --nav-surface: rgba(255, 255, 255, 0.96);
  --nav-border: #e6ebf2;
  --footer-bg: #0d1b2a;
  --footer-bg-soft: #13273d;
  --footer-accent: #8dc63f;
  --footer-accent-soft: rgba(141, 198, 63, 0.2);
  --footer-text: #d7e2ee;
  --footer-muted: #9eb1c5;
}

header {
  background: var(--nav-surface) !important;
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 10px 30px rgba(19, 33, 51, 0.08) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

header .navbar {
  min-height: 74px;
  padding: 12px 0 !important;
  gap: 18px;
}

header .logo img {
  height: 44px !important;
  width: auto !important;
  display: block;
}

header .nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

header .nav-links li {
  margin: 0 !important;
}

header .nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  font-weight: 600 !important;
  color: var(--text-dark, #2c3e50) !important;
  transition: color 0.2s ease, border-color 0.2s ease;
}

header .nav-links a:hover,
header .nav-links a:focus-visible {
  color: var(--brand-green, #8dc63f) !important;
  border-bottom-color: var(--brand-green, #8dc63f);
}

header .cta-button {
  border: 0;
  border-radius: 999px !important;
  padding: 11px 18px !important;
  background: linear-gradient(
    135deg,
    var(--brand-green, #8dc63f),
    var(--brand-green-dark, #6ac045)
  ) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(106, 192, 69, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

header .cta-button:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 14px 28px rgba(106, 192, 69, 0.32);
}

footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--footer-bg), var(--footer-bg-soft));
  color: var(--footer-text) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 42px;
}

footer::before,
footer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

footer::before {
  width: 320px;
  height: 320px;
  top: -150px;
  right: -100px;
  background: radial-gradient(
    circle,
    rgba(141, 198, 63, 0.26),
    rgba(141, 198, 63, 0)
  );
}

footer::after {
  width: 250px;
  height: 250px;
  bottom: -120px;
  left: -70px;
  background: radial-gradient(
    circle,
    rgba(123, 206, 108, 0.18),
    rgba(123, 206, 108, 0)
  );
}

footer .container {
  position: relative;
  z-index: 1;
}

footer .footer-content {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 60px 0 34px;
}

footer .footer-column {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 12px 24px rgba(6, 15, 26, 0.22);
}

footer .footer-column h3 {
  color: #fff !important;
  margin-bottom: 14px;
  font-size: 1.1rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

footer .footer-column p,
footer .footer-links li {
  color: var(--footer-muted) !important;
  line-height: 1.7;
}

footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer .footer-links li {
  margin-bottom: 8px;
}

footer .footer-links li i {
  color: var(--footer-accent) !important;
  margin-right: 8px;
}

footer .footer-links a {
  color: var(--footer-muted) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer .footer-links a:hover,
footer .footer-links a:focus-visible {
  color: #fff !important;
}

footer .social-icons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

footer .social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #e9f4ff !important;
  transition: all 0.25s ease;
}

footer .social-icons a:hover {
  color: #fff !important;
  border-color: var(--footer-accent);
  background: linear-gradient(
    135deg,
    var(--footer-accent-soft),
    rgba(141, 198, 63, 0.34)
  );
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(9, 18, 29, 0.3);
}

footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  padding: 18px 0 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin-bottom: 20px;
}

footer .copyright p {
  margin: 0;
  color: #c6d3e3 !important;
  letter-spacing: 0.02em;
}

@media (max-width: 992px) {
  header .navbar {
    position: relative;
  }

  header .hamburger-menu {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--nav-border);
    background: #fff;
  }

  header .nav-links {
    display: flex !important;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(86vw, 360px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--nav-border);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(17, 28, 44, 0.18);
    padding: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    z-index: 1200;
  }

  header .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  header .nav-links a {
    width: 100%;
    border-bottom: 0;
    border-radius: 10px;
    padding: 10px 12px;
  }

  header .nav-links a:hover,
  header .nav-links a:focus-visible {
    border-bottom-color: transparent;
    background: #f3f8ee;
  }

  header .nav-links .cta-button {
    width: 100%;
    margin-top: 6px;
  }

  header .navbar > .cta-button {
    display: none;
  }

  footer .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 576px) {
  header .logo img {
    height: 38px !important;
  }

  footer .footer-content {
    grid-template-columns: 1fr;
    padding: 44px 0 24px;
  }

  footer .footer-column {
    padding: 16px 14px;
  }

  footer .copyright {
    margin-bottom: 12px;
  }
}
