/* ---------- Shared Footer & CTA Style Block ---------- */
.footer, .cta-band, .fab {
  --violet-600: #6d49f8;
  --violet-700: #5a35e0;
  --violet-400: #8a6bff;
  --violet-l: var(--violet-400);
  --violet: var(--violet-600);
  --grad: linear-gradient(135deg, var(--violet) 0%, #9b6bff 100%);
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- CTA ---------- */
.cta-band {
  background: var(--grad);
  position: relative;
  overflow: hidden;
  padding: 54px 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 80% 120%, rgba(255, 255, 255, .18), transparent);
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-copy h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0;
  text-align: left;
}

.cta-copy p {
  color: rgba(255, 255, 255, .9);
  margin: 10px 0 22px;
  text-align: left;
}

.cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-light {
  background: #ffffff !important;
  color: var(--violet-600) !important;
  border: none !important;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-ghost-light {
  background: transparent !important;
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform .25s ease, border-color .25s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-ghost-light:hover {
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

.cta-form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, .12);
  padding: 8px;
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.cta-form input {
  border: 0;
  border-radius: 9px;
  padding: 12px 16px;
  font-size: 14px;
  min-width: 230px;
  outline: none;
}

/* ---------- Premium Footer ---------- */
.footer {
  background: #080b16;
  color: #b6b8d4;
  padding-top: 80px;
  padding-bottom: 24px;
}

.footer-grid-premium {
  display: grid;
  grid-template-columns: 2.2fr repeat(3, 1.2fr) 1.8fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(109, 73, 248, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-title {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
}

.footer-brand-title span.accent {
  color: var(--violet-l);
}

.footer-brand-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--violet-l);
  font-weight: 700;
  display: block;
  margin-bottom: 14px;
  text-align: left;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: #8f92b2;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 280px;
  text-align: left;
}

.footer-section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
  text-align: left;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-social-links a:hover {
  background: var(--violet);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(109, 73, 248, 0.4);
}

/* Footer columns links */
.footer-col-premium h5 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
  text-align: left;
}

.footer-col-premium h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--violet-l);
  border-radius: 2px;
}

.footer-col-premium a {
  display: block;
  font-size: 14px;
  color: #8f92b2;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.25s ease;
  text-align: left;
}

.footer-col-premium a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Contact block styles */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(109, 73, 248, 0.12);
  color: var(--violet-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-content {
  display: flex;
  flex-direction: column;
}

.footer-contact-main {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
  text-align: left;
}

.footer-contact-main:hover {
  color: var(--violet-l);
}

.footer-contact-sub {
  font-size: 11.5px;
  color: #8f92b2;
  margin-top: 1px;
  text-align: left;
}

/* Sub-footer Bar */
.footer-bar-premium {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0 0 0;
}

.footer-bar-inner-premium {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #8f92b2;
}

.footer-bar-note {
  font-size: 13px;
  color: #b6b8d4;
  font-weight: 500;
}

.footer-legal-premium a {
  color: #8f92b2;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-legal-premium a:hover {
  color: #ffffff;
}

/* ---------- Floating Book a Demo & Back to Top ---------- */
.fab {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  z-index: 9998 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 14px 24px !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 28px -6px rgba(124, 58, 237, 0.55), 0 4px 14px rgba(168, 85, 247, 0.35) !important;
  opacity: 0;
  transform: translateY(24px) scale(.9);
  pointer-events: none;
  transition: opacity .4s cubic-bezier(0.4, 0, 0.2, 1), transform .4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow .3s !important;
  overflow: hidden;
  text-decoration: none !important;
  cursor: pointer !important;
}

.fab::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg);
  animation: shine 4.2s ease-in-out infinite;
}

.fab.show {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

.fab:hover {
  transform: translateY(-4px) scale(1.02) !important;
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 50%, #d946ef 100%) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 18px 40px -4px rgba(168, 85, 247, 0.75), 0 0 24px rgba(192, 132, 252, 0.45) !important;
  color: #ffffff !important;
}

.fab svg {
  flex-shrink: 0 !important;
}

.back-to-top {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 24px -6px rgba(124, 58, 237, 0.55), 0 4px 12px rgba(168, 85, 247, 0.35) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.3s, box-shadow 0.3s, bottom 0.3s !important;
  z-index: 9999 !important;
  overflow: hidden;
}

.back-to-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
  transform: skewX(-20deg);
  animation: shine 4.2s ease-in-out infinite;
}

.back-to-top.has-fab {
  bottom: 92px !important;
}

.back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.back-to-top:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 50%, #d946ef 100%) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 16px 36px -4px rgba(168, 85, 247, 0.75), 0 0 24px rgba(192, 132, 252, 0.45) !important;
  transform: translateY(-3px) scale(1.05) !important;
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.98) !important;
}

/* Responsiveness for premium footer & CTA */
@media (max-width: 1200px) {
  .footer-grid-premium {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 860px) {
  .cta-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .cta-copy h2, .cta-copy p {
    text-align: center;
  }
  .cta-btns {
    justify-content: center;
  }
  .cta-form {
    width: 100%;
    max-width: 400px;
  }
  .cta-form input {
    width: 100%;
    min-width: auto;
  }
}

@media (max-width: 768px) {
  .footer-grid-premium {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand-desc {
    max-width: none;
    text-align: center;
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-col-premium h5::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col-premium a:hover {
    padding-left: 0;
  }

  .footer-contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact-main, .footer-contact-sub {
    text-align: center;
  }

  .footer-bar-inner-premium {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Technology & Compliance Partnerships ---------- */
.footer-partners-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0 28px;
  text-align: center;
  width: 100%;
}
.footer-partners-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff !important;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.footer-partners-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 16px 20px !important;
  width: 100% !important;
  max-width: 1160px !important;
  margin: 0 auto !important;
}
.footer-partner-card {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 999px !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: 56px !important;
  box-sizing: border-box !important;
  padding: 0 24px !important;
  display: inline-grid !important;
  grid-template-columns: auto 1fr !important;
  grid-template-rows: 1fr 1fr !important;
  align-items: center !important;
  column-gap: 14px !important;
  row-gap: 0px !important;
  text-align: left !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 10px 24px -6px rgba(124, 58, 237, 0.5), 0 4px 12px rgba(168, 85, 247, 0.3) !important;
  backdrop-filter: blur(8px) !important;
  cursor: pointer;
}
.footer-partner-card:hover {
  transform: translateY(-4px) scale(1.02) !important;
  background: linear-gradient(135deg, #6d28d9 0%, #9333ea 50%, #d946ef 100%) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 16px 36px -4px rgba(168, 85, 247, 0.75), 0 0 24px rgba(192, 132, 252, 0.45) !important;
}
.footer-partner-card:active {
  transform: translateY(-1px) scale(0.99) !important;
  box-shadow: 0 8px 20px -4px rgba(168, 85, 247, 0.6) !important;
}
.footer-partner-logo {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  height: 100% !important;
  width: auto !important;
  margin-bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.footer-partner-logo img {
  max-height: 26px !important;
  max-width: 70px !important;
  object-fit: contain !important;
}
.footer-partner-divider {
  display: none !important;
}
.footer-partner-name {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: end !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #ffffff !important;
  line-height: 1.15 !important;
  margin: 0 0 1px 0 !important;
  white-space: nowrap !important;
}
.footer-partner-role {
  grid-column: 2 !important;
  grid-row: 2 !important;
  align-self: start !important;
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  margin: 1px 0 0 0 !important;
  white-space: nowrap !important;
}

/* Specific Logo Overrides for Dark Background Pill Style */
.footer-partner-card .lg-aws {
  color: #ffffff !important;
  font-size: 20px !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}
.footer-partner-card .lg-aws svg {
  height: 7px !important;
  margin-top: -1px !important;
}
.footer-partner-card .lg-sarvam {
  color: #ffffff !important;
  font-size: 17px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
}
.footer-partner-card .lg-dsci {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.footer-partner-card .lg-dsci .word {
  color: #ffffff !important;
  font-size: 17px !important;
  line-height: 1 !important;
}
.footer-partner-card .lg-dsci .tag {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 5.5px !important;
  margin-top: 2px !important;
}
.footer-partner-card .lg-dpdpa {
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.footer-partner-card .lg-dpdpa svg {
  height: 26px !important;
  width: auto !important;
}

@media (max-width: 768px) {
  .footer-partners-grid {
    gap: 12px 14px !important;
  }
  .footer-partner-card {
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 18px !important;
  }
}
