/* ==========================================================================
   CapCut Site Footer — 1:1 Pixel-Accurate Replica of assets/footer.png
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-800.ttf) format('truetype');
}


.site-footer {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #edf2f7;
  color: #5e6a82;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow: hidden;
  padding: 92px 0 38px 0;
  box-sizing: border-box;
}

/* Ambient Decorative Background Glows */
.site-footer .footer-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.site-footer .footer-decor-glow-tl {
  top: -40px;
  left: -40px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165, 243, 252, 0.55) 0%, rgba(165, 243, 252, 0.15) 55%, transparent 75%);
  filter: blur(15px);
}

.site-footer .footer-decor-glow-tr {
  top: -60px;
  right: -60px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 215, 237, 0.6) 0%, rgba(253, 215, 237, 0.18) 55%, transparent 75%);
  filter: blur(15px);
}

.site-footer .footer-decor-ring-tr {
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgba(251, 92, 169, 0.22);
  background: transparent;
  box-shadow: inset 0 0 0 36px rgba(251, 92, 169, 0.03);
}

.site-footer .footer-decor-glow-bl {
  bottom: -60px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165, 243, 252, 0.5) 0%, transparent 70%);
  filter: blur(15px);
}

.site-footer .footer-decor-glow-br {
  bottom: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 215, 237, 0.5) 0%, transparent 70%);
  filter: blur(15px);
}

/* Main Container */
.site-footer .footer-container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px;
  box-sizing: border-box;
}

/* Dot Grids (Anchored inside container) */
.site-footer .footer-decor-dots-tl {
  position: absolute;
  top: -56px;
  left: 92px;
}

.site-footer .footer-decor-dots-tr {
  position: absolute;
  top: -56px;
  right: 56px;
}

/* Top Columns Grid */
.site-footer .footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr 0.85fr 0.8fr 1.6fr;
  align-items: start;
}

.site-footer .footer-col-brand {
  padding-right: 32px;
}

/* Column Dividers */
.site-footer .footer-col-divider {
  border-left: 1px solid #e9eff5;
  padding-left: 28px;
  padding-right: 18px;
}

/* Brand Block */
.site-footer .footer-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer .footer-logo-card {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-footer .footer-logo-img {
  width: 32px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.site-footer .footer-brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.site-footer .footer-brand-title {
  font-size: 28px;
  font-weight: 800;
  color: #080914;
  line-height: 1.1;
  letter-spacing: -0.4px;
  margin: 0;
}

.site-footer .footer-brand-tagline {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #7b8ba5;
  text-transform: uppercase;
  margin-top: 5px;
}

.site-footer .footer-brand-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #5e6a82;
  margin: 22px 0 0 0;
  max-width: 320px;
}

/* Nav Columns (Product, Company, Resources) */
.site-footer .footer-col-title {
  font-size: 18px;
  font-weight: 700;
  color: #080914;
  margin: 0 0 20px 0;
  letter-spacing: -0.2px;
}

.site-footer .footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-nav-list li {
  margin: 0 0 10px 0;
}

.site-footer .footer-nav-list a {
  color: #5e6a82;
  font-size: 14.5px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  line-height: 1.4;
}

.site-footer .footer-nav-list a:hover {
  color: #00c2e8;
}

/* Newsletter Column */
.site-footer .footer-col-subscribe {
  padding-right: 0;
}

.site-footer .footer-subscribe-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #5e6a82;
  margin: 0 0 20px 0;
  max-width: 350px;
}

.site-footer .footer-newsletter-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dce4ed;
  border-radius: 14px;
  padding: 5px 5px 5px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  max-width: 380px;
}

.site-footer .footer-newsletter-box:focus-within {
  border-color: #00c2e8;
  box-shadow: 0 0 0 3px rgba(0, 194, 232, 0.15);
}

.site-footer .footer-mail-icon {
  width: 19px;
  height: 19px;
  color: #00c2e8;
  flex-shrink: 0;
  display: block;
}

.site-footer .footer-newsletter-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 8px 10px;
  font-size: 13.5px;
  color: #1e293b;
  font-family: inherit;
  min-width: 0;
}

.site-footer .footer-newsletter-input::placeholder {
  color: #8f9cae;
  font-size: 13.5px;
}

.site-footer .footer-subscribe-btn {
  background: #00c2e8;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-footer .footer-subscribe-btn:hover {
  background: #00b0d3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 194, 232, 0.3);
}

/* Horizontal Divider Line */
.site-footer .footer-divider {
  height: 1px;
  background-color: #e9eff5;
  margin: 50px 0 28px 0;
  border: none;
}

/* Bottom Bar */
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-footer .footer-copyright {
  font-size: 14px;
  color: #5e6a82;
  margin: 0;
}

.site-footer .footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer .footer-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.site-footer .footer-social-btn svg {
  display: block;
}

/* Individual Social Badge Colors */
.site-footer .footer-social-yt {
  background: #fef0f0;
}

.site-footer .footer-social-tt {
  background: #fdf0f4;
}

.site-footer .footer-social-ig {
  background: #f8effb;
}

.site-footer .footer-social-x {
  background: #e8f9fd;
}

.site-footer .footer-social-fb {
  background: #edf5ff;
}

/* Ensure skip link stays hidden unless focused */
.skip-link:not(:focus) {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1080px) {
  .site-footer {
    padding: 70px 0 32px 0;
  }
  .site-footer .footer-decor-dots-tl,
  .site-footer .footer-decor-dots-tr {
    display: none;
  }
  .site-footer .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 40px;
  }
  .site-footer .footer-col-divider {
    border-left: none;
    padding-left: 0;
    padding-right: 0;
  }
  .site-footer .footer-col-brand {
    grid-column: span 3;
    padding-right: 0;
  }
  .site-footer .footer-col-subscribe {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 44px 0 28px 0;
  }
  .site-footer .footer-decor-dots-tl,
  .site-footer .footer-decor-dots-tr {
    display: none;
  }
  .site-footer .footer-main {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .site-footer .footer-col-brand,
  .site-footer .footer-col-subscribe {
    grid-column: span 1;
  }
  .site-footer .footer-newsletter-box {
    max-width: 100%;
  }
  .site-footer .footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }
}
