/* SafeAeon Footer V2: styles moved out of inline HTML */
.sa-footer,
.sa-footer *{
  box-sizing:border-box;
}

.sa-footer {
    background-color: #00152e;
    background-image: none;
    color: #fff;
    font-family:"Space Grotesk", sans-serif;
    padding: 55px 9%;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: 100%;
}

.sa-footer.sa-footer-bg-ready {
    background-image: url(https://www.safeaeon.com/assets/img/web-images/footer-bg-v3.png);
}


.footer-cta{
  text-align:center;
  position:relative;
  z-index:2;
}

.footer-cta h2{
  margin:0;
  font-size:30px;
  font-weight:700;
  color:#fff !important;
}

.rotating-text{
  display:inline-block;
  height:42px;
  overflow:hidden;
  color:#19c2e6;
  vertical-align:middle;
  min-width:240px;
  text-align:left;
}

.rotating-text span{
  display:block;
  height:42px;
  line-height:38px;
  animation:rotateText 10s infinite;
}

@keyframes rotateText{
  0%,15%{transform:translateY(0);}
  20%,35%{transform:translateY(-42px);}
  40%,55%{transform:translateY(-84px);}
  60%,75%{transform:translateY(-126px);}
  80%,95%{transform:translateY(-168px);}
  100%{transform:translateY(0);}
}

.footer-cta p{
  max-width:720px;
  margin:10px auto 26px;
  color:#fff;
  font-size:12px;
}

.footer-buttons{
  display:flex;
  justify-content:center;
  gap:24px;
}

.footer-buttons a{
  text-decoration:none;
  font-size:14px;
  font-weight:600;
}

.btn-primary{
  background:#ff8a1d;
  color:#fff;
  padding:13px 24px;
  border-radius:50px;
}

.btn-secondary{
  color:#dce7f5;
  padding:13px 0;
}

.footer-links{
  display:grid;
  grid-template-columns:1.6fr 1.1fr 1.4fr 1.1fr 1.1fr;
  gap:50px;
  margin-top:70px;
  position:relative;
  z-index:2;
}

.footer-links h4,
.locations h4{
  color:#19c2e6;
  font-size:16px;
  margin:0 0 16px;
}

.footer-links a,
.footer-links p{
  display:block;
  color:#fff;
  font-size:14px;
  line-height:1.9;
  margin:0;
  text-decoration:none;
}

.see-all{
  margin-top:12px;
  font-weight:600;
}

.mt{
  margin-top:24px !important;
}

/* review section */

.footer-review h4{
  color:#19c2e6;
  font-size:14px;
  margin:0 0 14px;
}

.footer-socials{
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:22px;
}

.footer-socials a{
  color:#fff;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
}

.review-title{
  margin-bottom:16px !important;
}

.gartner-text{
  color:#fff;
  font-size:19px;
  line-height:1.1;
  font-weight:700;
  margin-bottom:8px;
}

.gartner-text span{
  color:#6fb7df;
  font-weight:500;
}

.stars{
  color:#ffc400;
  font-size:14px;
  letter-spacing:1px;
  line-height:1;
}

.stars span{
  color:#fff;
  font-size:11px;
  margin-left:6px;
  letter-spacing:0;
}

.g2-review{
  margin-top:12px;
}

.g2-icon{
  width:33px;
  height:33px;
  border-radius:50%;
  background:#ff5a1f;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  font-weight:800;
  margin-bottom:8px;
}

.locations{
  display:grid;
  grid-template-columns:2fr 1.2fr 1.2fr 1.2fr;
  gap:45px;
  margin-top:55px;
  position:relative;
  z-index:2;
}

.locations strong{
  color:#19c2e6;
  font-size:12px;
}

.locations p{
  color:rgba(255,255,255,.72);
  font-size:12px;
  margin:6px 0 0;
  line-height:1.5;
}

.newsletter{
  border-top:1px solid rgba(255,255,255,.45);
  margin-top:45px;
  padding-top:35px;
  display:flex;
  justify-content:space-between;
  gap:40px;
  position:relative;
  z-index:2;
}

.newsletter h4{
  margin:0 0 8px;
  font-size:15px;
}

.newsletter p{
  color:#fff;
  font-size:13px;
  margin:0;
  max-width:520px;
}


.newsletter input[type=email]{
  border:0;
  outline:0;
  padding:10px 18px;
  border-radius:50px;
  background:rgba(255,255,255,.12);
  color:#fff;
  backdrop-filter:blur(10px);
}

.newsletter label{
 display: inline-flex;
    margin-top: 0px;
    color: #cbd6e6;
    font-size: 13px;
    margin-left: 20px;
}
.newsletter input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0;
    position: relative;
    right: 8px;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  margin-top:45px;
  color:#cbd6e6;
  font-size:12px;
  position:relative;
  z-index:2;
}

.footer-bottom a{
  margin:0px 10px;
  color:#cbd6e6;
  text-decoration:none;
}

.download-btn .demo-btn.fill.desktop-btn {
    background: transparent !important;
    border: 0px !important;
}
.see-all .demo-btn.fill.desktop-btn {
    background: transparent !important;
    border: 0px;
    padding: 8px 0px;
}
.see-all .demo-btn.fill.desktop-btn:hover {
    background: transparent !important;
    border: 0px !important;
    padding: 8px 0px;
    color:#f58220;
}
.error-message{
  color:#ff4d4f;
  font-size:14px;
  margin-top:8px;
  min-height:18px;
}

@media(max-width:900px){
  .footer-cta h2{
    font-size:26px;
  }

  .footer-links,
  .locations{
    grid-template-columns:1fr 1fr;
  }

  .newsletter,
  .footer-bottom{
    flex-direction:column;
  }

  .newsletter form{
    width:100%;
  }
}

@media(max-width:600px){
  .sa-footer{
    padding:45px 24px;
  }

  .footer-links,
  .locations{
    grid-template-columns:1fr;
  }

  .footer-buttons{
    flex-direction:column;
    gap:10px;
  }

  .rotating-text{
    display:block;
    margin:6px auto 0;
    text-align:center;
  }
}

.sa-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}

.sa-modal-box {
  background: #fff;
  width: 700px;
  max-width: 90%;
  padding: 30px 40px;
  border-radius: 12px;
  position: relative;
  text-align: center;
  border: 2px solid #ff5a3c;
  margin:10% auto;
}

.sa-close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

.sa-modal-box h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.sa-subtext {
  color: #666;
  margin-bottom: 20px;
}

.sa-success {
  color: #20c997;
  font-size: 18px;
  margin-bottom: 20px;
}

.sa-terms,
.sa-recaptcha {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.sa-modal-box a {
  color: #ff5a3c;
  text-decoration: none;
}
.footer-links a:hover {
    color: #f58220;
}
#emailError {
    margin-bottom: 0px !important;
}

/* Mobile footer matching the supplied layout */
.sa-mobile-footer{
  display:none;
}

@media (max-width:600px){
  .sa-footer{
    padding:18px 10px 8px;
    background-position:center top;
  }

  .sa-footer > .container{
    width:100%;
    max-width:none;
    padding:0;
  }

  /* Keep the current desktop footer unchanged and use a dedicated mobile layout. */
  .sa-footer > .container > .footer-cta,
  .sa-footer > .container > .footer-links,
  .sa-footer > .container > .locations,
  .sa-footer > .container > .newsletter,
  .sa-footer > .container > .footer-bottom{
    display:none !important;
  }

  .sa-mobile-footer{
    display:block;
    color:#fff;
  }

  .sa-mobile-cta{
    text-align:center;
    padding:0 4px 14px;
  }

  .sa-mobile-cta h2{
    max-width:290px;
    margin:0 auto;
    color:#fff !important;
    font-size:16px !important;
    line-height:1.14;
    font-weight:700;
  }

  .sa-mobile-cta h2 span{
    color:#20c8ea;
  }

  .sa-mobile-cta p{
    max-width:290px;
    margin:8px auto 12px;
    color:#fff;
    font-size:9px;
    line-height:1.35;
  }

  .sa-mobile-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
  }

  .sa-mobile-actions a{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:#fff;
    font-size:9px;
    line-height:1;
    font-weight:600;
    text-decoration:none;
    white-space:nowrap;
  }

  .sa-mobile-actions .sa-mobile-primary{
    padding:9px 13px;
    border-radius:999px;
    background:#f58220;
  }

  .sa-mobile-actions .sa-mobile-secondary{
    padding:9px 0;
  }

  .sa-mobile-actions .sa-arrow{
    font-size:12px;
    line-height:1;
  }

  .sa-mobile-accordion{
    margin-top:2px;
    border-top:1px solid rgba(255,255,255,.16);
  }

  .sa-mobile-accordion details{
    border-bottom:1px solid rgba(255,255,255,.16);
    overflow:hidden;
  }

  .sa-mobile-accordion details.is-animating{
    pointer-events:none;
    will-change:height;
  }

  .sa-mobile-accordion summary{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:44px;
    padding:0 12px;
    color:#fff;
    font-size:16px;
    line-height:22px;
    font-weight:600;
    cursor:pointer;
    list-style:none;
  }

  .sa-mobile-accordion summary::-webkit-details-marker{
    display:none;
  }

  .sa-mobile-accordion summary::after{
    content:"›";
    display:block;
    color:#fff;
    font-size:18px;
    font-weight:300;
    transform:rotate(0deg);
    transition:transform .2s ease;
  }

  .sa-mobile-accordion details[open]:not(.is-closing) summary::after{
    transform:rotate(90deg);
  }

  .sa-mobile-accordion details.is-closing summary::after{
    transform:rotate(0deg);
  }

  .sa-mobile-panel{
    padding:0px 12px 20px 12px;
  }

  .sa-mobile-panel a,
  .sa-mobile-panel p,
  .sa-mobile-panel strong{
    display:block;
    color:#fff;
    font-size:13px;
    line-height:27px;
    text-decoration:none;
  }

  .sa-mobile-panel a:hover{
    color:#f58220;
  }

  .sa-mobile-panel strong{
    margin-top:8px;
    color:#20c8ea;
  }

  .sa-mobile-panel p{
    margin:2px 0 0;
  }

  .sa-mobile-socials{
    display:flex;
    align-items:center;
    gap:12px;
    padding-top:3px;
  }

  .sa-mobile-socials a{
    display:inline-flex;
  }

  .sa-mobile-socials img{
    display:block;
    width:15px;
    height:15px;
  }

  .sa-mobile-review-row{
    display:flex;
    align-items:center;
    gap:18px;
  }

  .sa-mobile-review-logo{
    max-width:120px;
    max-height:30px;
    object-fit:contain;
  }

  .sa-mobile-stars{
    margin-top:4px;
    color:#ffc400;
    font-size:11px;
    letter-spacing:1px;
  }

  .sa-mobile-stars span{
    color:#fff;
    font-size:9px;
    letter-spacing:0;
  }

  .sa-mobile-brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:14px 0 8px;
    text-align:center;
  }

  .sa-mobile-wordmark{
    color:#fff;
    font-family:Georgia, "Times New Roman", serif;
    font-size:23px;
    line-height:1;
    letter-spacing:1px;
    text-decoration:none;
  }

  .sa-mobile-wordmark span{
    color:#20c8ea;
  }

  .sa-mobile-brand p{
    margin:6px 0 0;
    color:#fff;
    font-size:10.5px;
    line-height:1.2;
  }

  .sa-mobile-legal{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:4px 10px;
    padding:7px 2px 0;
    border-top:1px solid rgba(255,255,255,.12);
  }


    .sa-mobile-legal a {
    color: #fff;
    font-size: 10.5px;
    line-height: 20.5px;
    text-decoration: none;
    text-underline-offset: 2px;
}
  
  .sa-mobile-actions .demo-btn.fill.desktop-btn {
    font-size: 10.5px;
    padding: 8px 7px;
}
.sa-mobile-footer .brand-logo {
    width: 70%;
    margin: auto;
}
.sa-mobile-legal span {
    color: #fff;
    opacity: 24%;
}
}
a.demo-btn.fill.footer {
    background: transparent !important;
    border: 0px !important;
    padding-left: 0px !important;
    font-size:10px;
}



/* =========================================================
   DESKTOP FOOTER — screenshot-matched layout
   Added after the original rules so mobile footer stays intact.
   ========================================================= */
@media (min-width: 901px){
  .sa-footer{
    padding:42px 24px 18px;
    background-size:cover;
    background-position:center bottom;
  }

  .sa-footer > .container{
    width:100%;
    max-width:1120px;
    margin:0 auto;
    padding:0;
  }

  /* CTA */
  .footer-cta{
    text-align:center;
    max-width:760px;
    margin:0 auto;
  }

  .footer-cta h2{
    margin:0;
    font-size:25px;
    line-height:1.18;
    font-weight:700;
    letter-spacing:-.35px;
  }

  .footer-cta .footer-highlight{
    color:#19c2e6;
    margin-left:5px;
  }

  .footer-cta p{
    max-width:680px;
    margin:8px auto 18px;
    color:rgba(255,255,255,.78);
    font-size:10px;
    line-height:1.55;
  }

  .footer-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:24px;
  }

  .footer-buttons a{
    display:inline-flex;
    align-items:center;
    text-decoration:none;
  }

  .footer-cta .get-start-btn .demo-btn.fill.desktop-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    min-height:36px;
    padding:9px 17px !important;
    border:0 !important;
    border-radius:999px;
    background:#f58220;
    color:#fff;
    font-size:11px;
    line-height:1;
    font-weight:600;
  }

  .footer-cta .download-btn .demo-btn.fill.desktop-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 0 !important;
    background:transparent !important;
    border:0 !important;
    color:#fff;
    font-size:11px;
    line-height:1;
    font-weight:600;
  }

  /* Main five-column area */
  .footer-links{
    display:grid;
    grid-template-columns:1.2fr 1.28fr .78fr .78fr 1fr;
    gap:42px;
    margin-top:52px;
    align-items:start;
  }

  .footer-links h4{
    margin:0 0 11px;
    color:#19c2e6;
    font-size:16px;
    line-height:1.2;
    font-weight:600;
  }

  .footer-links a,
  .footer-links p,
  .footer-links .footer-link-text{
    display:block;
    margin:0;
    color:rgba(255,255,255,.78);
    font-size:14px;
    line-height:1.92;
    font-weight:400;
    text-decoration:none;
  }

  .footer-links a:hover{
    color:#f58220;
  }

  .footer-links .mt{
    margin-top:14px !important;
  }

  .see-all{
    margin-top:5px;
  }

  .see-all .demo-btn.fill.desktop-btn{
    padding:4px 0 !important;
    color:#fff;
    font-size:12px;
  }

  /* Review sits below Company, as in the reference */
  .footer-review{
    margin-top:20px;
  }

  .footer-review h4{
    margin-bottom:10px;
  }

  .gartner-text{
    margin:0 0 4px;
  }

  .gartner-text img{
    display:block;
    width:120px;
    height:auto;
  }

  .stars{
    color:#ffc400;
    font-size:12px;
    letter-spacing:1px;
    line-height:1;
  }

  .stars span{
    color:rgba(255,255,255,.68);
    font-size:12px;
    margin-left:4px;
  }

  .g2-review{
    margin-top:9px;
  }

  .g2-icon{
    width:auto;
    height:auto;
    margin:0 0 4px;
    border-radius:0;
    background:transparent;
    display:block;
  }

  .g2-icon img{
    display:block;
    width:28px;
    height:28px;
    object-fit:contain;
  }

  /* Global locations row */
  .locations{
    display:grid;
    grid-template-columns:1.35fr .9fr 1fr .95fr;
    gap:46px;
    margin-top:36px;
    padding-top:28px;
    border-top:1px solid rgba(255,255,255,.10);
    align-items:start;
  }

  .locations > h4{
    margin:0;
    color:#fff;
    font-size:16px;
    line-height:1.4;
    font-weight:600;
  }

  .locations strong{
    display:block;
    margin:0 0 5px;
    color:#19c2e6;
    font-size:14px;
    line-height:1.3;
    font-weight:600;
  }

  .locations a.demo-btn.fill.footer{
    display:flex;
    align-items:flex-start;
    gap:4px;
    width:100%;
    margin:0 0 2px;
    padding:0 !important;
    color:rgba(255,255,255,.72);
    font-size:11px;
    line-height:1.55;
    font-weight:400;
    text-decoration:none;
    background:transparent !important;
    border:0 !important;
  }

  .locations a.demo-btn.fill.footer .icon-wrapper{
    flex:0 0 18px;
    width:18px !important;
    height:18px !important;
  }

  /* Newsletter */
  .newsletter{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:70px;
    margin-top:28px;
    padding-top:32px;
    border-top:1px solid rgba(255,255,255,.09);
  }

  .newsletter > div:first-child{
    max-width:440px;
  }

  .newsletter h4{
    margin:0 0 7px;
    color:#19c2e6;
    font-size:14px;
    line-height:1.2;
    font-weight:600;
  }

  .newsletter p{
    max-width:410px;
    margin:0;
    color:rgba(255,255,255,.72);
    font-size:11px;
    line-height:1.55;
  }

  .newsletter form{
    display:grid;
    grid-template-columns:minmax(240px, 1fr) auto;
    column-gap:10px;
    row-gap:7px;
    width:445px;
    max-width:100%;
    align-items:start;
  }

  .newsletter input[type=email]{
    width:100%;
    height:38px;
    padding:0 16px;
    border:1px solid rgba(255,255,255,.04);
    border-radius:999px;
    outline:0;
    background:rgba(255,255,255,.10);
    color:#fff;
    font-size:9px;
  }

  .newsletter input[type=email]::placeholder{
    color:rgba(255,255,255,.78);
  }

  .newsletter button{
    margin:0;
    padding:0;
    border:0;
    background:transparent;
    cursor:pointer;
  }

  .newsletter button .demo-btn.fill.desktop-btn{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:34px;
    padding:9px 16px !important;
    border:0 !important;
    border-radius:999px;
    background:#f58220 !important;
    color:#fff !important;
    font-size:14px;
    line-height:1;
    font-weight:600;
    white-space:nowrap;
  }

  .newsletter .error-message,
  .newsletter label{
    grid-column:1 / -1;
  }

  .newsletter .error-message{
    min-height:0;
    margin:0;
    font-size:9px;
    line-height:1.2;
  }

  .newsletter label{
    display:flex;
    align-items:center;
    gap:5px;
    margin:0;
    color:rgba(255,255,255,.66);
    font-size:11px;
    line-height:1.3;
  }

  .newsletter input[type=checkbox]{
    position:static;
    right:auto;
    width:11px;
    height:11px;
    margin:0;
    flex:0 0 11px;
  }

  /* Bottom legal + social row */
  .footer-bottom{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    margin-top:28px;
    padding-top:13px;
    border-top:1px solid rgba(255,255,255,.08);
    color:rgba(255,255,255,.68);
    font-size:8px;
  }

  .footer-bottom-left{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
  }

  .footer-bottom p{
    margin:0;
    font-size:11px;
  }

  .footer-bottom nav{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:0;
  }

  .footer-bottom a{
    margin:0 7px;
    color:rgba(255,255,255,.68);
    font-size:11px;
    text-decoration:none;
  }

  .footer-bottom nav a:first-child{
    margin-left:0;
  }

  .footer-bottom nav span{
    opacity:.45;
  }

  .footer-bottom-socials{
    display:flex;
    align-items:center;
    gap:11px;
    margin:0;
  }

  .footer-bottom-socials a{
    display:inline-flex;
    margin:0;
  }

  .footer-bottom-socials img{
    display:block;
    width:12px;
    height:12px;
    object-fit:contain;
  }
}

@media (min-width: 601px) and (max-width: 900px){
  .sa-footer{
    padding:40px 32px 18px;
  }

  .sa-footer > .container{
    width:100%;
    max-width:760px;
    margin:0 auto;
  }

  .footer-links{
    grid-template-columns:repeat(3, 1fr);
    gap:32px 34px;
    margin-top:45px;
  }

  .locations{
    grid-template-columns:repeat(2, 1fr);
    gap:28px;
  }

  .newsletter{
    gap:28px;
  }

  .newsletter form{
    width:360px;
  }
}


@media (prefers-reduced-motion: reduce){
  .sa-footer .rotating-text span{
    animation:none !important;
  }
}
