:root {
  --bg: #faf8f4;
  --bg-raised: #f2eee5;
  --ink: #13182b;
  --ink-soft: #4a5066;
  --amber: #e8833a;
  --amber-deep: #c96a26;
  --teal: #2f6e66;
  --line: #d8d2c4;
  --white: #ffffff;

  --display: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
  --mono: "JetBrains Mono", monospace;

  --maxw: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.logo {
      max-width: 250px;
}

.logo img{
  width: 100%;
} 

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: var(--ink);
}

.nav-cta-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.signin-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--amber-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 106, 38, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #000;
  margin: 5px auto;
  transition: 0.3s;
}
.header-nav-links{
  display: flex;
  justify-content: space-between;
  gap: 150px;
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 32px 28px;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 11px;
}

.footer-col a:hover {
  color: var(--amber-deep);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 96px 32px;
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.cta-section h2 {
  font-size: 2.4rem;
  max-width: 680px;
  margin: 0 auto 18px;
}
.cta-section p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 14px;
}
.cta-note {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 992px) {
  .nav {
    position: relative;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 20px;
    padding: 25px 0;
    align-items: start;
  }

  .nav-cta-area {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
    align-items: start;
  }

  .header-nav-links {
    display: none;
    position: absolute;
    top: 81px;
    right: 0;
    background: var(--bg);
    height: 100vh;
    width: 100%;
    max-width: 300px;
  }
 .nav.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.nav.active span:nth-child(2) {
    opacity: 0;
}

.nav.active span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}


  .nav.active .header-nav-links {
    display: block;
    position: absolute;
    top: 81px;
    right: 0;
    background: var(--bg);
    height: 100vh;
    width: 100%;
    max-width: 300px;
    padding-left: 20px;
  }
}

@media (max-width: 880px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .cta-section h2 {
    font-size: 1.9rem;
  }
  .logo {
      max-width: 200px;
}
}
@media (max-width: 520px) {
  .wrap,
  .nav,
  .cta-section,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .cta-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
