.hero { position: relative; padding: 150px 0 90px; overflow: clip; }
.hero__grid { display: grid; gap: 56px; align-items: center; }
.hero__title { margin-bottom: 22px; }
.hero__title > span { display: inline-block; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); margin-bottom: 30px; }
.hero__facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-dim); font-size: .92rem; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: rgba(var(--accent-rgb), .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232ff08c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 9px no-repeat; }

/* entrada da primeira tela */
.hero__in { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.is-loaded .hero__in { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + 120ms); }

/* palco 3D do app */
.stage { position: relative; height: 560px; perspective: 1500px; --rx: 6deg; --ry: -16deg; --gx: 50%; --gy: 45%; }
.stage__glow {
  position: absolute; inset: -12% -18%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(38% 42% at var(--gx) var(--gy), rgba(var(--accent-rgb), .26), transparent 70%),
    radial-gradient(30% 34% at calc(var(--gx) + 18%) calc(var(--gy) - 14%), rgba(170, 200, 230, .16), transparent 70%);
  filter: blur(10px); transition: background-position .6s;
}
.stage__scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .9s var(--ease); }
.stage__app {
  position: absolute; left: 50%; top: 50%; width: 330px; transform: translate(-50%, -50%) translateZ(0);
  border-radius: 18px; overflow: hidden; cursor: zoom-in;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 90px -30px rgba(0, 0, 0, .95), 0 0 120px -30px rgba(var(--accent-rgb), .45);
}
.stage__app img { display: block; width: 100%; height: auto; }
.stage__app::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 32%, transparent 70%, rgba(255, 255, 255, .05)); pointer-events: none; }
.hud {
  position: absolute; z-index: 2; display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 10px; row-gap: 6px;
  min-width: 128px; padding: 12px 14px; border-radius: 14px;
  background: rgba(12, 15, 18, .72); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 40px -24px rgba(0, 0, 0, .9);
  animation: float 7s ease-in-out infinite;
}
.hud__k { font-size: .72rem; color: var(--text-dim); font-weight: 600; letter-spacing: .02em; }
.hud__v { justify-self: end; font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.hud--fps .hud__v { color: var(--accent); font-size: 1.7rem; }
.hud .meter, .hud .spark { grid-column: 1 / -1; }
.meter { display: block; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter > i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #1fb86a, var(--accent)); transform-origin: left; transform: scaleX(var(--v, .5)); transition: transform .8s var(--ease); }
.spark { width: 100%; height: 34px; overflow: visible; }
.spark path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), .55)); }
.hud--fps { left: 0; top: 14%; transform: translateZ(120px); min-width: 170px; }
.hud--cpu { right: 2%; top: 8%; transform: translateZ(80px); animation-delay: -2s; }
.hud--gpu { right: -2%; top: 42%; transform: translateZ(150px); animation-delay: -4s; }
.hud--ram { right: 8%; bottom: 10%; transform: translateZ(100px); animation-delay: -1s; }
.hud--lat { left: 4%; bottom: 16%; transform: translateZ(70px); animation-delay: -3s; }
@keyframes float { 50% { translate: 0 -8px; } }
.stage__tag { position: absolute; left: 0; right: 0; bottom: -6px; margin: 0; text-align: center; font-size: .78rem; color: var(--text-dim); }

@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
  .stage { height: 600px; }
  .stage__app { width: 350px; }
}
@media (max-width: 640px) {
  .hero { padding: 120px 0 64px; }
  .stage { height: 470px; --ry: -10deg; }
  .stage__app { width: 250px; }
  .hud { min-width: 0; padding: 9px 11px; border-radius: 12px; }
  .hud__v { font-size: 1.05rem; }
  .hud--fps { min-width: 132px; left: 2%; top: 6%; transform: translateZ(40px); }
  .hud--cpu, .hud--gpu, .hud--ram, .hud--lat { transform: translateZ(30px); }
  .hud--fps .hud__v { font-size: 1.35rem; }
  .hud--gpu { right: 1%; }
  .hud--lat { left: 2%; bottom: 14%; }
  .hud--ram { right: 2%; bottom: 6%; }
}
@media (prefers-reduced-motion: reduce) { .hero__in { opacity: 1; transform: none; filter: none; } }
