:root {
  --black: #0a0a0a;
  --ink: #0d1117;
  --white: #f5f4f0;
  --cream: #ede9e1;
  --teal: #2563eb;
  --teal-dark: #1d4ed8;
  --teal-glow: rgba(37, 99, 235, 0.15);
  --amber: #d4882a;
  --red: #e05252;
  --slate: #161c26;
  --slate-mid: #1e2530;
  --muted: #6b7280;
  --border: rgba(255, 255, 255, 0.08);
  --fd: "DM Serif Display", Georgia, serif;
  --fb: "DM Sans", system-ui, sans-serif;
  --fm: "JetBrains Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fb);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(---teal-glow);
}

::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 3px;
}
/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 4vw;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--fm);
  font-size: 1.05rem;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-decoration: none;
}
.nav-logo img {
  height: 30px;
}
.nav-logo span {
  color: var(--white);
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(245, 244, 240, 0.55);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}
.nav-cta {
  background: var(--teal) !important;
  color: var(--black) !important;
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 4vw 2rem;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 199;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  color: rgba(245, 244, 240, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--teal);
}
.mobile-menu .m-cta {
  background: var(--teal);
  color: var(--black);
  text-align: center;
  padding: 0.8rem;
  border-radius: 2px;
  font-weight: 600;
  margin-top: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: var(--fb);
  font-size: 0.88rem;
}
@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}

/* FOOTER */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 4rem 4vw 1.5rem;
  display: grid;
  grid-template-columns: 2.2fr 0.8fr 0.8fr 0.8fr 0.8fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  footer {
    grid-template-columns: 1fr 1fr;
  }
}

footer h5 {
  font-family: var(--fm);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
  font-weight: 500;
}

footer p,
footer li {
  font-size: 0.8rem;
  color: rgba(245, 244, 240, 0.45);
  line-height: 1.7;
  list-style: none;
}

footer a {
  color: rgba(245, 244, 240, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--teal);
}

.fb {
  font-family: var(--fm);
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

footer .fb a img {
  height: 50px;
}

.rb {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--fm);
  font-size: 0.6rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.2rem 0.55rem;
  margin: 0.18rem 0.18rem 0.18rem 0;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.3);
}

.rb::before {
  content: "✓";
  color: var(--teal);
}

.rb.proc::before {
  content: "⟳";
  color: var(--amber);
}

.fn {
  padding: 2rem 4vw;
  border-top: 1px solid var(--border);
  font-family: var(--fm);
  font-size: 0.62rem;
  color: rgba(245, 244, 240, 0.3);
  letter-spacing: 0.04em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  line-height: 1.7;
}

.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  left: 4px !important;
  right: auto !important;
  z-index: 9999 !important;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: #aaa;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--cream, #fff0c6);
}
