/**
 * SoftTechVentures Footer Stylesheet
 * Scoped Namespace: .stv-footer
 * High-end dark frosted-glass footer matching the header aesthetics
 */

/* ----------------------------------------------------
 * Footer Main Shell
 * ---------------------------------------------------- */
.stv-footer {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(11, 5, 21, 0) 0%, rgba(26, 12, 46, 0.6) 30%, #0c0517 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: 2.25rem;
  color: var(--stv-color-text-on-dark);
  overflow: hidden;
}

.stv-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 90vw);
  height: 250px;
  background: radial-gradient(ellipse at 50% 0%, rgba(121, 57, 239, 0.18) 0%, rgba(11, 5, 21, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.stv-footer__container {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------------------
 * 1. Pre-Footer Call to Action Card
 * ---------------------------------------------------- */
.stv-footer__cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(50, 27, 83, 0.55) 0%, rgba(20, 9, 36, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--stv-radius-xl);
  padding: clamp(2rem, 4vw, 3.25rem);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
}

.stv-footer__cta-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(192, 38, 211, 0.22) 0%, rgba(11, 5, 21, 0) 70%);
  pointer-events: none;
}

.stv-footer__cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.stv-footer__cta-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: var(--stv-radius-pill);
  background: rgba(121, 57, 239, 0.2);
  border: 1px solid rgba(121, 57, 239, 0.4);
  color: #C084FC;
  font-family: var(--stv-font-body);
  font-size: 0.785rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}

.stv-footer__cta-title {
  font-family: var(--stv-font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  font-weight: 700;
  color: var(--stv-color-white);
  line-height: 1.2;
  margin: 0 0 0.65rem 0;
  letter-spacing: -0.02em;
}

.stv-footer__cta-desc {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--stv-color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.stv-footer__cta-action {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.stv-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 12px 28px;
  font-family: var(--stv-font-body);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--stv-color-white);
  background: linear-gradient(135deg, #C026D3 0%, #9333EA 100%);
  border-radius: var(--stv-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  transition: all var(--stv-transition-smooth);
}

.stv-footer__cta-btn:hover {
  background: linear-gradient(135deg, #D946EF 0%, #A855F7 100%);
  transform: translateY(-2px);
  color: var(--stv-color-white);
}

.stv-footer__cta-btn svg {
  transition: transform var(--stv-transition-fast);
}

.stv-footer__cta-btn:hover svg {
  transform: translateX(4px);
}

/* ----------------------------------------------------
 * 2. Main Footer Navigation Grid (4 Columns)
 * ---------------------------------------------------- */
.stv-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.25fr 1.15fr;
  gap: clamp(2rem, 3.5vw, 4rem);
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.stv-footer__col--brand .stv-footer__logo {
  margin-bottom: 1.25rem;
}

.stv-footer__col--brand .stv-logo-img {
  height: clamp(34px, 3.5vw, 40px);
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.stv-footer__about {
  color: var(--stv-color-text-muted);
  font-size: 0.925rem;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 1.75rem;
}

/* Social Media Frosted Pills */
.stv-footer__social-list {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.stv-footer__social-item {
  list-style: none;
}

.stv-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--stv-transition-smooth);
  backdrop-filter: blur(10px);
}

.stv-footer__social-link:hover {
  background: linear-gradient(135deg, #C026D3 0%, #9333EA 100%);
  color: var(--stv-color-white);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Headings */
.stv-footer__heading {
  font-family: var(--stv-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--stv-color-white);
  margin: 0 0 1.35rem 0;
  letter-spacing: -0.01em;
}

/* Navigation Lists */
.stv-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.stv-footer__nav-list li a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.925rem;
  font-family: var(--stv-font-body);
  text-decoration: none;
  transition: all var(--stv-transition-fast);
}

.stv-footer__nav-list li a:hover {
  color: var(--stv-color-white);
  transform: translateX(4px);
}

/* Contact List */
.stv-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.stv-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.stv-footer__contact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--stv-radius-sm);
  background: rgba(121, 57, 239, 0.15);
  border: 1px solid rgba(121, 57, 239, 0.3);
  color: #C084FC;
}

.stv-footer__contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stv-footer__contact-label {
  font-size: 0.775rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
}

.stv-footer__contact-link,
.stv-footer__contact-val {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color var(--stv-transition-fast);
}

.stv-footer__contact-link:hover {
  color: #C084FC;
}

/* ----------------------------------------------------
 * 3. Bottom Legal & Copyright Bar
 * ---------------------------------------------------- */
.stv-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.stv-footer__copyright {
  font-family: var(--stv-font-body);
}

.stv-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stv-footer__bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--stv-transition-fast);
}

.stv-footer__bottom-links a:hover {
  color: var(--stv-color-white);
}

/* Back to Top Pill Button */
.stv-footer__back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--stv-radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--stv-transition-smooth);
}

.stv-footer__back-to-top:hover {
  background: rgba(121, 57, 239, 0.25);
  border-color: rgba(121, 57, 239, 0.45);
  color: var(--stv-color-white);
  transform: translateY(-2px);
}

.stv-footer__back-to-top svg {
  transition: transform var(--stv-transition-fast);
}

.stv-footer__back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ----------------------------------------------------
 * Responsive Breakpoints
 * ---------------------------------------------------- */
@media (max-width: 1024px) {
  .stv-footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .stv-footer__cta-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .stv-footer {
    padding-top: 3.5rem;
  }

  .stv-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .stv-footer__about {
    max-width: 100%;
  }

  .stv-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}
