/* infiniteLance - Apple-Inspired Monochromatic Stylesheet */

/* System Apple Typography Smoothing */
html {
  scroll-behavior: smooth;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  background-color: #ffffff;
  color: #1d1d1f;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Apple-style Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #f5f5f7;
}

::-webkit-scrollbar-thumb {
  background: #d2d2d7;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #86868b;
}

/* Currency switcher on dark header */
.currency-btn {
  color: #a1a1a6;
  background-color: transparent;
  transition: all 0.2s ease;
}

.currency-btn:hover {
  color: #ffffff;
}

.currency-btn.active {
  background-color: #ffffff !important;
  color: #000000 !important;
}

/* Calculator Active Option */
.calc-option.active {
  border-color: #000000 !important;
  box-shadow: 0 0 0 1px #000000;
}

/* FAQ Accordion Styling */
.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}

.faq-content {
  transition: max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

/* Focus states */
input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.9);
}

/* Button micro-interactions */
button:active, a:active {
  transform: scale(0.98);
}
