/* ROVENTA.AI signature footer — same design language on home and service demos. */
.premium-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #edf6ff;
  background: transparent !important;
  border: 0 !important;
  padding: 62px 0 max(24px, env(safe-area-inset-bottom, 0px));
  font-family: "DM Sans", Inter, Arial, sans-serif;
}
.premium-footer::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -18% -12%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 35% 47% at 88% 58%, rgba(99, 67, 227, .23), transparent 85%),
    radial-gradient(ellipse 38% 34% at 14% 68%, rgba(25, 115, 226, .2), transparent 85%),
    radial-gradient(ellipse 48% 48% at 56% 12%, rgba(26, 179, 226, .09), transparent 82%);
  mask-image: linear-gradient(to bottom, transparent 8%, black 40%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 8%, black 40%, black 85%, transparent 100%);
  animation: footerAmbient 19s ease-in-out infinite alternate;
}
.premium-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% 0 0;
  pointer-events: none;
  background-image: linear-gradient(#90bcff08 1px, transparent 1px), linear-gradient(90deg, #90bcff08 1px, transparent 1px);
  background-size: 75px 75px;
  transform: perspective(800px) rotateX(34deg) scale(1.38);
  transform-origin: 50% 60%;
  mask-image: linear-gradient(to bottom, transparent, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 40%, transparent 100%);
}
@keyframes footerAmbient { to { transform: translate3d(-2%, 2%, 0) scale(1.09); filter: hue-rotate(17deg); } }
.premium-footer .footer-container { position: relative; z-index: 1; }
.premium-footer .footer-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  align-items: center;
  gap: 32px;
  min-height: 280px;
  padding: clamp(30px, 5vw, 65px);
  border: 1px solid #81caff7e;
  border-radius: 29px;
  background: linear-gradient(120deg, rgba(20, 49, 98, .9), rgba(16, 28, 67, .84) 52%, rgba(32, 28, 85, .87));
  box-shadow: 0 32px 95px #0107148c, inset 0 1px #e1faff2e, 0 0 70px #386eff17;
}
.premium-footer .footer-cta::before { content: ""; position: absolute; inset: -85%; z-index: -1; background: conic-gradient(from 140deg at 50% 50%,transparent 0deg,#40d9ff25 50deg,transparent 90deg,#8a67ff36 140deg,transparent 190deg,transparent 360deg); animation: footerSpin 28s linear infinite; pointer-events: none; }
.premium-footer .footer-cta::after { content: ""; position: absolute; z-index: -1; width: 400px; height: 400px; border-radius: 50%; right: 12%; top: -65%; background: radial-gradient(circle,#5b79ff45,transparent 65%); filter: blur(25px); pointer-events: none; }
@keyframes footerSpin { to { transform: rotate(360deg); } }
.premium-footer .footer-cta-content { max-width: 620px; position: relative; z-index: 2; }
.premium-footer .footer-eyebrow { color: #75eafd; font-size: 10px; font-weight: 850; letter-spacing: 2.4px; text-transform: uppercase; }
.premium-footer .footer-cta h2 { font-family: Manrope, Inter, Arial, sans-serif; font-size: clamp(30px, 4.2vw, 59px); line-height: 1.12; letter-spacing: -2.2px; margin: 15px 0 16px; }
.premium-footer .footer-cta h2 span { background: linear-gradient(110deg,#61efff,#79a4ff,#be93ff); background-clip: text; -webkit-background-clip: text; color: transparent; }
.premium-footer .footer-cta p { max-width: 515px; color: #bbcee9; font-size: 14px; line-height: 1.8; margin: 0; }
.premium-footer .footer-cta-side { display: flex; align-items: end; flex-direction: column; gap: 14px; position: relative; z-index: 3; }
.premium-footer .footer-cta-side .btn { white-space: nowrap; min-height: 52px; padding: 15px 23px; font-size: 13px; box-shadow: 0 15px 45px #2487ff4d; }
.premium-footer .footer-cta-side small { color: #a8bdd9; font-size: 11px; text-align: right; max-width: 220px; line-height: 1.6; }
.premium-footer .footer-orb { position: absolute; z-index: 0; width: clamp(170px, 22vw, 350px); height: clamp(170px, 22vw, 350px); right: 22%; top: -26%; border-radius: 50%; pointer-events: none; border: 1px solid #b0dcff64; background: radial-gradient(circle at 32% 28%, #a9e0ff59,#3978ff37 30%,#18267b35 65%,#0a0d2a0a 74%); box-shadow: inset 15px 12px 46px #9ee8ff24, inset -18px -25px 50px #6843f53b, 0 0 80px #4b90ff34; animation: footerFloat 9s ease-in-out infinite alternate; }
.premium-footer .footer-orb::after { content: ""; position: absolute; inset: 30% -25%; border: 2px solid #85c6ff8c; border-radius: 50%; transform: rotate(-30deg) rotateX(67deg); box-shadow: 0 0 26px #3c95ff7d; }
@keyframes footerFloat { to { transform: translate3d(22px,20px,0) rotate(9deg); } }
.premium-footer .footer-main { display: grid; grid-template-columns: minmax(220px,1.3fr) minmax(125px,.65fr) minmax(180px,.86fr) minmax(230px,1.04fr); gap: clamp(25px,3.6vw,58px); padding: 64px 4px 55px; }
.premium-footer .footer-about { min-width: 0; }
.premium-footer .footer-about .footer-wordmark { display: inline-flex !important; width: min(200px,100%); height: 48px; padding: 0 !important; background: #fff; border: 1px solid #dceaff; border-radius: 11px; }
.premium-footer .footer-about .footer-wordmark img { display: block; width: 100%; height: 100%; object-fit: cover; filter: none !important; }
.premium-footer .footer-about p { margin: 23px 0 20px; max-width: 285px; color: #a4b8d6; font-size: 13px; line-height: 1.9; }
.premium-footer .footer-keywords { display: flex; gap: 7px; flex-wrap: wrap; }
.premium-footer .footer-keywords span { border: 1px solid #6cbcff32; color: #a4d9ff; background: #14305675; font-size: 10px; padding: 7px 9px; border-radius: 30px; }
.premium-footer .footer-col h3 { font-family: Manrope, Inter, Arial, sans-serif; font-size: 15px; font-weight: 800; color: #f6fbff; margin: 7px 0 22px; }
.premium-footer .footer-col h3::after { content: ""; display: block; margin-top: 12px; width: 25px; height: 2px; border-radius: 3px; background: linear-gradient(90deg,#60ecff,#729eff); }
.premium-footer .footer-col nav { display: grid; gap: 14px; }
.premium-footer .footer-col nav a { color: #a8bddb; font-size: 12px; line-height: 1.5; text-decoration: none; transition: color .2s, transform .25s; width: fit-content; }
.premium-footer .footer-col nav a:hover,.premium-footer .footer-col nav a:focus-visible { color: #74f2ff; transform: translateX(3px); }
.premium-footer .footer-contact-panel { padding: 0; }
.premium-footer .footer-contact-panel > p { color: #99b2d1; font-size: 12px; line-height: 1.75; margin: -4px 0 20px; }
.premium-footer .footer-contact-link { display: flex; align-items: center; gap: 11px; margin: 13px 0; color: #c7e7ff; text-decoration: none; font-size: 12px; overflow-wrap: anywhere; transition: color .2s; }
.premium-footer .footer-contact-link:hover { color: #78f1ff; }
.premium-footer .footer-contact-link .footer-contact-icon { flex: none; display: grid; place-items: center; width: 39px; height: 39px; border-radius: 11px; background: #17407691; border: 1px solid #7dcaff4b; color: #91eaff; font-size: 17px; }
.premium-footer .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 24px 4px 3px; border-top: 1px solid #82c2ff20; color: #809ab9; font-size: 11px; line-height: 1.8; }
.premium-footer .footer-bottom a { color: #afd6f5; text-decoration: none; }
.premium-footer .footer-bottom a:hover { color: #73efff; }
.premium-footer .footer-top-link { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
@media (max-width: 1050px) {
  .premium-footer .footer-main { grid-template-columns: minmax(180px,1.25fr) minmax(130px,.75fr) minmax(190px,1fr); }
  .premium-footer .footer-contact-panel { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(145px,.8fr) repeat(3,minmax(120px,1fr)); gap: 14px; align-items: center; }
  .premium-footer .footer-contact-panel > p { display: none; }
  .premium-footer .footer-contact-panel h3 { margin-bottom: 6px; }
  .premium-footer .footer-contact-panel h3::after { margin-top: 8px; }
  .premium-footer .footer-contact-link { margin: 0; }
}
@media (max-width: 720px) {
  .premium-footer { padding-top: 37px; }
  .premium-footer .footer-cta { grid-template-columns: 1fr; min-height: 0; padding: 36px 27px; }
  .premium-footer .footer-cta-side { align-items: start; }
  .premium-footer .footer-cta-side small { text-align: left; }
  .premium-footer .footer-orb { right: -40px; top: -50px; opacity: .42; }
  .premium-footer .footer-cta-content { max-width: 100%; }
  .premium-footer .footer-main { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 42px 24px; padding: 49px 0 35px; }
  .premium-footer .footer-about { grid-column: 1 / -1; }
  .premium-footer .footer-about p { max-width: 480px; }
  .premium-footer .footer-contact-panel { grid-column: 1 / -1; grid-template-columns: 1fr; gap: 13px; }
  .premium-footer .footer-contact-panel > p { display: block; margin: -8px 0 2px; }
  .premium-footer .footer-bottom { padding-top: 20px; }
}
@media (max-width: 440px) {
  .premium-footer .footer-cta { border-radius: 21px; padding: 28px 21px; }
  .premium-footer .footer-cta h2 { font-size: clamp(29px,9vw,39px); letter-spacing: -1.4px; }
  .premium-footer .footer-cta-side .btn { width: 100%; justify-content: center; }
  .premium-footer .footer-main { gap: 33px 13px; }
  .premium-footer .footer-col nav { gap: 13px; }
  .premium-footer .footer-bottom { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .premium-footer::before,.premium-footer .footer-cta::before,.premium-footer .footer-orb { animation: none !important; }
}
