/* MetaCore ecosystem footer v3 · veikia be Tailwind (metacore.lt + satelitai) */
footer[data-metacore-footer="ecosystem-map-v3"] {
  position: relative;
  z-index: 20;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
  overflow: hidden;
  color: #e2e8f0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  box-sizing: border-box;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-wrap {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 6rem);
  box-sizing: border-box;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: linear-gradient(135deg, rgba(8, 47, 73, 0.35), rgba(9, 11, 26, 0.95) 50%, rgba(59, 7, 100, 0.45));
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.52), 0 0 45px rgba(34, 211, 238, 0.08);
}

@media (min-width: 768px) {
  footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-shell {
    border-radius: 32px;
  }
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 240, 255, 0.2), transparent 28%),
    radial-gradient(circle at 88% 35%, rgba(168, 85, 247, 0.22), transparent 32%),
    linear-gradient(90deg, rgba(0, 240, 255, 0.08), transparent 45%, rgba(168, 85, 247, 0.1));
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

@media (min-width: 1280px) {
  footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-grid {
    grid-template-columns: 1.1fr 3.2fr 0.95fr;
    gap: 2.5rem;
  }
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-mark {
  display: inline-flex;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid rgba(103, 232, 249, 0.25);
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 12px 35px rgba(34, 211, 238, 0.1);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-kicker {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #67e8f9;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  margin-bottom: 0.75rem;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-title {
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  margin: 0;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-tagline {
  font-family: Orbitron, Inter, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: #67e8f9;
  margin-top: 0.5rem;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-slogan {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(207, 250, 254, 0.9);
  max-width: 32rem;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-lead {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #d1d5db;
  max-width: 32rem;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-badge {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  border: 1px solid transparent;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-badge.cyan {
  border-color: rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.1);
  color: #a5f3fc;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-badge.purple {
  border-color: rgba(168, 85, 247, 0.25);
  background: rgba(168, 85, 247, 0.1);
  color: #d8b4fe;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-badge.emerald {
  border-color: rgba(52, 211, 153, 0.25);
  background: rgba(52, 211, 153, 0.1);
  color: #a7f3d0;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-nav {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-col {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1.25rem;
  backdrop-filter: blur(8px);
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-col h3 {
  font-family: Orbitron, Inter, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-col h3.cyan {
  color: #67e8f9;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-col h3.purple {
  color: #d8b4fe;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-links {
  display: grid;
  gap: 0.75rem;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-links a {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #d1d5db;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-links a:hover {
  color: #fff;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-actions {
  display: grid;
  gap: 0.75rem;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  transition: background 0.18s ease, transform 0.18s ease;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-btn.cyan {
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.12);
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-btn.cyan:hover {
  background: rgba(34, 211, 238, 0.18);
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-btn.purple {
  border: 1px solid rgba(168, 85, 247, 0.3);
  background: rgba(168, 85, 247, 0.12);
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-btn.purple:hover {
  background: rgba(168, 85, 247, 0.18);
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-info {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #9ca3af;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-info strong {
  color: #a5f3fc;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem clamp(1.75rem, 3vw, 2.5rem);
  font-size: 0.75rem;
  color: #6b7280;
}

@media (min-width: 768px) {
  footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-bottom-links,
footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-bottom-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-bottom-badges .mc-ft-badge {
  font-size: 10px;
}

/* Full-width footer in public product shells (love / networker / academy / energy / delta) */
#acp-public-shell .love-page-wrap,
#acp-public-shell .networker-page-wrap,
#acp-public-shell .academy-page-wrap,
#acp-public-shell .energy-page-wrap,
#acp-public-shell .delta-page-wrap,
#acp-public-shell .security-page-wrap,
#acp-public-shell .trust-page-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-width: 0;
}

#acp-public-shell .love-page-wrap > main.workspace,
#acp-public-shell .networker-page-wrap > main.workspace,
#acp-public-shell .academy-page-wrap > main.workspace,
#acp-public-shell .energy-page-wrap > main.workspace,
#acp-public-shell .delta-page-wrap > main {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

#acp-public-shell .love-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"],
#acp-public-shell .networker-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"],
#acp-public-shell .academy-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"],
#acp-public-shell .energy-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"],
#acp-public-shell .delta-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"],
#acp-public-shell .security-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"],
#acp-public-shell .trust-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"],
#acp-public-shell .delta-page-wrap > main + footer[data-metacore-footer="ecosystem-map-v3"] {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
  align-self: stretch;
  flex: none;
  box-sizing: border-box;
}

#acp-public-shell .acp-main-area--public footer[data-metacore-footer="ecosystem-map-v3"] {
  border-radius: 0 !important;
}

/* metacore.lt shell pages (marketing, verslui, intro) — full-width footer in main column */
#acp-public-shell .acp-main-area--public > .content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#acp-public-shell .acp-main-area--public > .content > footer[data-metacore-footer="ecosystem-map-v3"],
#acp-public-shell .acp-main-area--public > .content footer[data-metacore-footer="ecosystem-map-v3"] {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
  align-self: stretch;
  flex: none;
  box-sizing: border-box;
}

@media (min-width: 1051px) {
  #acp-public-shell:not(.right-collapsed) .acp-main-area--public > .content > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-wrap {
    padding-right: calc(var(--mc-site-right-w, 280px) + clamp(1rem, 2vw, 2rem)) !important;
  }
}

@media (min-width: 1051px) {
  #acp-public-shell:not(.right-collapsed) .love-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-wrap,
  #acp-public-shell:not(.right-collapsed) .networker-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-wrap,
  #acp-public-shell:not(.right-collapsed) .academy-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-wrap,
  #acp-public-shell:not(.right-collapsed) .energy-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-wrap,
  #acp-public-shell:not(.right-collapsed) .delta-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-wrap {
    padding-right: calc(var(--mc-site-right-w, 280px) + clamp(1rem, 2vw, 2rem)) !important;
  }

  /* Trust / Security: panelė overlay — footer pilnas plotis, be panelės rezervo */
  #acp-public-shell[data-acp-security-site="1"]:not(.right-collapsed) .security-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-wrap,
  #acp-public-shell[data-acp-trust-site="1"]:not(.right-collapsed) .trust-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-wrap {
    padding-right: clamp(1.25rem, 4vw, 6rem) !important;
  }

  #acp-public-shell[data-acp-security-site="1"]:not(.right-collapsed) .security-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-grid,
  #acp-public-shell[data-acp-security-site="1"]:not(.right-collapsed) .security-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-bottom,
  #acp-public-shell[data-acp-trust-site="1"]:not(.right-collapsed) .trust-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-grid,
  #acp-public-shell[data-acp-trust-site="1"]:not(.right-collapsed) .trust-page-wrap > footer[data-metacore-footer="ecosystem-map-v3"] .mc-ft-bottom {
    padding-right: clamp(1.5rem, 3vw, 3rem) !important;
  }
}

footer[data-footer-variant="security"] .mc-ft-shell--security {
  border-color: rgba(52, 211, 153, 0.28);
  background: linear-gradient(135deg, rgba(6, 24, 20, 0.55), rgba(9, 11, 26, 0.96) 52%, rgba(8, 32, 40, 0.5));
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55), 0 0 48px rgba(52, 211, 153, 0.1);
}

footer[data-footer-variant="security"] .mc-ft-glow {
  background:
    radial-gradient(circle at 14% 20%, rgba(52, 211, 153, 0.22), transparent 30%),
    radial-gradient(circle at 86% 38%, rgba(114, 243, 255, 0.16), transparent 32%),
    linear-gradient(90deg, rgba(52, 211, 153, 0.08), transparent 45%, rgba(114, 243, 255, 0.08));
}

footer[data-footer-variant="security"] .mc-ft-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.06em;
}

footer[data-footer-variant="security"] .mc-ft-col h3.emerald {
  color: rgba(110, 231, 183, 0.95);
}

footer[data-footer-variant="security"] .mc-ft-col--security .mc-ft-links a:hover {
  color: rgba(110, 231, 183, 0.95);
}

footer[data-footer-variant="trust"] .mc-ft-shell--trust {
  border-color: rgba(114, 243, 255, 0.28);
  background: linear-gradient(135deg, rgba(6, 18, 36, 0.55), rgba(9, 11, 26, 0.96) 52%, rgba(8, 28, 48, 0.5));
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55), 0 0 48px rgba(114, 243, 255, 0.1);
}

footer[data-footer-variant="trust"] .mc-ft-glow {
  background:
    radial-gradient(circle at 14% 20%, rgba(114, 243, 255, 0.22), transparent 30%),
    radial-gradient(circle at 86% 38%, rgba(168, 85, 247, 0.16), transparent 32%),
    linear-gradient(90deg, rgba(114, 243, 255, 0.08), transparent 45%, rgba(168, 85, 247, 0.08));
}

footer[data-footer-variant="trust"] .mc-ft-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.06em;
}

footer[data-footer-variant="trust"] .mc-ft-col h3.emerald {
  color: rgba(114, 243, 255, 0.95);
}

footer[data-footer-variant="trust"] .mc-ft-col--trust .mc-ft-links a:hover {
  color: rgba(114, 243, 255, 0.95);
}

/* Trust / Security: daugiau vietos meniu stulpeliams, siaura CTA kolona */
footer[data-footer-variant="trust"] .mc-ft-grid,
footer[data-footer-variant="security"] .mc-ft-grid {
  align-items: start;
}

footer[data-footer-variant="trust"] .mc-ft-nav,
footer[data-footer-variant="security"] .mc-ft-nav {
  align-items: start;
}

footer[data-footer-variant="trust"] .mc-ft-col,
footer[data-footer-variant="security"] .mc-ft-col {
  align-self: start;
  height: auto;
}

footer[data-footer-variant="trust"] .mc-ft-actions,
footer[data-footer-variant="security"] .mc-ft-actions {
  align-self: start;
}

@media (min-width: 1280px) {
  footer[data-footer-variant="trust"] .mc-ft-grid,
  footer[data-footer-variant="security"] .mc-ft-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr) 206px;
    gap: 1.25rem;
  }

  footer[data-footer-variant="trust"] .mc-ft-nav,
  footer[data-footer-variant="security"] .mc-ft-nav {
    gap: 0.55rem;
  }

  footer[data-footer-variant="trust"] .mc-ft-col,
  footer[data-footer-variant="security"] .mc-ft-col {
    padding: 0.75rem 0.65rem;
    min-width: 0;
  }

  footer[data-footer-variant="trust"] .mc-ft-col h3,
  footer[data-footer-variant="security"] .mc-ft-col h3 {
    font-size: 0.68rem;
    margin-bottom: 0.6rem;
  }

  footer[data-footer-variant="trust"] .mc-ft-links a,
  footer[data-footer-variant="security"] .mc-ft-links a {
    font-size: 0.8125rem;
    gap: 0.35rem;
  }

  footer[data-footer-variant="trust"] .mc-ft-links a span:first-child,
  footer[data-footer-variant="security"] .mc-ft-links a span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* Apatinė eilutė — ta pati 3 kolonų ritmika kaip viršuje */
  footer[data-footer-variant="trust"] .mc-ft-bottom,
  footer[data-footer-variant="security"] .mc-ft-bottom {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr) 206px;
    gap: 1.25rem;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: clamp(1.5rem, 3vw, 3rem);
  }

  footer[data-footer-variant="trust"] .mc-ft-bottom-links,
  footer[data-footer-variant="security"] .mc-ft-bottom-links {
    grid-column: 1 / 3;
    min-width: 0;
  }

  footer[data-footer-variant="trust"] .mc-ft-bottom-badges,
  footer[data-footer-variant="security"] .mc-ft-bottom-badges {
    grid-column: 3;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
}

footer[data-footer-variant="trust"] .mc-ft-actions,
footer[data-footer-variant="security"] .mc-ft-actions {
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

footer[data-footer-variant="trust"] .mc-ft-btn,
footer[data-footer-variant="security"] .mc-ft-btn {
  padding: 0.8rem 0.95rem;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  line-height: 1.35;
}

footer[data-footer-variant="trust"] .mc-ft-info,
footer[data-footer-variant="security"] .mc-ft-info {
  padding: 0.75rem 0.85rem;
  font-size: 0.6875rem;
}
