@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #171e14;
  background-color: #fcfdfa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism & Header */
.glass-header {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Mobile Frame & Device Simulation */
.device-frame {
  position: relative;
  width: 100%;
  max-width: 310px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  background: linear-gradient(145deg, #2b3327, #11170f);
  border-radius: 46px;
  box-shadow: 
    0 25px 60px -12px rgba(17, 25, 14, 0.35),
    0 12px 24px -8px rgba(17, 25, 14, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.device-frame:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 32px 70px -12px rgba(17, 25, 14, 0.4),
    0 16px 30px -8px rgba(17, 25, 14, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.device-screen-wrapper {
  position: relative;
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #ffffff;
  aspect-ratio: 470 / 1024;
}

.device-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.device-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 20px;
  background: #000000;
  border-radius: 9999px;
  z-index: 20;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.device-island::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111a13;
  border: 1px solid #1f2a20;
}

/* Secondary phone tilt for showcase */
.device-tilt-left {
  transform: rotate(-5deg) translateY(18px);
}
.device-tilt-right {
  transform: rotate(5deg) translateY(18px);
}

/* Floating Badges & Animations */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
}

.animate-float-slow {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 6s ease-in-out infinite;
}

/* Store Badge Buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111810;
  color: #ffffff;
  border-radius: 14px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  text-decoration: none;
}

.store-btn:hover {
  background: #1d271b;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(0, 0, 0, 0.35);
  border-color: rgba(132, 189, 0, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f4eb;
}
::-webkit-scrollbar-thumb {
  background: #c5d3af;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9ab478;
}

/* FAQ Accordion Styling */
details summary::-webkit-details-marker {
  display: none;
}
details summary {
  list-style: none;
}
details[open] summary svg {
  transform: rotate(180deg);
}

/* Pulse Glow Effect */
.glow-pulse {
  box-shadow: 0 0 40px -10px rgba(132, 189, 0, 0.35);
}

/* Language switcher — fixed on the right, does not sit in the nav */
html.i18n-pending body {
  visibility: hidden;
}

.lang-fab {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  font-family: inherit;
}

.lang-fab-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 36, 52, 0.14), 0 0 0 1px rgba(28, 36, 52, 0.06);
  cursor: pointer;
}

.lang-fab-btn:hover {
  box-shadow: 0 10px 28px rgba(28, 36, 52, 0.18), 0 0 0 1px rgba(28, 36, 52, 0.08);
}

.lang-flag {
  display: block;
  width: 28px;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
  flex: 0 0 auto;
}

.lang-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(28, 36, 52, 0.16), 0 0 0 1px rgba(28, 36, 52, 0.05);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #1c2434;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.lang-menu button:hover {
  background: #f4f6f8;
}

.lang-menu .lang-check {
  margin-left: auto;
  width: 16px;
  height: 16px;
  color: #3d8f4a;
  opacity: 0;
}

.lang-menu button[aria-selected="true"] .lang-check {
  opacity: 1;
}

@media (max-width: 640px) {
  .lang-fab {
    right: 10px;
  }
}
