/*
 * Sípszó Kosárlabda aloldal – a közös styles.css-re épül.
 * Mozgás: legyező telefonok, görgetésre összeomló "7 fül", ragadós telefonos túra (képcsere),
 * kirajzolódó ikonok, heti idővonal kitöltése. Csökkentett mozgásnál minden statikus.
 */


/* ---------------------------------------------------------------- telefon keret */

.device {
  position: relative;
  margin: 0;
  aspect-ratio: 590 / 1159;
  padding: 9px;
  border-radius: 44px;
  background: linear-gradient(150deg, #2e3547, #0a0d13 60%);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
}
.device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  background: #12161f;
}
.device::after {
  /* üveg csillanás */
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 36px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 35%);
  pointer-events: none;
}

/* ---------------------------------------------------------------- hero */

.k-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 96px;
}
@media (min-width: 1024px) {
  .k-hero {
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: center;
    padding: 56px 0 110px;
  }
}
.rings {
  position: absolute;
  right: -180px;
  top: -160px;
  width: 760px;
  height: 760px;
}
.rings span {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  animation: ring 6s var(--ease) infinite;
  opacity: 0;
}
.rings span:nth-child(2) { animation-delay: 1.5s; }
.rings span:nth-child(3) { animation-delay: 3s; }
.rings span:nth-child(4) { animation-delay: 4.5s; }
@keyframes ring {
  0% { transform: scale(0.3); opacity: 0; }
  20% { opacity: 0.9; }
  100% { transform: scale(1.15); opacity: 0; }
}
.k-hero .speed {
  opacity: 0.7;
}
.k-hero-grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .k-hero-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 32px;
  }
}
.k-title {
  margin-top: 22px;
  font-size: clamp(50px, 8.4vw, 100px);
  line-height: 0.88;
  font-weight: 900;
  font-stretch: 66%;
  font-style: italic;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.k-title .line {
  display: block;
}
.k-title .hl {
  position: relative;
  display: inline-block;
}
.k-title .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.1em;
  bottom: 0.02em;
  height: 0.09em;
  background: var(--accent);
  transform: skewX(-20deg) scaleX(0);
  transform-origin: left;
  animation: underline 0.7s 0.9s var(--ease) forwards;
}
.k-hero .lead {
  margin-top: 20px;
}
.k-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 34px 0 0;
}
.k-stats > div {
  padding: 12px 14px;
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 75%, transparent);
  border: 1px solid var(--line);
}
.k-stats dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 600;
  line-height: 1.1;
}
.k-stats dt .t-mono {
  font-weight: 600;
}
.k-stats dt svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--text-2);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.k-stats .unit {
  color: var(--accent);
}
.k-stats dd {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.3;
  color: var(--text-2);
}

/* ---- hero animáció: "minden infó egy helyen"
 * Ismétlődő jelenet: megszólal a síp (hanghullámok), a négy forrásból (szövetség, mkosz.hu, díjtáblázat,
 * jatekvezeto.hu) egy-egy infó-kártya ívelt pályán (offset-path) berepül a telefonba; érkezéskor a telefon
 * a hozzá tartozó valódi képernyőre vált, és értesítés ugrik fel. A színpad 560×640 px, a JS méretezi (--s).
 */

.flow {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
  aspect-ratio: 560 / 680;
}
.flow-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 560px;
  height: 680px;
  transform-origin: 0 0;
  transform: scale(var(--s, 1));
}
.flow-tilt {
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease-out;
  transform-style: preserve-3d;
}

/* pályák: szaggatott vonal, ami a telefon felé "folyik" */
.flow-lines {
  position: absolute;
  inset: 0;
  width: 560px;
  height: 680px;
  overflow: visible;
}
.flow-lines path {
  fill: none;
  stroke: var(--text-2);
  stroke-opacity: 0.55;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
  animation: flow-dash 1.2s linear infinite;
  transition: stroke 0.3s, stroke-width 0.3s;
}
.flow-lines path.hot {
  stroke: var(--accent);
  stroke-opacity: 1;
  stroke-width: 3;
  animation-duration: 0.4s;
}
@keyframes flow-dash {
  to { stroke-dashoffset: -24; }
}
/* lassan forgó pontozott "pálya" a telefon körül */
.flow-orbit {
  position: absolute;
  left: 280px;
  top: 365px;
  width: 470px;
  height: 470px;
  margin: -235px 0 0 -235px;
  border: 1.5px dashed var(--line);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.flow-orbit::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 11px;
  height: 11px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

/* források */
.src {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
  white-space: nowrap;
  transition: border-color 0.3s, box-shadow 0.3s;
  animation: src-in 0.6s var(--ease) both;
}
.src-b { animation-delay: 0.1s; }
.src-c { animation-delay: 0.2s; }
.src-d { animation-delay: 0.3s; }
@keyframes src-in {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}
.src i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--surface-2);
}
.src svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text-3);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.src span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.src b {
  font-size: 14px;
}
.src small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-2);
}
.src.emit {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft), 0 14px 30px -18px rgba(0, 0, 0, 0.6);
}
.src.emit i {
  background: var(--accent);
}
.src.emit svg {
  stroke: var(--on-accent);
}

/* síp: minden kör elején megszólal */
.hub {
  position: absolute;
  z-index: 3;
  left: 280px;
  top: 52px;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
}
.hub svg {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 10px 22px rgba(240, 96, 28, 0.45));
}
.hub span {
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: 20px;
  opacity: 0;
}
.hub.blow svg {
  animation: hub-blow 0.9s var(--ease);
}
.hub.blow span {
  animation: hub-wave 1.4s var(--ease) both;
}
.hub.blow span:nth-of-type(2) { animation-delay: 0.18s; }
.hub.blow span:nth-of-type(3) { animation-delay: 0.36s; }
@keyframes hub-blow {
  0%, 100% { transform: none; }
  20% { transform: scale(1.18) rotate(-10deg); }
  40% { transform: scale(0.96) rotate(6deg); }
  60% { transform: scale(1.08) rotate(-4deg); }
}
@keyframes hub-wave {
  0% { transform: scale(1); opacity: 0.8; border-radius: 20px; }
  100% { transform: scale(3.4); opacity: 0; border-radius: 50%; }
}

/* telefon */
.flow-phone {
  position: absolute;
  z-index: 2;
  left: 150px;
  top: 112px;
  width: 260px;
  padding: 7px;
  border-radius: 36px;
  animation: phone-in 0.9s 0.15s var(--ease) both, bob 6s 1.2s ease-in-out infinite;
}
.flow-phone img {
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  border-radius: 29px;
}
.flow-phone::after {
  inset: 7px;
  border-radius: 29px;
}
@keyframes phone-in {
  from { transform: translateY(60px) scale(0.92); opacity: 0; }
}
@keyframes bob {
  50% { transform: translateY(-10px); }
}
.flow-phone.hit {
  animation: phone-hit 0.5s var(--ease), bob 6s 1.2s ease-in-out infinite;
}
@keyframes phone-hit {
  0% { box-shadow: var(--shadow), 0 0 0 0 rgba(240, 96, 28, 0.7); }
  30% { transform: scale(1.035); }
  100% { box-shadow: var(--shadow), 0 0 0 26px rgba(240, 96, 28, 0); }
}

/* repülő infó-kártyák */
.chip {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 26px -10px rgba(240, 96, 28, 0.8);
  offset-rotate: 0deg;
  opacity: 0;
  pointer-events: none;
}
.chip .t-mono {
  font-weight: 600;
}

/* értesítés a telefon tetején */
.flow-toast {
  position: absolute;
  z-index: 5;
  left: 280px;
  top: 158px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 268px;
  margin-left: -134px;
  padding: 9px 12px 9px 9px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-16px) scale(0.94);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}
.flow-toast.show {
  opacity: 1;
  transform: none;
}
.flow-toast svg {
  width: 32px;
  height: 32px;
  flex: none;
}
.flow-toast > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 13px;
  line-height: 1.25;
}
.flow-toast small {
  font-size: 11.5px;
  color: var(--text-2);
}
.flow-toast em {
  margin-left: auto;
  align-self: flex-start;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-2);
}

.flow-note {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
}
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--accent);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue {
  60% { transform: translateY(12px); opacity: 0; }
  61% { transform: none; opacity: 0; }
}
@media (max-width: 1023px) {
  .scroll-cue {
    display: none;
  }
}

/* ---------------------------------------------------------------- 7 → 1 */

.collapse {
  position: relative;
  height: 260vh;
}
.collapse-sticky {
  position: sticky;
  top: var(--header-h);
  height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 48px;
}
.collapse-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.collapse-stage {
  position: relative;
  flex: 1;
  min-height: 300px;
}
.tab {
  --q: calc(1 - var(--p, 0));
  position: absolute;
  left: calc(50% + var(--x) * var(--q) * 1%);
  top: calc(50% + var(--y) * var(--q) * 1%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px 12px 4px 4px;
  background: var(--surface);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%) rotate(calc(var(--r) * var(--q) * 1deg)) scale(calc(0.25 + 0.75 * var(--q)));
  opacity: calc(var(--q) * 1.6);
  will-change: left, top, transform;
}
.tab::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-2);
}
.tab::after {
  content: "×";
  margin-left: 4px;
  color: var(--text-2);
  font-weight: 400;
}
.collapse-app {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(96px, 14vw, 150px);
  transform: translate(-50%, -50%) scale(calc(0.2 + 0.8 * var(--p, 0))) rotate(calc((1 - var(--p, 0)) * -40deg));
  opacity: calc(var(--p, 0) * 1.5 - 0.3);
  filter: drop-shadow(0 20px 40px rgba(240, 96, 28, 0.45));
}
.collapse-app svg {
  width: 100%;
  height: auto;
}
.collapse-count {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(54px, 9vw, 96px);
  font-weight: 600;
  line-height: 1;
}
.collapse-count small {
  font-size: 0.3em;
  color: var(--text-2);
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.collapse.done .collapse-count {
  color: var(--accent);
}
.collapse-list {
  display: none;
}
@media (max-width: 767px) {
  .collapse {
    height: 220vh;
  }
  .tab {
    left: calc(50% + var(--x) * 0.62 * var(--q) * 1%);
    max-width: 42vw;
    padding: 8px 10px;
    font-size: 12px;
    white-space: normal;
    line-height: 1.2;
  }
}

/* ---------------------------------------------------------------- miért */

.why {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .why {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 64px;
  }
}
.why .section-head {
  margin-bottom: 0;
}
.quote {
  position: relative;
  margin: 0;
  padding: 30px 28px 26px;
  border-radius: var(--r-2xl);
  background: var(--accent);
  color: var(--on-accent);
  transform: rotate(-1.5deg);
}
.q-mark {
  width: 44px;
  height: 44px;
  fill: var(--brand-tinta);
  opacity: 0.25;
}
.quote > p {
  margin-top: 10px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  font-weight: 800;
  font-stretch: 85%;
}
.quote footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}
.quote img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brand-tinta);
}
.quote footer span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.quote footer small {
  font-size: 13px;
  opacity: 0.75;
}

.verbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 64px;
}
@media (min-width: 900px) {
  .verbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.verb {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border-radius: var(--r-xl);
  background: var(--surface);
}
.verb h3 {
  margin-top: 10px;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 0.95;
  font-weight: 900;
  font-stretch: 66%;
  font-style: italic;
  text-transform: uppercase;
}
.verb p {
  color: var(--text-2);
  font-size: 14.5px;
}
.verb-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent-soft);
  overflow: hidden;
}
.verb-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* radar söprés */
.v-radar::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.v-radar i {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(240, 96, 28, 0.75));
  animation: spin 2.2s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
/* csengő rázkódik */
.v-bell svg {
  transform-origin: 50% 10%;
  animation: ring-bell 2.4s ease-in-out infinite;
}
@keyframes ring-bell {
  0%, 60%, 100% { transform: none; }
  65% { transform: rotate(16deg); }
  72% { transform: rotate(-14deg); }
  79% { transform: rotate(10deg); }
  86% { transform: rotate(-6deg); }
}
/* dokumentum kitöltődik */
.v-doc {
  align-content: center;
  gap: 5px;
}
.v-doc i {
  display: block;
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  transform-origin: left;
  animation: fill-line 2.4s var(--ease) infinite;
}
.v-doc i:nth-child(2) { width: 20px; animation-delay: 0.25s; }
.v-doc i:nth-child(3) { width: 14px; animation-delay: 0.5s; }
@keyframes fill-line {
  0% { transform: scaleX(0); }
  40%, 85% { transform: scaleX(1); }
  100% { transform: scaleX(1); opacity: 0; }
}
/* feltöltés nyíl */
.v-up svg path:first-child {
  animation: up 1.6s var(--ease) infinite;
}
@keyframes up {
  0% { transform: translateY(4px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(-4px); opacity: 0; }
}

/* ---------------------------------------------------------------- túra */

.tour {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .tour {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
  }
}
.tour-phone {
  display: none;
}
@media (min-width: 1024px) {
  .tour-phone {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100svh - var(--header-h) - 56px);
    align-self: start;
  }
  .tour-phone .device {
    height: 100%;
    max-height: 720px;
    width: auto;
  }
}
.device-lg {
  overflow: hidden;
}
.device-lg img {
  position: absolute;
  inset: 9px;
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  opacity: 0;
  transform: scale(1.04) translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.7s var(--ease);
}
.device-lg img.on {
  opacity: 1;
  transform: none;
}
.callout {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-24px) scale(0.92);
  transition: opacity 0.45s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.callout.on {
  opacity: 1;
  transform: none;
  transition-delay: 0.25s;
}
.c-0 { left: -8%; top: 18%; }
.c-1 { right: -6%; top: 52%; }
.c-2 { left: -10%; top: 40%; }
.c-3 { right: -8%; top: 22%; }
.callout svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--success);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tour-dots {
  display: flex;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.tour-dots li {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--line-strong);
  transition: width 0.4s var(--ease), background-color 0.3s;
}
.tour-dots li.on {
  width: 28px;
  background: var(--accent);
}

.tour-steps {
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.tour-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.tour-step.on {
  opacity: 1;
}
@media (min-width: 1024px) {
  .tour-steps {
    gap: 0;
  }
  .tour-step {
    min-height: 82svh;
    justify-content: center;
    padding: 40px 0;
  }
}
@media (max-width: 1023px) {
  .tour-step {
    opacity: 1;
  }
}
.tour-inline {
  width: min(280px, 72vw);
  margin: 0 auto 12px;
}
@media (min-width: 1024px) {
  .tour-inline {
    display: none;
  }
}
.tour-step h3 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 0.98;
  font-weight: 900;
  font-stretch: 68%;
  font-style: italic;
  text-transform: uppercase;
}
.tour-step > p:not(.t-label) {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 54ch;
}
.arrow-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.arrow-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15.5px;
  color: var(--text-3);
}
.arrow-list li::before {
  content: "›";
  position: absolute;
  left: 4px;
  top: -2px;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}

/* mini demók a lépésekben */
.q-demo {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  max-width: 420px;
  margin-top: 8px;
}
.q-demo span {
  padding: 10px 0;
  border-radius: var(--r-sm);
  background: var(--surface);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}
.tour-step.on .q-demo span {
  animation: cell-in 0.45s var(--ease) both;
}
.tour-step.on .q-demo span:nth-child(2) { animation-delay: 0.08s; }
.tour-step.on .q-demo span:nth-child(3) { animation-delay: 0.16s; }
.tour-step.on .q-demo span:nth-child(4) { animation-delay: 0.24s; }
.q-demo .hot {
  background: var(--accent);
  color: var(--on-accent);
}
.money-demo {
  max-width: 420px;
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
}
.money {
  margin-top: 4px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
}
.money-bar {
  height: 8px;
  margin-top: 12px;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
}
.money-bar i {
  display: block;
  height: 100%;
  width: 67%;
  border-radius: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.2s;
}
.tour-step.on .money-bar i,
.tour-step.seen .money-bar i {
  transform: scaleX(1);
}
.shotclock {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  margin-top: 8px;
  padding: 12px 22px 10px;
  border-radius: var(--r-md);
  background: #0a0d13;
  border: 2px solid #2a3142;
  box-shadow: inset 0 0 24px rgba(240, 96, 28, 0.15);
}
.sc-digits {
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-labda);
  text-shadow: 0 0 18px rgba(240, 96, 28, 0.7);
  min-width: 2ch;
  text-align: center;
}
.sc-digits.low {
  animation: blink 0.5s steps(2) infinite;
}
@keyframes blink {
  50% { opacity: 0.35; }
}
.sc-label {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a3aab8;
}

/* ---------------------------------------------------------------- 12 funkció */

.f12 {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}
@media (min-width: 1024px) {
  .f12 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.f {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.f:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.f-no {
  position: absolute;
  right: 16px;
  top: 14px;
  font-size: 12px;
  color: var(--text-2);
}
.f svg {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Az ikon vonalai kirajzolódnak, amikor a kártya beúszik. */
.js .f svg * {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease) calc(var(--d, 0s) + 0.25s);
}
.js .f.in svg * {
  stroke-dashoffset: 0;
}
.f h3 {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}
.f p {
  font-size: 14px;
  color: var(--text-2);
}

/* ---------------------------------------------------------------- újdonságok: képernyő-galéria */

.shots {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
  padding: 8px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))) 24px;
  scrollbar-width: none;
  outline: none;
}
.shots::-webkit-scrollbar {
  display: none;
}
.shot {
  flex: 0 0 min(300px, 78vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  scroll-snap-align: start;
}
.shot-img {
  position: relative;
  aspect-ratio: 780 / 1120;
  overflow: hidden;
  border-radius: 26px;
  border: 6px solid #0a0d13;
  background: #12161f;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
/* Alul elhalványul: a képernyő folytatódik, csak a lényeg látszik. */
.shot-img::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(transparent, #12161f);
  pointer-events: none;
}
.shot-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease);
}
.shot:hover .shot-img {
  transform: translateY(-6px) rotate(-1deg);
}
.shot:hover .shot-img img {
  transform: scale(1.03);
}
.shot figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.shot figcaption b {
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
  font-stretch: 72%;
  font-style: italic;
  text-transform: uppercase;
}
.shot figcaption span {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.shot-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.shot-btn {
  border: 1.5px solid var(--line-strong);
}
.shot-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.shot-progress {
  position: relative;
  flex: 1;
  height: 3px;
  margin-left: 8px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
}
.shot-progress i {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(var(--p, 0.2));
  transform-origin: left;
  transition: transform 0.2s ease-out;
}
.extras {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}
@media (min-width: 900px) {
  .extras {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .extras {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.extra {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--surface);
}
.extra > svg {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.extra > svg.extra-logo {
  padding: 0;
  background: none;
}
.extra h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}
.extra p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---------------------------------------------------------------- kiknek */

.who {
  display: grid;
  gap: 14px;
}
@media (min-width: 1024px) {
  .who {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}
.who-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  overflow: hidden;
  border-radius: var(--r-2xl);
  background: var(--surface);
}
.who-letter {
  position: absolute;
  right: -6px;
  top: -30px;
  font-size: 180px;
  line-height: 1;
  font-weight: 900;
  font-stretch: 62%;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 2px var(--line-strong);
  pointer-events: none;
}
.who-card h3 {
  position: relative;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  font-weight: 900;
  font-stretch: 68%;
  font-style: italic;
  text-transform: uppercase;
  max-width: 14ch;
}
.who-sub {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-3);
}
.who-card dl {
  margin: 10px 0 0;
}
.who-card dt {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.who-card dd {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--text-2);
}
.who-main {
  background: var(--accent);
  color: var(--on-accent);
}
.who-main .t-label,
.who-main .who-sub,
.who-main dd,
.who-main dt {
  color: var(--brand-tinta);
}
.who-main dd {
  opacity: 0.85;
}
.who-main .who-letter {
  -webkit-text-stroke-color: rgba(18, 22, 31, 0.25);
}

/* ---------------------------------------------------------------- egy hét */

.week {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.week::before,
.week::after {
  content: "";
  position: absolute;
  background: var(--line-strong);
}
.week::after {
  background: var(--accent);
}
@media (min-width: 900px) {
  .week {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 34px;
  }
  .week::before,
  .week::after {
    left: 0;
    right: 0;
    top: 8px;
    height: 3px;
    border-radius: 2px;
  }
  .week::after {
    transform: scaleX(var(--p, 0));
    transform-origin: left;
  }
}
@media (max-width: 899px) {
  .week {
    padding-left: 34px;
  }
  .week::before,
  .week::after {
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
  }
  .week::after {
    transform: scaleY(var(--p, 0));
    transform-origin: top;
  }
}
.wk {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border-radius: var(--r-xl);
  background: var(--surface);
  transition: transform 0.4s var(--ease), background-color 0.4s;
}
.wk-dot {
  position: absolute;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--bg-band);
  border: 3px solid var(--line-strong);
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
@media (min-width: 900px) {
  .wk-dot {
    left: 20px;
    top: -34px;
  }
}
@media (max-width: 899px) {
  .wk-dot {
    left: -34px;
    top: 22px;
  }
}
.wk.lit .wk-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.wk.lit {
  transform: translateY(-4px);
}
.wk-no {
  font-size: 13px;
  color: var(--accent);
}
.wk h3 {
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
  font-stretch: 70%;
  font-style: italic;
  text-transform: uppercase;
}
.wk p {
  font-size: 15px;
  color: var(--text-2);
}

/* ---------------------------------------------------------------- előnyök */

.pros {
  display: grid;
  gap: 12px;
  counter-reset: pro;
}
@media (min-width: 768px) {
  .pros {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .pros {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.pro {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface);
}
.pro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s var(--ease) calc(var(--d, 0s) + 0.2s);
}
.pro.in::before {
  transform: scaleY(1);
}
.pro-no {
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.pro h3 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}
.pro p {
  font-size: 15px;
  color: var(--text-2);
}

/* ---------------------------------------------------------------- használat */

.use {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .use {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 64px;
  }
}
.use .section-head {
  margin-bottom: 0;
}
.install {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.home-screen {
  display: grid;
  grid-template-columns: repeat(4, 54px);
  gap: 18px 16px;
  padding: 26px 22px;
  border-radius: 34px;
  background: linear-gradient(160deg, #1f3f8f, #12161f 75%);
  box-shadow: var(--shadow);
}
.home-screen > span {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
}
.home-screen .app-icon-in {
  position: relative;
  background: none;
  animation: install 4s var(--ease) infinite;
}
.app-icon-in svg {
  width: 54px;
  height: 54px;
}
.app-icon-in small {
  position: absolute;
  left: 50%;
  top: 58px;
  transform: translateX(-50%);
  font-size: 10px;
  color: #f2ebdd;
}
@keyframes install {
  0%, 12% { transform: scale(0); opacity: 0; }
  24% { transform: scale(1.18); opacity: 1; }
  30%, 100% { transform: scale(1); opacity: 1; }
}
.install-cap {
  font-size: 12px;
  color: var(--text-2);
}
.use-grid {
  display: grid;
  gap: 12px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .use-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.use-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
}
.use-card .t-label {
  color: var(--accent);
}
.use-card p:not(.t-label) {
  font-size: 15px;
  color: var(--text-3);
}

/* ---------------------------------------------------------------- záró */

.final-cta {
  justify-content: center;
  margin-top: 6px;
}
.btn-dark-outline {
  border: 2px solid var(--brand-tinta);
  background: transparent;
  color: var(--brand-tinta);
}
.btn-dark-outline:hover {
  background: rgba(18, 22, 31, 0.08);
  transform: translateY(-2px);
}
.page-kosar .final-title {
  font-size: clamp(56px, 12vw, 160px);
}

/* ---------------------------------------------------------------- csökkentett mozgás */

@media (prefers-reduced-motion: reduce) {
  .collapse {
    height: auto;
  }
  .collapse-sticky {
    position: static;
    height: auto;
    padding-bottom: 64px;
  }
  .collapse-stage {
    display: none;
  }
  .collapse-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 28px auto 0;
    padding: 0 var(--gutter);
    max-width: 1200px;
    width: 100%;
    list-style: none;
  }
  .collapse-list li {
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-weight: 600;
    text-decoration: line-through;
    color: var(--text-2);
  }
  .js .f svg * { stroke-dashoffset: 0; }
  .tour-step { opacity: 1; }
}

/* A készítő idézete: nagyobb arckép és hangsúlyos gomb a Rólam oldalra. */
.quote img {
  width: 64px;
  height: 64px;
}
.quote-cta {
  margin-top: 20px;
}
.quote-cta svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------------- bemutató videó */

.video-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .video-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 72px;
  }
}
.device-video {
  width: min(100%, 330px);
  margin: 0 auto;
  aspect-ratio: 408 / 862;
  rotate: 2deg;
}
.device-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
  background: #12161f;
}
.video-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 22, 31, 0.78);
  color: #f2ebdd;
  cursor: pointer;
}
.video-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}
.video-btn .i-play,
.video-btn.all .i-pause {
  display: none;
}
.video-btn.all .i-play {
  display: block;
}

/* ---------------------------------------------------------------- vélemények (velemenyek.js) */

.velemeny-racs {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.velemeny {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 26px 24px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border-top: 4px solid var(--accent);
}
.velemeny blockquote {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  font-stretch: 90%;
  line-height: 1.4;
}
.velemeny figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
}
.velemeny img,
.velemeny-mono {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.velemeny-mono {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}
.velemeny figcaption span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.velemeny small {
  color: var(--text-2);
  font-size: 13px;
}
