/* ========================================
   VARIABLES
======================================== */
:root {
  --bg: #eeeeee;
  --white: #ffffff;
  --dark: #2b2b2b;
  --gray: #6b6b6b;
  --gray-light: #8a8a8a;
  --border: #d0d0d0;
  --border-light: #dcdcdc;
  --blue: #90b5fe;
  --blue-dark: #5a7bc0;
  --red: #15d398;
  --nav-height: 70px;
}

/* ========================================
   RESET
======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ========================================
   NAVBAR
======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 40px;

  background: rgba(42, 42, 42, 0.95);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  z-index: 1000;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;

  width: 0;
  height: 2px;

  background: var(--blue);

  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  padding: 8px 22px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;

  color: #fff;

  font-size: 14px;
  font-weight: 500;

  transition: 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
  padding: 8px 24px;

  background: var(--red);

  border-radius: 6px;

  color: #fff;

  font-size: 14px;
  font-weight: 600;

  transition: 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* ========================================
   MOBILE NAV
======================================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;

  background: none;
  border: none;

  cursor: pointer;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;

  background: #fff;

  border-radius: 2px;
}

.mobile-nav {
  display: none;

  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;

  background: rgba(42, 42, 42, 0.98);

  padding: 24px;

  z-index: 999;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;

  padding: 14px 0;

  color: rgba(255, 255, 255, 0.9);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-ctas {
  display: flex;
  gap: 12px;

  margin-top: 24px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--white);

  border-top: 1px solid var(--border-light);

  padding: 60px 40px 30px;
}

.footer-top {
  max-width: 1100px;
  margin: 0 auto 50px;

  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-icon {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 16px;
}

.footer-brand-icon svg {
  width: 32px;
  height: 32px;

  color: var(--blue);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);

  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);
  border-radius: 8px;

  color: var(--gray);

  transition: 0.3s ease;
}

.footer-social:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;

  margin-bottom: 20px;
}

.footer-col a {
  display: block;

  padding: 5px 0;

  font-size: 14px;
  color: var(--gray);

  transition: 0.3s ease;
}

.footer-col a:hover {
  color: var(--blue);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;

  padding-top: 30px;

  border-top: 1px solid var(--border-light);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;

  flex-wrap: wrap;
}

.footer-inclusion {
  max-width: 600px;

  font-size: 13px;
  line-height: 1.6;

  color: var(--gray-light);
}

.footer-copy {
  font-size: 13px;
  color: var(--gray-light);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 900px) {
  .nav-links,
  .nav-ctas {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    padding: 0 20px;
  }

  .footer {
    padding: 40px 20px 20px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .mobile-nav-ctas {
    flex-direction: column;
  }
}