:root {
  --ft-bg: #fafbfc;
  --ft-dark: #10121a;
  --ft-muted: #6c7589;
  --ft-border: rgba(16,18,26,0.08);
}

body {
  background: var(--ft-bg);
  color: var(--ft-dark);
}

.ft-main {
  padding: 2rem 0;
}

/* Section */
.ft-section {
  margin-bottom: 3rem;
}


/* Footer Base */
.ft-footer {
  border-radius: 1.5rem;
  overflow: hidden;
}

.ft-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  padding: 3.5rem 0;
}

.ft-footer__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--ft-border);
  font-size: 0.875rem;
  color: var(--ft-muted);
}

/* Column */
.ft-col {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.ft-col--wide {
  grid-column: span 1;
}

.ft-col--center {
  text-align: center;
  align-items: center;
}

.ft-col__title {
  font-family: var(--gx-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ft-col__title--lg {
  font-size: 1.75rem;
}

.ft-col__heading {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.ft-col__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ft-muted);
}

.ft-link {
  font-size: 0.9375rem;
  color: var(--ft-muted);
  transition: color 0.25s ease;
}

.ft-link:hover {
  color: var(--ft-dark);
}

.ft-contact {
  font-size: 0.9375rem;
  color: var(--ft-muted);
  line-height: 1.6;
  margin: 0;
}

/* Social */
.ft-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.ft-social__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(16,18,26,0.06);
  color: var(--ft-muted);
  transition: all 0.25s ease;
}

.ft-social__link:hover {
  background: var(--ft-dark);
  color: #fff;
}

/* Newsletter */
.ft-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.ft-newsletter input {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.9375rem;
  outline: none;
}

.ft-newsletter input::placeholder {
  color: rgba(255,255,255,0.4);
}

.ft-newsletter__btn {
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 999px;
  background: var(--gx-lime);
  color: #10121a;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ft-newsletter__btn:hover {
  transform: translateY(-2px);
}

/* Legal Links */
.ft-footer__legal {
  display: flex;
  gap: 1.5rem;
}

.ft-footer__legal a {
  font-size: 0.875rem;
  color: var(--ft-muted);
}

/* ========================
   FOOTER 1: Simple 3-Column
   ======================== */
.ft-footer-1 {
  background: #fff;
  border: 1px solid var(--ft-border);
}

.ft-footer-1 .ft-footer__inner {
  grid-template-columns: 1.5fr 1fr 1fr;
}

.ft-footer-1 .ft-footer__bar {
  border-top-color: var(--ft-border);
}

/* ========================
   FOOTER 2: 4-Column Light BG
   ======================== */
.ft-footer-2 {
  background: #f8f9fa;
}

.ft-footer-2 .ft-footer__inner {
  grid-template-columns: 1.5fr repeat(3, 1fr);
}

.ft-footer-2 .ft-footer__bar {
  border-top-color: rgba(16,18,26,0.1);
}

.ft-footer-2 .ft-col--wide {
  max-width: 22rem;
}

/* ========================
   FOOTER 3: Dark with CTA
   ======================== */
.ft-footer-3 {
  background: #10121a;
  color: #fff;
}

.ft-footer-3 .ft-footer__inner {
  grid-template-columns: 1.5fr 1fr 1fr;
}

.ft-footer-3 .ft-col__title,
.ft-footer-3 .ft-col__heading {
  color: #fff;
}

.ft-footer-3 .ft-col__text,
.ft-footer-3 .ft-link,
.ft-footer-3 .ft-contact {
  color: rgba(255,255,255,0.6);
}

.ft-footer-3 .ft-link:hover {
  color: #fff;
}

.ft-footer-3 .ft-footer__bar {
  border-top-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
}

.ft-footer-3 .ft-social__link {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}

.ft-footer-3 .ft-social__link:hover {
  background: var(--gx-lime);
  color: #10121a;
}

/* ========================
   FOOTER 4: Complex Premium
   ======================== */
.ft-footer-4 {
  background: #fff;
  border: 1px solid var(--ft-border);
}

.ft-footer-4 .ft-footer__top {
  display: grid;
  grid-template-columns: 1.75fr repeat(3, 1fr);
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--ft-border);
}

.ft-footer-4 .ft-col--brand {
  max-width: 24rem;
}

.ft-footer-4 .ft-footer__partners {
  padding: 2rem 0;
  border-bottom: 1px solid var(--ft-border);
}

.ft-partners__label {
  font-family: var(--gx-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ft-muted);
  margin-bottom: 1rem;
}

.ft-partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.ft-partner {
  padding: 0.75rem 1rem;
  border: 1px dashed var(--ft-border);
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ft-muted);
}

.ft-footer-4 .ft-footer__bar {
  border-top: none;
  padding-top: 1.75rem;
}

.ft-footer__bar-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ========================
   FOOTER 5: Centered Gradient
   ======================== */
.ft-footer-5 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.ft-footer-5 .ft-footer__inner {
  grid-template-columns: 1fr 1.5fr 1fr;
  text-align: center;
}

.ft-footer-5 .ft-col {
  align-items: center;
}

.ft-footer-5 .ft-col__title,
.ft-footer-5 .ft-col__heading {
  color: #fff;
}

.ft-footer-5 .ft-col__text,
.ft-footer-5 .ft-link {
  color: rgba(255,255,255,0.75);
}

.ft-footer-5 .ft-link:hover {
  color: #fff;
}

.ft-footer-5 .ft-footer__bar {
  border-top-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  justify-content: center;
}

.ft-footer-5 .ft-social__link {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

.ft-footer-5 .ft-social__link:hover {
  background: #fff;
  color: #667eea;
}

/* ========================
   FOOTER 6: Minimal Light
   ======================== */
.ft-footer-6 {
  background: #f5f7fa;
}

.ft-footer-6 .ft-footer__inner {
  grid-template-columns: 2fr repeat(3, 1fr);
  padding: 4rem 0;
}

.ft-footer-6 .ft-col--wide {
  max-width: 20rem;
}

.ft-footer-6 .ft-footer__bar {
  border-top-color: rgba(16,18,26,0.08);
  padding: 2rem 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .ft-footer__inner,
  .ft-footer-1 .ft-footer__inner,
  .ft-footer-2 .ft-footer__inner,
  .ft-footer-3 .ft-footer__inner,
  .ft-footer-4 .ft-footer__top,
  .ft-footer-5 .ft-footer__inner,
  .ft-footer-6 .ft-footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .ft-col--wide,
  .ft-col--brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .ft-footer__inner,
  .ft-footer-1 .ft-footer__inner,
  .ft-footer-2 .ft-footer__inner,
  .ft-footer-3 .ft-footer__inner,
  .ft-footer-4 .ft-footer__top,
  .ft-footer-5 .ft-footer__inner,
  .ft-footer-6 .ft-footer__inner {
    grid-template-columns: 1fr;
  }

  .ft-col--wide,
  .ft-col--brand {
    grid-column: span 1;
  }

  .ft-footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .ft-newsletter {
    flex-direction: column;
  }

  .ft-partners__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
