/* ==========================================================
   STEP 7: 3D depth tunnel (Why Prime Edge) + FAQ + warp CTA
   ========================================================== */

/* ---------------- WHY PRIME EDGE (3D tunnel) ---------------- */
.wu { position: relative; height: 640vh; background: var(--bg-900); }
.wu-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.wu-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 55% at 50% 50%, rgba(34, 197, 94, 0.16), transparent 70%),
    radial-gradient(ellipse 80% 40% at 50% 110%, rgba(17, 73, 42, 0.5), transparent 70%);
}
.wu-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.8; }
.wu-head {
  position: absolute;
  top: calc(var(--header-h) + 3vh);
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
.wu-h {
  margin-top: 10px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #fff;
}
.wu-scene {
  position: absolute;
  inset: 0;
  perspective: 900px;
  perspective-origin: 50% 50%;
}
.wu-card {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(520px, 86vw);
  margin: -150px 0 0 calc(min(520px, 86vw) / -2);
  padding: clamp(22px, 3vw, 36px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, #123022, #08140e 70%);
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  opacity: 0;
  will-change: transform, opacity;
}
.wu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 0% 0%, rgba(74, 222, 128, 0.22), transparent 55%);
  pointer-events: none;
}
.wu-no {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--green-400);
}
.wu-ico {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 16px 0 20px;
  border-radius: 16px;
  border: 1px solid rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.1);
  color: var(--green-400);
  box-shadow: 0 0 40px rgba(74, 222, 128, 0.25);
}
.wu-ico svg { width: 26px; height: 26px; }
.wu-card h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #fff;
}
.wu-card p { margin-top: 12px; color: var(--silver-300); font-size: 1rem; }
.wu-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6vh;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}
.wu-dots i { width: 28px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); transition: background 0.4s, width 0.4s var(--ease); }
.wu-dots i.on { width: 52px; background: var(--green-400); }

/* ---------------- FAQ ---------------- */
.faq { padding-block: clamp(80px, 12vw, 160px); background: var(--bg-900); }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 6vw, 90px); align-items: start; }
.faq-h {
  margin-top: 12px;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: #fff;
}
.faq-left p.lead { margin-top: 18px; }
.faq-left .btn { margin-top: 28px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  letter-spacing: -0.025em;
  color: var(--silver-300);
  transition: color 0.3s;
}
.faq-q:hover, .faq-item.open .faq-q { color: #fff; }
.faq-plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); transition: transform 0.4s var(--ease), background 0.3s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.faq-item.open .faq-plus { background: rgba(74, 222, 128, 0.14); color: var(--green-400); transform: rotate(180deg); }
.faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a p { padding: 0 44px 24px 4px; color: var(--silver-500); }

/* ---------------- FINALE (warp CTA) ---------------- */
.fin { position: relative; height: 380vh; background: #020604; }
.fin-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 24px;
}
.fin-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.fin-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(34, 197, 94, 0.28), transparent 55%);
  opacity: 0;
}
.fin-h {
  max-width: 14ch;
  font-size: clamp(2.8rem, 8.4vw, 7.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
  color: #fff;
  will-change: transform, opacity;
}
.fin-h .w { display: inline-block; }
.fin-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12vh;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-inline: 24px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.fin-sub { max-width: 46ch; color: var(--silver-300); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.fin .pill { width: min(100%, 480px); }
.fin-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

@media (max-width: 991px) {
  .wu-card { top: 56%; margin-top: -130px; }
  .wu-card p { font-size: 0.92rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .fin-body { bottom: 15vh; }
  .fin-body .pill { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .wu { height: auto; }
  .wu-stage { position: relative; height: auto; padding: calc(var(--header-h) + 100px) 24px 80px; }
  .wu-head { position: static; margin-bottom: 40px; }
  .wu-scene { position: static; display: grid; gap: 20px; justify-content: center; perspective: none; }
  .wu-card { position: relative; left: 0; top: 0; margin: 0; opacity: 1; transform: none !important; }
  .wu-dots, .wu-canvas { display: none; }
  .fin { height: auto; }
  .fin-stage { position: relative; height: auto; padding-block: 120px; }
  .fin-body { position: static; opacity: 1; pointer-events: auto; margin-top: 32px; }
}

.fin[data-slow] { height: 460vh; }
@media (prefers-reduced-motion: reduce) { .fin[data-slow] { height: auto; } }