@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap");

:root {
  --primary-blue: #2563eb;
  --primary-dark: #1e3a8a;
  --bg-light: #f5faff;
  --border-soft: #e5f0ff;
  --text-main: #0f172a;
  --text-muted: #475569;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Manrope", sans-serif;
}

body {
  background: var(--bg-light);
  color: var(--text-main);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 1200px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(219, 234, 254, 0.36));
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  padding: 12px 20px;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.18);
  z-index: 1000;
  overflow: hidden;
}

.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nav-links {
  display: flex;
  gap: 6px;
}

.nav-link {
  margin: 0;
  padding: 8px 12px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease;
}

.nav-link:hover {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.62);
}

.navbar-logo {
  width: 40px;
  transition: transform 220ms ease, filter 220ms ease;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
}

.navbar-brand:hover .navbar-logo {
  transform: translateY(-1px) scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 8px 14px rgba(37, 99, 235, 0.25));
}

.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  position: relative;
  z-index: 1;
  animation: menu-drop 180ms ease-out;
}

/* HERO */
.hero {
  margin-top: 120px;
  text-align: center;
}

.badge {
  background: #eff6ff;
  color: var(--primary-blue);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  font-size: 38px;
  color: var(--primary-dark);
  margin-top: 20px;
}

.hero p {
  color: var(--text-muted);
  margin-top: 10px;
}

/* CARD */
.container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 0 12px;
}

.card {
  background: white;
  border: 1px solid var(--border-soft);
  padding: 30px;
  width: 400px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(37,99,235,0.1);
  position: relative;
}

input, select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
}

/* BUTTON */
button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: var(--primary-blue);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: var(--primary-dark);
}

/* RESULT */
#result {
  margin-top: 20px;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}

.success {
  background: #ecfdf5;
  color: #166534;
}

.error {
  background: #fef2f2;
  color: #991b1b;
}

/* SUGGESTIONS */
.suggestions {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  max-height: 160px;
  overflow-y: auto;
}

.suggestions:empty {
  display: none;
}

.suggestions div {
  padding: 10px;
  cursor: pointer;
}

.suggestions div:hover {
  background: #eff6ff;
}

/* SOCIAL */
.social-strip {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 12px;
}

.social-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 700;
  border: 1px solid #cfe0ff;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.social-strip a:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.28);
}

.social-strip .instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b 48%, #8134af);
  border-color: #dd2a7b;
  box-shadow: 0 10px 18px rgba(221, 42, 123, 0.32);
}

.social-strip .meetup:hover {
  background: #e51937;
  border-color: #e51937;
  box-shadow: 0 10px 18px rgba(229, 25, 55, 0.3);
}

.social-strip .whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 10px 18px rgba(37, 211, 102, 0.33);
}

.social-strip i {
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.social-strip a:hover i {
  animation: icon-bounce 360ms ease;
}

/* FOOTER */
footer {
  margin-top: auto;
  padding: 28px 12px 26px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* MOBILE */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  appearance: none;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

@media (max-width: 1200px) {
  .navbar {
    width: 96%;
  }

  .hero h1 {
    font-size: 34px;
  }
}

@media (max-width: 992px) {
  .navbar {
    top: 10px;
    width: 95%;
    padding: 10px 14px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .mobile-menu .nav-link {
    display: block;
    text-align: center;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    padding: 0 16px;
  }

  .container {
    margin-top: 22px;
    min-height: calc(100svh - 250px);
    align-items: center;
  }

  .card {
    width: min(94vw, 520px);
    padding: 24px;
  }

  .social-strip {
    margin-top: 28px;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-top: 96px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .badge {
    font-size: 11px;
  }

  .container {
    margin-top: 16px;
    min-height: calc(100svh - 232px);
    align-items: center;
  }

  .card {
    width: min(95vw, 500px);
    border-radius: 18px;
    padding: 22px;
  }

  .social-strip a {
    min-width: 140px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .navbar {
    width: 96%;
    border-radius: 14px;
    top: 10px;
    padding: 10px 14px;
  }

  .navbar-logo {
    width: 34px;
  }

  .hero {
    margin-top: 90px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .container {
    margin-top: 10px;
    min-height: calc(100svh - 216px);
    align-items: center;
  }

  .card {
    border-radius: 16px;
    width: min(95vw, 460px);
    padding: 20px;
  }

  .social-strip a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    min-height: calc(100svh - 204px);
  }

  .hero h1 {
    font-size: 23px;
  }

  .card {
    padding: 17px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 22px;
  }

  .badge {
    padding: 5px 12px;
  }

  .card {
    padding: 16px;
  }
}

@keyframes menu-drop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes icon-bounce {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-2px) scale(1.12);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}