/* NAVBAR */
.navbar {
  width: 100%;
  background: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* CONTAINER */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 18px;
  font-weight: bold;
  color: #6C4BFA;
}

.logo img {
  height: 50px;
}


/* LINKS */
.nav-links {
  display: flex;
  gap: 51px;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-links a:hover {
  color: #6C4BFA;
}

/* BOTÕES */
.nav-actions {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* BOTÃO OUTLINE */
.btn-outline {
  border: 1px solid #6C4BFA;
  color: #6C4BFA;
  background: transparent;
}

.btn-outline:hover {
  background: #f3ecff;
}

/* BOTÃO PRINCIPAL */
.btn-primary {
  background: #6C4BFA;
  color: white;
}

.btn-primary:hover {
  background: #5840c2;
}

/* BOTÃO LOGIN */
.signupBtn {
  width: 90px;
  height: 40px;
  border-radius: 30px;
  border: none;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  padding-left: 20px;
  gap: 9px;

  color: white;
  background: linear-gradient(
    to right,
    rgb(128, 128, 255),
    rgb(183, 128, 255)
  );

  position: relative;
  cursor: pointer;

  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.212);
  text-decoration: none;
}

/* CÍRCULO DA SETA */
.signupBtn .arrow {
  position: absolute;
  right: 7.5px;

  background-color: #ffffff;
  color: #6C4BFA;

  width: 25px;
  height: 25px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
}

/* ANIMAÇÃO */
.signupBtn:hover .arrow {
  animation: slide-in-left 0.7s
    cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-10px);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.signupBtn .arrow svg {
  transform: translateX(1.5px);
}

.btn {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 12px;
  padding: 9px 20px; /* vertical | horizontal */
  border-radius: 999px; /* pill */
  border: 1px solid transparent;
  cursor: pointer;
  font:
    600 15.5px/1 "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial;
  color: #ffffff;

  /* layered backgrounds: subtle frosted surface + animated conic border */
  background:
    linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.01)
      )
      padding-box,
    conic-gradient(from 120deg at 50% 50%, #7c3aed, #06b6d4, #8b5cf6) border-box;
  background-size: 200% 200%;
  animation: gradientShift 6s linear infinite;

  box-shadow:
    0 3px 9px rgba(2, 6, 23, 0.26),
    0 3px 10px rgba(6, 182, 212, 0.04) inset;

  position: relative;
  overflow: hidden;
  transform-origin: center;
  transform-style: preserve-3d;
  transition:
    transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1),
    box-shadow 0.28s,
    filter 0.28s;
  -webkit-tap-highlight-color: transparent;
}

/* inner frosted panel */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: 3px;
  border-radius: 996px; /* slightly smaller than outer */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  pointer-events: none;
  backdrop-filter: blur(8px) saturate(120%);
  mix-blend-mode: overlay;
}

/* moving sheen */
.btn::after {
  content: "";
  position: absolute;
  left: -45%;
  top: -30%;
  width: 65%;
  height: 160%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0)
  );
  transform: rotate(-20deg) translateX(0);
  transition:
    transform 0.7s cubic-bezier(0.2, 0.9, 0.3, 1),
    opacity 0.4s;
  opacity: 0.95;
  pointer-events: none;
  filter: blur(6px);
}

/* content alignment */
.btn .content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
}
.btn .icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* hover interactions: depth + 3D tilt */
.btn:hover {
    transform: perspective(800px) translateY(-1px) rotateX(1.5deg) scale(1.003);
  box-shadow:
   0 13px 26px rgba(2, 6, 23, 0.25),
    0 10px 34px rgba(6, 182, 212, 0.06) inset;
}
.btn:hover .icon {
  transform: translateX(10px) rotate(8deg);
}
.btn:hover::after {
  transform: rotate(-20deg) translateX(240%);
  opacity: 1;
}

.btn:active {
  transform: perspective(800px) translateY(-3px) rotateX(2deg) scale(0.995);
}

/* elegant focus ring */
.btn:focus {
  outline: none;
  box-shadow:
    0 0 0 6px rgba(124, 58, 237, 0.08),
    0 18px 40px rgba(2, 6, 23, 0.5);
}

/* subtle badge */
.btn .badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(2, 6, 23, 0.35);
  transform: translateZ(30px);
  z-index: 1;
}

/* disabled state */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn {
    animation: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
  .btn::after {
    transition: none;
  }
  .btn .icon {
    transition: none;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 420px) {
  .btn {
    gap: 8px;
    padding: 8px 14px;
    font-size: 15px;
  }
  .btn .icon {
    width: 16px;
    height: 16px;
  }
}
.nav-links a,
.signupBtn,
.logo span {
  font-family: Arial, sans-serif;
  font-weight: 515;
  font-size: 15px;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none; /* só mobile */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle .hamburger {
  height: 3px;
  width: 100%;
  background-color: #6C4BFA;
  border-radius: 2px;
}

/* MOBILE MENU LATERAL */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 33px;
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100%;
  background-color: #fff;
  padding: 60px 20px 20px;
  box-shadow: -4px 0 15px rgba(0,0,0,0.2);
  transition: right 0.3s ease;
  z-index: 999;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  text-decoration: none;
  font-size: 18px;
  color: #4a4a4a;
  font-family: Arial, sans-serif;
  font-weight: 500px;
}

.mobile-menu a.btn,
.mobile-menu a.signupBtn {
  width: 100%;
}

/* RESPONSIVIDADE */
@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-container {
    justify-content: space-between;
  }
}

.mobile-nav-links a {
  color: #333; /* preto/cinza */
  text-decoration: none;
  font-family: Arial, sans-serif; /* fonte limpa */
  font-weight: 500;
  font-size: 16px;
  display: block; /* cada link em linha separada */
  padding: 12px 20px; /* espaçamento confortável */
}

.mobile-nav-links a:hover {
  color: #707070; /* opcional: roxo ao passar o mouse */
}

.mobile-site-name {
  font-size: 28px;
  font-weight: bold;
  color: #6C4BFA;
  margin-bottom: 20px;
  text-align: center;
}

/* LOGO */
.mobile-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.mobile-logo img {
  height: 50px;
}