/* ==========================================================================
   KHEE KHEE - FOOTER (DARK THEME)
   ========================================================================== */

.site-footer {
  position: relative;
  background: #05070B;
  border-top: 1px solid var(--color-border);
  padding: 110px 0 40px;
  color: var(--color-text-secondary);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(26, 47, 160, 0.6) 50%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}

/* Brand Column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 320px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: rgba(26, 47, 160, 0.25);
  border-color: rgba(56, 189, 248, 0.4);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Link Columns */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

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

.footer-link {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-link:hover {
  color: #60A5FA;
  transform: translateX(3px);
}

/* Bottom Copyright Bar */
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.footer-heart {
  color: #EF4444;
}

/* ==========================================================================
   BRAND MONUMENT SECTION (AFTER FOOTER GRAND FINALE)
   Inspired by oversized modern SaaS wordmark typography with gradient fade
   ========================================================================== */

.brand-monument-section {
  position: relative;
  background: #020408;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 85px 0 0;
  overflow: hidden;
  user-select: none;
}

/* Dual Ambient Atmospheric Glows */
.brand-monument-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  transition: opacity 0.5s ease;
}

.brand-monument-glow-left {
  top: 10%;
  left: -8%;
  width: 560px;
  height: 440px;
  background: radial-gradient(circle, rgba(26, 47, 160, 0.4) 0%, rgba(56, 189, 248, 0.12) 40%, transparent 70%);
}

.brand-monument-glow-right {
  top: 15%;
  right: -8%;
  width: 560px;
  height: 440px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, rgba(26, 47, 160, 0.15) 45%, transparent 70%);
}

.brand-monument-section:hover .brand-monument-glow {
  opacity: 0.55;
}

.brand-monument-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Meta Row (Terms, Privacy, Motto, Copyright) */
.brand-monument-meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  font-size: 0.875rem;
  color: #94A3B8;
}

.brand-monument-legal {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-meta-link {
  color: #94A3B8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.brand-meta-link:hover,
.brand-meta-link:focus-visible {
  color: #FFFFFF;
  transform: translateY(-1px);
}

.brand-monument-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 18px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38BDF8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-normal);
}

.brand-monument-badge:hover {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 32px rgba(56, 189, 248, 0.32);
  color: #F0F9FF;
  transform: translateY(-1px);
}

.brand-badge-sparkle {
  color: #38BDF8;
  font-size: 0.75rem;
  animation: sparklePulse 2.8s infinite ease-in-out;
}

@keyframes sparklePulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.brand-monument-copy {
  color: #64748B;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}

/* Colossal Typography Display (Full Width Edge-to-Edge with Smooth Brand Royal Blue to Cyan Fade) */
.brand-monument-display {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
  padding-top: 16px;
  margin-bottom: -0.09em;
  pointer-events: none;
}

.brand-wordmark-text {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3.8rem, 17.5vw, 19.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.78;
  white-space: nowrap;
  text-align: center;
  background: linear-gradient(
    180deg,
    #F0F9FF 0%,
    #BAE6FD 12%,
    #7DD3FC 26%,
    #38BDF8 42%,
    #2563EB 58%,
    #1A2FA0 72%,
    rgba(26, 47, 160, 0.45) 86%,
    rgba(26, 47, 160, 0.08) 96%,
    transparent 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 15px 45px rgba(56, 189, 248, 0.3)) drop-shadow(0 25px 70px rgba(26, 47, 160, 0.4));
  transition: filter 0.4s ease, transform 0.4s ease;
}

.brand-monument-section:hover .brand-wordmark-text {
  filter: drop-shadow(0 15px 65px rgba(56, 189, 248, 0.5)) drop-shadow(0 25px 90px rgba(26, 47, 160, 0.65));
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .site-footer {
    padding: 80px 0 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .brand-monument-section {
    padding: 65px 0 0;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 60px 0 28px;
  }

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

  .brand-monument-section {
    padding: 48px 0 0;
  }

  .brand-monument-meta {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    padding-bottom: 12px;
  }

  .brand-monument-badge {
    order: -1;
  }

  .brand-monument-legal {
    gap: 20px;
  }

  .brand-wordmark-text {
    font-size: clamp(2.8rem, 15vw, 6.5rem);
    letter-spacing: -0.03em;
    line-height: 0.82;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }

  .footer-heading {
    font-size: 0.8125rem;
  }

  .footer-link {
    font-size: 0.8125rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
