/* Mobile-only homepage hero. Desktop, tablet, header and other pages stay unchanged. */
.mobile-tech-scene { display: none; }

@keyframes ospMobileFloatY {
  0%, 100% { transform: translate3d(0, -5px, 0); }
  50% { transform: translate3d(0, 8px, 0); }
}

@keyframes ospMobileDriftX {
  0%, 100% { transform: translate3d(-7px, 0, 0); }
  50% { transform: translate3d(8px, 0, 0); }
}

@keyframes ospMobileFloatDiagonal {
  0%, 100% { transform: translate3d(-5px, 6px, 0) rotate(-2deg); }
  50% { transform: translate3d(8px, -7px, 0) rotate(3deg); }
}

@keyframes ospMobileOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ospMobileSoftPulse {
  0%, 100% { transform: scale(.94); opacity: .18; }
  50% { transform: scale(1.06); opacity: .34; }
}

@keyframes ospMobileDataTravelOne {
  0% { transform: translate3d(-26px, -16px, 0); opacity: 0; }
  16%, 76% { opacity: .38; }
  100% { transform: translate3d(250px, 78px, 0); opacity: 0; }
}

@keyframes ospMobileDataTravelTwo {
  0% { transform: translate3d(190px, -18px, 0); opacity: 0; }
  18%, 72% { opacity: .32; }
  100% { transform: translate3d(-76px, 92px, 0); opacity: 0; }
}

@keyframes ospMobileDataTravelThree {
  0% { transform: translate3d(0, -34px, 0); opacity: 0; }
  20%, 70% { opacity: .30; }
  100% { transform: translate3d(46px, 184px, 0); opacity: 0; }
}

@media (max-width: 480px) {
  .home-mobile-hero,
  .home-mobile-hero .hero-slide-main,
  .home-mobile-hero .mobile-tech-scene { overflow: hidden; }

  .home-mobile-hero,
  .home-mobile-hero *,
  .home-mobile-hero + .trust,
  .home-mobile-hero + .trust * {
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
  }

  .home-mobile-hero {
    position: relative;
    width: 100%;
    background: #081733;
  }

  .home-mobile-hero .hero-slide-main {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: auto;
    min-height: clamp(540px, 148vw, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 18px 38px;
    color: #fff;
    background:
      radial-gradient(circle at 12% 14%, rgba(28, 144, 255, .30), transparent 34%),
      radial-gradient(circle at 88% 78%, rgba(133, 71, 255, .34), transparent 38%),
      linear-gradient(150deg, #06142e 0%, #111d54 46%, #5635d8 100%);
  }

  .home-mobile-hero .hero-slide-main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, .035) 50%, transparent 76%),
      radial-gradient(circle at 50% 48%, rgba(10, 24, 63, .12), rgba(5, 14, 36, .38) 76%);
  }

  .home-mobile-hero .hero-slide-main::after {
    content: "";
    position: absolute;
    inset: auto 8% 16px;
    z-index: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(194, 217, 255, .30), transparent);
  }

  .home-mobile-hero .mobile-tech-scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    contain: layout paint;
    pointer-events: none;
  }

  .mobile-tech-grid {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
      linear-gradient(rgba(161, 196, 255, .28) 1px, transparent 1px),
      linear-gradient(90deg, rgba(161, 196, 255, .28) 1px, transparent 1px);
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 86%);
    mask-image: linear-gradient(to bottom, #000, transparent 86%);
  }

  .mobile-tech-network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .22;
    fill: none;
    stroke: rgba(170, 206, 255, .62);
    stroke-width: 1;
    stroke-dasharray: 5 8;
  }

  .mobile-tech-item {
    position: absolute;
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 218, 255, .24);
    border-radius: 12px;
    color: #d8e8ff;
    background: rgba(9, 24, 65, .28);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    opacity: .28;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .mobile-tech-code { top: 22px; left: 16px; padding: 0 9px; animation: ospMobileFloatY 8s ease-in-out infinite; }
  .mobile-tech-braces { top: 134px; right: -5px; min-width: 46px; color: #d9cdff; animation: ospMobileDriftX 10s ease-in-out -3s infinite; }
  .mobile-tech-globe { top: 24px; right: 18px; width: 48px; height: 48px; border-radius: 50%; opacity: .34; will-change: transform; animation: ospMobileOrbitSpin 15s linear infinite; }
  .mobile-tech-chart { right: 14px; bottom: 30px; color: #b9d8ff; animation: ospMobileFloatDiagonal 12s ease-in-out -5s infinite; }
  .mobile-tech-target { top: 264px; right: 10px; color: #ded4ff; animation: ospMobileSoftPulse 6s ease-in-out -1s infinite; }
  .mobile-tech-cloud { top: 184px; left: -9px; color: #acd7ff; animation: ospMobileFloatY 10s ease-in-out -4s infinite reverse; }
  .mobile-tech-browser { right: -14px; bottom: 142px; min-width: 54px; animation: ospMobileFloatDiagonal 12s ease-in-out -7s infinite reverse; }
  .mobile-tech-server { bottom: 112px; left: 9px; color: #cbdcff; animation: ospMobileDriftX 15s ease-in-out -5s infinite; }
  .mobile-tech-cursor { top: 318px; left: 12px; min-width: 34px; min-height: 34px; border-radius: 10px; animation: ospMobileFloatDiagonal 8s ease-in-out -2s infinite; }
  .mobile-tech-seo { bottom: 28px; left: 22px; gap: 6px; padding: 0 9px; color: #cfdfff; font-size: 11px; letter-spacing: .08em; animation: ospMobileFloatY 12s ease-in-out -6s infinite; }
  .mobile-tech-seo i { color: #a8d7ff; font-size: 13px; }

  .mobile-tech-ui-card {
    top: 94px;
    left: 8%;
    width: 72px;
    height: 48px;
    justify-content: flex-start;
    align-content: flex-start;
    flex-wrap: wrap;
    gap: 4px;
    padding: 9px;
    opacity: .16;
    animation: ospMobileFloatDiagonal 15s ease-in-out -8s infinite;
  }

  .mobile-tech-ui-card i { width: 4px; height: 4px; border-radius: 50%; background: #c9dcff; }
  .mobile-tech-ui-card b { width: 100%; height: 3px; border-radius: 4px; background: rgba(201, 220, 255, .72); }
  .mobile-tech-ui-card b:last-child { width: 64%; }

  .mobile-data-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border: 1px solid rgba(225, 236, 255, .62);
    border-radius: 50%;
    background: rgba(129, 185, 255, .82);
    opacity: 0;
    will-change: transform, opacity;
  }

  .mobile-data-dot-one { top: 80px; left: 24px; animation: ospMobileDataTravelOne 8s linear infinite; }
  .mobile-data-dot-two { right: 20px; bottom: 190px; animation: ospMobileDataTravelTwo 10s linear -4s infinite; }
  .mobile-data-dot-three { top: 255px; left: 56px; animation: ospMobileDataTravelThree 12s linear -7s infinite; }

  .home-mobile-hero .hero-text {
    position: relative;
    z-index: 3;
    width: min(100%, 430px);
    max-width: 430px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
  }

  .home-mobile-hero .hero-text h1 {
    max-width: 400px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(34px, 10.4vw, 45px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.045em;
    text-transform: uppercase;
    text-wrap: balance;
  }

  .home-mobile-hero .hero-text h1 span {
    display: inline-block;
    color: #c8ddff;
    background: linear-gradient(100deg, #85d4ff, #e0d4ff 88%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .home-mobile-hero .hero-text > p {
    max-width: 330px;
    margin: 15px auto 18px;
    color: #e2eaff;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: .01em;
  }

  .home-mobile-hero .hero-text .checks {
    width: min(100%, 390px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 auto;
  }

  .home-mobile-hero .hero-text .checks span {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    border: 1px solid rgba(213, 226, 255, .23);
    border-radius: 13px;
    padding: 9px 10px;
    color: #f4f7ff;
    background: rgba(255, 255, 255, .10);
    font-size: 10.5px;
    font-weight: 850;
    line-height: 1.22;
    text-align: left;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .home-mobile-hero .hero-text .checks i {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 7px;
    color: #fff;
    background: linear-gradient(135deg, #1388ff, #7b42f6);
    font-size: 9px;
  }

  .home-mobile-hero .actions {
    width: min(100%, 390px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 17px auto 0;
  }

  .home-mobile-hero .actions button,
  .home-mobile-hero .actions .outline {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
  }

  .home-mobile-hero .actions button { border: 1px solid rgba(255, 255, 255, .18); color: #fff; background: linear-gradient(135deg, #087dff, #803ff0); }
  .home-mobile-hero .actions .outline { border: 1px solid rgba(213, 226, 255, .32); color: #fff; background: rgba(255, 255, 255, .10); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .home-mobile-hero .actions button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

  .home-mobile-hero + .trust {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0 auto 24px;
    padding: 18px 14px 25px;
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, #f1edff 0%, #f7f8ff 42%, #fff 100%);
  }

  .home-mobile-hero + .trust > div {
    min-width: 0;
    min-height: 116px;
    padding: 15px 8px 13px;
    border: 1px solid rgba(180, 196, 226, .58);
    border-radius: 16px;
    background: rgba(255, 255, 255, .80);
    transform: none;
  }

  .home-mobile-hero + .trust > div:nth-child(n) { border-right: 1px solid rgba(180, 196, 226, .58); border-bottom: 1px solid rgba(180, 196, 226, .58); }
  .home-mobile-hero + .trust > div:last-child { grid-column: 1 / -1; min-height: 105px; }
  .home-mobile-hero + .trust i { width: 38px; height: 38px; margin: 0 auto 7px; border: 1px solid rgba(255, 255, 255, .26); color: #fff; background: linear-gradient(135deg, #147fff, #753df0); font-size: 15px; }
  .home-mobile-hero + .trust b { color: #0b1c43; font-size: 12px; line-height: 1.25; }
  .home-mobile-hero + .trust p { margin-top: 4px; color: #657493; font-size: 10px; line-height: 1.3; }
}

@media (max-width: 350px) {
  .home-mobile-hero .hero-slide-main { min-height: 610px; padding-inline: 14px; }
  .home-mobile-hero .hero-text h1 { font-size: 33px; }
  .home-mobile-hero .actions { grid-template-columns: 1fr; }
}

@media (max-width: 480px) and (prefers-reduced-motion: reduce) {
  .home-mobile-hero .mobile-tech-item,
  .home-mobile-hero .mobile-data-dot { animation: none !important; transform: none !important; }
  .home-mobile-hero .mobile-data-dot { opacity: .18; }
}
