/* Screen 04. Styles are scoped to preserve the preceding screens. */
.app-section { position: relative; background: #07090c; color: #f3f4ef; }
.app-stage { position: relative; min-height: 640px; height: 100svh; overflow: hidden; }
.app-layout { max-width: 1760px; height: 100%; margin: auto; padding: clamp(50px, 6vh, 90px) clamp(24px, 3.05vw, 54px); display: grid; grid-template-columns: 44% 56%; align-items: center; }
.app-copy { position: relative; z-index: 2; padding-right: 20px; }
.app-kicker { margin: 0 0 30px; color: #a8abb1; font-size: clamp(11px, 1.15vw, 18px); }
.app-copy h2 { margin: 0; font-family: 'Chakra Petch', sans-serif; font-size: clamp(38px, 4vw, 68px); line-height: 1.15; letter-spacing: -.04em; font-weight: 500; }
.app-description { margin: 28px 0 0; color: #a8abb1; font-family: 'Chakra Petch', sans-serif; font-size: clamp(16px, 1.4vw, 23px); line-height: 1.55; }
.app-benefits { list-style: none; padding: 0; margin: clamp(24px, 5vh, 56px) 0 0; max-width: 520px; }
.app-benefits li { display: flex; align-items: center; gap: clamp(18px, 1.8vw, 30px); padding: clamp(13px, 2vh, 24px) 0; color: #b8bbc1; font-size: clamp(12px, 1.25vw, 20px); }
.app-benefits li + li { border-top: 1px solid #ffffff29; }
.app-benefits img { display: block; width: clamp(46px, 4.5vw, 76px); height: auto; }
.app-visual { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 2vw, 36px); min-width: 0; perspective: 1200px; }
.app-phone { flex: 0 1 auto; width: min(29vw, 38vh, 420px); position: relative; z-index: 2; }
.app-phone > img { width: 100%; height: auto; display: block; filter: drop-shadow(14px 24px 25px #0008); }
.app-panels { width: clamp(165px, 14vw, 240px); flex: 0 0 auto; display: grid; gap: clamp(14px, 2.3vh, 24px); }
.app-panel { padding: clamp(14px, 1.15vw, 20px); background: linear-gradient(125deg, #181b1f, #101318); border: 1px solid #ffffff26; border-radius: 18px; box-shadow: inset 0 1px 0 #ffffff0a, 0 16px 28px #0003; font-family: 'Chakra Petch', sans-serif; }
.app-panel h3 { margin: 0 0 18px; font-size: clamp(13px, 1vw, 17px); font-weight: 400; }
.app-lime { color: #b9ff45; }
.app-energy-bar { display: flex; gap: 3px; height: 6px; margin: 0 0 20px; }
.app-energy-bar i { border-radius: 2px; background: #b9ff45; width: 55%; transform-origin: left; }
.app-energy-bar i:nth-child(2) { width: 22%; background: #a2a88b; }
.app-energy-bar i:nth-child(3) { width: 23%; background: #4b4e54; }
.app-today-values { display: grid; gap: 10px; margin: 0; font-size: clamp(12px, .95vw, 16px); }
.app-today-values > div { display: flex; justify-content: space-between; gap: 10px; }
.app-panel dt { color: #b8bbc1; }
.app-panel dd { margin: 0; }
.app-health-content { display: flex; align-items: center; gap: 12px; }
.app-health-ring { position: relative; flex: 0 0 42%; aspect-ratio: 1; display: grid; place-items: center; font-size: clamp(20px, 1.8vw, 30px); }
.app-health-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke: #41464d; stroke-width: 5; }
.app-health-ring .app-health-progress { stroke: #b9ff45; stroke-dasharray: 96 100; stroke-linecap: round; }
.app-health-content p { margin: 0; font-size: clamp(12px, 1vw, 16px); }
.app-health-content small { display: block; margin-top: 7px; font-size: 11px; color: #b8bbc1; }
.app-panel .app-ev-heading { display: flex; align-items: center; gap: 5px; font-size: clamp(11px, .85vw, 14px); white-space: nowrap; }
.app-ev-heading img { width: 17px; height: 22px; object-fit: contain; }
.app-ev-heading small { margin-left: auto; font-size: .8em; }
.app-ev-power { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app-ev-power > img { width: 37%; height: auto; }
.app-ev-power p { margin: 0; color: #b9ff45; font-size: clamp(25px, 2vw, 35px); white-space: nowrap; }
.app-ev-power small { font-size: .65em; }
.app-ev-stats { display: flex; justify-content: space-between; margin: 12px 0 0; font-size: 14px; gap: 12px; }
.app-ev-stats > div { display: flex; flex-direction: column-reverse; gap: 5px; }
.app-ev-stats dt { font-size: 11px; }
.app-motion [data-app-reveal] { opacity: 0; transition: opacity 1s var(--ease), translate 1s var(--ease); translate: 0 24px; }
.app-motion [data-app-reveal].is-revealed { opacity: 1; translate: 0 0; }
.app-section .app-panel { animation: app-panel-float 8s ease-in-out infinite paused; }
.app-section.is-active .app-panel { animation-play-state: running; }
.app-benefits li:nth-child(1) { --app-pulse-delay: 0s; }
.app-benefits li:nth-child(2) { --app-pulse-delay: -6s; }
.app-benefits li:nth-child(3) { --app-pulse-delay: -3s; }
.app-benefits img { animation: app-benefit-icon 9s ease-in-out var(--app-pulse-delay) infinite paused; }
.app-benefits li > span { animation: app-benefit-text 9s ease-in-out var(--app-pulse-delay) infinite paused; }
.app-energy-bar { position: relative; overflow: hidden; }
.app-energy-bar::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0%, #f3f4ef99 50%, transparent 100%); transform: translateX(-110%); animation: app-energy-sweep 5s var(--ease) infinite paused; }
.app-health-ring { animation: app-health-glow 6s ease-in-out infinite paused; }
.app-ev-heading > img { animation: app-icon-pulse 4s ease-in-out infinite paused; }
.app-section.is-active .app-benefits img,
.app-section.is-active .app-benefits li > span,
.app-section.is-active .app-energy-bar::after,
.app-section.is-active .app-health-ring,
.app-section.is-active .app-ev-heading > img { animation-play-state: running; }
@keyframes app-icon-pulse { 0%, 65%, 100% { filter: drop-shadow(0 0 0 transparent); } 30% { filter: drop-shadow(0 0 5px #b9ff4555); } }
/* Three equal 3-second turns, looping without a gap or scroll dependency. */
@keyframes app-benefit-icon {
  0%, 26% { filter: brightness(1.15) drop-shadow(0 0 8px #b9ff4580); }
  33.333%, 93% { filter: brightness(.85) drop-shadow(0 0 0 transparent); }
  100% { filter: brightness(1.15) drop-shadow(0 0 8px #b9ff4580); }
}
@keyframes app-benefit-text {
  0%, 26% { color: #f3f4ef; text-shadow: 0 0 12px #b9ff4533; }
  33.333%, 93% { color: #b8bbc1; text-shadow: 0 0 0 transparent; }
  100% { color: #f3f4ef; text-shadow: 0 0 12px #b9ff4533; }
}
@keyframes app-energy-sweep { 0%, 25% { transform: translateX(-110%); opacity: 0; } 35% { opacity: .65; } 65%, 100% { transform: translateX(110%); opacity: 0; } }
@keyframes app-health-glow { 0%, 100% { filter: drop-shadow(0 0 0 transparent); } 50% { filter: drop-shadow(0 0 3px #b9ff4533); } }
.app-panel-health .app-panel { animation-delay: -2.5s !important; }
.app-panel-ev .app-panel { animation-delay: -5s !important; }
.app-panel-today.is-revealed .app-energy-bar i { animation: app-bar-reveal 1.4s var(--ease) both; }
.app-panel-health.is-revealed .app-health-progress { animation: app-ring-reveal 1.6s var(--ease) both; }
@keyframes app-panel-float { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-3px); } }
@keyframes app-bar-reveal { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes app-ring-reveal { from { stroke-dasharray: 0 100; } to { stroke-dasharray: 96 100; } }
@media (max-width: 1100px) and (min-width: 901px) { .app-layout { grid-template-columns: 46% 54%; } .app-panels { width: 165px; } .app-phone { width: min(27vw, 35vh); } .app-copy h2 { font-size: 3.8vw; } }
@media (max-width: 900px), (max-height: 650px) {
  .app-section { height: auto; min-height: 0; scroll-margin-top: 76px; }
  .app-stage { position: relative; height: auto; min-height: 0; }
  .app-layout { grid-template-columns: 1fr; gap: 44px; padding: 100px 24px 60px; max-width: 760px; }
  .app-copy { padding: 0; }
  .app-kicker { margin-bottom: 22px; font-size: 12px; }
  .app-copy h2 { font-size: clamp(36px, 6.4vw, 54px); }
  .app-description { font-size: 18px; max-width: 470px; margin-top: 22px; }
  .app-benefits { max-width: none; margin-top: 28px; }
  .app-benefits li { font-size: 15px; padding: 16px 0; }
  .app-benefits img { width: 54px; }
  .app-visual { gap: 24px; }
  .app-phone { width: 48%; max-width: 300px; }
  .app-panels { width: 38%; max-width: 240px; gap: 16px; }
  .app-panel { padding: 15px; }
}
@media (max-width: 520px) {
  .app-layout { padding-inline: 20px; gap: 32px; }
  .app-copy h2 { font-size: clamp(32px, 8.6vw, 44px); }
  .app-description { font-size: 16px; }
  .app-benefits li { font-size: 13px; gap: 18px; }
  .app-visual { flex-direction: column; gap: 30px; }
  .app-phone { width: min(75%, 280px, calc((100svh - 120px) * .45142857)); }
  .app-panels { width: 100%; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .app-panel-today { grid-column: 1 / -1; }
  .app-panel { height: 100%; padding: 14px; border-radius: 16px; }
  .app-today-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
  .app-panel .app-ev-heading { flex-wrap: wrap; white-space: normal; }
  .app-ev-heading small { margin-left: 22px; }
  .app-health-content { flex-direction: column; align-items: flex-start; }
  .app-health-ring { width: 72px; flex-basis: auto; }
  .app-ev-power p { font-size: 24px; }
  .app-ev-stats { font-size: 12px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-section { height: auto; min-height: 0; }
  .app-stage { position: relative; height: auto; min-height: 100svh; }
  .app-layout { min-height: 100svh; }
  .app-section [data-app-reveal] { opacity: 1; translate: none; transform: none; transition: none; }
  .app-section .app-panel, .app-section .app-energy-bar i, .app-section .app-health-progress { animation: none !important; }
  .app-section .app-benefits img, .app-section .app-benefits li > span, .app-section .app-energy-bar::after, .app-section .app-health-ring, .app-section .app-ev-heading > img { animation: none !important; }
  .app-energy-bar::after { display: none; }
}
