/*
 * /ai-stratega/ – AI stratéga cégvezetőknek (2026-11-11).
 * Csak ezen az oldalon töltődik be (functions.php, aicv_enqueue_page_styles), az euact.css után.
 * Forrás és jóváhagyott előnézet: web-pages/ai-stratega/ (elonezet.html → content.src.html).
 * Saját osztályok: st-*. A közös elemek (aicv-wrap, aicv-section, aicv-dark, aicv-h2, aicv-eyebrow, aicv-btn…) a sections.css-ből jönnek.
 * Mozgás: csak transform és opacity; prefers-reduced-motion esetén minden áll.
 */

/* ---- Fejléc (2026-11-11, a tulajdonos kérése): a hullámzó háttér marad, mint a többi aloldalon, de a fehér szöveg
        mögé sötét, áttetsző tábla kerül, mert a mozgó, világos háttéren a szöveg nem volt olvasható. ---- */
.st-hero .eu-hero__text { position: relative; isolation: isolate; }
.st-hero .eu-hero__text::before { content: ""; position: absolute; z-index: -1; inset: -28px -32px; border-radius: 24px; pointer-events: none;
	background: rgba(6, 12, 38, .68); border: 1px solid rgba(255, 255, 255, .10);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(2, 5, 20, .45); }
@media (max-width: 900px) { .st-hero .eu-hero__text::before { inset: -18px -12px; border-radius: 18px; } }
/* A magas ajánlatkártya miatt a középre igazított szöveg túl lejjebb került a fejléc alatt: asztalon a hasábok a tetejükhöz igazodnak,
   és a fejléc alatti hely kisebb (euact.css alapérték: 88 px + clamp(24px, 4vw, 64px)). */
@media (min-width: 901px) { .st-hero .eu-hero__grid { align-items: start; padding-top: calc(88px + clamp(28px, 3vw, 44px)); } }
/* A hero-ripple.css „.hero-ripple > :not(canvas){position:relative}” szabálya a menüsort a szövegfolyamba teszi, így a 88 px-es
   fejléchely kétszer számít (kb. 80 px fölös hely). Itt a menüsor abszolút marad, ahogy az alap style.css szánta.
   2026-11-12: CSAK asztali nézetben. 900 px alatt a menü több sorba törik (390 px-en 244 px magas), ott a szövegfolyamban marad,
   különben a főcím alácsúszik (élőben mért hiba). A hasáb felső térköze ezért mobilon kicsi. */
@media (min-width: 901px) { .st-hero > .aicv-nav.aicv-nav { position: absolute; } }
@media (max-width: 900px) { .st-hero .eu-hero__grid.eu-hero__grid { padding-top: 26px; padding-bottom: 28px; } }

/* ---- Fejléc: főcím és ajánlatkártya ---- */
.st-h1 { display: flex; flex-direction: column; gap: 14px; }
.st-h1__kicker { font-size: clamp(14px, 1.2vw, 17px); font-weight: 600; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: #FFB3B4; }
.st-h1__main b { font-weight: 800; background: linear-gradient(90deg, #FF8A8C, #8FB6FF, #FF8A8C); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; animation: st-sheen 8s ease-in-out infinite alternate; }
@keyframes st-sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.st-proof { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; color: rgba(255, 255, 255, .82); }
.st-proof li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(6, 15, 45, .35); }
.st-offer { animation: st-float 7s ease-in-out infinite alternate; }
@keyframes st-float { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.st-offer__top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.st-offer__label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #C84648; }
.st-offer__badge { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--aicv-navy); color: #fff; }
.st-offer .eu-sum__title { font-size: clamp(20px, 1.9vw, 25px); font-weight: 700; line-height: 1.2; }
.st-offer .eu-sum__list strong { display: block; }
.st-offer__foot { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--aicv-mist); display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--aicv-slate); }
.st-offer__foot strong { color: var(--aicv-navy); }

/* ---- Átvezető mondat a szekciók végén ---- */
.st-next { margin: clamp(28px, 3.5vw, 44px) 0 0 !important; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.35 !important; letter-spacing: -.01em; }
.st-flush { padding-top: 0; }

/* ---- Stratégia nélkül: helyzetek és adatok ---- */
.st-pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--aicv-gap); }
.st-pain { margin: 0; padding: var(--aicv-pad); border-radius: var(--aicv-r); background: var(--aicv-ice); font-size: clamp(16px, 1.3vw, 18px); font-weight: 500; line-height: 1.5 !important; min-width: 0; transition: transform .3s ease; }
.st-pain:hover { transform: translateY(-4px); }
.st-data { margin-top: var(--aicv-gap); padding: var(--aicv-pad); border-radius: var(--aicv-r); border: 1px solid var(--aicv-mist); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
.st-data__col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.st-data p { color: var(--aicv-slate); font-size: 15.5px; }
.st-data small { color: var(--aicv-slate); font-size: 13px; line-height: 1.5; }
.st-data small a, .st-fact small a { color: #2868CD; }
.st-bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: 14.5px; }
.st-bar__name { font-weight: 600; }
.st-bar__val { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 5ch; text-align: right; }
.st-bar__track { grid-column: 1 / -1; height: 12px; border-radius: 999px; background: var(--aicv-ice); overflow: hidden; }
.st-bar__fill { display: block; height: 100%; border-radius: 999px; background: var(--aicv-grad); }
.st-bar__fill--before { background: var(--aicv-royal); }
.st-bar__fill--now { background: var(--aicv-coral); }

/* ---- Táblázatok ---- */
.st-tablewrap { overflow-x: auto; border: 1px solid var(--aicv-mist); border-radius: var(--aicv-r); }
.st-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.st-table th, .st-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--aicv-mist); }
.st-table thead th { background: var(--aicv-ice); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--aicv-slate); }
.st-table tbody th { font-weight: 600; width: 24%; color: var(--aicv-navy); }
.st-table td { color: var(--aicv-slate); }
.st-table tbody tr:last-child th, .st-table tbody tr:last-child td { border-bottom: 0; }
.st-table--vs thead th:last-child { background: var(--aicv-navy); color: #fff; }
.st-table--vs tbody td:last-child { background: var(--aicv-ice); color: var(--aicv-navy); font-weight: 500; }
.st-table--role tbody tr:last-child th, .st-table--role tbody tr:last-child td { background: var(--aicv-navy); color: #fff; }
.st-table--role tbody tr:last-child td { color: rgba(255, 255, 255, .8); }

/* ---- Helyzetkép (hat kérdés): színezett háttér, fehér kártyák, sötét eredmény ---- */
.st-tint { margin: 10px; border-radius: var(--aicv-r); background: linear-gradient(150deg, #E9EEFF 0%, #F6F1FA 50%, #FFEFEC 100%); overflow: hidden; }
.st-tint .aicv-eyebrow { background: #fff; }
.st-quiz { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.st-quiz__qs { display: flex; flex-direction: column; gap: 12px; counter-reset: stq; min-width: 0; margin: 0; }
.st-q { counter-increment: stq; margin: 0; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--aicv-mist); box-shadow: 0 6px 20px rgba(6, 15, 45, .05); min-width: 0; transition: border-color .25s ease, box-shadow .25s ease; }
.st-q.is-done { border-color: #B9C8F5; box-shadow: 0 6px 20px rgba(41, 107, 210, .10); }
.st-q legend { box-sizing: border-box; float: left; width: 100%; padding: 0 0 0 34px; margin: 0 0 12px; position: relative; font-weight: 600; font-size: 16.5px; line-height: 1.4; color: var(--aicv-navy); }
.st-q legend::before { content: counter(stq); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: var(--aicv-grad); color: #fff; font-size: 13px; font-weight: 700; }
.st-q__opts { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.st-q__opts label { cursor: pointer; }
.st-q__opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-q__opts span { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 92px; padding: 8px 18px; border-radius: 999px; border: 1px solid #CDD2E4; background: #fff; color: var(--aicv-navy); font-weight: 600; font-size: 15px; transition: transform .15s ease, background-color .2s ease, border-color .2s ease; }
.st-q__opts label:hover span { border-color: var(--aicv-royal); }
.st-q__opts label:active span { transform: scale(.96); }
.st-q__opts input:focus-visible + span { outline: 3px solid var(--aicv-royal); outline-offset: 3px; }
.st-q__opts input:checked + .st-o-yes { background: #0D7780; border-color: #0D7780; color: #fff; }
.st-q__opts input:checked + .st-o-part { background: #A25B17; border-color: #A25B17; color: #fff; }
.st-q__opts input:checked + .st-o-no { background: #C84648; border-color: #C84648; color: #fff; }
.st-result { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; padding: var(--aicv-pad); border-radius: var(--aicv-r); color: #fff; min-width: 0; box-shadow: 0 20px 50px rgba(6, 15, 45, .22);
	background: radial-gradient(70% 80% at 90% 0%, rgba(41, 107, 210, .55) 0%, rgba(41, 107, 210, 0) 60%), radial-gradient(60% 70% at 0% 100%, rgba(212, 78, 84, .40) 0%, rgba(212, 78, 84, 0) 60%), var(--aicv-navy); }
.st-result p, .st-result small { color: rgba(255, 255, 255, .8); font-size: 15.5px; }
.st-result small { font-size: 12.5px; line-height: 1.5; }
.st-result .aicv-h3 { color: #fff; }
.st-result__count { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FFB3B4; }
.st-meter { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.st-meter__fill { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #FF8A8C, #8FB6FF); transition: width .35s ease; }
.st-result__body { display: flex; flex-direction: column; gap: 12px; }
.st-result__body[hidden] { display: none; }
.st-result .st-result__score { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1 !important; color: #fff; font-variant-numeric: tabular-nums; }
.st-result__score small { font-size: 18px; font-weight: 600; letter-spacing: 0; }
.st-result__gaps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; line-height: 1.5; }
.st-result__gaps li { padding-left: 20px; position: relative; color: rgba(255, 255, 255, .8); }
.st-result__gaps li::before { content: "→"; position: absolute; left: 0; color: #FFB3B4; font-weight: 700; }

/* ---- Szakértő a bevezetés alatt: kiemelt tény ---- */
.st-fact { margin-top: clamp(24px, 3vw, 40px); padding: var(--aicv-pad); border-radius: var(--aicv-r); background: var(--aicv-ice); display: flex; flex-direction: column; gap: 8px; max-width: 880px; }
.st-fact p { color: var(--aicv-navy); }
.st-fact small { color: var(--aicv-slate); font-size: 13px; line-height: 1.5; }
.st-prose { margin-top: clamp(24px, 3vw, 40px) !important; }

/* ---- Öt vezetői kérdés (sötét blokk) ---- */
.st-five { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--aicv-gap); }
.st-five__item { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; padding: var(--aicv-pad); border-radius: var(--aicv-r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); min-width: 0; transition: transform .3s ease; }
.st-five__item:nth-child(n+4) { grid-column: span 3; }
.st-five__item:hover { transform: translateY(-4px); }
.st-five__item p { color: rgba(255, 255, 255, .78); font-size: 15.5px; }
.st-five__links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14.5px; font-weight: 600; }
/* 2026-11-12: inline-flex helyett inline-block, mert a flex elnyeli a szóközt a védett (aicv-nb) szó mellett („SzemélyesAI-felmérés→”).
   Az érintőfelület 44 px marad: 11 + 22 + 11. */
.st-five__links a { color: #fff; text-underline-offset: 4px; display: inline-block; padding: 11px 0; line-height: 22px; }

/* ---- Így dolgozunk együtt ---- */
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--aicv-gap); counter-reset: ststep; }
.st-step { counter-increment: ststep; display: flex; flex-direction: column; gap: 10px; padding: var(--aicv-pad); border-radius: var(--aicv-r); background: #fff; border: 1px solid var(--aicv-mist); box-shadow: 0 10px 30px rgba(6, 15, 45, .07); min-width: 0; transition: transform .3s ease, box-shadow .3s ease; }
.st-step:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(6, 15, 45, .12); }
.st-step::before { content: counter(ststep); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--aicv-grad); color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.st-step p { color: var(--aicv-slate); font-size: 15.5px; }
.st-aside { margin-top: clamp(24px, 3vw, 36px) !important; padding: 18px 22px; border-radius: 14px; background: var(--aicv-ice); max-width: 78ch; }

/* ---- Rólam ---- */
.st-about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.st-about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.st-ref { display: flex; flex-direction: column; gap: 6px; padding: var(--aicv-pad); border-radius: var(--aicv-r); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); min-width: 0; }
.st-ref__label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #FFB3B4; }
.st-ref__name { font-size: 24px; font-weight: 600; color: #fff; }
.st-ref__what { color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.st-ref__text { margin-top: 8px !important; color: rgba(255, 255, 255, .78); font-size: 15.5px; }
.st-sign { color: rgba(255, 255, 255, .78); }
.st-sign strong { color: #fff; }

/* ---- A jelentkezési blokk kiegészítő sora ---- */
.st-cta__home { font-size: 15px; color: rgba(255, 255, 255, .82); }
.st-cta__home a { color: #fff; text-underline-offset: 4px; }

/* ---- Megjelenés görgetésre: csak akkor rejtünk, ha a szkript jelezte, hogy figyeli (html.st-rv) ---- */
.st-rv .st-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.st-rv .st-reveal.is-in { opacity: 1; transform: none; }
.st-rv .st-data .st-bar__fill { transform: scaleX(0); transform-origin: left center; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .15s; }
.st-rv .st-data.is-in .st-bar__fill { transform: none; }

@media (prefers-reduced-motion: reduce) {
	.st-h1__main b, .st-offer { animation: none; }
	.st-pain, .st-five__item, .st-step, .st-meter__fill, .st-q__opts span { transition: none; }
}

@media (max-width: 900px) {
	.st-pains, .st-data, .st-quiz, .st-five, .st-steps, .st-about { grid-template-columns: 1fr; }
	.st-five__item, .st-five__item:nth-child(n+4) { grid-column: auto; }
	.st-result { position: static; }
	.st-tint { margin: 12px; }
	.st-offer { animation: none; }
}

/* ---- Mobiljavítások (2026-11-12, élő mérés 390 px-en) ---- */
/* Táblázatok: a harmadik oszlop (éppen a lényeg) kilógott a képernyőről. 700 px alatt minden sor külön kártya, az oszlopfejek
   a cellák fölé kerülnek. FIGYELEM: a feliratok a táblázat fejlécét ismétlik – ha a fejléc szövege változik, itt is cserélni kell. */
@media (max-width: 700px) {
	.st-tablewrap { overflow: visible; border: 0; border-radius: 0; }
	.st-table, .st-table tbody, .st-table tr, .st-table tbody th, .st-table td { display: block; }
	.st-table { min-width: 0; }
	.st-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.st-table tbody { display: grid; gap: 12px; }
	.st-table tr { border: 1px solid var(--aicv-mist); border-radius: var(--aicv-r); overflow: hidden; background: #fff; }
	.st-table tbody th, .st-table td { width: auto; padding: 14px 18px; }
	.st-table tbody th { font-size: 16.5px; line-height: 1.35; }
	.st-table tbody tr th, .st-table tbody tr:last-child th,
	.st-table tbody tr td, .st-table tbody tr:last-child td { border-bottom: 1px solid var(--aicv-mist); }
	.st-table tbody tr td:last-child, .st-table tbody tr:last-child td:last-child { border-bottom: 0; }
	.st-table td::before { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--aicv-slate); }
	.st-table--vs td:nth-child(2)::before { content: "Stratégia nélkül"; }
	.st-table--vs td:nth-child(3)::before { content: "Stratégiával"; color: var(--aicv-royal); }
	.st-table--role td:nth-child(2)::before { content: "Mit kapsz tőle?"; }
	.st-table--role td:nth-child(3)::before { content: "Mi marad a te feladatod?"; }
	.st-table--role tbody tr:last-child { border-color: var(--aicv-navy); }
	.st-table--role tbody tr:last-child th, .st-table--role tbody tr:last-child td { border-bottom-color: rgba(255, 255, 255, .14); }
	.st-table--role tbody tr:last-child td::before { color: rgba(255, 255, 255, .62); }
}
/* Helyzetkép: a három válasz mobilon is egy sorban marad. */
@media (max-width: 480px) {
	.st-q__opts { flex-wrap: nowrap; }
	.st-q__opts label { flex: 1 1 0; min-width: 0; }
	.st-q__opts span { display: flex; min-width: 0; padding: 8px 6px; }
}
