/* ═══════════════════════════════════════════════════════════════
   INNOVATORS4U — FOOTER.CSS
   ═══════════════════════════════════════════════════════════════ */

footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 80px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) 2fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  max-width: 340px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-wrap img {
  height: 25px;
  width: auto;
  filter: var(--logo-filter, brightness(1));
}

.footer-tagline {
  color: var(--text-sec);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.footer-social {
  width: 38px;
  height: 44px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: all .25s ease;
  background: var(--accent);
}

.footer-social i {
  color: #fff !important;
  transition: all .25s ease;
}

.footer-social:hover {
  background: transparent;
  transform: translateY(-2px);
}

.footer-social:hover i {
  color: var(--accent) !important;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-info a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color .2s;
  font-weight: 500;
}

.footer-contact-info a i {
  color: var(--accent);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.footer-contact-info a:hover {
  color: var(--accent);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-col-title {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--heading);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-sec);
  text-decoration: none;
  transition: color .2s;
  font-weight: 400;
  line-height: 1.4;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-view-all {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color .2s, transform .2s;
}

.footer-view-all:hover {
  color: var(--accent-h);
  transform: translateX(3px);
}

.footer-newsletter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.footer-newsletter-copy {
  max-width: 420px;
}

.footer-newsletter-copy p {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
  margin-top: 8px;
}

.footer-newsletter-form {
  flex: 1;
  max-width: 460px;
}

.newsletter-input {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s ease;
  background: var(--surface-1);
}

.newsletter-input:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.newsletter-input input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 18px;
  color: var(--text-pri);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 15px;
  outline: none;
  min-width: 0;
}

.newsletter-input input::placeholder {
  color: var(--text-muted);
}

.newsletter-input button {
  background: var(--accent);
  border: none;
  padding: 0 22px;
  cursor: pointer;
  color: #fff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  transition: background .25s;
  white-space: nowrap;
}

.newsletter-input button:hover {
  background: var(--accent-h);
}

.newsletter-status {
  font-size: 13px;
  margin-top: 8px;
  min-height: 18px;
  color: var(--text-muted);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* CTA Section */
#cta {
  padding: 160px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

#cta::before {
  content: '';
  position: absolute;
  width: 1000px;
  height: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 58, 237, .18) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.8;
}

#cta::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: 30%;
  left: 20%;
  background: radial-gradient(circle, rgba(99, 102, 241, .12) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

[data-theme="light"] #cta::before {
  background: radial-gradient(circle, rgba(109, 40, 217, .12) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.cta-title {
  font-family: 'Brasika Display', cursive;
  font-size: clamp(38px, 5vw, 58px);
  color: var(--heading);
  line-height: 1.2;
  margin-bottom: 30px;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.cta-title .c-v {
  color: var(--accent);
  opacity: 1;
}

.cta-sub {
  color: var(--text-sec);
  font-size: 20px;
  font-weight: 400;
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 52px;
  flex-wrap: wrap;
}

.cta-btns .btn-white {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 16px 36px;
}

.cta-btns .btn-white:hover {
  background: var(--accent-h);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, .35);
}

.cta-btns .btn-outline-white {
  background: transparent;
  color: var(--text-pri);
  border: 1px solid var(--border);
  padding: 16px 36px;
}

.cta-btns .btn-outline-white:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(124, 58, 237, 0.05);
}

.cta-contact {
  color: var(--text-muted);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-weight: 500;
}

.cta-contact a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: color .2s;
}

.cta-contact a:hover {
  color: var(--accent-h);
  text-decoration: underline;
}

.cta-sep {
  opacity: .3;
  width: 6px;
  height: 6px;
  background: var(--border);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Responsive */
@media (max-width: 1100px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-brand {
    max-width: none;
  }

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

@media (max-width: 768px) {
  footer {
    padding: 64px 0 32px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .footer-newsletter {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 32px 0;
  }

  .footer-newsletter-form {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }
}
