/* ==========================================================================
   ViVeSec – ÚJ NYITÓOLDAL (2026-09 redesign)
   Csak a nyitóoldalon töltődik be (HomeController → pageStyles).
   Mobile-first. Minden szelektor .hp / .ha előtagú, más oldalakat nem érint.

   Vizuális nyelv: „sovereign / private” – kontroll, zárt rendszer, tisztaság.
   Két állapotszín: --hp-danger (kontrollvesztés) és --hp-safe (kontrollált).
   Nincs hacker-klisé, nincs stock-grafika: tipográfia, whitespace, finom mozgás.
   ========================================================================== */

.hp {
  --hp-danger: #ff4d6a;
  --hp-danger-soft: rgba(255, 77, 106, .14);
  --hp-safe: #2fe3c8;
  --hp-safe-soft: rgba(47, 227, 200, .12);
  --hp-violet: #8b7bff;
  --hp-surface: rgba(255, 255, 255, .025);
  --hp-surface-2: rgba(255, 255, 255, .045);
  --hp-border: rgba(255, 255, 255, .09);
  --hp-border-2: rgba(255, 255, 255, .16);
  --hp-section-y: clamp(4.5rem, 10vw, 8.5rem);
  --hp-radius: 22px;
  --hp-ease: cubic-bezier(.2, .7, .2, 1);
  position: relative;
}

/* A globális main.css pszeudo-véletlen gradiens-címsorait itt kikapcsoljuk:
   a nyitóoldal tipográfiája tudatosan egyszínű, a hangsúlyt a méret adja. */
.hp .hp-s :is(h1, h2, h3, h4, .display):not(.hp-grad) {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--ink);
  text-shadow: none;
}

.hp-s {
  position: relative;
  padding: var(--hp-section-y) 0;
}
.hp-s + .hp-s::before {
  /* finom elválasztó vonal a „viewportok” között */
  content: "";
  position: absolute; top: 0; left: 50%;
  width: min(1100px, 88%); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--hp-border), transparent);
}

/* ---------- Tipográfia és közös elemek ---------- */
.hp-head { text-align: center; max-width: 900px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.hp-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  margin: 0 0 1.1rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--hp-safe);
}
.hp-h2 {
  font-size: clamp(2rem, 5.2vw, 3.7rem);
  line-height: 1.06; letter-spacing: -.025em;
  margin: 0 auto;
  max-width: 20ch;
  text-wrap: balance;
}
.hp-sub {
  margin: 1.3rem auto 0; max-width: 58ch;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--ink-dim);
  text-wrap: pretty;
}
.hp-statement {
  margin: 1.5rem 0 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(95deg, #fff 0%, #bfe9ff 45%, var(--hp-safe) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-head .hp-statement { margin-top: 1.4rem; }
.hp-fineprint {
  max-width: 72ch; margin: 2rem auto 0; text-align: center;
  font-size: .86rem; line-height: 1.6; color: var(--muted);
}
.hp-closing-line {
  margin: clamp(2.5rem, 6vw, 4rem) auto 0; max-width: 30ch; text-align: center;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 2rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}
.hp-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.hp-ico { width: 1.5rem; height: 1.5rem; flex: none; }
.hp-ico-sm { width: 1.05rem; height: 1.05rem; }
.hp-ico-xs { width: .95rem; height: .95rem; }

/* CTA-k: mobilon egymás alatt, teljes szélességben (brief 4.1) */
.hp-cta-row { display: flex; flex-direction: column; gap: .8rem; margin-top: 2rem; }
.hp-cta-row .btn { justify-content: center; width: 100%; }
.hp-cta-center { align-items: center; }
@media (min-width: 640px) {
  .hp-cta-row { flex-direction: row; flex-wrap: wrap; }
  .hp-cta-row .btn { width: auto; }
  .hp-cta-center { justify-content: center; }
}

.hp-link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: #cfe6ff; text-decoration: none;
  border-bottom: 1px solid rgba(207, 230, 255, .3);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s, gap .2s var(--hp-ease);
}
.hp-link:hover, .hp-link:focus-visible { color: #fff; border-color: var(--hp-safe); gap: .7rem; }
.hp-link-sm { font-size: .9rem; }

.hp :is(a, button, summary):focus-visible {
  outline: 2px solid var(--hp-safe); outline-offset: 3px; border-radius: 10px;
}

/* ==========================================================================
   4.1 HERO
   ========================================================================== */
.hp-hero {
  padding-top: clamp(2.5rem, 7vw, 5rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hp-hero::after {
  /* finom, „zárt rendszer” rácsminta – nem hacker-matrix, csak struktúra */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hp-hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hp-statement-lines span { display: block; }
.hp-hero-title {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  font-weight: 700; line-height: 1.04; letter-spacing: -.03em;
  text-wrap: balance;
}
.hp-hero-lead {
  margin: 1.4rem 0 0; max-width: 54ch;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.6; color: var(--ink-dim);
}
.hp-hero .hp-statement { font-size: clamp(1.02rem, 1.7vw, 1.3rem); }
@media (min-width: 960px) {
  .hp-hero-grid { grid-template-columns: 1.08fr .92fr; }
  .hp-hero { min-height: min(820px, calc(100svh - 110px)); display: flex; align-items: center; }
  .hp-hero > .container { width: 100%; }
}

/* ---------- Hero animáció (.ha) ---------- */
.ha {
  --ha-dur: 8s;
  position: relative; margin: 0;
  border: 1px solid var(--hp-border);
  border-radius: 28px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(124, 92, 255, .10), transparent 60%), rgba(9, 10, 30, .55);
  padding: clamp(.6rem, 2vw, 1rem);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.ha-svg { display: block; width: 100%; height: auto; }
.ha-svg text { font-family: 'Space Grotesk', 'Inter', sans-serif; }

.ha-perimeter { fill: rgba(255,255,255,.02); stroke: rgba(255,255,255,.22); stroke-width: 1.5; stroke-dasharray: 6 7; }
.ha-perimeter-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; fill: rgba(231,233,244,.55); }
.ha-cloud-shape { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.45); stroke-width: 1.5; }
.ha-cloud-label { font-size: 13px; fill: rgba(231,233,244,.8); letter-spacing: .04em; }
.ha-route { fill: none; stroke: #8b7bff; stroke-width: 2; stroke-dasharray: 4 8; stroke-linecap: round; }
.ha-data-shape { stroke: rgba(139,123,255,.8); stroke-width: 1.5; }
.ha-data-stack { fill: none; stroke: #cfe6ff; stroke-width: 1.8; }
.ha-data-label { font-size: 13px; font-weight: 700; letter-spacing: .14em; fill: #fff; }
.ha-packet { fill: #8b7bff; }
.ha-alert { fill: none; stroke: var(--hp-danger); stroke-width: 2; }
.ha-stop path { fill: var(--hp-danger); }
.ha-stop text { font-size: 13px; font-weight: 700; letter-spacing: .06em; fill: #fff; }
.ha-ai-shape { fill: #14163a; stroke: var(--hp-safe); stroke-width: 2; }
.ha-ai-label { font-size: 15px; font-weight: 700; fill: #fff; }
.ha-link { fill: none; stroke: var(--hp-safe); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 5; }
.ha-lock-bg { fill: #0b0c24; stroke: var(--hp-safe); stroke-width: 1.5; }
.ha-lock-shape { fill: none; stroke: var(--hp-safe); stroke-width: 1.8; }

/* Animált elemek: kiinduló állapot = az idővonal eleje */
.ha-bg-danger, .ha-bg-safe, .ha-packet, .ha-alert, .ha-stop, .ha-ai, .ha-link, .ha-lock { opacity: 0; }
.ha-stop, .ha-alert { transform-box: fill-box; transform-origin: center; }

.ha-bg-danger { animation: ha-bg-danger var(--ha-dur) linear infinite; }
.ha-bg-safe   { animation: ha-bg-safe   var(--ha-dur) linear infinite; }
.ha-perimeter { animation: ha-perimeter var(--ha-dur) linear infinite; }
.ha-route     { animation: ha-route     var(--ha-dur) linear infinite, ha-dash 1s linear infinite; }
.ha-packet    { animation: ha-packet    var(--ha-dur) var(--hp-ease) infinite; }
.ha-alert     { animation: ha-alert     var(--ha-dur) ease-out infinite; }
.ha-stop      { animation: ha-stop      var(--ha-dur) var(--hp-ease) infinite; }
.ha-cloud     { animation: ha-cloud     var(--ha-dur) linear infinite; }
.ha-ai        { animation: ha-ai        var(--ha-dur) var(--hp-ease) infinite; }
.ha-link      { animation: ha-link      var(--ha-dur) linear infinite, ha-dash .9s linear infinite; }
.ha-lock      { animation: ha-lock      var(--ha-dur) linear infinite; }
.ha-cap       { animation: var(--ha-dur) linear infinite; }
.ha-cap-1     { animation-name: ha-cap-1; }
.ha-cap-2     { animation-name: ha-cap-2; }
.ha-cap-3     { animation-name: ha-cap-3; }

@keyframes ha-dash { to { stroke-dashoffset: -24; } }
@keyframes ha-bg-danger { 0%, 26% { opacity: 0; } 32%, 42% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes ha-bg-safe   { 0%, 64% { opacity: 0; } 74%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ha-perimeter {
  0%, 26%  { stroke: rgba(255,255,255,.22); stroke-dasharray: 6 7; fill: rgba(255,255,255,.02); }
  32%, 42% { stroke: var(--hp-danger); stroke-dasharray: 6 7; fill: rgba(255,77,106,.04); }
  52%, 64% { stroke: rgba(255,255,255,.22); stroke-dasharray: 6 7; fill: rgba(255,255,255,.02); }
  72%, 92% { stroke: var(--hp-safe); stroke-dasharray: 1000 0; fill: rgba(47,227,200,.05); }
  100%     { stroke: rgba(255,255,255,.22); stroke-dasharray: 6 7; fill: rgba(255,255,255,.02); }
}
@keyframes ha-route {
  0%, 22%  { opacity: 1; stroke: #8b7bff; }
  28%, 44% { opacity: 1; stroke: var(--hp-danger); }
  54%, 100% { opacity: 0; stroke: var(--hp-danger); }
}
@keyframes ha-packet {
  0%   { opacity: 0; transform: translate(0, 0); fill: #8b7bff; }
  6%   { opacity: 1; transform: translate(0, 0); fill: #8b7bff; }
  24%  { fill: #8b7bff; }
  30%  { opacity: 1; transform: translate(92px, -58px); fill: var(--hp-danger); }
  38%  { opacity: 1; transform: translate(92px, -58px); fill: var(--hp-danger); }
  48%  { opacity: 0; transform: translate(0, 0); fill: var(--hp-danger); }
  100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes ha-alert {
  0%, 29%  { opacity: 0; transform: scale(.6); }
  31%      { opacity: 1; transform: scale(.8); }
  38%      { opacity: 0; transform: scale(2.2); }
  39%      { opacity: 0; transform: scale(.6); }
  40%      { opacity: 1; transform: scale(.8); }
  47%      { opacity: 0; transform: scale(2.2); }
  100%     { opacity: 0; }
}
@keyframes ha-stop {
  0%, 30%  { opacity: 0; transform: scale(.55); }
  34%      { opacity: 1; transform: scale(1.06); }
  37%, 46% { opacity: 1; transform: scale(1); }
  52%, 100% { opacity: 0; transform: scale(.9); }
}
@keyframes ha-cloud { 0%, 48% { opacity: 1; } 58%, 92% { opacity: .22; } 100% { opacity: 1; } }
@keyframes ha-ai {
  0%, 48%  { opacity: 0; transform: translate(0, 0); }
  52%      { opacity: 1; transform: translate(0, 0); }
  70%, 93% { opacity: 1; transform: translate(-184px, 66px); }
  98%, 100% { opacity: 0; transform: translate(-184px, 66px); }
}
@keyframes ha-link  { 0%, 70% { opacity: 0; } 75%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ha-lock  { 0%, 71% { opacity: 0; } 76%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes ha-cap-1 { 0%, 27% { opacity: 1; } 30%, 100% { opacity: 0; } }
@keyframes ha-cap-2 { 0%, 28% { opacity: 0; } 31%, 48% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes ha-cap-3 { 0%, 50% { opacity: 0; } 54%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }

.ha-captions {
  position: relative; display: grid; min-height: 1.6em;
  margin: .4rem .6rem .2rem; text-align: center;
  font-size: .9rem; color: var(--ink-dim);
}
.ha-cap { grid-area: 1 / 1; opacity: 0; }
.ha-cap-2 { color: #ffb3c0; }
.ha-cap-3 { color: var(--hp-safe); }

.ha-toggle {
  position: absolute; top: .8rem; right: .8rem;
  display: inline-grid; place-items: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1px solid var(--hp-border-2); background: rgba(7,7,26,.6); color: var(--ink-dim);
  cursor: pointer; transition: color .2s, border-color .2s;
}
.ha-toggle:hover { color: #fff; border-color: var(--hp-safe); }
.ha-toggle-play { display: none; }
.ha.is-paused .ha-toggle-play { display: block; }
.ha.is-paused .ha-toggle-pause { display: none; }
.ha.is-paused *, .ha.is-offscreen * { animation-play-state: paused !important; }

/* Csökkentett mozgás: a végállapot (kontrollált környezet) statikusan */
@media (prefers-reduced-motion: reduce) {
  .ha *, .ha-cap { animation: none !important; }
  .ha-toggle { display: none; }
  .ha-bg-safe, .ha-ai, .ha-link, .ha-lock, .ha-cap-3 { opacity: 1; }
  .ha-ai { transform: translate(-184px, 66px); }
  .ha-cloud { opacity: .22; }
  .ha-route, .ha-packet, .ha-stop, .ha-alert, .ha-bg-danger, .ha-cap-1, .ha-cap-2 { opacity: 0; }
  .ha-perimeter { stroke: var(--hp-safe); stroke-dasharray: none; fill: rgba(47,227,200,.05); }
}

/* ==========================================================================
   4.2 WHY – Tegnap / Ma
   ========================================================================== */
.hp-why-compare {
  --p: 1; /* JS nélkül: a „Ma” kérdés hangsúlyos (végállapot) */
  display: grid; gap: 1.5rem;
  max-width: 1100px; margin: 0 auto;
}
.hp-why-col {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--hp-radius);
  border: 1px solid var(--hp-border);
  background: var(--hp-surface);
  transition: opacity .3s linear, transform .3s linear, border-color .3s;
}
.hp-why-label {
  display: inline-block; margin-bottom: .9rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.hp-why-q {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.15rem); font-weight: 600; line-height: 1.2; letter-spacing: -.015em;
  text-wrap: balance;
}
.hp-why-yesterday { opacity: calc(1 - var(--p) * .4); } /* min. 60% – nagy címsor, WCAG 3:1 */
.hp-why-yesterday .hp-why-q { color: var(--ink-dim); }
.hp-why-today {
  opacity: calc(.4 + var(--p) * .6);
  border-color: color-mix(in srgb, var(--hp-safe) calc(var(--p) * 45%), var(--hp-border));
  background: linear-gradient(160deg, color-mix(in srgb, var(--hp-safe) calc(var(--p) * 8%), transparent), transparent 70%), var(--hp-surface);
}
.hp-why-today .hp-why-label { color: var(--hp-safe); }
.hp-why-divider { display: none; }
@media (min-width: 860px) {
  .hp-why-compare { grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .hp-why-divider { display: block; width: 1px; background: linear-gradient(180deg, transparent, var(--hp-border-2), transparent); }
}
.hp-why-text {
  max-width: 62ch; margin: clamp(2.5rem, 6vw, 3.5rem) auto 0; text-align: center;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.65; color: var(--ink-dim);
}
.hp-why-assets {
  list-style: none; padding: 0; margin: 1.6rem auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
  max-width: 820px;
}
.hp-why-assets li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .95rem; border-radius: 999px;
  border: 1px solid var(--hp-border); background: var(--hp-surface);
  font-size: .9rem; color: var(--ink);
}
.hp-why-assets .hp-ico { color: var(--hp-safe); }
.hp-why-closing {
  max-width: 28ch; margin: clamp(2.5rem, 6vw, 3.5rem) auto 0; text-align: center;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 600; line-height: 1.2; letter-spacing: -.015em;
  text-wrap: balance;
}

/* ==========================================================================
   4.3 HOW – két réteg
   ========================================================================== */
.hp-layers { display: grid; gap: 0; max-width: 1180px; margin: 0 auto; }
.hp-layer {
  display: grid; overflow: hidden;
  border: 1px solid var(--hp-border); border-radius: 26px;
  background: var(--hp-surface);
  transition: opacity .6s var(--hp-ease), filter .6s var(--hp-ease), border-color .6s, transform .6s var(--hp-ease), box-shadow .6s;
}
.hp-layer-media { aspect-ratio: 3 / 2; background: #050616; overflow: hidden; }
.hp-layer-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-layer-body { padding: clamp(1.4rem, 3.5vw, 2rem); }
.hp-layer-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hp-safe);
}
.hp-layer-name { margin: .6rem 0 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.hp-layer-verb {
  margin: .35rem 0 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: linear-gradient(95deg, #fff, var(--hp-safe)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-layer-text { margin: .9rem 0 1.3rem; color: var(--ink-dim); line-height: 1.6; }

/* Kontrollált, titkosított kapcsolat a két réteg között */
.hp-layer-link {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: .9rem 0;
}
.hp-layer-link-line {
  width: 2px; height: 34px;
  background: repeating-linear-gradient(180deg, var(--hp-safe) 0 5px, transparent 5px 11px);
  background-size: 2px 22px;
  animation: hp-flow-y 1.2s linear infinite;
  opacity: .8;
}
.hp-layer-link-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem; border-radius: 999px;
  border: 1px solid rgba(47,227,200,.4); background: rgba(47,227,200,.08);
  font-size: .78rem; font-weight: 600; color: var(--hp-safe); white-space: nowrap;
}
@keyframes hp-flow-y { to { background-position: 0 22px; } }
@keyframes hp-flow-x { to { background-position: 22px 0; } }

@media (min-width: 980px) {
  .hp-layers { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .hp-layer-link { flex-direction: row; padding: 0 .9rem; }
  .hp-layer-link-line {
    width: 34px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--hp-safe) 0 5px, transparent 5px 11px);
    background-size: 22px 2px;
    animation-name: hp-flow-x;
  }
  .hp-layer-link-badge { flex-direction: column; text-align: center; white-space: normal; max-width: 9.5rem; border-radius: 16px; padding: .7rem .8rem; }
}

/* Scroll-aktiválás: először a Box, majd az AI Box (home.js: .is-armed / .is-active) */
/* Aktiválás előtt csak a kép és a keret halványul – a szöveg olvasható marad (WCAG kontraszt) */
.hp-layers.is-armed .hp-layer:not(.is-active) { transform: translateY(18px); border-color: var(--hp-border); }
.hp-layers.is-armed .hp-layer:not(.is-active) .hp-layer-media { opacity: .3; filter: saturate(.2); }
.hp-layer-media { transition: opacity .6s var(--hp-ease), filter .6s var(--hp-ease); }
.hp-layers.is-armed .hp-layer.is-active { border-color: rgba(47,227,200,.35); box-shadow: 0 30px 70px -40px rgba(47,227,200,.35); }
.hp-layers.is-armed .hp-layer-link-line { opacity: .2; transition: opacity .6s; }
.hp-layers.is-armed.is-linked .hp-layer-link-line { opacity: .8; }

/* ==========================================================================
   4.4 A négy pillér
   ========================================================================== */
.hp-pillar-grid { display: grid; gap: 1rem; }
@media (min-width: 640px)  { .hp-pillar-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1100px) { .hp-pillar-grid { grid-template-columns: repeat(4, 1fr); } }
.hp-pillar {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  min-height: 19rem;
  border-radius: var(--hp-radius); border: 1px solid var(--hp-border);
  background: linear-gradient(180deg, var(--hp-surface-2), transparent 80%);
  transition: border-color .3s, transform .35s var(--hp-ease), background .3s;
}
.hp-pillar-icon {
  display: inline-grid; place-items: center;
  width: 3.2rem; height: 3.2rem; border-radius: 16px; margin-bottom: 1.6rem;
  color: var(--hp-safe); background: var(--hp-safe-soft); border: 1px solid rgba(47,227,200,.25);
}
.hp-pillar-icon .hp-ico { width: 1.6rem; height: 1.6rem; }
.hp-pillar-title {
  margin: 0 0 .7rem; font-size: 1.05rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.hp-pillar-text { margin: 0; color: var(--ink-dim); line-height: 1.6; }
.hp-pillar-toggle {
  margin-top: auto; padding: 1.2rem 0 0; align-self: flex-start;
  display: inline-flex; gap: .4rem; align-items: center;
  background: none; border: 0; color: #cfe6ff; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer;
}
.hp-pillar-toggle span { transition: transform .3s var(--hp-ease); display: inline-block; }
.hp-pillar-more {
  list-style: none; padding: 0; margin: 0;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .45s var(--hp-ease), opacity .3s, margin .3s;
}
.hp-pillar-more li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: var(--ink); line-height: 1.5; padding-top: .55rem; }
.hp-pillar-more .hp-ico { color: var(--hp-safe); margin-top: .2rem; }
.hp-pillar.is-open .hp-pillar-more { max-height: 14rem; opacity: 1; margin-top: .6rem; }
.hp-pillar.is-open .hp-pillar-toggle span { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
  .hp-pillar:hover { border-color: rgba(47,227,200,.35); transform: translateY(-4px); }
  .hp-pillar:hover .hp-pillar-more, .hp-pillar:focus-within .hp-pillar-more { max-height: 14rem; opacity: 1; margin-top: .6rem; }
  .hp-pillar:hover .hp-pillar-toggle span { transform: rotate(45deg); }
}

/* ==========================================================================
   4.5 BUSINESS CONTINUITY – folyamatábra
   ========================================================================== */
.hp-continuity .hp-statement { font-size: clamp(1.2rem, 2.4vw, 1.8rem); letter-spacing: .04em; }
.hp-flow {
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; gap: 0; max-width: 1100px; position: relative;
}
.hp-flow-step {
  --c: var(--hp-safe);
  position: relative; display: flex; align-items: center; gap: 1rem;
  padding: .85rem 0;
}
.hp-flow-step.is-threat { --c: var(--hp-danger); }
.hp-flow-dot {
  position: relative; z-index: 1; flex: none;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  border: 2px solid var(--c); background: #07071a;
  box-shadow: 0 0 0 0 var(--c);
  transition: background .4s, box-shadow .6s;
}
.hp-flow-label {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink);
}
.hp-flow-step:not(:last-child)::after {
  /* függőleges összekötő (mobil) */
  content: ""; position: absolute; left: calc(.625rem - 1px); top: calc(50% + .625rem); height: calc(100% - 1.25rem);
  width: 2px; background: var(--c); opacity: .35;
}
.hp-flow-step:nth-child(2)::after { background: linear-gradient(180deg, var(--hp-danger), var(--hp-safe)); }
@media (min-width: 860px) {
  .hp-flow { grid-template-columns: repeat(5, 1fr); }
  .hp-flow-step { flex-direction: column; text-align: center; gap: 1.1rem; padding: 0 .4rem; }
  .hp-flow-step:not(:last-child)::after {
    left: calc(50% + .625rem); top: .625rem; height: 2px; width: calc(100% - 1.25rem);
  }
  .hp-flow-step:nth-child(2)::after { background: linear-gradient(90deg, var(--hp-danger), var(--hp-safe)); }
  .hp-flow-label { font-size: 1rem; }
}
/* Animáció: a lépések sorban „kigyulladnak” (home.js: .is-played) */
.hp-flow.is-armed .hp-flow-step { opacity: .55; transition: opacity .5s calc(var(--i) * .45s); }
.hp-flow.is-armed .hp-flow-step::after { transform-origin: left top; transform: scale(0); transition: transform .5s calc(var(--i) * .45s + .2s) var(--hp-ease); }
.hp-flow.is-played .hp-flow-step { opacity: 1; }
.hp-flow.is-played .hp-flow-step::after { transform: scale(1); opacity: .6; }
.hp-flow.is-played .hp-flow-dot { background: var(--c); box-shadow: 0 0 22px -2px var(--c); transition-delay: calc(var(--i) * .45s); }

.hp-details {
  max-width: 760px; margin: clamp(2.5rem, 6vw, 3.5rem) auto 0;
  border: 1px solid var(--hp-border); border-radius: 18px; background: var(--hp-surface);
}
.hp-details summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.4rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 600;
}
.hp-details summary::-webkit-details-marker { display: none; }
.hp-details summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--hp-safe); transition: transform .3s; }
.hp-details[open] summary::after { transform: rotate(45deg); }
.hp-details ul { list-style: none; margin: 0; padding: 0 1.4rem 1.3rem; display: grid; gap: .7rem; }
.hp-details li { display: flex; gap: .6rem; color: var(--ink-dim); line-height: 1.55; }
.hp-details .hp-ico { color: var(--hp-safe); margin-top: .25rem; }

/* ==========================================================================
   4.6 PRIVATE AI – sötét, látványos szekció
   ========================================================================== */
.hp-ai {
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(124, 92, 255, .20), transparent 70%),
    radial-gradient(40% 35% at 50% 50%, rgba(47, 227, 200, .08), transparent 70%),
    #05051a;
  overflow: hidden;
}
.hp-ai-stage { position: relative; max-width: 1100px; margin: 0 auto; }
.hp-ai-hub { position: relative; display: grid; place-items: center; width: 11rem; height: 11rem; margin: 0 auto; }
.hp-ai-hub-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(139, 123, 255, .45);
  box-shadow: 0 0 60px -10px rgba(124, 92, 255, .6), inset 0 0 40px -10px rgba(47, 227, 200, .35);
  animation: hp-pulse 4s ease-in-out infinite;
}
.hp-ai-hub-ring::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px dashed rgba(47, 227, 200, .3);
  animation: hp-spin 40s linear infinite;
}
.hp-ai-hub-core {
  position: relative; display: grid; place-items: center; gap: .3rem;
  width: 7.2rem; height: 7.2rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a2466, #0c0d2a 70%);
  color: var(--hp-safe); text-align: center;
}
.hp-ai-hub-core .hp-ico { width: 1.9rem; height: 1.9rem; }
.hp-ai-hub-core strong { color: #fff; font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 1.02rem; letter-spacing: .02em; }
.hp-ai-hub-note { text-align: center; margin: 1rem auto 2rem; color: var(--ink-dim); font-size: .92rem; }
@keyframes hp-pulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes hp-spin { to { transform: rotate(360deg); } }

.hp-agents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.hp-agent { position: relative; }
.hp-agent-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  padding: .9rem 1rem; border-radius: 16px;
  border: 1px solid var(--hp-border-2); background: rgba(20, 22, 56, .75);
  color: var(--ink); font: inherit; font-weight: 600; font-size: .95rem; text-align: left; cursor: pointer;
  transition: border-color .25s, background .25s, transform .25s var(--hp-ease);
}
.hp-agent-plus { color: var(--hp-safe); transition: transform .3s var(--hp-ease); }
.hp-agent-detail {
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .4s var(--hp-ease), opacity .25s;
}
.hp-agent-detail p { margin: .55rem .2rem 0; font-size: .88rem; line-height: 1.5; color: var(--ink-dim); }
.hp-agent-k {
  display: block; margin-bottom: .1rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--hp-safe);
}
.hp-agent.is-open .hp-agent-btn { border-color: rgba(47,227,200,.55); background: rgba(47,227,200,.08); }
.hp-agent.is-open .hp-agent-plus { transform: rotate(45deg); }
.hp-agent.is-open .hp-agent-detail { max-height: 16rem; opacity: 1; }
@media (max-width: 639px) {
  .hp-agent.is-open { grid-column: 1 / -1; }
}

/* Desktop: az agentek körben a ViVeSec AI körül */
@media (min-width: 1024px) {
  .hp-ai-stage { height: 620px; }
  .hp-ai-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 13rem; height: 13rem; }
  .hp-ai-hub-note { position: absolute; left: 50%; top: calc(50% + 7.8rem); transform: translateX(-50%); margin: 0; width: 22rem; }
  .hp-agents { display: block; position: absolute; inset: 0; }
  .hp-agent {
    --a: calc(var(--i) * 45deg - 90deg);
    position: absolute; left: 50%; top: 50%; width: 12.5rem;
    transform: translate(-50%, -50%) rotate(var(--a)) translateX(265px) rotate(calc(var(--a) * -1));
  }
  .hp-agent::before {
    /* halvány „kapcsolat” vonal a hub felé */
    content: ""; position: absolute; left: 50%; top: 50%; width: 1px; height: 1px;
  }
  .hp-agent-btn { justify-content: center; text-align: center; }
  .hp-agent-plus { display: none; }
  .hp-agent-detail {
    position: absolute; left: 50%; top: calc(100% + .5rem); z-index: 5;
    width: 15.5rem; transform: translate(-50%, 6px);
    padding: 0 1rem; border-radius: 16px;
    background: #0e1033; border: 1px solid rgba(47,227,200,.35);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
    pointer-events: none;
    transition: opacity .25s, transform .3s var(--hp-ease), max-height .3s;
  }
  .hp-agent-detail p:last-child { margin-bottom: .9rem; }
  .hp-agent:nth-child(n+4):nth-child(-n+6) .hp-agent-detail { top: auto; bottom: calc(100% + .5rem); }
  .hp-agent:is(:hover, :focus-within, .is-open) { z-index: 6; }
  .hp-agent:is(:hover, :focus-within, .is-open) .hp-agent-btn { border-color: rgba(47,227,200,.55); background: rgba(47,227,200,.1); transform: translateY(-2px); }
  .hp-agent:is(:hover, :focus-within, .is-open) .hp-agent-detail { max-height: 16rem; opacity: 1; transform: translate(-50%, 0); }
}

.hp-ai-actions, .hp-ai-metrics { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.hp-ai-actions { margin: clamp(2.5rem, 6vw, 3.5rem) auto 0; gap: .35rem 1.1rem; max-width: 900px; }
.hp-ai-actions li {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1rem, 1.9vw, 1.35rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #fff;
}
.hp-ai-metrics { margin: 1.4rem auto 0; gap: .6rem; }
.hp-ai-metrics li {
  padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid rgba(47,227,200,.35); color: var(--hp-safe);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

/* ==========================================================================
   4.7 Use-case választó
   ========================================================================== */
.hp-sel { max-width: 1100px; margin: 0 auto; }
.hp-sel-options { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
@media (min-width: 640px)  { .hp-sel-options { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hp-sel-options { grid-template-columns: repeat(4, 1fr); } }
.hp-sel-option {
  height: 100%;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem;
  padding: 1.2rem 1.2rem; border-radius: 20px;
  border: 1px solid var(--hp-border-2); background: var(--hp-surface);
  color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35;
  transition: border-color .25s, background .25s, transform .25s var(--hp-ease), box-shadow .25s;
}
@media (min-width: 1024px) {
  .hp-sel-option { grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; align-items: start; min-height: 11rem; padding: 1.5rem; }
  .hp-sel-icon { grid-column: 1 / -1; }
  .hp-sel-label { align-self: end; font-size: 1.05rem; }
  .hp-sel-arrow { align-self: end; }
}
.hp-sel-icon {
  display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 14px;
  color: var(--hp-safe); background: var(--hp-safe-soft);
}
.hp-sel-arrow { color: var(--muted); transition: transform .25s var(--hp-ease), color .25s; }
.hp-sel-option:hover { border-color: rgba(47,227,200,.45); transform: translateY(-3px); }
.hp-sel-option:hover .hp-sel-arrow { color: var(--hp-safe); transform: translateX(3px); }
.hp-sel-option[aria-expanded="true"] {
  border-color: var(--hp-safe); background: rgba(47,227,200,.07);
  box-shadow: 0 20px 50px -30px rgba(47,227,200,.6);
}
.hp-sel-option[aria-expanded="true"] .hp-sel-arrow { color: var(--hp-safe); transform: rotate(90deg); }
.hp-sel.has-choice .hp-sel-option:not([aria-expanded="true"]) { opacity: .6; }
.hp-sel.has-choice .hp-sel-option:not([aria-expanded="true"]):hover { opacity: 1; }

.hp-sel-panel {
  margin-top: 1.2rem; padding: clamp(1.4rem, 4vw, 2.2rem);
  border-radius: 24px; border: 1px solid rgba(47,227,200,.3);
  background: linear-gradient(160deg, rgba(47,227,200,.06), transparent 60%), var(--hp-surface);
  animation: hp-rise .45s var(--hp-ease);
}
@keyframes hp-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hp-sel-back { background: none; border: 0; padding: 0; color: var(--ink-dim); font: inherit; font-size: .88rem; cursor: pointer; }
.hp-sel-back:hover { color: #fff; }
.hp-sel-q { margin: .9rem 0 1rem; font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 600; }
.hp-sel-q small { display: block; margin-top: .25rem; font-family: 'Inter', sans-serif; font-size: .82rem; font-weight: 400; color: var(--muted); }
.hp-sel-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.hp-chip {
  padding: .6rem 1.05rem; border-radius: 999px;
  border: 1px solid var(--hp-border-2); background: rgba(255,255,255,.03);
  color: var(--ink); font: inherit; font-size: .92rem; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.hp-chip:hover { border-color: rgba(47,227,200,.5); }
.hp-chip[aria-pressed="true"] { border-color: var(--hp-safe); background: rgba(47,227,200,.14); color: #fff; }
.hp-chip[aria-pressed="true"]::before { content: "✓ "; color: var(--hp-safe); }
.hp-sel-result { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--hp-border); }
.hp-sel-result > p { margin: 0; max-width: 62ch; color: var(--ink); line-height: 1.6; font-size: 1.02rem; }
.hp-sel-result .hp-cta-row { margin-top: 1.3rem; }

/* ==========================================================================
   4.8 PROOF – minimalista bizonyíték-kártyák
   ========================================================================== */
.hp-proof-grid { display: grid; gap: 1rem; }
@media (min-width: 640px)  { .hp-proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hp-proof-grid { grid-template-columns: repeat(4, 1fr); } }
.hp-proof-card {
  display: flex; flex-direction: column; gap: .8rem;
  padding: 1.6rem; border-radius: 18px;
  border: 1px solid var(--hp-border); background: transparent;
  transition: border-color .25s;
}
.hp-proof-card:hover { border-color: var(--hp-border-2); }
.hp-proof-icon { color: #cfe6ff; }
.hp-proof-card h3 { margin: 0; font-size: 1.1rem; letter-spacing: .02em; }
.hp-proof-claim { margin: 0; color: var(--ink); line-height: 1.55; }
.hp-proof-scope {
  margin: 0 0 .4rem; padding: .75rem .85rem; border-radius: 12px;
  background: rgba(255,255,255,.03); border: 1px dashed var(--hp-border-2);
  font-size: .84rem; line-height: 1.5; color: var(--ink-dim);
}
.hp-proof-scope span {
  display: block; margin-bottom: .2rem;
  font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.hp-proof-card .hp-link { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   4.9 Compliance – címkék + kontroll-térkép (nem „certified” badge)
   ========================================================================== */
.hp-comp-map { max-width: 980px; margin: 0 auto; text-align: center; }
.hp-comp-frameworks {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem clamp(1.2rem, 4vw, 3rem);
}
.hp-comp-frameworks li {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -.01em;
  color: #fff;
}
.hp-comp-frameworks li + li::before { content: "·"; margin-right: clamp(1.2rem, 4vw, 3rem); color: var(--muted); }
.hp-comp-bridge {
  width: 2px; height: 42px; margin: 1.2rem auto;
  background: linear-gradient(180deg, var(--hp-border-2), var(--hp-safe));
}
.hp-comp-controls-title {
  margin: 0 0 1.1rem; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.hp-comp-controls {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: .7rem;
}
@media (min-width: 560px) { .hp-comp-controls { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .hp-comp-controls { grid-template-columns: repeat(3, 1fr); } }
.hp-comp-controls li {
  display: flex; align-items: center; gap: .6rem; justify-content: flex-start;
  padding: .9rem 1.1rem; border-radius: 14px;
  border: 1px solid var(--hp-border); background: var(--hp-surface); text-align: left;
}
.hp-comp-controls .hp-ico { color: var(--hp-safe); }

/* ==========================================================================
   4.10 Iparágak – intézményi, „szuverén” vizuális nyelv
   ========================================================================== */
.hp-sectors {
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(180deg, #080920, #0b0c26);
}
.hp-sector-list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1000px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  border: 1px solid var(--hp-border); border-radius: 20px; overflow: hidden;
  background: var(--hp-border);
}
@media (min-width: 860px) { .hp-sector-list { grid-template-columns: repeat(4, 1fr); } }
.hp-sector-list li {
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  padding: clamp(1.4rem, 3.5vw, 2.2rem) 1rem; background: #0a0b22; text-align: center;
  font-weight: 600;
}
.hp-sector-list .hp-ico { width: 2rem; height: 2rem; color: #cfe6ff; }
.hp-sector-msgs {
  list-style: none; padding: 0; margin: clamp(2.2rem, 5vw, 3rem) auto 0; max-width: 1000px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.8rem;
}
.hp-sector-msgs li {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 600; color: var(--ink);
}
/* minden elemnek saját jelölője van, így tördeléskor sem lóg elválasztó a sor elején */
.hp-sector-msgs li::before {
  content: ""; width: .45rem; height: .45rem; flex: none;
  border-radius: 2px; background: var(--hp-safe); transform: rotate(45deg);
}
.hp-sector-meta { display: flex; flex-direction: column; align-items: center; gap: .8rem; margin-top: 2rem; }
.hp-origin {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0;
  padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--hp-border-2);
  font-size: .9rem; color: var(--ink);
}
.hp-origin .hp-ico { color: var(--hp-safe); }
.hp-vex { margin: 0; max-width: 60ch; text-align: center; color: var(--ink-dim); font-size: .92rem; }
.hp-vex span { display: block; margin-bottom: .2rem; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   4.11 Social proof – nagy számok, kevés szöveg
   ========================================================================== */
.hp-stats { margin: 0 auto; max-width: 900px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hp-stat { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; gap: .3rem; }
.hp-stat dd {
  margin: 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -.03em;
  background: linear-gradient(180deg, #fff 30%, #9fb4ff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-stat dt { font-size: clamp(.78rem, 1.6vw, .95rem); color: var(--ink-dim); }
.hp-awards {
  list-style: none; margin: clamp(2.5rem, 6vw, 3.5rem) auto 0; padding: 0; max-width: 900px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem clamp(1.5rem, 5vw, 3.5rem);
}
.hp-awards a { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-decoration: none; color: var(--muted); font-size: .8rem; width: 8.5rem; text-align: center; }
.hp-awards img { width: auto; height: 5rem; object-fit: contain; filter: grayscale(1) brightness(1.3); opacity: .7; transition: filter .3s, opacity .3s; }
.hp-awards a:hover img, .hp-awards a:focus-visible img { filter: none; opacity: 1; }
.hp-awards a:hover { color: var(--ink); }
/* Referencia-idézetek és logósáv – csak jóváhagyott tartalommal jelennek meg */
.hp-quotes { margin: clamp(2.5rem, 6vw, 3.5rem) auto 0; max-width: 1100px; display: grid; gap: 1rem; }
@media (min-width: 900px) { .hp-quotes { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); } }
.hp-quote { margin: 0; padding: 1.5rem; border-radius: 18px; border: 1px solid var(--hp-border); background: var(--hp-surface); }
.hp-quote p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.hp-quote p::before { content: "„"; color: var(--hp-safe); }
.hp-quote p::after { content: "”"; color: var(--hp-safe); }
.hp-quote footer { margin-top: .9rem; font-size: .85rem; color: var(--muted); }
.hp-logos { list-style: none; margin: 2.5rem auto 0; padding: 0; max-width: 1000px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2.5rem; }
.hp-logos img { height: 2.2rem; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1) brightness(1.4); opacity: .75; }
.hp-logos span { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink-dim); }

/* ==========================================================================
   4.12 Partnerprogram – a végfelhasználói történettől elkülönülő sáv
   ========================================================================== */
.hp-partner-band {
  position: relative; overflow: hidden;
  display: grid; gap: 2rem;
  padding: clamp(1.8rem, 5vw, 3.5rem);
  border-radius: 30px;
  border: 1px solid rgba(139, 123, 255, .35);
  background: linear-gradient(135deg, #16144a 0%, #0f1236 55%, #0b1a33 100%);
}
.hp-partner-band::after {
  /* partneri dashboard/portal részlet – absztrakt, finom háttérelem */
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 360px; height: 220px;
  border-radius: 18px; border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(139,123,255,.35) 0 38%, transparent 38%) 24px 40px / 70% 10px no-repeat,
    linear-gradient(90deg, rgba(47,227,200,.3) 0 62%, transparent 62%) 24px 64px / 70% 10px no-repeat,
    linear-gradient(90deg, rgba(255,255,255,.14) 0 48%, transparent 48%) 24px 88px / 70% 10px no-repeat,
    linear-gradient(0deg, rgba(47,227,200,.28) 0 40%, transparent 40%) 24px 120px / 18px 70px no-repeat,
    linear-gradient(0deg, rgba(139,123,255,.35) 0 70%, transparent 70%) 52px 120px / 18px 70px no-repeat,
    linear-gradient(0deg, rgba(47,227,200,.28) 0 55%, transparent 55%) 80px 120px / 18px 70px no-repeat,
    linear-gradient(0deg, rgba(139,123,255,.35) 0 90%, transparent 90%) 108px 120px / 18px 70px no-repeat,
    rgba(255,255,255,.02);
  opacity: .5; pointer-events: none;
  transform: rotate(-6deg);
}
.hp-partner-copy, .hp-partner-lists { position: relative; z-index: 1; }
.hp-partner-copy .hp-kicker { color: #b9b0ff; }
.hp-partner-copy .hp-h2 { max-width: 16ch; margin: 0 0 1.8rem; font-size: clamp(1.8rem, 4vw, 2.9rem); }
.hp-partner-lists { display: grid; gap: 1.6rem; }
.hp-partner-lists h3 { margin: 0 0 .8rem; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hp-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hp-tags li { padding: .45rem .9rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.hp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.hp-list li { display: flex; gap: .55rem; align-items: center; color: var(--ink); }
.hp-list .hp-ico { color: var(--hp-safe); }
@media (min-width: 960px) {
  .hp-partner-band { grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
}

/* ==========================================================================
   4.13 Végső CTA – tiszta, nagy whitespace
   ========================================================================== */
.hp-final { padding-top: calc(var(--hp-section-y) * 1.1); padding-bottom: calc(var(--hp-section-y) * 1.2); }
.hp-final-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.hp-final-title { max-width: 22ch; }
.hp-final-text { margin: 1.5rem auto 0; max-width: 46ch; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--ink-dim); }
.hp-final .hp-cta-row { margin-top: 2.4rem; }
.hp-final .btn-primary { box-shadow: 0 18px 50px -14px rgba(124, 92, 255, .8); }
.hp-trust { list-style: none; margin: 1.8rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem; }
.hp-trust li { display: inline-flex; align-items: center; gap: .45rem; color: var(--ink-dim); font-size: .92rem; }
.hp-trust .hp-ico { color: var(--hp-safe); }
.hp-signature {
  margin: clamp(3rem, 7vw, 4.5rem) 0 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}

/* ==========================================================================
   Csökkentett mozgás – minden átmenet és folyamatos animáció ki
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hp *, .hp *::before, .hp *::after { animation: none !important; transition: none !important; }
  .hp-layers.is-armed .hp-layer:not(.is-active) { transform: none; }
  .hp-layers.is-armed .hp-layer:not(.is-active) .hp-layer-media, .hp-layers.is-armed .hp-layer-link-line { opacity: 1; filter: none; }
  .hp-flow.is-armed .hp-flow-step { opacity: 1; }
  .hp-flow.is-armed .hp-flow-step::after { transform: none; }
}

/* Horgonyos ugrásnál (pl. nav „Iparágak” → #sectors) a sticky fejléc ne takarja a címet */
.hp-s { scroll-margin-top: 88px; }

/* ---------- Böngészőmátrix-teszt finomításai ---------- */
/* Legkeskenyebb telefonok: a kicker ne hagyjon árva szót (pl. „AI”) */
@media (max-width: 359px) {
  .hp-kicker { letter-spacing: .1em; font-size: .7rem; }
}
/* Nagy monitorok: szélesebb konténer és nagyobb hero-tipográfia, hogy a
   nyitóoldal ne egy keskeny sávban „ússzon” 1920–2560 px-en. */
@media (min-width: 1600px) {
  .page-home .container { max-width: 1360px; }
  .hp-hero-title { font-size: 4rem; }
  .hp-hero-lead { font-size: 1.25rem; }
  .hp-h2 { font-size: 4rem; }
}
@media (min-width: 2200px) {
  .page-home .container { max-width: 1520px; }
  .hp-hero-title { font-size: 4.6rem; }
  .hp-h2 { font-size: 4.4rem; }
  .hp-sub, .hp-why-text { font-size: 1.3rem; }
}

/* ==========================================================================
   ALOLDALAK – Biztonság és bizonyítékok (/security), Iparágak (/industries)
   Ugyanaz a vizuális nyelv és ikonográfia, mint a nyitóoldalon (brief 4.4, 6.).
   ========================================================================== */
.hp-page-hero { padding-top: clamp(2rem, 6vw, 4rem); overflow: hidden; isolation: isolate; }
.hp-page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hp-crumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; font-size: .85rem; color: var(--muted); }
.hp-crumbs a { color: var(--ink-dim); text-decoration: none; }
.hp-crumbs a:hover { color: #fff; text-decoration: underline; }
.hp-page-title {
  margin: 0; max-width: 18ch;
  font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 700; line-height: 1.04; letter-spacing: -.03em;
  text-wrap: balance;
}
.hp-page-lead {
  margin: 1.4rem 0 0; max-width: 60ch;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-dim);
}

/* CLAIM → EVIDENCE → SCOPE */
.hp-method { margin-top: clamp(2.5rem, 6vw, 4rem); }
.hp-method-title { margin: 0 0 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hp-method-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
@media (min-width: 860px) { .hp-method-steps { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.hp-method-step {
  position: relative; display: grid; gap: .35rem; align-content: start;
  padding: 1.3rem 1.4rem 1.3rem 4rem; border-radius: 18px;
  border: 1px solid var(--hp-border); background: var(--hp-surface);
}
.hp-method-step strong { font-family: 'Space Grotesk', 'Inter', sans-serif; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; }
.hp-method-step span:last-child { color: var(--ink-dim); line-height: 1.5; font-size: .95rem; }
.hp-method-num {
  position: absolute; left: 1.2rem; top: 1.25rem;
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  border: 1px solid rgba(47,227,200,.45); color: var(--hp-safe); font-weight: 700; font-size: .9rem;
}
@media (min-width: 860px) {
  .hp-method-step:not(:last-child)::after {
    content: "→"; position: absolute; right: -.7rem; top: 50%; transform: translate(50%, -50%);
    color: var(--hp-safe); font-weight: 700; z-index: 1;
  }
}

.hp-claim-list { display: grid; gap: 1.2rem; max-width: 1100px; margin: 0 auto; }
@media (min-width: 900px) { .hp-claim-list { grid-template-columns: repeat(2, 1fr); } }
.hp-claim {
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: clamp(1.4rem, 3.5vw, 2rem); border-radius: var(--hp-radius);
  border: 1px solid var(--hp-border); background: linear-gradient(180deg, var(--hp-surface-2), transparent 85%);
  scroll-margin-top: 110px;
}
.hp-claim:target { border-color: rgba(47,227,200,.55); box-shadow: 0 24px 60px -36px rgba(47,227,200,.6); }
.hp-claim-head { display: flex; align-items: center; gap: .8rem; }
.hp-claim-head h3 { margin: 0; font-size: 1.3rem; }
.hp-claim-rows { margin: 0; display: grid; gap: .6rem; }
.hp-claim-row { padding: .8rem .95rem; border-radius: 12px; border: 1px solid var(--hp-border); }
.hp-claim-row dt { margin-bottom: .25rem; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hp-claim-row dd { margin: 0; line-height: 1.55; color: var(--ink); font-size: .95rem; }
.hp-claim-row.is-claim { background: rgba(255,255,255,.03); }
.hp-claim-row.is-claim dd { font-weight: 600; }
.hp-claim-row.is-evidence dt { color: #cfe6ff; }
.hp-claim-row.is-scope { border-style: dashed; border-color: rgba(47,227,200,.35); background: rgba(47,227,200,.04); }
.hp-claim-row.is-scope dt { color: var(--hp-safe); }
.hp-claim .hp-link { margin-top: auto; align-self: flex-start; }

.hp-separate-grid { display: grid; gap: 1rem; max-width: 1100px; margin: 0 auto; }
@media (min-width: 860px) { .hp-separate-grid { grid-template-columns: repeat(3, 1fr); } }
.hp-separate-card {
  display: flex; flex-direction: column; gap: .7rem;
  padding: 1.5rem; border-radius: 18px; border: 1px solid var(--hp-border);
}
.hp-separate-icon { color: var(--muted); }
.hp-separate-card h3 { margin: 0; font-size: 1.1rem; }
.hp-separate-card p { margin: 0; color: var(--ink-dim); line-height: 1.55; font-size: .95rem; }
.hp-separate-card .hp-link { margin-top: auto; align-self: flex-start; }

/* Iparágak */
.hp-sector-jump { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hp-sector-jump a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--hp-border-2);
  color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600;
  transition: border-color .2s, background .2s;
}
.hp-sector-jump a:hover { border-color: rgba(47,227,200,.5); background: rgba(47,227,200,.06); }
.hp-sector-jump .hp-ico { color: #cfe6ff; }
.hp-sector-detail { padding-top: clamp(2rem, 5vw, 3.5rem); }
.hp-sector-cards { display: grid; gap: 1.2rem; max-width: 1180px; margin: 0 auto; }
@media (min-width: 900px) { .hp-sector-cards { grid-template-columns: repeat(2, 1fr); } }
.hp-sector-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.5rem, 3.5vw, 2.2rem); border-radius: var(--hp-radius);
  border: 1px solid var(--hp-border); background: linear-gradient(180deg, var(--hp-surface-2), transparent 85%);
  scroll-margin-top: 110px;
}
.hp-sector-card:target { border-color: rgba(47,227,200,.55); }
.hp-sector-card-head { display: flex; align-items: center; gap: .9rem; }
/* flex-gyerek: zsugorodhasson; ahol nincs elválasztási szótár (pl. WebKit Windows), a szó törhet */
.hp-sector-card-head h2 { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.hp-claim-head h3 { min-width: 0; overflow-wrap: anywhere; }
.hp-sector-card-icon {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 15px; flex: none;
  color: #cfe6ff; background: rgba(207,230,255,.06); border: 1px solid var(--hp-border-2);
}
.hp-sector-challenge { margin: 0; color: var(--ink-dim); line-height: 1.6; }
.hp-sector-challenge span, .hp-sector-answer-label {
  display: block; margin-bottom: .3rem;
  font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.hp-sector-answer-label { margin: .3rem 0 0; color: var(--hp-safe); }
.hp-sector-answers { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.hp-sector-answers li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.hp-sector-answers .hp-ico { color: var(--hp-safe); margin-top: .15rem; }
.hp-sector-card .hp-link { margin-top: auto; align-self: flex-start; }
.hp-sector-msgs-icons li::before { content: none; }
.hp-sector-msgs-icons .hp-ico { color: var(--hp-safe); }
/* Keskeny telefonon a hosszú (főleg német) összetett szavak ne feszítsék szét a kártyákat */
.hp-sector-cards, .hp-claim-list, .hp-separate-grid, .hp-method-steps { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .hp-sector-cards, .hp-claim-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 860px) { .hp-separate-grid, .hp-method-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hp-sector-card, .hp-claim, .hp-separate-card, .hp-method-step { min-width: 0; overflow-wrap: break-word; }
html[lang="de"] :is(.hp-sector-card, .hp-claim, .hp-page-title, .hp-sector-jump) { -webkit-hyphens: auto; hyphens: auto; }
.hp-defence .hp-h2 { max-width: 18ch; }
.hp-defence .hp-cta-row { align-items: center; gap: 1.2rem 1.6rem; }
@media (min-width: 1600px) {
  .page-security .container, .page-industries .container { max-width: 1360px; }
}
