#root .app-download-section {
  height: auto;
  isolation: isolate;
  background: #080607;
}
.app-download-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #080607;
}
#root .app-hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.app-hero-background-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  transform-origin: 65% 45%;
  animation: app-cosmos-drift 26s ease-in-out infinite alternate;
}
@keyframes app-cosmos-drift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1%, 1%, 0); }
}
.app-hero-paused .app-hero-background-image { animation-play-state: paused; }
#root .app-hero-shade {
  background: linear-gradient(90deg, rgba(8, 6, 7, .35), rgba(8, 6, 7, .12) 45%, rgba(8, 6, 7, .08));
}
#root .app-hero-fade {
  background: linear-gradient(180deg, rgba(8, 6, 7, .25), transparent 20%, transparent 65%, #050505 100%);
}
#root .app-hero-ambient { display: none; }
#app-download-hero {
  position: relative;
  z-index: 14;
  min-height: min(900px, 100svh);
  pointer-events: none;
}
#app-download-hero .app-hero-shell {
  width: min(1240px, calc(100% - 80px));
  min-height: inherit;
  margin: 0 auto;
  padding: 144px 0 94px;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: center;
}
#app-download-hero .app-copy { position: relative; z-index: 3; pointer-events: auto; }
#app-download-hero .app-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #a1b8c9; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
#app-download-hero .app-kicker::before { content: ""; width: 22px; height: 2px; background: #ff9c77; }
#app-download-hero h1 { max-width: 540px; margin: 0; color: #f5f8fb; font-size: clamp(42px, 4.8vw, 68px); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; }
#app-download-hero h1 strong { display: block; color: #ffc3a6; font-weight: inherit; }
#app-download-hero .app-description { max-width: 425px; margin: 25px 0 32px; color: #a3b2c0; font-size: 16px; line-height: 1.85; }
#app-download-hero .app-download-button {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 12px;
  background: #d94726; border: 1px solid rgba(255, 188, 157, .35); box-shadow: 0 8px 28px rgba(194, 50, 19, .2); color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
#app-download-hero .app-download-button:hover { transform: translateY(-2px); background: #ed5633; box-shadow: 0 12px 30px rgba(194, 50, 19, .3); }
#app-download-hero a:focus-visible { outline: 2px solid #ffc3a6; outline-offset: 6px; }
#app-download-hero .app-download-button svg { width: 18px; height: 18px; fill: currentColor; }
#app-download-hero .app-note { margin: 16px 0 0; color: #8597a8; font-size: 12px; line-height: 1.6; }
#app-download-hero .device-stage { display: block; position: relative; aspect-ratio: 1.23; pointer-events: auto; }
#app-download-hero .device-glow { position: absolute; inset: 8% -12% -8%; background: radial-gradient(ellipse, rgba(255, 117, 63, .1), transparent 67%); }
#app-download-hero .desktop-frame { position: absolute; z-index: 1; right: -10px; top: 24px; width: 100%; margin: 0; overflow: hidden; border: 1px solid rgba(182, 218, 229, .28); border-radius: 15px; background: #eef1f2; box-shadow: 0 28px 80px rgba(0, 0, 0, .42); transform: perspective(1300px) rotateY(-4deg) rotateX(1deg); transform-origin: 60% 50%; }
#app-download-hero .desktop-frame img { display: block; width: 100%; height: auto; }
#app-download-hero .phone-frame { position: absolute; z-index: 2; left: -3%; bottom: 0; width: 28%; max-width: 186px; margin: 0; overflow: hidden; padding: 5px; border: 1px solid rgba(193, 222, 230, .4); border-radius: 28px; background: #111c24; box-shadow: 0 20px 55px rgba(0, 0, 0, .5); transform: rotate(-5deg); }
#app-download-hero .phone-frame img { display: block; width: 100%; border-radius: 23px; }
#app-download-hero .device-label { position: absolute; z-index: 3; right: 0; bottom: -4px; padding: 8px 0; color: #91adbc; font-size: 11px; font-weight: 500; letter-spacing: .13em; }
#root [class*="fixed"][class*="bottom-5"][class*="right-5"] { display: none !important; }
@media (max-width: 980px) {
  #app-download-hero .app-hero-shell { width: min(720px, calc(100% - 64px)); padding: 124px 0 72px; grid-template-columns: 1fr; gap: 38px; }
  #app-download-hero .app-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  #app-download-hero .app-description { max-width: 560px; }
  #app-download-hero .device-stage { width: min(650px, 100%); margin: 0 auto; aspect-ratio: 1.38; }
  #app-download-hero .desktop-frame { right: 0; width: 88%; top: 16px; }
  #app-download-hero .phone-frame { left: 2%; width: 26%; }
  .app-hero-background-image { object-position: 85% center; }
  #root .app-hero-shade { background: linear-gradient(180deg, rgba(8, 6, 7, .22), rgba(8, 6, 7, .45) 35%, rgba(8, 6, 7, .12) 75%); }
}
@media (max-width: 620px) {
  #app-download-hero .app-hero-shell { width: calc(100% - 40px); padding: 108px 0 62px; gap: 32px; }
  #app-download-hero .app-kicker { font-size: 11px; margin-bottom: 17px; }
  #app-download-hero h1 { font-size: clamp(36px, 10.4vw, 54px); line-height: 1.18; }
  #app-download-hero .app-description { margin: 20px 0 26px; font-size: 14px; line-height: 1.85; }
  #app-download-hero .app-download-button { padding: 14px 22px; font-size: 15px; }
  #app-download-hero .app-note { font-size: 11px; }
  #app-download-hero .device-stage { aspect-ratio: 1.22; }
  #app-download-hero .desktop-frame { width: 90%; top: 10px; border-radius: 9px; }
  #app-download-hero .phone-frame { left: 1%; bottom: 4px; width: 29%; padding: 3px; border-radius: 17px; }
  #app-download-hero .phone-frame img { border-radius: 14px; }
  #app-download-hero .device-label { bottom: -7px; font-size: 9px; }
  .app-hero-background-image { object-position: 90% center; }
}
@media (prefers-reduced-motion: reduce) {
  #app-download-hero .desktop-frame, #app-download-hero .phone-frame, #app-download-hero .app-download-button { transition: none; transform: none; }
  .app-hero-background-image { animation: none; transform: none; }
}
