/* Clean Apple/Minimalist Style for Yev Nesin Advisory */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background-color: #FFFFFF;
  color: #1D1D1F;
}

/* Apple-style typography subtleties */
h1, h2, h3, h4 {
  letter-spacing: -0.025em;
}

/* Apple-inspired frosted glass */
.apple-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Apple-style card elevation */
.apple-card {
  background: #FFFFFF;
  border: 1px solid #E5E5EA;
  border-radius: 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.apple-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.08);
  border-color: #D1D1D6;
}

/* Pill buttons */
.apple-btn-primary {
  background-color: #1D1D1F;
  color: #FFFFFF;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.apple-btn-primary:hover {
  background-color: #000000;
  transform: scale(1.01);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.apple-btn-secondary {
  background-color: #F5F5F7;
  color: #1D1D1F;
  border: 1px solid #E5E5EA;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.apple-btn-secondary:hover {
  background-color: #E8E8ED;
  color: #000000;
}

/* Currency toggle active state */
.curr-btn.active {
  background-color: #1D1D1F !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Subtle scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #F5F5F7;
}
::-webkit-scrollbar-thumb {
  background: #D1D1D6;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #AEAEB2;
}

/* Modal animation */
.modal-fade-in {
  animation: modalFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
