
  /* ========== FOOTER DESIGN TOKENS ========== */
  :root {
    --footer-bg: hsl(234, 85%, 94%);
    --footer-surface: hsl(234, 60%, 97%);
    --footer-foreground: hsl(234, 45%, 20%);
    --footer-muted: hsl(234, 25%, 50%);
    --footer-accent: hsl(234, 80%, 55%);
    --footer-accent-secondary: hsl(234, 60%, 65%);
    --footer-border: hsl(234, 50%, 85%);
    --footer-hover: hsl(234, 70%, 92%);
  }


  /* ========== FOOTER ========== */
  .footer {
    position: relative;
    overflow: hidden;
    background: var(--footer-bg);
  }

  .footer-top-line {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, hsla(234, 80%, 55%, 0.3), transparent);
  }

  .footer-glow-1 {
    position: absolute;
    top: -160px; left: 33%;
    width: 500px; height: 500px;
    background: hsla(234, 80%, 55%, 0.03);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
  }

  .footer-glow-2 {
    position: absolute;
    bottom: -128px; right: 25%;
    width: 400px; height: 400px;
    background: hsla(234, 60%, 65%, 0.04);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }

  /* Disclaimer */
  .footer-disclaimer {
    position: relative;
    /* border-bottom: 1px solid var(--footer-border);  */
    animation: fadeIn 0.7s ease both;
  }

  .footer-disclaimer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0px 24px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
  }

.footer-disclaimer-inner p{
  font-size: 14px !important;
  padding: 0px 0px !important;
}




  @media (min-width: 768px) {

    .footer-disclaimer-inner {
      flex-direction: row;
      gap: 20px;
    }

    .footer-disclaimer-inner p{
      padding: 20px 0px !important;
    }
  }



  .footer-disclaimer p {
    font-size: 12px;
    line-height: 1.6;
    color: hsla(234, 25%, 50%, 0.8);
    /* max-width: 896px; */
  }

  /* Main content */
  .footer-main {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 24px;
  }

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

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

  @media (min-width: 1024px) {
    .footer-grid {
      grid-template-columns: 4fr 3fr 2fr 3fr;
      gap: 32px;
    }
  }

  /* Section headings */
  .footer-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--footer-foreground);
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .footer-heading svg {
    width: 18px; height: 18px;
    color: var(--footer-accent);
  }

  .footer-heading-sub {
    font-size: 12px;
    color: hsla(234, 25%, 50%, 0.6);
    margin-top: 4px;
    font-weight: 400;
  }

  /* Contact items */
  .footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--footer-surface);
    border: 1px solid hsla(234, 50%, 85%, 0.5);
    text-decoration: none;
    color: var(--footer-muted);
    transition: all 0.3s;
  }

  .footer-contact-item:hover {
    background: var(--footer-hover);
    border-color: hsla(234, 80%, 55%, 0.3);
    transform: translateX(4px);
    color: var(--footer-foreground);
  }

  .footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: hsla(234, 80%, 55%, 0.1);
    transition: background 0.3s;
  }

  .footer-contact-item:hover .footer-contact-icon {
    background: hsla(234, 80%, 55%, 0.15);
  }

  .footer-contact-icon svg {
    width: 14px; height: 14px;
    color: var(--footer-accent);
  }

  .footer-contact-item span {
    font-size: 14px;
    flex: 1;
  }

  .footer-contact-arrow {
    width: 14px; height: 14px;
    color: hsla(234, 25%, 50%, 0.3);
    transition: all 0.3s;
  }

  .footer-contact-item:hover .footer-contact-arrow {
    color: var(--footer-accent);
    transform: translate(2px, -2px);
  }

  /* Social icons */
  .footer-socials {
    display: flex;
    gap: 8px;
    padding-top: 4px;
  }

  .footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 8px;
    /* background: var(--footer-surface); */
    /* border: 1px solid hsla(234, 50%, 85%, 0.5); */
    color: var(--footer-muted);
    text-decoration: none;
    transition: all 0.3s;
  }

  .footer-social-link:hover {
    /* color: var(--footer-accent); */
    /* border-color: hsla(234, 80%, 55%, 0.3); */
    /* box-shadow: 0 4px 12px hsla(234, 80%, 55%, 0.15); */
    transform: translateY(-3px) scale(1.1);
  }

  .footer-social-link i {
    font-size: 14px;
    line-height: 1;
  }

  /* Links */
  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 0 !important;
  }

  .footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--footer-muted);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
  }

  .footer-link:hover {
    color: var(--footer-foreground);
  }

  .footer-link-chevron {
    width: 14px; height: 14px;
    color: hsla(234, 60%, 65%, 0.5);
    transition: all 0.3s;
  }

  .footer-link:hover .footer-link-chevron {
    color: var(--footer-accent);
    transform: translateX(2px);
  }

  .footer-link-dot {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: hsla(234, 60%, 65%, 0.4);
    transition: all 0.3s;
  }

  .footer-link:hover .footer-link-dot {
    background: var(--footer-accent);
    box-shadow: 0 0 8px hsla(234, 80%, 55%, 0.5);
  }

  .footer-link.sub {
    padding-left: 16px;
  }

  .footer-link-text {
    position: relative;
  }

  .footer-link-text::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--footer-accent);
    transition: width 0.3s;
  }

  .footer-link:hover .footer-link-text::after {
    width: 100%;
  }

  /* Download buttons */
  .footer-downloads {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-download-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--footer-surface);
    border: 1px solid hsla(234, 50%, 85%, 0.5);
    text-decoration: none;
    color: var(--footer-muted);
    transition: all 0.3s;
    cursor: pointer;
  }

  .footer-download-btn:hover {
    border-color: hsla(234, 80%, 55%, 0.3);
    box-shadow: 0 8px 24px hsla(234, 85%, 94%, 0.5);
    transform: translateY(-2px) scale(1.02);
  }

  .footer-download-btn:active {
    transform: scale(0.98);
  }

  .footer-download-btn i {
    font-size: 22px;
    width: 24px;
    text-align: center;
    transition: color 0.3s;
  }

  .footer-download-btn:hover i {
    color: var(--footer-accent);
  }

  .footer-download-sub {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: hsla(234, 25%, 50%, 0.5);
    font-weight: 500;
  }

  .footer-download-store {
    font-size: 14px;
    font-weight: 600;
    color: var(--footer-foreground);
    margin-top: -2px;
  }

  /* UNUSED (newsletter markup is commented in footer.ejs)
  .footer-newsletter {
    margin-top: 24px;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, hsla(234, 80%, 55%, 0.08), hsla(234, 60%, 65%, 0.05));
    border: 1px solid hsla(234, 80%, 55%, 0.15);
  }

  .footer-newsletter-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--footer-accent);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .footer-newsletter-title svg {
    width: 12px; height: 12px;
  }

  .footer-newsletter-desc {
    font-size: 11px;
    color: hsla(234, 25%, 50%, 0.7);
    margin-top: 4px;
    line-height: 1.5;
  }
  */

  /* Bottom bar */
  .footer-bottom {
    position: relative;
    border-top: 1px solid var(--footer-border);
  }

  .footer-bottom-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  @media (min-width: 640px) {
    .footer-bottom-inner {
      flex-direction: row;
    }
  }

  .footer-bottom-brand {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: hsla(234, 80%, 55%, 0.8);
  }

  .footer-bottom-copy {
    font-size: 11px;
    color: hsla(234, 25%, 50%, 0.5);
  }

  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .anim-fade-up {
    animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .anim-delay-1 { animation-delay: 0.1s; }
  .anim-delay-2 { animation-delay: 0.2s; }
  .anim-delay-3 { animation-delay: 0.3s; }
  .anim-delay-4 { animation-delay: 0.4s; }
  picture {
    display: inline-flex;
    justify-content: center;
    width: 100px;
    border-radius: 0 0 14px 14px;
    background-color: #fff;
    padding: 10px 1rem;
}

picture img {
    max-height: 70px;
    max-width: 100%;
}
.footer-tabs { margin-top: 8px; }
.footer-tabs-nav {
  gap: 18px;
  /* border-bottom: 1px solid rgba(0,0,0,0.08); */
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.footer-tab-link {
  border: none !important;
  background: transparent !important;
  color: rgba(0,0,0,0.62) !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 2px !important;
  border-radius: 0 !important;
  white-space: nowrap;
  position: relative;
}
.footer-tab-link.active {
  color: rgba(0,0,0,0.92) !important;
}
.footer-tab-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: rgba(0,0,0,0.82);
  border-radius: 2px;
}
.footer-tabs-content { padding-top: 12px; }
.footer-tab-panel { padding: 8px 0 4px; }
.footer-tab-linkitem {
  display: block;
  text-decoration: none;
  color: rgba(0,0,0,0.62);
  font-size: 13px;
  padding: 6px 0;
  line-height: 1.2;
}
.footer-tab-linkitem:hover { color: rgba(0,0,0,0.9); text-decoration: underline; }
/* Login modal (modern UI) */
#loginModal .modal-dialog { max-width: 820px; }
#loginModal .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(10, 14, 40, 0.25);
}
#loginModal .modal-body { padding: 0; }
#loginModal .login-modal-wrap { display: flex; }
#loginModal .login-left {
  position: relative;
  width: 46%;
  margin: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  overflow: hidden;
  padding: 28px;
}
#loginModal .login-left::before,
#loginModal .login-left::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
#loginModal .login-left::before { width: 180px; height: 180px; top: -70px; right: -70px; }
#loginModal .login-left::after { width: 130px; height: 130px; left: -50px; bottom: -50px; }
#loginModal .login-left h3 { font-size: 28px; font-weight: 700; line-height: 1.15; margin: 0; }
#loginModal .login-left p { margin: 0; margin-top: auto; font-size: 14px; opacity: 0.92; line-height: 1.5; }
#loginModal .login-right { position: relative; flex: 1; padding: 28px; display: flex; flex-direction: column; height: max-content;}
#loginModal .login-close {
  position: absolute; right: 16px; top: 16px; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: #f1f5f9; color: #475569;
}
#loginModal .login-close:hover { background: #e2e8f0; }
#loginModal .login-title { text-align: center; font-size: 24px; font-weight: 700; color: #0f172a; margin-top: 12px; }
#loginModal .login-sub { text-align: center; font-size: 14px; color: #64748b; margin-top: 8px; line-height: 1.5; }
#loginModal .google_card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  transition: all .2s ease;
}
#loginModal .google_card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.14);
  transform: translateY(-1px);
}
#loginModal #userForm .form-control { border-radius: 12px; min-height: 44px; }
#loginModal #userForm .submitBtn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}
#loginModal .login-terms { text-align: center; font-size: 12px; color: #64748b; margin-top: auto; }

/* Smooth open/close animation for login modal */
#loginModal.modal.fade .modal-dialog {
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 220ms ease-out;
  will-change: transform, opacity;
}
#loginModal.modal.show .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Dark, slightly blurred backdrop */
.modal-backdrop.show {
  background-color: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(2px);
  transition: opacity 180ms ease-out, background-color 180ms ease-out;
}

/* Micro animation: card pop when modal appears */
#loginModal.modal.show .google_card {
  animation: loginCardPop 260ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes loginCardPop {
  from {
    transform: translateY(8px) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@media (max-width: 767.98px) {

  #loginModal .login-left { display: none; }
  #loginModal .login-right { padding: 22px; }
}
