/* ===============================================
   footer.css — Bot4Trade footer (Simple hover only)
   20% larger, minimal animations, mobile centered
   =============================================== */

:root {
  --accent-green: #0b6b3a;
  --accent-green-2: #148a49;
  --accent-green-light: rgba(11, 107, 58, 0.1);
  --text-primary: #2b2b2b;
  --text-muted: #6b6b6b;
  --border-color: #e5e5e5;
  --bg-footer: #fafafa;
  --max-width: 1440px;
  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}


/* Footer shell - 20% larger */
.bt-footer {
  background: linear-gradient(180deg, var(--bg-footer) 0%, #ffffff 100%);
  border-top: 1px solid var(--border-color);
  padding: 96px 32px 32px;
  color: var(--text-primary);
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Inter', sans-serif !important;
}

/* Main container - 20% larger */
.bt-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.4fr 3.6fr;
  gap: 96px;
  align-items: start;
}

/* Left: Brand - 20% larger */
.bt-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bt-footer-logo {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-green);
  text-decoration: none;
  margin-bottom: 6px;
  display: inline-block;
  transition: color var(--transition);
}

.bt-footer-logo:hover {
  color: var(--accent-green-2);
}

.bt-footer-tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 420px;
}

/* Trust badge */
.bt-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--accent-green-light);
  border: 1px solid rgba(11, 107, 58, 0.15);
  border-radius: 12px;
  color: var(--accent-green);
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
  width: fit-content;
}

.bt-trust-badge svg {
  flex-shrink: 0;
}

/* Right: Column grid - 20% larger with subtle separators on desktop */
.bt-footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.bt-footer-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

/* Subtle vertical line between columns on desktop */
.bt-footer-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -30px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
}

.bt-col-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.bt-col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Main hover effect - background button style on hover */
.bt-col-list li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 17px;
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all var(--transition);
  background: transparent;
}

.bt-col-list li a:hover {
  color: var(--accent-green);
  background: var(--accent-green-light);
  transform: translateX(4px);
}

/* Bottom bar - 20% larger */
.bt-footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.bt-footer-bottom-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.bt-footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.bt-copyright {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
}

.bt-footer-social {
  display: flex;
  gap: 14px;
}

.bt-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--text-muted);
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all var(--transition);
}

.bt-social-link:hover {
  color: var(--accent-green);
  border-color: var(--accent-green);
  background: var(--accent-green-light);
}

/* Back to top button - 20% larger */
.bt-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--accent-green);
  border-radius: 12px;
  background: white;
  color: var(--accent-green);
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
}

.bt-back-btn.show {
  opacity: 1;
  pointer-events: auto;
}

.bt-back-btn:hover {
  background: var(--accent-green);
  color: white;
  transform: translateY(-3px);
}

/* Cookie banner - 20% larger */
.bt-cookie-banner {
  position: fixed;
  left: 32px;
  right: 32px;
  bottom: 32px;
  max-width: 750px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
  padding: 28px 32px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition);
}

.bt-cookie-banner[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.bt-cookie-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.bt-cookie-content {
  display: flex;
  align-items: center;
  gap: 18px;
}

.bt-cookie-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.bt-cookie-text {
  margin: 0;
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.6;
}

.bt-cookie-text a {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.bt-cookie-text a:hover {
  color: var(--accent-green-2);
}

.bt-cookie-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.bt-cookie-btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid var(--accent-green);
  background: var(--accent-green);
  color: white;
}

.bt-cookie-btn:hover {
  background: var(--accent-green-2);
  border-color: var(--accent-green-2);
}

.bt-cookie-btn-ghost {
  background: transparent;
  color: var(--accent-green);
}

.bt-cookie-btn-ghost:hover {
  background: var(--accent-green-light);
}

/* Focus states */
:focus-visible {
  outline: 3px solid var(--accent-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Tablet */
@media (max-width: 980px) {
  .bt-footer {
    padding: 72px 24px 24px;
  }

  .bt-footer-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .bt-footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 48px;
  }

  .bt-footer-col {
    padding: 0 16px;
  }

  /* Show separator only between left/right columns */
  .bt-footer-col::after {
    display: none;
  }

  .bt-footer-col:nth-child(odd)::after {
    display: block;
  }

  .bt-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* Mobile - CENTERED with better organization */
@media (max-width: 640px) {
  .bt-footer {
    padding: 60px 20px 20px;
    font-size: 16px;
  }

  .bt-footer-inner {
    text-align: center;
  }

  /* Center brand section */
  .bt-footer-brand {
    align-items: center;
    text-align: center;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
  }

  .bt-footer-logo {
    font-size: 24px;
  }

  .bt-footer-tagline {
    text-align: center;
  }

  .bt-trust-badge {
    font-size: 14px;
    padding: 10px 14px;
  }

  /* Organize columns with visual separation */
  .bt-footer-columns {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
    margin-top: 32px;
  }

  .bt-footer-col {
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .bt-footer-col::after {
    display: none;
  }

  .bt-footer-col:last-child {
    border-bottom: none;
  }

  .bt-col-title {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-green);
    display: inline-block;
    min-width: 150px;
  }

  .bt-col-list {
    align-items: center;
    gap: 10px;
  }

  .bt-col-list li {
    width: 100%;
    max-width: 320px;
  }

  .bt-col-list li a {
    padding: 14px 24px;
    width: 100%;
    display: block;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 10px;
  }

  .bt-col-list li a:hover {
    border-color: var(--accent-green);
    transform: translateX(0) scale(1.02);
  }

  /* Center bottom bar */
  .bt-footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
  }

  .bt-footer-bottom-inner {
    text-align: center;
  }

  .bt-footer-bottom-left {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .bt-footer-social {
    justify-content: center;
  }

  /* Center cookie banner content */
  .bt-cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 20px;
  }

  .bt-cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .bt-cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .bt-cookie-actions {
    width: 100%;
  }

  .bt-cookie-btn {
    flex: 1;
  }

  /* Back to top button - fixed position on mobile */
  .bt-back-btn {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 52px;
    height: 52px;
    z-index: 9998;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
  }
}