* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

#app-wrapper {
  overflow-x: hidden;
}

.font-satisfy {
  font-family: 'Satisfy', cursive;
}

.nav-link {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f9afaa;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(5deg); }
}

.card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(103, 58, 183, 0.15);
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.social-icon {
  box-shadow: 0 4px 15px rgba(103, 58, 183, 0.1);
  transition: all 0.3s ease;
}

.social-icon:hover {
  box-shadow: 0 8px 25px rgba(103, 58, 183, 0.2);
}

.app-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-weight: 500;
  background: #333;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.value-card {
  text-align: center;
  height: 29rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(249, 175, 170, 0.13), rgba(103, 58, 183, 0.13));
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.30), rgba(250, 230, 255, 0.30));
  z-index: 0;
  pointer-events: none;
}

.value-card > * {
  position: relative;
  z-index: 1;
}

.divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #f9afaa, transparent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.menu-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  background: #673ab7;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

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

.menu-button.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

@media (max-width: 640px) {
  .menu-button {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 0.25rem 1.5rem 0.75rem;
    box-shadow: 0 8px 24px rgba(103, 58, 183, 0.12);
    border-bottom: 1px solid rgba(103, 58, 183, 0.1);
    z-index: 50;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(103, 58, 183, 0.07);
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}
