/* ==========================================================================
   E2V SHARED FOOTER (ARCHITECTURAL AURORA + ISLAND THEME)
   Consistent across all site pages
   ========================================================================== */

:root {
  --heading-font: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body-font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono-font: 'IBM Plex Mono', monospace;
  --primary-color: #222e40;
  --accent-color: #222e40;
  --accent-secondary: #3b82f6;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-subtle: rgba(226, 232, 240, 0.8);
  --border-radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}


/* ── Base Shell ─────────────────────────────────────────────────────────── */
.footer-aurora {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 25%, #f1f5f9 100%);
  color: var(--text-secondary);
  font-family: var(--body-font);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
  isolation: isolate;
}

.footer-aurora::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--primary-color) 35%, var(--accent-secondary) 65%, transparent 95%);
  z-index: 3;
}

/* ── Pre-Footer CTA with SVG Wave Separators ────────────────────────────── */
.footer-cta-wave-section {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  z-index: 2;
}

.footer-wave-top,
.footer-wave-bottom {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.footer-wave-top svg,
.footer-wave-bottom svg {
  display: block;
  width: 100%;
  height: 42px;
}

.footer-cta-banner {
  background: linear-gradient(135deg, #111a26 0%, #222e40 55%, #18212e 100%);
  color: #ffffff;
  padding: 1.85rem 1.5rem;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.footer-cta-banner::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 280px;
  background: radial-gradient(ellipse, rgba(2, 132, 199, 0.16) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.footer-cta-banner-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.footer-cta-banner-inner.in-view {
  opacity: 1;
  transform: translateY(0);
}

.footer-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #38bdf8;
  font-family: var(--heading-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 0.75rem;
  backdrop-filter: blur(6px);
}

.footer-cta-title {
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 auto 0.6rem;
}

.footer-cta-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto 1.35rem;
}

.footer-cta-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  color: #222e40;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.65rem;
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-cta-btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  color: #222e40;
}

.footer-cta-btn-secondary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  font-family: var(--heading-font) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  padding: 0.65rem 1.45rem !important;
  border-radius: var(--border-radius-pill) !important;
  text-decoration: none !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.3s ease !important;
}

.footer-cta-btn-secondary span,
.footer-cta-btn-secondary i {
  color: #ffffff !important;
  transition: color 0.3s ease !important;
}

.footer-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}

.footer-cta-btn-secondary:hover span,
.footer-cta-btn-secondary:hover i {
  color: #ffffff !important;
}

/* ── Floating Subtle Ambient Brand Orbs ─────────────────────────────────── */
.footer-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: footer-orb-float linear infinite;
}
.footer-orb--1 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(34, 46, 64, 0.05) 0%, transparent 70%);
  top: -80px; left: -100px;
  animation-duration: 20s;
  animation-name: footer-orb-float-1;
}
.footer-orb--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 70%);
  top: 20px; right: 5%;
  animation-duration: 26s;
  animation-name: footer-orb-float-2;
}
.footer-orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(30, 58, 138, 0.04) 0%, transparent 70%);
  bottom: 80px; left: 30%;
  animation-duration: 22s;
  animation-name: footer-orb-float-1;
}
.footer-orb--4 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
  bottom: 50px; right: 18%;
  animation-duration: 18s;
  animation-name: footer-orb-float-2;
}

@keyframes footer-orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(35px, -25px) scale(1.06); }
  66%      { transform: translate(-20px, 15px) scale(0.96); }
}
@keyframes footer-orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(-30px, 20px) scale(1.05); }
  70%      { transform: translate(15px, -15px) scale(0.98); }
}

/* ── Main Body (Compact Spacing) ────────────────────────────────────────── */

   18. VIDEO-STYLED ISLAND FOOTER WITH GIANT WATERMARK SIGNATURE
   ========================================================================== */
.footer-aurora {
  position: relative;
  background: #f8fafc;
  padding: 0 0 2rem;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.footer-video-island {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  background: #ffffff;
  border-radius: 32px;
  padding: 3.5rem 3.5rem 2rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.85);
  position: relative;
  z-index: 5;
}

.footer-video-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  align-items: flex-start;
}

/* Left Brand Column */
.footer-video-brand {
  display: flex;
  flex-direction: column;
}

.footer-video-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.footer-video-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.footer-video-brand-name {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.footer-video-address {
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.footer-video-address i {
  color: #222e40;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-video-tagline {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 1.25rem 0;
  max-width: 330px;
}

.footer-video-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-video-contact-info a {
  font-size: 0.88rem;
  color: #475569;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-video-contact-info a i {
  color: #222e40;
  font-size: 0.85rem;
}

.footer-video-contact-info a:hover {
  color: #222e40;
  transform: translateX(3px);
}

/* Middle Navigation Columns */
.footer-video-nav-col {
  display: flex;
  flex-direction: column;
}

.footer-video-heading {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 1.2rem 0;
  letter-spacing: -0.01em;
}

.footer-video-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-video-links li a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-video-links li a:hover {
  color: #222e40;
  transform: translateX(2px);
}

/* Right Social Column */
.footer-video-social-col {
  display: flex;
  flex-direction: column;
}

.footer-video-social-pills {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-v-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.7);
}

.footer-v-social-btn:hover {
  background: #222e40;
  color: #ffffff;
  border-color: #222e40;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(34, 46, 64, 0.18);
}

/* ── Giant Signature Typography (Matches Video's "CoreShift") ── */
.footer-video-giant-wrapper {
  margin: 3.5rem -1rem 1.5rem;
  overflow: visible;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
  line-height: 1.05;
}

.footer-video-giant-text {
  font-family: var(--heading-font);
  font-size: clamp(2.52rem, 7.9vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  color: #222e40;
  -webkit-text-fill-color: #222e40;
  filter: drop-shadow(0 15px 30px rgba(34, 46, 64, 0.15));
  transition: transform 0.5s ease;
}

@media (min-width: 769px) {
  .footer-video-giant-text {
    transform: translateY(-1cm);
  }
  .footer-video-giant-wrapper:hover .footer-video-giant-text {
    transform: translateY(-1cm) scale(1.01);
  }
}

/* ── Bottom Strip ── */
.footer-video-bottom-strip {
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-video-copy {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
}

.footer-video-copy strong {
  color: #0f172a;
}

.footer-video-legal-inline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.84rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.footer-video-legal-inline a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-video-legal-inline a:hover {
  color: #222e40;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-video-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  .footer-video-brand {
    grid-column: 1 / -1;
  }
  .footer-video-social-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-video-island {
    padding: 2.25rem 1.5rem 1.5rem;
    border-radius: 24px;
    margin: 1rem 0.75rem 0;
    text-align: center;
  }
  .footer-video-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
    text-align: center;
  }
  .footer-video-brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-video-logo-wrap {
    justify-content: center;
  }
  .footer-video-tagline {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-video-address {
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-video-contact-info {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .footer-video-contact-info a {
    justify-content: center;
  }
  .footer-video-contact-info a:hover {
    transform: none;
  }
  .footer-video-nav-col {
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  .footer-video-nav-col:nth-of-type(3) {
    grid-column: 1 / -1;
  }
  .footer-video-heading {
    text-align: center;
    width: 100%;
  }
  .footer-video-links {
    align-items: center;
    text-align: center;
    padding: 0;
    width: 100%;
  }
  .footer-video-links li {
    text-align: center;
    width: 100%;
  }
  .footer-video-links li a {
    justify-content: center;
    text-align: center;
    display: inline-block;
  }
  .footer-video-links li a:hover {
    transform: none;
  }
  .footer-video-social-col {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  .footer-video-social-pills {
    justify-content: center;
    margin: 0 auto;
  }
  .footer-video-giant-wrapper {
    margin: 2.25rem 0 1rem;
    overflow: visible;
    text-align: center;
  }
  .footer-video-giant-text {
    transform: none !important;
    font-size: clamp(1.35rem, 6.7vw, 2.75rem) !important;
    letter-spacing: -0.03em;
    text-align: center;
  }
  .footer-video-giant-wrapper:hover .footer-video-giant-text {
    transform: scale(1.01) !important;
  }
  .footer-video-bottom-strip {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .footer-video-copy {
    text-align: center;
  }
  .footer-video-legal-inline {
    justify-content: center;
    text-align: center;
  }

  /* Legacy Footer Mobile Center Alignment */
  .footer-container {
    text-align: center;
  }
  .footer-col {
    align-items: center;
    text-align: center;
    padding-right: 0 !important;
  }
  .footer-logo-wrap {
    display: flex;
    justify-content: center;
  }
  .footer-col ul {
    align-items: center;
    text-align: center;
  }
  .footer-col ul li a {
    justify-content: center;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-video-island {
    padding: 1.85rem 1.15rem 1.25rem;
    border-radius: 20px;
    margin: 0.75rem 0.5rem 0;
  }
  .footer-video-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }
  .footer-video-brand,
  .footer-video-nav-col,
  .footer-video-social-col {
    grid-column: auto;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .footer-video-nav-col:nth-of-type(3) {
    grid-column: auto;
  }
  .footer-video-social-col {
    margin-top: 0.25rem;
  }
  .footer-video-social-pills {
    gap: 0.6rem;
    justify-content: center;
  }
  .footer-v-social-btn {
    width: 40px;
    height: 40px;
    font-size: 0.92rem;
  }
  .footer-video-giant-wrapper {
    margin: 1.75rem 0 0.85rem;
    overflow: visible;
    text-align: center;
  }
  .footer-video-giant-text {
    font-size: clamp(1.2rem, 6.6vw, 1.85rem) !important;
    letter-spacing: -0.02em !important;
    transform: none !important;
    text-align: center;
  }
  .footer-video-bottom-strip {
    padding-top: 1rem;
    gap: 0.65rem;
    text-align: center;
    align-items: center;
  }
  .footer-video-copy {
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: center;
  }
  .footer-video-legal-inline {
    font-size: 0.8rem;
    gap: 0.6rem;
    justify-content: center;
    text-align: center;
  }
}

/* Spacing when pre-footer CTA is omitted */
.footer-aurora:not(:has(.footer-cta-wave-section)) {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}
