/* ===============================
   GoFasting — Global Styles
   Modern Health & Wellness Theme
   =============================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Brand Colors */
  --color-primary: #2CB67D;
  --color-primary-dark: #219964;
  --color-primary-light: #E8F8F0;
  --color-secondary: #1A1A2E;
  --color-accent: #FF6B35;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-primary);

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  /* Semantic Colors */
  --color-heading: var(--color-gray-900);
  --color-text: var(--color-gray-600);
  --color-border: var(--color-gray-200);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--color-gray-800);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageFadeIn 0.3s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* Screen-reader only (visually hidden but accessible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-gray-900);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-gray-500);
  max-width: 600px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 2px solid var(--color-gray-200);
  color: var(--color-gray-700);
  background: var(--color-white);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-dark {
  background: var(--color-gray-900);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--color-gray-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ---------- Store Badges ---------- */
.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--color-gray-900);
  color: var(--color-white);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  min-width: 180px;
  justify-content: center;
  box-sizing: border-box;
}

.store-badge:hover {
  background: var(--color-gray-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.store-badge svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.store-badge-text small {
  font-size: 0.6875rem;
  opacity: 0.8;
}

.store-badge-text strong {
  font-size: 0.9375rem;
  font-weight: 700;
}

/* ---------- Store Download Group ---------- */
.store-download-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
  width: 100%;
  flex-wrap: nowrap;
}

.store-download-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.store-download-col .store-badge {
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
}


/* ===================================
   1. NAVBAR
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  border-bottom-color: var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--color-gray-900);
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.125rem;
}

.nav-brand-logo {
  height: 36px;
  width: auto;
  display: block;
  border-radius: 8px;
}

/* ---------- Navbar Store Dropdown ---------- */
.nav-cta-wrapper {
  position: relative;
}
.nav-store-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 1100;
  min-width: 200px;
}
.nav-store-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-store-dropdown .store-badge {
  min-width: unset;
  width: 100%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-gray-600);
}

.nav-links a:hover {
  color: var(--color-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: var(--color-gray-100);
}

.lang-btn svg {
  width: 16px;
  height: 16px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 160px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  border-radius: 6px;
  transition: background var(--transition-fast);
}

.lang-dropdown a:hover {
  background: var(--color-gray-100);
  color: var(--color-gray-900);
}

.lang-dropdown a.active {
  color: var(--color-primary);
  font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-gray-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-nav {
  display: none;
}


/* ===================================
   FOOTER STORE DOWNLOAD (QR + badges)
   =================================== */
.footer-store-download {
  margin-top: 16px;
}

.footer-store-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.footer-store-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-store-col .qr-code-item img {
  width: 120px;
  height: 120px;
}

@media (max-width: 768px) {
  .footer-store-col .qr-code-item {
    display: none;
  }
  .footer-store-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===================================
   8. FOOTER
   =================================== */
.footer {
  background: var(--color-secondary);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 20px 0 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer h4, .footer-link-group-title {
  display: block;
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  padding: 24px 0;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.8125rem;
  opacity: 0.5;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8125rem;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.footer-bottom-links a:hover {
  opacity: 1;
}



/* ===================================
   RESPONSIVE - Shared
   =================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-right .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    z-index: 999;
    flex-direction: column;
    gap: 0;
  }

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

  .mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
  }

  .mobile-nav .store-badges {
    margin-top: 24px;
    flex-direction: column;
  }

  .mobile-nav .store-badge {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    color: var(--color-white);
    padding: 12px 24px;
    border-bottom: none;
    font-size: inherit;
    font-weight: inherit;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    display: contents;
  }

  .footer-brand > a,
  .footer-brand > p {
    order: -2;
  }

  .footer-store-download {
    order: 10;
  }

  .footer-social {
    order: 11;
  }

  .footer-store-row {
    flex-direction: row;
    gap: 10px;
  }

  .footer-store-row .store-badge {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .store-badges {
    flex-direction: column;
    align-items: stretch;
  }

  .store-badge {
    justify-content: center;
  }

  .store-download-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .store-download-col {
    white-space: normal;
  }

  .store-download-col .store-badge {
    width: 100%;
  }
}

/* ---------- Footer Disclaimer ---------- */
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ---------- Footer 06.25 layout ---------- */
.footer {
  background: #FFFFFF;
  color: #111827;
  padding: 72px 0 0;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.footer-grid {
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1fr);
  align-items: start;
  gap: clamp(48px, 10vw, 140px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.footer-brand {
  max-width: 472px;
}

.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #050B12;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0;
}

.footer-brand-mark img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.footer-brand p {
  max-width: none;
  margin: 26px 0 24px;
  color: #111827;
  font-size: 1.55rem;
  line-height: 1.35;
}

.footer-market-icons {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 26px 0 42px;
}

.footer-market-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #F1F3F6;
  color: #111827;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.footer-market-icons a:hover {
  background: #E8F4EF;
  transform: translateY(-2px);
}

.footer-market-icons svg {
  width: 28px;
  height: 28px;
}

.footer-follow-label {
  margin: 0 0 22px !important;
  color: #111827 !important;
  font-size: 1.25rem !important;
  line-height: 1.2 !important;
}

.footer-social {
  gap: 24px;
  margin-top: 0;
}

.footer-social a {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #050B12;
}

.footer-social a:hover {
  background: transparent;
  color: #00CC91;
  transform: translateY(-1px);
}

.footer-social svg {
  width: 26px;
  height: 26px;
}

.footer-link-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 56px;
  justify-self: end;
  width: min(100%, 520px);
}

.footer h4, .footer-link-group-title {
  font-weight: 700;
  display: block;
  color: #111827;
  font-size: 1rem;
}

.footer-links a {
  color: #4B5563;
}

.footer-bottom p,
.footer-disclaimer p {
  color: #6B7280;
  opacity: 1;
}

.footer-disclaimer {
  border-top: 1px solid rgba(17, 24, 39, 0.08);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    display: block;
    max-width: none;
  }

  .footer-link-groups {
    justify-self: stretch;
  }

  .footer-brand p {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .footer-link-groups {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Body.png 06.25 shared alignment ---------- */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.navbar .container {
  max-width: 1120px;
  height: 56px;
}

.nav-brand,
.footer-brand-mark {
  gap: 6px;
  font-size: 0.875rem;
  letter-spacing: 0;
}

.nav-brand-logo {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.nav-links {
  gap: 34px;
}

.nav-links a {
  color: #111827;
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-btn {
  padding: 5px 8px;
  font-size: 0.6875rem;
  color: #111827;
}

.nav-right {
  gap: 12px;
}

.nav-cta-wrapper .btn-sm {
  min-height: 28px;
  padding: 7px 16px;
  background: #00CC91;
  border-radius: 999px;
  font-size: 0.6875rem;
  box-shadow: 0 7px 18px rgba(0, 204, 145, 0.24);
}

.store-badge {
  gap: 8px;
  min-width: 170px;
  min-height: 50px;
  padding: 6px 17px 6px 12px;
  border-radius: 8px;
  background: #020407;
}

.store-badge img.store-badge-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

.store-badge-fallback-icon {
  display: none;
}

.store-badge-text small {
  font-size: 0.5625rem;
}

.store-badge-text strong {
  font-size: 0.875rem;
}

.footer {
  padding: 70px 0 0;
}

.footer .container {
  max-width: 1120px;
}

.footer-grid {
  grid-template-columns: minmax(320px, 1fr) 360px;
  gap: clamp(64px, 15vw, 220px);
  padding-bottom: 46px;
}

.footer-brand-mark {
  font-size: 1.125rem;
}

.footer-brand-mark img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.footer-brand p {
  margin: 20px 0 18px;
  font-size: 1rem;
  line-height: 1.35;
}

.footer-market-icons {
  gap: 14px;
  margin: 18px 0 34px;
}

.footer-market-icons a {
  width: 42px;
  height: 42px;
  background: transparent;
}

.footer-market-icons a:hover {
  background: transparent;
}

.footer-market-icons img {
  width: 42px;
  height: 42px;
}

.footer-follow-label {
  margin-bottom: 14px !important;
  font-size: 0.875rem !important;
}

.footer-social {
  gap: 12px;
}

.footer-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-link-groups {
  width: 100%;
  max-width: 360px;
  gap: 72px;
}

.footer h4, .footer-link-group-title {
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.75rem;
}

.footer-disclaimer {
  display: none;
}

.footer-bottom {
  padding: 18px 0 22px;
  justify-content: center;
}

.footer-bottom p {
  width: 100%;
  font-size: 0.6875rem;
  text-align: center;
}

/* 06.25 responsive pass: keep header and store badges inside small screens. */
@media (max-width: 768px) {
  .navbar .container {
    height: 56px;
  }

  .mobile-nav {
    top: 56px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .footer-brand {
    display: block;
    text-align: center;
  }

  .footer-brand-mark {
    justify-content: center;
  }

  .footer-market-icons,
  .footer-social {
    justify-content: center;
  }

  .footer-link-groups {
    grid-template-columns: minmax(0, 1fr);
    justify-self: stretch;
    max-width: none;
    gap: 28px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .nav-right {
    gap: 6px;
  }

  .lang-btn {
    gap: 4px;
    padding: 5px 4px;
  }

  .lang-btn span {
    max-width: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .store-badge {
    min-width: 0;
  }
}

@media (max-width: 360px) {
  .lang-btn span {
    display: none;
  }
}

@media (max-width: 900px) {
  .navbar .container {
    height: 56px;
  }

  .nav-links,
  .nav-right .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    z-index: 999;
    flex-direction: column;
    gap: 0;
  }

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

  .mobile-nav a {
    display: block;
    padding: 16px 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-gray-700);
    border-bottom: 1px solid var(--color-gray-100);
  }

  .mobile-nav .store-badges {
    margin-top: 24px;
    flex-direction: column;
  }

  .mobile-nav .store-badge {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    color: var(--color-white);
    padding: 12px 24px;
    border-bottom: none;
    font-size: inherit;
    font-weight: inherit;
  }
}

/* ---------- Scroll Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 06.29 docx fixes: stronger nav and QR download popover. */
.navbar .container {
  height: 76px;
}

.nav-brand {
  gap: 12px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav-brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  gap: 38px;
}

.nav-links a,
.lang-btn {
  font-size: 0.875rem;
  font-weight: 700;
}

.nav-cta-wrapper .btn-sm {
  min-height: 38px;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
}

.nav-store-dropdown {
  width: min(45vw, 600px);
  min-width: 520px;
  padding: 24px;
  border-radius: 22px;
}

.download-popover-title {
  margin: 0 0 18px;
  color: #101820;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.download-popover-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.download-option {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.download-qr {
  width: 100%;
  max-width: 178px;
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
}

.download-option .store-badge,
.hero-store-badges .store-badge {
  min-width: 210px;
  min-height: 54px;
  color: #fff;
}

.store-badge-text small {
  opacity: 1;
}

.footer-grid {
  align-items: start;
}

.footer-link-groups {
  padding-top: 24px;
}

@media (max-width: 768px) {
  .navbar .container {
    height: 62px;
  }

  .mobile-nav {
    top: 62px;
  }

  .nav-brand {
    font-size: 1.125rem;
  }

  .nav-brand-logo {
    width: 30px;
    height: 30px;
  }

  .lang-btn {
    font-size: 0.8125rem;
  }

  .nav-store-dropdown {
    position: fixed;
    top: 72px;
    left: 50%;
    right: auto;
    width: min(calc(100vw - 32px), 360px);
    min-width: 0;
    padding: 18px;
    transform: translate(-50%, -8px);
  }

  .nav-store-dropdown.show {
    transform: translate(-50%, 0);
  }

  .download-popover-body {
    grid-template-columns: 1fr;
  }

  .download-qr {
    display: none;
  }

  .download-option .store-badge {
    width: 100%;
  }

  .footer-link-groups {
    padding-top: 10px;
  }
}

/* 06.29 correction: desktop download popover is centered on the viewport. */
@media (min-width: 769px) {
  .nav-store-dropdown {
    position: fixed;
    top: 88px;
    left: 50%;
    right: auto;
    transform: translate(-50%, -8px);
  }

  .nav-store-dropdown.show {
    transform: translate(-50%, 0);
  }
}

/* 06.29 correction: download popup behaves like a centered modal. */
.nav-download-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 24, 32, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 1190;
}

.nav-download-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 769px) {
  .nav-store-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    max-height: calc(100vh - 48px);
    overflow: auto;
    transform: translate(-50%, -48%) scale(.98);
    z-index: 1200;
  }

  .nav-store-dropdown.show {
    transform: translate(-50%, -50%) scale(1);
  }
}

@media (max-width: 768px) {
  .nav-store-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    max-height: calc(100vh - 32px);
    overflow: auto;
    transform: translate(-50%, -48%) scale(.98);
    z-index: 1200;
  }

  .nav-store-dropdown.show {
    transform: translate(-50%, -50%) scale(1);
  }
}
