.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 950;
  padding: 10px 1rem;
  transition: padding 0.3s ease;
}
.nav .nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(200, 195, 230, 0.6);
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 0.375rem;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.m-nav--scrolled .nav-wrap {
  box-shadow: 0 8px 40px rgba(124, 92, 252, 0.12), 0 2px 8px rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.95);
}

.nav-logo {
  font-family: "Syne", sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: #07101F;
  letter-spacing: -0.03em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  flex-shrink: 0;
  margin-right: 0.5rem;
}
.nav-logo .logo-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #7C5CFC;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
}

.nav-link {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-link:hover {
  color: #07101F;
  background: #F4F3EF;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-login {
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748B;
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}

.nav-login:hover {
  color: #07101F;
  background: #F4F3EF;
}

.nav-cta {
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: #7C5CFC;
  padding: 0.5rem 1.125rem;
  border-radius: 100px;
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(124, 92, 252, 0.28);
  white-space: nowrap;
}

.nav-cta:hover {
  background: #6D4FE0;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 92, 252, 0.4);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-dropdown-btn .chevron {
  transition: transform 0.22s ease;
  color: #94A3B8;
}

.nav-dropdown-btn:hover {
  color: #07101F;
  background: #F4F3EF;
}

.nav-dropdown:hover .nav-dropdown-btn {
  color: #7C5CFC;
  background: rgba(124, 92, 252, 0.07);
}
.nav-dropdown:hover .nav-dropdown-btn .chevron {
  transform: rotate(180deg);
  color: #7C5CFC;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(252, 251, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(200, 195, 230, 0.55);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(107, 79, 224, 0.14), 0 4px 16px rgba(0, 0, 0, 0.07);
  padding: 1rem;
  min-width: 680px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #94A3B8;
  padding: 0 0.375rem;
  margin-bottom: 0.625rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.6875rem 0.75rem;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.15s;
}
.feature-item .feature-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(124, 92, 252, 0.1);
  color: #7C5CFC;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.feature-item .feature-name {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0D1117;
  line-height: 1.2;
  margin-bottom: 0.1rem;
}
.feature-item .feature-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 0.6875rem;
  color: #94A3B8;
  line-height: 1.3;
}

.feature-item:hover {
  background: rgba(124, 92, 252, 0.07);
}
.feature-item:hover .feature-icon {
  background: #7C5CFC;
  color: #fff;
}
.feature-item:hover .feature-name {
  color: #7C5CFC;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #475569;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.hamburger:hover {
  background: #F4F3EF;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 940;
  background: rgba(252, 251, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 88px 1.25rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  pointer-events: none;
}

.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-section-label {
  font-family: "DM Sans", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #94A3B8;
  margin-bottom: 0.75rem;
}

.mobile-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
}

.mobile-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 10px;
  background: rgba(124, 92, 252, 0.05);
  border: 1px solid rgba(124, 92, 252, 0.08);
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0D1117;
  transition: background 0.15s, border-color 0.15s;
}
.mobile-feature .mobile-feat-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(124, 92, 252, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #7C5CFC;
}

.mobile-feature:hover {
  background: rgba(124, 92, 252, 0.1);
  border-color: rgba(124, 92, 252, 0.18);
}

.mobile-divider {
  height: 1px;
  background: #E4E2DC;
  margin: 1.25rem 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  padding: 0.75rem;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}

.mobile-nav-link:hover {
  color: #07101F;
  background: #F4F3EF;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.mobile-login-btn {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  text-align: center;
  padding: 0.8125rem;
  border: 1.5px solid #E4E2DC;
  border-radius: 14px;
  transition: border-color 0.15s, color 0.15s;
}

.mobile-login-btn:hover {
  border-color: #7C5CFC;
  color: #7C5CFC;
}

.mobile-cta-btn {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 0.875rem;
  background: #7C5CFC;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(124, 92, 252, 0.3);
  transition: background 0.15s;
}

.mobile-cta-btn:hover {
  background: #6D4FE0;
}

.site-footer {
  background: #07101F;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(ellipse, rgba(124, 92, 252, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  flex: 0 0 220px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.footer-logo .footer-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #7C5CFC;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-tagline {
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 1.25rem;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  padding: 0.3rem 0.75rem;
}

.footer-cols {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.footer-col-title {
  font-family: "DM Sans", sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 1.125rem;
}

.footer-col-link {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  padding: 0.25rem 0;
  line-height: 1.75;
  transition: color 0.15s;
}

.footer-col-link:hover {
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
}

.footer-copy {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.22);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.22);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1139px) {
  .nav {
    padding: 8px 0.75rem;
  }
  .nav-wrap {
    height: 56px;
    border-radius: 16px;
    padding: 0 1rem;
  }
  .nav-center {
    display: none;
  }
  .nav-end {
    display: none;
  }
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem 0 2.5rem;
  }
  .footer-brand {
    flex: none;
    width: 100%;
  }
  .footer-cols {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 0;
  }
}
@media (min-width: 1140px) {
  .hamburger {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
  .nav-center {
    display: flex;
  }
  .nav-end {
    display: flex;
  }
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}
