html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

h1,
h2,
h3,
.font-display {
  font-family: 'Manrope', sans-serif;
}

/* Glassmorphism Nav */
.glass-nav {
  background: rgba(251, 244, 255, 0.75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.nav-shadow {
  box-shadow: 0px 4px 24px rgba(52, 40, 78, 0.08);
}

/* 스크롤 트리거 등장 */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 프라이머리 그라디언트 버튼 */
.btn-primary {
  background: linear-gradient(135deg, #5846c7, #8c7cff);
  color: #f5f0ff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.875rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(88, 70, 199, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(88, 70, 199, 0.4);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: #e5d6ff;
  color: #5846c7;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.875rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #dcc9ff;
  transform: translateY(-2px);
}

/* 앱 목업 */
.phone-mock {
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #ffffff, #f6edff);
  border-radius: 36px;
  box-shadow: 0 40px 80px rgba(52, 40, 78, 0.18), 0 0 0 1px rgba(180, 166, 212, 0.3);
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: #34284e;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
}

/* ==============================
   Floating Logo Badges (Physics)
   ============================== */
.floating-badge {
  position: absolute;
  z-index: 30;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  box-shadow:
    0 8px 32px rgba(52, 40, 78, 0.10),
    0 0 0 1px rgba(180, 166, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  pointer-events: none;
  will-change: transform;
}

.floating-badge.badge-sm {
  width: 56px;
  height: 56px;
  padding: 10px;
}

.floating-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==============================
   Lens Flare / Glass Reflection
   ============================== */
.lens-flare {
  position: absolute;
  top: -20%;
  left: -60%;
  width: 40%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.35) 55%,
    transparent 70%
  );
  transform: rotate(25deg);
  animation: lens-sweep 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes lens-sweep {
  0%, 100% {
    left: -60%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  40% {
    left: 120%;
    opacity: 1;
  }
  50%, 100% {
    left: 120%;
    opacity: 0;
  }
}
