/* The first viewport finishes on a complete, readable benefit strip. */
@media (min-width: 801px) {
  .hero { min-height: calc(100svh - 170px); padding-block: 42px 56px; }
  .hero-stage { height: clamp(450px, calc(100svh - 300px), 585px); }
  .stage-photograph { inset: 8px 0 20px 8%; }
  .stage-caption { bottom: 47px; }
  .hero-phone { top: 14%; }
  .float-card-bottom { bottom: 13%; }
}

.hero-alarm {
  position: absolute; z-index: 6; top: 6%; right: -12px;
  display: flex; align-items: center; gap: 9px; min-width: 219px;
  padding: 10px 15px 10px 8px; border-radius: 22px;
  border: 1px solid rgba(255, 170, 145, .62);
  background: linear-gradient(130deg, rgba(12, 42, 49, .91), rgba(5, 25, 34, .83));
  color: #fff; backdrop-filter: blur(23px);
  box-shadow: 0 25px 48px rgba(2, 19, 25, .35), 0 0 36px rgba(255, 108, 87, .3), inset 0 1px rgba(255, 255, 255, .14);
  animation: alarm-hover 5.5s ease-in-out infinite;
}
.hero-alarm-clock { position: relative; z-index: 2; flex: none; width: 68px; height: 68px; filter: drop-shadow(0 8px 8px rgba(0,0,0,.4)); }
.hero-alarm-shake { transform-origin: 48px 50px; animation: alarm-shake 1.9s ease-in-out infinite; }
.alarm-second-hand { transform-origin: 48px 50px; animation: alarm-sweep 7s linear infinite; }
.hero-alarm-wave {
  position: absolute; z-index: 1; left: 4px; top: calc(50% - 36px);
  width: 72px; height: 72px; border: 2px solid rgba(255, 142, 115, .82);
  border-radius: 50%; pointer-events: none; animation: alarm-wave 2.4s ease-out infinite;
}
.hero-alarm-wave.wave-two { animation-delay: 1.2s; }
.hero-alarm-copy { position: relative; z-index: 2; display: flex; flex-direction: column; line-height: 1.12; }
.hero-alarm-status { display: flex; align-items: center; gap: 5px; color: #ffbba4; font-size: 7px; font-weight: 900; letter-spacing: .14em; white-space: nowrap; }
.hero-alarm-status i { width: 5px; height: 5px; background: #ff7668; border-radius: 50%; box-shadow: 0 0 10px #ff7668; animation: alarm-led 1s ease-in-out infinite; }
.hero-alarm-copy strong { margin-top: 4px; font-size: 23px; font-weight: 800; letter-spacing: -.07em; }
.hero-alarm-copy small { margin-top: 2px; color: #b7d4cd; font-size: 8px; font-weight: 700; }
.hero-alarm-bars { position: absolute; right: 10px; top: 13px; display: flex; align-items: center; gap: 2px; height: 15px; }
.hero-alarm-bars i { width: 2px; height: 5px; border-radius: 4px; background: #ff806e; animation: alarm-bars .65s ease-in-out infinite alternate; }
.hero-alarm-bars i:nth-child(2),.hero-alarm-bars i:nth-child(4) { height: 12px; animation-delay: .18s; }
.hero-alarm-bars i:nth-child(3) { height: 8px; animation-delay: .37s; }
.hero-alarm-bars i:nth-child(5) { animation-delay: .45s; }
@keyframes alarm-hover { 50% { transform: translateY(-6px); } }
@keyframes alarm-shake { 0%,8%,32%,100% { transform: rotate(0); } 12% { transform: rotate(-6deg); } 18% { transform: rotate(6deg); } 24% { transform: rotate(-4deg); } 29% { transform: rotate(3deg); } }
@keyframes alarm-sweep { to { transform: rotate(360deg); } }
@keyframes alarm-wave { 0% { transform: scale(.8); opacity: .8; } 100% { transform: scale(1.95); opacity: 0; } }
@keyframes alarm-led { 50% { opacity: .35; box-shadow: 0 0 2px #ff7668; } }
@keyframes alarm-bars { to { height: 2px; opacity: .55; } }

.ticker { overflow: visible; white-space: normal; }
.ticker-track { width: 100%; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); animation: none; }
.ticker .ticker-item { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; margin: 0; color: #385d56; font-size: 10px; font-weight: 900; letter-spacing: .13em; white-space: nowrap; }
.ticker .ticker-item i { margin: 0; color: var(--coral); font-size: 13px; font-style: normal; animation: ticker-spark 3s ease-in-out infinite; }
.ticker .ticker-item:nth-child(2) i { animation-delay: .5s; }
.ticker .ticker-item:nth-child(3) i { animation-delay: 1s; }
.ticker .ticker-item:nth-child(4) i { animation-delay: 1.5s; }
@keyframes ticker-spark { 50% { transform: rotate(45deg) scale(1.25); opacity: .7; } }

.screens-section { background: #f9faf6; }
.screens-intro { margin-bottom: 37px; }
.showcase-shell {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: 715px; border: 1px solid #dce8e0; border-radius: 36px;
  overflow: hidden; box-shadow: 0 28px 65px rgba(36, 64, 58, .12);
}
.showcase-shell:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.showcase-stage {
  position: relative; display: grid; place-items: center; min-height: 835px;
  overflow: hidden; touch-action: pan-y;
  background: radial-gradient(circle at 49% 43%, #2a6567, transparent 48%), radial-gradient(circle at 12% 15%, #23444a, transparent 38%), linear-gradient(145deg, #18333d, #081c27 76%);
}
.showcase-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .21; background-image: radial-gradient(#b5eee0 .7px, transparent .7px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); }
.showcase-orbit { position: absolute; width: 540px; aspect-ratio: 1; border: 1px solid rgba(145, 233, 212, .18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(145, 233, 212, .025), 0 0 0 140px rgba(145, 233, 212, .017); animation: showcase-orbit 9s ease-in-out infinite; }
.showcase-orbit.orbit-two { width: 410px; border-color: rgba(250, 179, 137, .12); animation-delay: -4s; }
@keyframes showcase-orbit { 50% { transform: scale(1.08) rotate(16deg); opacity: .58; } }
.showcase-phone {
  position: relative; z-index: 2; width: min(346px, calc(100% - 82px));
  padding: 7px; border: 1px solid #789d9a; border-radius: 39px;
  background: linear-gradient(125deg, #9ac6b6, #254a52 14%, #091923 50%, #719692 92%);
  box-shadow: 27px 36px 55px rgba(0, 7, 15, .55), 0 0 65px rgba(126, 231, 210, .16), inset 0 1px 2px rgba(255, 255, 255, .55);
  transform: rotate(-3deg); animation: showcase-float 7.5s ease-in-out infinite;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.showcase-stage:hover .showcase-phone { transform: rotate(0) translateY(-5px); }
.showcase-phone-screen { width: 100%; aspect-ratio: 9/20; overflow: hidden; border-radius: 31px; background: #081823; }
.showcase-phone-screen img { display: block; width: 100%; height: 100%; object-fit: contain; opacity: 1; transform: translateY(0) scale(1); transition: opacity .25s, transform .35s; }
.showcase-phone-glint { position: absolute; inset: 8px; border-radius: 31px; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.075), transparent 25%, transparent 70%, rgba(255,255,255,.035)); }
.showcase-shell.is-switching .showcase-phone-screen img { opacity: 0; transform: translateY(16px) scale(.98); }
.showcase-native { position: absolute; z-index: 3; left: 28px; bottom: 26px; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid rgba(151, 235, 212, .36); border-radius: 99px; background: rgba(7, 31, 40, .75); color: #c9f6e6; backdrop-filter: blur(14px); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
@keyframes showcase-float { 50% { translate: 0 -12px; } }
.showcase-copy { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 52px 48px 44px; background: linear-gradient(140deg, #f6f8f3, #e9f3eb); }
.showcase-topline { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #57857b; font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.showcase-topline span:last-child { color: var(--coral); }
.showcase-story { transition: opacity .25s, transform .35s; }
.showcase-shell.is-switching .showcase-story { opacity: 0; transform: translateY(13px); }
.showcase-story>span { display: block; margin-bottom: 20px; color: #548e80; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.showcase-story h3 { max-width: 390px; margin: 0 0 22px; color: #183139; font-size: clamp(42px, 4.3vw, 61px); line-height: 1.08; font-weight: 780; letter-spacing: -.07em; }
.showcase-story p { max-width: 375px; margin: 0; color: #597573; font-size: 15px; line-height: 1.85; }
.showcase-control { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.showcase-arrows { display: flex; gap: 10px; }
.showcase-arrows button { width: 54px; height: 54px; border: 1px solid #c5d8d1; border-radius: 50%; background: #fff; color: #214c4d; font-size: 23px; line-height: 1; box-shadow: 0 10px 19px rgba(28, 65, 58, .08); transition: transform .25s, background .25s, color .25s, box-shadow .25s; }
.showcase-arrows button:last-child { background: #16333b; color: #fff; border-color: #16333b; }
.showcase-arrows button:hover { transform: translateY(-4px); background: var(--coral); color: #fff; box-shadow: 0 13px 24px rgba(244, 93, 75, .2); }
.showcase-play { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #52796f; font-size: 12px; font-weight: 900; cursor: pointer; }
.showcase-play span { font-size: 9px; letter-spacing: .13em; }
.showcase-progress { display: flex; gap: 6px; margin-top: 35px; }
.showcase-progress button { flex: 1; height: 5px; border: 0; border-radius: 99px; padding: 0; background: #bfd3c9; transition: background .25s, transform .25s; }
.showcase-progress button:hover { transform: scaleY(1.6); background: #88c2ad; }
.showcase-progress button.active { background: var(--coral); }
.showcase-hint { display: flex; justify-content: space-between; margin: 13px 0 0; color: #7e9c92; font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.screens-footnote { text-align: center; }

@media (max-width: 1100px) and (min-width: 801px) {
  .showcase-shell { grid-template-columns: 1fr .9fr; }
  .showcase-copy { padding: 45px 34px 36px; }
  .showcase-story h3 { font-size: 43px; }
  .hero-alarm { right: -5px; }
}
@media (max-width: 800px) {
  .ticker-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticker .ticker-item { min-height: 39px; font-size: 9px; gap: 7px; }
  .hero-alarm { top: 7%; right: -6px; }
  .showcase-shell { grid-template-columns: 1fr; min-height: 0; }
  .showcase-stage { min-height: 830px; }
  .showcase-copy { min-height: 365px; padding: 33px 35px 31px; }
  .showcase-story h3 { max-width: none; font-size: 48px; }
  .showcase-story p { max-width: 480px; }
}
@media (max-width: 560px) {
  .hero-alarm { min-width: 171px; padding: 6px 11px 6px 4px; gap: 4px; border-radius: 16px; top: 5%; right: -3px; }
  .hero-alarm-clock { width: 52px; height: 52px; }
  .hero-alarm-wave { width: 52px; height: 52px; top: calc(50% - 26px); }
  .hero-alarm-status { font-size: 5px; }
  .hero-alarm-copy strong { font-size: 17px; }
  .hero-alarm-copy small { font-size: 6px; }
  .hero-alarm-bars { right: 6px; top: 7px; transform: scale(.65); transform-origin: top right; }
  .ticker .ticker-item { font-size: 8px; letter-spacing: .07em; }
  .ticker .ticker-item i { font-size: 11px; }
  .showcase-shell { border-radius: 25px; }
  .showcase-stage { min-height: 730px; }
  .showcase-phone { width: min(303px, calc(100% - 48px)); border-radius: 34px; padding: 6px; }
  .showcase-phone-screen,.showcase-phone-glint { border-radius: 27px; }
  .showcase-native { left: 14px; bottom: 15px; font-size: 7px; padding: 8px 10px; }
  .showcase-copy { min-height: 355px; padding: 28px 24px 28px; }
  .showcase-topline { font-size: 8px; }
  .showcase-story>span { font-size: 9px; margin-bottom: 9px; }
  .showcase-story h3 { font-size: 39px; margin-bottom: 10px; }
  .showcase-story p { font-size: 12px; line-height: 1.65; }
  .showcase-control { margin-top: 18px; }
  .showcase-arrows button { width: 45px; height: 45px; font-size: 20px; }
  .showcase-progress { margin-top: 22px; }
}
@media (max-width: 370px) { .showcase-stage { min-height: 650px; } .showcase-phone { width: 270px; } .ticker .ticker-item { font-size: 7px; } }
@media (prefers-reduced-motion: reduce) {
  .hero-alarm,.hero-alarm-shake,.alarm-second-hand,.hero-alarm-wave,.hero-alarm-status i,.hero-alarm-bars i,.ticker .ticker-item i,.showcase-orbit,.showcase-phone { animation: none; }
  .showcase-phone-screen img,.showcase-story { transition: none; }
}
