/* ── Footer logo switching ── */
.footer-logo--dark  { display: block; }
.footer-logo--light { display: none; }
html.light-mode .footer-logo--dark  { display: none; }
html.light-mode .footer-logo--light { display: block; }

/* ── Footer base styles ── */
.vdo-footer {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(0deg, rgba(231,78,61,.06), rgba(231,78,61,.06)) top/100% 1px no-repeat, var(--bg);
}
.vdo-footer .wrap {
  max-width: 1200px; margin: 0 auto; padding: 56px 20px;
  display: grid; gap: 36px;
  grid-template-columns: 1.25fr repeat(1, 1fr) 1fr;
}

/* Brand block */
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__logo  { max-width: 140px; height: auto; }

/* Social links */
.vdo-social { display: flex; gap: 14px; }
.vdo-social a {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.08); background: #14181e;
  text-decoration: none; transition: transform .15s ease, border-color .2s ease;
}
.vdo-social a:hover { transform: translateY(-1px); border-color: rgba(231,78,61,.5); }
.vdo-social svg { width: 16px; height: 16px; fill: #e3e8ee; }

/* Columns */
.vdo-col h4 {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: #b8c1ca; margin: 2px 0 14px; font-weight: 600;
}
.vdo-col ul  { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vdo-col a   {
  color: var(--text); text-decoration: none; font-size: 15px;
  font-weight: 400; opacity: .9; position: relative; padding: .5px 0;
}
.vdo-col a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  height: 1px; width: 0;
  background: linear-gradient(90deg, var(--accent), transparent 70%);
  transition: width .25s ease;
}
.vdo-col a:hover { opacity: 1; }
.vdo-col a:hover::after { width: 100%; }

/* CTA card */
.vdo-cta {
  align-self: start;
  background: linear-gradient(180deg, #171a20, #13161b);
  border: 1px solid rgba(255,255,255,.06); border-radius: 14px;
  padding: 18px; display: grid; gap: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.03);
}
.vdo-cta p { margin: 0; color: #cdd6df; font-size: 14px; line-height: 1.5; }
.vdo-cta .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, #ff7b6c, #e74e3d);
  color: white; text-decoration: none; font-weight: 600; letter-spacing: .2px;
  transition: transform .12s ease, box-shadow .2s ease;
  box-shadow: 0 8px 18px rgba(231,78,61,.35);
}
.vdo-cta .btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(231,78,61,.42); }
.vdo-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .7; }

/* Bottom bar */
.vdo-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 20px; max-width: 1200px;
  margin: 0 auto; color: #aeb6bf; font-size: 13px;
}
.footer__legal { display: flex; align-items: center; gap: 10px; }
.footer__legal a { color: #aeb6bf; text-decoration: none; }
.footer__legal a:hover { color: var(--accent); }
.footer__divider { opacity: .4; }

/* Responsive */
@media (max-width: 1100px) {
  .vdo-footer .wrap { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand    { grid-column: 1 / -1; }
  .vdo-cta          { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .vdo-footer .wrap { grid-template-columns: 1fr; padding: 40px 16px; gap: 26px; }
  .vdo-bottom       { flex-direction: column; text-align: center; }
  .vdo-social       { justify-content: center; }
}

/* ── Light mode overrides ── */
html.light-mode .vdo-footer {
  background: linear-gradient(0deg, rgba(231,78,61,.06), rgba(231,78,61,.06)) top/100% 1px no-repeat, var(--bg);
}
html.light-mode .vdo-cta {
  background: linear-gradient(180deg, #f0f0f8, #e8e8f2);
  border-color: rgba(0,0,0,.08);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
html.light-mode .vdo-cta p        { color: var(--text-muted); }
html.light-mode .vdo-social a      { background: #fff; border-color: rgba(0,0,0,.1); }
html.light-mode .vdo-social svg    { fill: var(--text); }
html.light-mode .vdo-bottom        { color: var(--text-muted); border-top-color: rgba(0,0,0,.08); }
html.light-mode .vdo-col h4        { color: #4b5563; }
html.light-mode .vdo-col a         { color: var(--text); }
html.light-mode .footer__legal a   { color: var(--text-muted); }
html.light-mode .footer__legal a:hover { color: var(--accent); }
