/* ==========================================================================
   Gaia ERP – értékesítő weboldal · 2. dizájn (sötét hero, élénk zöld, mozgás)
   Színek a :root változókban. A mozgó elemek a demo.css-ben vannak.
   ========================================================================== */

:root {
    /* Sötét felületek (hero, bemutató, lábléc) */
    --d-bg:      #0a0c0b;
    --d-bg-2:    #0e1311;
    --d-surface: rgba(255,255,255,.045);
    --d-surface-2: rgba(255,255,255,.075);
    --d-line:    rgba(255,255,255,.10);
    --d-ink:     #eafff2;
    --d-ink-2:   rgba(234,255,242,.70);
    --d-ink-3:   rgba(234,255,242,.48);

    /* Zöldek */
    --green:     #22c55e;
    --emerald:   #10b981;
    --mint:      #6ee7b7;
    --lime:      #86e9a8;
    --grad:      linear-gradient(135deg, #a3f0c0 0%, #86e9a8 45%, #5fd98f 100%);
    --grad-text: linear-gradient(100deg, #b6f3cc 0%, #86e9a8 45%, #4fd88a 100%);

    /* Világos felületek */
    --bg:        #f4f8f5;
    --bg-alt:    #eaf2ec;
    --surface:   #ffffff;
    --ink:       #06140c;
    --ink-2:     #45554c;
    --ink-3:     #7a8a81;
    --line:      #dde7e0;
    --brand:     #059669;
    --brand-ink: #064e3b;
    --brand-soft:#dcfce7;
    --amber:     #fbbf24;
    --danger:    #dc2626;

    --radius:    18px;
    --radius-sm: 11px;
    --shadow:    0 1px 2px rgba(6,20,12,.05), 0 10px 30px -12px rgba(6,20,12,.18);
    --shadow-lg: 0 30px 80px -24px rgba(0,0,0,.55);
    --glow:      0 0 0 1px rgba(134,233,168,.35), 0 12px 34px -12px rgba(40,196,95,.55);

    --font: "Segoe UI Variable Display", "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
    --container: 1200px;
    --ease: cubic-bezier(.2,.8,.2,1);

    /* Témázható részletek (sötét értékek; a világosak: theme-light.css) */
    --wh: 255,255,255;
    --mi: 134,233,168;
    --on-grad: #04150b;
    --on-grad-2: var(--d-bg);
    --header-bg: rgba(10,12,11,.78);
    --menu-bg: rgba(14,19,17,.97);
    --panel: linear-gradient(152deg, rgba(17,37,33,.88), rgba(11,23,20,.84));
    --panel-2: linear-gradient(152deg, rgba(17,37,33,.86), rgba(11,23,20,.82));
    --badge-bg: rgba(14,19,17,.8);
    --mint-hex: #86e9a8;
    --lime-on-ink: var(--lime);
    --spark: #eafff2;
    --hf-big: #eef1ef;
}

/* ---------- Alap ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); font-weight: 780; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
p  { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--on-grad-2); }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--lime); color: var(--on-grad-2); padding: .6rem 1rem; border-radius: var(--radius-sm); z-index: 100; font-weight: 700; }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow    { max-width: 820px; }
.center    { text-align: center; margin-left: auto; margin-right: auto; }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.lead    { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-2); max-width: 44rem; line-height: 1.55; }
.lead-sm { font-size: 1.08rem; color: var(--ink-2); }

.pill-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .38rem .9rem .38rem .45rem; border-radius: 999px; background: var(--d-surface); border: 1px solid var(--d-line); color: var(--d-ink-2); font-size: .86rem; margin-bottom: 1.6rem; backdrop-filter: blur(8px); }
.pill-badge b { background: var(--grad); color: var(--on-grad-2); font-size: .72rem; padding: .18rem .55rem; border-radius: 999px; letter-spacing: .04em; }

/* ---------- Sötét szekciók ---------- */
.dark { background: var(--d-bg); color: var(--d-ink); }
.dark .eyebrow { color: var(--lime); }
.dark .lead, .dark .lead-sm, .dark p { color: var(--d-ink-2); }
.dark a:not(.btn) { color: var(--mint); }

/* ---------- Gombok ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .78em 1.35em; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 680; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { padding: .55em 1.05em; font-size: .9rem; }
.btn-lg { padding: .95em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary, .btn-accent { background: var(--grad); color: var(--on-grad); box-shadow: var(--glow); }
.btn-primary:hover, .btn-accent:hover { box-shadow: 0 0 0 1px rgba(var(--mi),.6), 0 16px 44px -10px rgba(74,222,128,.85); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.dark .btn-ghost, .btn-glass { background: var(--d-surface); color: var(--d-ink); border-color: var(--d-line); backdrop-filter: blur(10px); }
.dark .btn-ghost:hover, .btn-glass:hover { background: var(--d-surface-2); border-color: rgba(var(--wh),.25); }
.play-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: var(--on-grad-2); display: grid; place-items: center; margin-left: -.4em; }
.play-dot svg { width: 10px; height: 10px; fill: currentColor; stroke: none; margin-left: 2px; }

/* ---------- Fejléc ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; color: var(--d-ink); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: var(--header-bg); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--d-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-weight: 800; font-size: 1.24rem; letter-spacing: -0.035em; }
.brand-name span { margin-left: .14em; font-weight: 650; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav { display: flex; align-items: center; gap: 1.4rem; }
.main-nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: .3rem; border-radius: 999px; background: var(--d-surface); border: 1px solid var(--d-line); }
.main-nav ul a { display: block; padding: .42rem 1rem; border-radius: 999px; color: var(--d-ink-2); text-decoration: none; font-weight: 580; font-size: .95rem; transition: color .2s, background .2s; }
.main-nav ul a:hover { color: var(--d-ink); }
.main-nav ul a[aria-current="page"] { color: var(--d-bg); background: var(--d-ink); }
.nav-toggle { display: none; background: var(--d-surface); border: 1px solid var(--d-line); border-radius: 12px; padding: .5rem; color: var(--d-ink); cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }

@media (max-width: 860px) {
    .nav-toggle { display: block; }
    .main-nav { position: absolute; top: 76px; left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: .8rem; padding: 1rem; background: var(--menu-bg); border: 1px solid var(--d-line); border-radius: 20px; box-shadow: var(--shadow-lg); display: none; }
    .main-nav.is-open { display: flex; animation: drop-in .25s var(--ease); }
    .main-nav ul { flex-direction: column; border: 0; background: none; padding: 0; }
    .main-nav ul a { padding: .8rem 1rem; font-size: 1.05rem; }
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Szekciók ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding: clamp(44px, 6vw, 72px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 50rem; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { color: var(--ink-2); font-size: 1.1rem; }
.dark .section-head p:last-child { color: var(--d-ink-2); }

/* Háttér: rács + aurora */
.bg-grid { position: absolute; inset: 0; pointer-events: none; background-image:
    linear-gradient(rgba(var(--wh),.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--wh),.045) 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%); }
.aurora { position: absolute; inset: -20% -10% auto -10%; height: 120%; pointer-events: none; overflow: hidden; filter: blur(70px); opacity: .75; }
.aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: aurora 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 48%; top: -8%; background: radial-gradient(circle, rgba(16,185,129,.55), transparent 65%); }
.aurora i:nth-child(2) { width: 38vw; height: 38vw; left: 66%; top: 22%; background: radial-gradient(circle, rgba(var(--mi),.35), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; left: -6%; top: 30%; background: radial-gradient(circle, rgba(34,197,94,.28), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes aurora { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(-6%, 8%) scale(1.12); } 100% { transform: translate(5%, -4%) scale(.95); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: calc(76px + clamp(48px, 8vw, 110px)) 0 clamp(64px, 8vw, 110px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2.2rem 0 2rem; }
.hero-actions-center { justify-content: center; }
.hero-proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; color: var(--d-ink-3); font-size: .92rem; }
.hero-proof li { display: flex; align-items: center; gap: .45rem; }
.hero-proof .icon { color: var(--lime); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Futó szalag ---------- */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); background: var(--d-bg-2); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--d-bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--d-bg-2), transparent); }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--d-line); background: var(--d-surface); color: var(--d-ink-2); font-size: .92rem; white-space: nowrap; }
.marquee span .icon { color: var(--mint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Kártyák ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .card-grid-4 { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card p { color: var(--ink-2); font-size: .96rem; flex: 1; }
.card-link:hover, .card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #b9dcc6; }
.card-icon { width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, #dcfce7, #d1fae5); color: var(--brand-ink); display: grid; place-items: center; margin-bottom: 20px; flex: none; box-shadow: inset 0 0 0 1px rgba(5,150,105,.15); }
.card-icon .icon { width: 24px; height: 24px; }
.card-icon-sm { width: 42px; height: 42px; border-radius: 12px; margin: 0; }
.card-icon-sm .icon { width: 20px; height: 20px; }
.card-more { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; font-weight: 700; color: var(--brand); }
.dark .card { background: var(--d-surface); border-color: var(--d-line); color: var(--d-ink); }
.dark .card p { color: var(--d-ink-2); }
.dark .card-icon { background: rgba(var(--mi),.10); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(var(--mi),.22); }

/* ---------- Számlálók ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--d-line); border: 1px solid var(--d-line); border-radius: 22px; overflow: hidden; }
.stats > div { background: var(--d-bg-2); padding: 34px 28px; }
.stats strong { display: block; font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.stats span { color: var(--d-ink-2); font-size: .95rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Kettéosztott blokk ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; margin: 0; padding: 30px; display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list .icon { color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: .1em; stroke-width: 2.6; }

/* ---------- Lépések (idővonal) ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; top: 23px; left: 24px; height: 2px; width: 0; background: var(--grad); transition: width 2.2s var(--ease); }
.steps.is-visible::after { width: calc(100% - 48px); }
.steps li { position: relative; }
.step-num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line); font-size: .9rem; font-weight: 800; color: var(--brand-ink); margin-bottom: 1.1rem; transition: border-color .4s, background .4s, color .4s; }
.steps.is-visible .step-num { border-color: var(--green); background: var(--brand-ink); color: var(--lime-on-ink); }
.steps li:nth-child(2) .step-num { transition-delay: .45s; } .steps li:nth-child(3) .step-num { transition-delay: .9s; }
.steps li:nth-child(4) .step-num { transition-delay: 1.35s; } .steps li:nth-child(5) .step-num { transition-delay: 1.8s; }
.steps p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; gap: 6px; } .steps::before, .steps::after { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; } .steps::after { height: 0; transition: height 2.2s var(--ease); } .steps.is-visible::after { width: 2px; height: calc(100% - 48px); } .steps li { padding-left: 70px; min-height: 48px; } .step-num { position: absolute; left: 0; top: 0; } }

/* ---------- GYIK ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #b9dcc6; box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; cursor: pointer; font-weight: 680; font-size: 1.06rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); transition: transform .3s var(--ease), background .3s; }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--lime); }
.faq details p { color: var(--ink-2); margin: 0 0 1.4rem; max-width: 44rem; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-box { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px); background: var(--d-bg); color: var(--d-ink); text-align: center; isolation: isolate; }
.cta-box::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg, transparent 0 60%, rgba(74,222,128,.55) 75%, rgba(var(--mi),.5) 82%, transparent 92%); animation: spin 9s linear infinite; }
.cta-box::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: 31px; background: radial-gradient(600px 260px at 50% 0%, rgba(16,185,129,.28), transparent 70%), var(--d-bg); }
.cta-box h2 { max-width: 40rem; margin-left: auto; margin-right: auto; }
.cta-box p { color: var(--d-ink-2); max-width: 36rem; margin: 0 auto 2rem; font-size: 1.12rem; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Aloldal-fejléc ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(76px + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px); }
.page-hero .container { position: relative; }
.page-hero-center { text-align: center; padding-bottom: clamp(72px, 10vw, 128px); }
.page-hero-center .lead { margin-left: auto; margin-right: auto; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.chip-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.2rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border: 1px solid var(--d-line); background: var(--d-surface); border-radius: 999px; color: var(--d-ink) !important; text-decoration: none; font-size: .92rem; font-weight: 580; transition: background .2s, border-color .2s, transform .2s var(--ease); }
.chip .icon { color: var(--lime); }
.chip:hover { background: var(--d-surface-2); border-color: rgba(var(--mi),.45); transform: translateY(-2px); }
.big-check { width: 84px; height: 84px; margin: 0 auto 1.6rem; border-radius: 50%; background: var(--grad); color: var(--on-grad-2); display: grid; place-items: center; box-shadow: var(--glow); animation: pop .6s var(--ease) both; }
.big-check .icon { width: 40px; height: 40px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- ERP modul-csoportok ---------- */
.module-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 5vw, 72px); }
.module-head { position: sticky; top: 110px; align-self: start; }
.module-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.module-head p { color: var(--ink-2); }
.module-num { font-family: var(--mono); font-size: .85rem; color: var(--brand); margin-bottom: .6rem; display: block; }
.module-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.module-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.module-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9dcc6; }
.module-list h3 { display: flex; gap: .55rem; align-items: center; font-size: 1.02rem; }
.module-list h3 .icon { color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 2.6; }
.module-list p { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 900px) { .module-grid { grid-template-columns: 1fr; } .module-head { position: static; } }
@media (max-width: 600px) { .module-list { grid-template-columns: 1fr; } }

/* ---------- Csomagok ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h2, .plan h3.plan-name { font-size: 1.5rem; margin-bottom: .3em; }
.plan-for { color: var(--ink-2); font-size: .96rem; min-height: 3em; }
.plan-price { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.04em; padding: 1.1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan-price small { display: block; font-size: .82rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-top: .35rem; }
.plan ul { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .7rem; flex: 1; }
.plan li { display: flex; gap: .6rem; font-size: .96rem; }
.plan li .icon { color: var(--brand); margin-top: .2em; stroke-width: 2.4; }
.plan-featured { background: var(--d-bg); border-color: transparent; color: var(--d-ink); box-shadow: 0 0 0 1px rgba(var(--mi),.35), var(--shadow-lg); transform: translateY(-10px); overflow: hidden; isolation: isolate; }
.plan-featured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(400px 220px at 80% 0%, rgba(16,185,129,.35), transparent 70%); }
.plan-featured:hover { transform: translateY(-14px); }
.plan-featured .plan-for, .plan-featured .plan-price small { color: var(--d-ink-3); }
.plan-featured .plan-price { border-color: var(--d-line); background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-featured .plan-price small { -webkit-text-fill-color: var(--d-ink-3); }
.plan-featured li .icon { color: var(--lime); }
.plan-featured .btn-ghost { color: var(--d-ink); border-color: var(--d-line); }
.plan-badge { position: absolute; top: 22px; right: 22px; background: var(--grad); color: var(--on-grad-2); font-size: .72rem; font-weight: 800; padding: .32em .85em; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; } .plan-featured, .plan-featured:hover { transform: none; } }

/* ---------- Űrlap ---------- */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { position: relative; margin-top: -120px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 40px 80px -30px rgba(6,20,12,.35); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; font-size: .9rem; margin-bottom: .45rem; }
.field abbr { color: var(--danger); text-decoration: none; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem .95rem; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(34,197,94,.16); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; margin: .4rem 0 0; }
.field-check label { display: flex; gap: .7rem; align-items: flex-start; font-weight: 450; font-size: .95rem; }
.field-check input { width: 20px; height: 20px; margin-top: .15em; accent-color: var(--brand); flex: none; }
.interest { border: 0; padding: 0; margin: 0 0 24px; }
.interest legend { font-weight: 650; font-size: .9rem; margin-bottom: .6rem; }
.legend-link { font-weight: 500; font-size: .86rem; margin-left: .5rem; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 600px) { .seg { grid-template-columns: repeat(2, 1fr); } }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: .75rem .5rem; border: 1.5px solid var(--line); border-radius: 12px; font-size: .92rem; font-weight: 650; cursor: pointer; transition: all .2s; background: var(--bg); }
.seg input:checked + span { border-color: var(--brand-ink); background: var(--brand-ink); color: var(--lime-on-ink); box-shadow: 0 8px 20px -10px rgba(6,78,59,.8); }
.seg input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 20px; font-size: .95rem; }
.alert-error { background: #fef2f2; color: #7f1d1d; border: 1px solid #fecaca; }

.contact-aside { padding-top: 8px; }
.contact-aside h2 { font-size: 1.5rem; }
.mini-steps { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1rem; counter-reset: ms; }
.mini-steps li { position: relative; padding-left: 48px; color: var(--ink-2); counter-increment: ms; }
.mini-steps li::before { content: counter(ms); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-ink); color: var(--lime-on-ink); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.mini-steps strong { color: var(--ink); }
.contact-direct { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.contact-direct h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); }
.contact-direct p { display: flex; gap: .6rem; align-items: center; margin-bottom: .6rem; }
.contact-direct .icon { color: var(--brand); }

/* ---------- Szöveges oldalak ---------- */
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose p { color: var(--ink-2); }
.notice { display: inline-block; background: rgba(251,191,36,.14); color: #fde68a; border: 1px solid rgba(251,191,36,.35); padding: .4rem .85rem; border-radius: 10px; font-size: .9rem; }
.dl { display: grid; grid-template-columns: 200px 1fr; gap: .9rem 1.5rem; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.dl dt { font-weight: 700; }
.dl dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; gap: .2rem; } .dl dd { margin-bottom: .8rem; } }

/* ---------- Lábléc ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--d-bg); color: var(--d-ink-2); padding: 80px 0 30px; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 0; width: 70%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(var(--mi),.6), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-brand { color: var(--d-ink); }
.footer-brand p { margin-top: 1rem; max-width: 22rem; color: var(--d-ink-2); }
.site-footer h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--d-ink); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: var(--d-ink-2); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--d-line); font-size: .85rem; color: var(--d-ink-3); }
.footer-word { font-size: clamp(4rem, 16vw, 13rem); font-weight: 850; letter-spacing: -0.06em; line-height: .8; margin: 56px 0 -0.12em; text-align: center; background: linear-gradient(180deg, rgba(var(--mi),.22), rgba(var(--mi),0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Görgetéses megjelenés ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(.96) translateY(20px); }
.js [data-reveal-delay="1"] { transition-delay: .08s; } .js [data-reveal-delay="2"] { transition-delay: .16s; }
.js [data-reveal-delay="3"] { transition-delay: .24s; } .js [data-reveal-delay="4"] { transition-delay: .32s; }

/* ---------- Mozgáscsökkentés ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* Űrlapos aloldal: a kártya belelóg a sötét fejlécbe */
.page-hero-form { padding-bottom: 170px; }
.page-hero .container > *:last-child { margin-bottom: 0; }

/* ==========================================================================
   SEO/AEO elemek: morzsamenü, „Röviden” tények, gyors válasz, kulcsszavas oldalak
   ========================================================================== */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.4rem; padding: 0; font-size: .85rem; }
.crumbs li { display: inline-flex; align-items: center; gap: .35rem; color: var(--d-ink-3); }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: var(--d-ink-2) !important; text-decoration: none; }
.crumbs a:hover { color: var(--lime) !important; }
.crumbs [aria-current] { color: var(--lime); }

.topic-hero { position: relative; display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .topic-hero { grid-template-columns: 1fr; } }
.lead.answer { border-left: 2px solid var(--lime); padding-left: 1.1rem; }
.facts-card { background: var(--panel-2); border: 1px solid rgba(var(--mi),.18); border-radius: 22px; padding: 26px 26px 22px; backdrop-filter: blur(10px); box-shadow: 0 30px 70px -36px rgba(40,196,95,.55); }
.facts-k { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); margin-bottom: 1rem; }
.facts-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.facts-card li { display: flex; gap: .65rem; color: var(--d-ink); font-size: .98rem; line-height: 1.45; }
.facts-card li .icon { color: var(--on-grad); background: var(--lime); border-radius: 50%; padding: 3px; width: 20px; height: 20px; stroke-width: 2.8; margin-top: .1em; }

.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }
.pain { padding-top: 30px; }
.pain-x { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fee2e2; color: #b91c1c; font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .topic-grid { grid-template-columns: 1fr; } }
.topic-card h3 { font-size: 1.12rem; flex: 1; }
.topic-kw { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }

/* Főoldal: „Mi az a Gaia ERP?” – közvetlen válasz + gyors tények (AEO/GEO) */
.qa-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .qa-grid { grid-template-columns: 1fr; } }
.qa-grid h2 { margin-bottom: .6em; }
.qa-grid .answer-text { font-size: 1.12rem; color: var(--ink-2); border-left: 2px solid var(--brand); padding-left: 1.1rem; }
.facts-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .75rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.facts-dl dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); padding-top: .2em; }
.facts-dl dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .facts-dl { grid-template-columns: 1fr; gap: .2rem; } .facts-dl dd { margin-bottom: .7rem; } }

.center .crumbs ol { justify-content: center; }

/* ---------- Téma-kapcsoló (világos az alap, a választás megmarad) ---------- */
.header-inner { gap: 14px; }
.header-inner .brand { margin-right: auto; }
.theme-toggle { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--d-line); background: var(--d-surface); color: var(--d-ink); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.theme-toggle:hover { border-color: var(--lime); transform: rotate(-12deg); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
html:not(.js) .theme-toggle { display: none; }
@media (max-width: 860px) { .nav-toggle { order: 3; } }
