/* ================================================================
   PROMOKIT — Marketing weboldal style rendszer
   v1.1.0 · 2026-05-01 — Brand-szinkron a PROMOKIT_BRAND_BOOK.md szerint
   Brand: #1B9E75 (accent) · #0F1B2E (text/dark) · #EBF0F4 (bg)
   Font:  Plus Jakarta Sans (headline) + system-stack (body)
   ================================================================ */

/* -------- 1. DESIGN TOKENS — brand-konform -------- */
:root {
    /* Brand színek (Promokit Brand Book v6.10.0+) */
    --clr-dark:        #0F1B2E;        /* deep navy — Apple-szerű "fekete" */
    --clr-dark-soft:   #1A2C45;        /* dark surface */
    --clr-accent:      #1B9E75;        /* Promokit zöld */
    --clr-accent-hov:  #15825F;
    --clr-accent-light: rgba(27,158,117,0.10);
    --clr-mid:         #0F6E56;        /* dark-mode accent variant */
    --clr-deep:        #083D2B;        /* darkest background variant */

    /* Felületek */
    --clr-bg:          #EBF0F4;        /* hűvös szürke-kék, NEM tiszta fehér */
    --clr-surface:     #FFFFFF;
    --clr-surface-2:   #E4E9ED;
    --clr-border:      #D8DDE0;
    --clr-border-soft: #E8EDF1;

    /* Szöveg */
    --clr-text:        #0F1B2E;        /* deep navy */
    --clr-text-soft:   #4B5772;        /* másodlagos */
    --clr-text-muted:  #6B7785;        /* meta, label — WCAG AA 5.0:1 */
    --clr-text-inv:    #F5F5F7;

    /* Szemantika */
    --clr-success:     #1B9E75;        /* = accent */
    --clr-danger:      #E54848;
    --clr-warn:        #F5A623;
    --clr-info:        #0DA1CC;

    /* Tipográfia (Brand Book §3) */
    --font-sans:     -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
    --font-headline: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;

    /* Méretskála (Brand Book §3.1) — clamp() responsive a hero-headline-on */
    --fs-xs:    11px;
    --fs-sm:    13px;
    --fs-base:  15px;
    --fs-lg:    17px;
    --fs-xl:    22px;
    --fs-2xl:   28px;
    --fs-3xl:   34px;

    /* Súlyok */
    --fw-regular:  400;
    --fw-medium:   500;
    --fw-semibold: 600;
    --fw-bold:     700;

    /* Border-radius (Brand Book §6) — 4-pt + 6/8/12/16 */
    --r-sm:   6px;
    --r-md:   8px;
    --r-lg:   12px;
    --r-xl:   16px;
    --r-pill: 999px;

    /* Spacing (4-pt rács, Brand Book §5) */
    --sp-1:   4px;
    --sp-2:   8px;
    --sp-3:  12px;
    --sp-4:  16px;
    --sp-5:  20px;
    --sp-6:  24px;
    --sp-7:  28px;
    --sp-8:  32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;
    --sp-20: 80px;
    --sp-24: 96px;

    /* Spacing — backward-compat aliasok a régi --s-N kódhoz (egyenlőre maradnak) */
    --s-1:  4px;   --s-2:  8px;   --s-3: 12px;  --s-4: 16px;
    --s-5: 24px;   --s-6: 32px;   --s-7: 48px;  --s-8: 64px;
    --s-9: 96px;   --s-10: 128px;

    /* Shadows (Brand Book §7) — Apple-szerűen finom, max 0.08 opacity */
    --shadow-sm:  0 1px 2px rgba(15,27,46,0.04), 0 1px 3px rgba(15,27,46,0.06);
    --shadow-md:  0 2px 4px rgba(15,27,46,0.04), 0 4px 12px rgba(15,27,46,0.06);
    --shadow-lg:  0 4px 12px rgba(15,27,46,0.06), 0 12px 24px rgba(15,27,46,0.08);
    --shadow-xl:  0 8px 24px rgba(15,27,46,0.07), 0 16px 40px rgba(15,27,46,0.08);
    --shadow-accent: 0 12px 32px rgba(27,158,117,0.18);

    /* Easing tokenek (Brand Book §9) */
    --tr-fast:    120ms cubic-bezier(0.4, 0, 0.2, 1);
    --tr-base:    180ms cubic-bezier(0.4, 0, 0.2, 1);
    --tr-slow:    250ms cubic-bezier(0.4, 0, 0.2, 1);
    --tr-spring:  280ms cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: var(--tr-base);

    --container: 1200px;
    --container-narrow: 800px;
}

/* -------- 2. RESET -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--clr-text);
    background: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent-hov); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font: inherit; }
::selection { background: var(--clr-accent); color: #fff; }

/* -------- 3. TIPOGRÁFIA — Brand Book §3 -------- */
/* Plus Jakarta Sans a headline-okra (marketing-fontunk), Apple-szabály:
   semibold (600) NEM bold, és letter-spacing -0.022em a 24px+ méreten. */
h1, h2, h3, h4, h5 {
    font-family: var(--font-headline);
    font-weight: var(--fw-semibold);
    line-height: 1.15;
    letter-spacing: -0.022em;
    color: var(--clr-text);
}
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3vw + 0.8rem, 3rem); }
h3 { font-size: clamp(1.3rem, 1.2vw + 0.8rem, 1.65rem); letter-spacing: -0.015em; }
h4, h5 { letter-spacing: -0.01em; }

/* Tördelés — árva szavak elkerülése, kiegyensúlyozott sortörés.
   Browser-supported 2024 óta minden modern böngészőben. */
h1, h2, h3, h4 { text-wrap: balance; }
.lead,
.section-head p,
.hero__proof span,
.testimonial__text,
.price-card__tagline,
.price-card__target,
.problem-card p,
.usp-card p,
.value-card p,
.feature-row__content p,
.feature-benefit,
.pricing-logic__card p,
.compare-note,
.pricing-disclaimer,
.compare-legend,
.prose p,
.trust-signal span,
.contact-info__value { text-wrap: pretty; }
h4 { font-size: 1.125rem; font-weight: 600; }
p  { color: var(--clr-text-soft); }

.lead {
    font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem);
    line-height: 1.55;
    color: var(--clr-text-soft);
    font-weight: 400;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: '';
    width: 24px; height: 2px;
    background: var(--clr-accent);
}

/* -------- 4. LAYOUT -------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section {
    padding: clamp(64px, 8vw, 112px) 0;
}
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--dark {
    background: var(--clr-dark);
    color: var(--clr-text-inv);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(247, 249, 248, 0.78); }

.section--accent {
    background: var(--clr-accent);
    color: #fff;
}
.section--accent h1, .section--accent h2, .section--accent h3 { color: #fff; }
.section--accent p { color: rgba(255, 255, 255, 0.9); }

.section-head {
    max-width: 760px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    text-align: center;
}
.section-head.align-left { margin-left: 0; text-align: left; }
.section-head p { margin-top: 18px; font-size: clamp(1rem, 0.4vw + 0.95rem, 1.15rem); }

/* -------- 5. BUTTONS -------- */
/* -------- 5. GOMBOK — Brand Book §11 + Apple HIG (44px touch) --------
   Apple-elv: capsule, scale(0.97) active-state, max translateY(-1px) hover. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    font-family: var(--font-sans);
    font-weight: var(--fw-medium);
    font-size: var(--fs-lg);
    line-height: 1;
    padding: 12px 22px;
    min-height: 44px;             /* Apple HIG touch-target */
    border-radius: var(--r-md);   /* 8px — Apple admin-stílus, NEM pill */
    transition: background var(--tr-base), color var(--tr-base),
                transform var(--tr-fast), box-shadow var(--tr-base);
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: -0.01em;
    border: 1.5px solid transparent;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }    /* Apple-pressed-state */
.btn i { font-size: 0.95em; }

.btn--primary {
    background: var(--clr-accent);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
    background: var(--clr-accent-hov);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent);
}

.btn--dark {
    background: var(--clr-dark);
    color: #fff;
}
.btn--dark:hover {
    background: var(--clr-dark-soft);
    color: #fff;
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: var(--clr-dark);
    border-color: var(--clr-border);
}
.btn--ghost:hover {
    background: var(--clr-surface);
    border-color: var(--clr-dark);
    color: var(--clr-dark);
    transform: translateY(-1px);
}

.btn--ghost-inv {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.24);
}
.btn--ghost-inv:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--lg { padding: 18px 32px; font-size: 1.0625rem; }
.btn--sm { padding: 11px 18px; font-size: 0.9rem; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.btn-row--center { justify-content: center; }

/* -------- 6. HEADER -------- */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 249, 248, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
    background: rgba(247, 249, 248, 0.96);
    border-bottom-color: var(--clr-border-soft);
    box-shadow: var(--shadow-sm);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}
.header__logo img { height: 44px; width: auto; flex-shrink: 0; }
.header__logo { flex-shrink: 0; }
.header__right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header__nav {
    display: flex;
    gap: 4px;
}
.header__nav a {
    padding: 9px 14px;
    color: var(--clr-text-soft);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--r-sm);
    transition: all var(--transition);
}
.header__nav a:hover {
    color: var(--clr-dark);
    background: rgba(4, 31, 21, 0.05);
}
.header__nav a.active {
    color: var(--clr-dark);
    background: rgba(29, 158, 117, 0.1);
}
.header__cta {
    background: var(--clr-dark);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
}
.header__cta:hover {
    background: var(--clr-accent);
    color: #fff;
    transform: translateY(-1px);
}

.header--legal .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
}
.header__back {
    color: var(--clr-text-muted);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.header__back:hover { color: var(--clr-dark); }

.hamburger {
    display: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border-radius: var(--r-sm);
}
.hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--clr-dark);
    border-radius: 2px;
}

/* -------- 7. MOBILE NAV -------- */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--clr-dark);
    color: #fff;
    padding: 88px 32px 32px;
    transform: translateX(100%);
    transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__close {
    position: absolute;
    top: 20px; right: 20px;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.08);
}
.mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}
.mobile-nav__links a {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: -0.02em;
}
.mobile-nav__links a.active { color: var(--clr-accent); }
.mobile-nav__cta {
    background: var(--clr-accent);
    color: #fff;
    padding: 16px;
    text-align: center;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 1.05rem;
}

/* -------- 8. STICKY CTA (MOBIL) -------- */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 40;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    background: var(--clr-accent);
    color: #fff;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sticky-cta.visible {
    transform: translateX(-50%) translateY(0);
}

/* -------- 9. HERO -------- */
.hero {
    position: relative;
    padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 8vw, 96px);
    overflow: hidden;
    background:
        radial-gradient(ellipse 900px 500px at 85% -5%, rgba(29, 158, 117, 0.08), transparent 60%),
        radial-gradient(ellipse 700px 400px at 15% 110%, rgba(29, 158, 117, 0.06), transparent 60%),
        var(--clr-bg);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(4, 31, 21, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(4, 31, 21, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
    pointer-events: none;
}
.hero__inner {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}
.hero__inner.align-left { text-align: left; margin-left: 0; }
.hero h1 {
    font-size: clamp(2.1rem, 3.4vw + 0.9rem, 3.5rem);
    margin-bottom: 24px;
    white-space: nowrap;
    line-height: 1.1;
}
.hero h1 > br { display: block; }
@media (max-width: 900px) {
    .hero h1 { white-space: normal; }
}
.hero h1 em {
    font-style: normal;
    color: var(--clr-accent);
    position: relative;
    white-space: nowrap;
}
.hero .lead { max-width: 680px; margin: 0 auto 36px; }
.hero__inner.align-left .lead { margin-left: 0; }

.hero__proof {
    margin-top: clamp(40px, 6vw, 64px);
    padding: 18px 24px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: 640px;
    font-size: 0.95rem;
    color: var(--clr-text-soft);
    box-shadow: var(--shadow-sm);
}
.hero__proof i { color: var(--clr-accent); font-size: 1.1rem; }

.page-hero {
    padding: clamp(96px, 11vw, 144px) 0 clamp(48px, 6vw, 80px);
}

/* -------- 10. KÁRTYÁK — Brand Book §11 (Apple-szerű finom emelkedés) -------- */
.card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);          /* 12px */
    padding: var(--sp-8);                 /* 32px */
    box-shadow: var(--shadow-sm);
    transition: border-color var(--tr-base), box-shadow var(--tr-base),
                transform var(--tr-fast);
}
@media (hover: hover) {
    .card:hover {
        border-color: var(--clr-accent);
        transform: translateY(-2px);     /* MAX 2px — Apple-szabály */
        box-shadow: var(--shadow-md);
    }
}
.card__icon {
    width: 52px; height: 52px;
    border-radius: var(--r-md);
    background: var(--clr-accent-light);
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: var(--sp-5);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--clr-text-soft); }

.grid {
    display: grid;
    gap: 24px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Problem cards — Apple-szerű ikon-csempe (Brand Book §8) */
.card__icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    background: var(--clr-accent-light);
    color: var(--clr-accent);
    font-size: 20px;
    margin-bottom: var(--sp-4);
}
/* Backward-compat: ha még maradna .card__emoji span, ne legyen 2rem-es */
.card__emoji { display: none; }
.problem-card__quote {
    color: var(--clr-text);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.45;
}

/* USP card */
.usp-card h3 { font-size: 1.25rem; }
.usp-card .card__icon { background: var(--clr-dark); color: #fff; }

/* Feature grid — homepage */
.feature-grid { gap: 20px; }
.feature-grid .card { padding: 26px; }
.feature-grid .card__icon { width: 44px; height: 44px; font-size: 1.15rem; margin-bottom: 14px; }
.feature-grid h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature-grid p { font-size: 0.95rem; }

/* -------- 11. COMPARE TABLE -------- */
.compare-wrap {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.compare th, .compare td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid var(--clr-border-soft);
}
.compare thead th {
    background: var(--clr-surface-2);
    font-weight: 600;
    color: var(--clr-dark);
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}
.compare thead th:last-child {
    background: var(--clr-dark);
    color: #fff;
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody td:first-child { font-weight: 500; color: var(--clr-text); }
.compare .compare__bad {
    color: var(--clr-text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(220, 38, 38, 0.4);
}
.compare .compare__good {
    color: var(--clr-accent);
    font-weight: 700;
}
.compare td.center, .compare th.center { text-align: center; }
.compare .check {
    color: var(--clr-accent);
    font-weight: 900;
    font-size: 1.15rem;
    -webkit-text-stroke: 0.8px currentColor;
    text-stroke: 0.8px currentColor;
}
.compare .dash  { color: var(--clr-text-muted); opacity: 0.5; }

/* -------- 12. FEATURE ROWS (alternating) -------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    padding: clamp(40px, 5vw, 72px) 0;
    border-bottom: 1px solid var(--clr-border-soft);
}
.feature-row:last-of-type { border-bottom: none; }
.feature-row--reverse .feature-row__media { order: 2; }

.feature-row__media {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--clr-surface-2) 0%, rgba(29, 158, 117, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--clr-border);
}
.feature-row__media i {
    font-size: clamp(4rem, 8vw, 6rem);
    color: var(--clr-accent);
    opacity: 0.35;
}
.feature-row__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(29, 158, 117, 0.1);
    color: var(--clr-accent);
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.feature-row h3 {
    font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
    margin-bottom: 14px;
}
.feature-row .feature-benefit {
    margin-top: 14px;
    padding: 14px 18px;
    background: rgba(29, 158, 117, 0.06);
    border-left: 3px solid var(--clr-accent);
    border-radius: var(--r-sm);
    font-size: 0.98rem;
    color: var(--clr-text);
}
.feature-row .feature-benefit strong { color: var(--clr-accent); }

.feature-category-head {
    padding: 36px 0 0;
    margin-bottom: -20px;
    text-align: center;
}
.feature-category-head .badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: var(--clr-dark);
    color: #fff;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

/* -------- 13. PRICING -------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}
.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-xl);
    padding: 32px 26px;
    min-width: 0;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.32s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.22s ease;
    will-change: transform;
}
/* Desktop hover-scale csak 1024px felett — így mobil és tablet nem lesz érintve */
@media (hover: hover) and (min-width: 1025px) {
    .price-card:hover {
        transform: translateY(-8px) scale(1.035);
        box-shadow: var(--shadow-xl);
        z-index: 2;
        border-color: var(--clr-accent);
    }
    .price-card--featured:hover {
        transform: translateY(-10px) scale(1.045);
    }
}
/* Mobil / tablet — csak enyhe lift, scale nélkül (nincs tap-stuck shadow) */
@media (hover: hover) and (max-width: 1024px) {
    .price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}
.price-card--featured {
    border-color: var(--clr-accent);
    border-width: 2px;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, rgba(29, 158, 117, 0.03) 0%, #fff 30%);
}
.price-card__ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-accent);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: var(--r-pill);
    white-space: nowrap;
}
.price-card__header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--clr-border-soft);
    margin-bottom: 20px;
}
.price-card__name {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 6px;
}
.price-card h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
}
.price-card__tagline {
    color: var(--clr-text-muted);
    font-size: 0.92rem;
    margin-bottom: 18px;
    line-height: 1.45;
}
.price-card__price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: nowrap;
    row-gap: 2px;
    white-space: nowrap;
}
.price-card__price .amount {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--clr-accent);
    letter-spacing: -0.03em;
    line-height: 1;
}
.price-card__price .vat {
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.01em;
}
.price-card__price .period {
    color: var(--clr-text-muted);
    font-weight: 500;
    font-size: 0.85rem;
}
.price-card__features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 26px;
    font-size: 0.94rem;
}
.price-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--clr-text-soft);
    line-height: 1.45;
}
.price-card__features li i {
    color: var(--clr-accent);
    font-size: 0.9rem;
    margin-top: 4px;
    flex-shrink: 0;
}
.price-card__target {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    padding: 14px;
    background: var(--clr-surface-2);
    border-radius: var(--r-md);
    margin-bottom: 20px;
    line-height: 1.5;
}
.price-card .btn { width: 100%; }

/* -------- 14. FAQ -------- */
.faq {
    max-width: 820px;
    margin: 0 auto;
}
.faq__item {
    border-bottom: 1px solid var(--clr-border);
    padding: 4px 0;
}
.faq__item:first-child { border-top: 1px solid var(--clr-border); }
.faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 4px;
    text-align: left;
    font-weight: 600;
    font-size: 1.08rem;
    color: var(--clr-dark);
    transition: color var(--transition);
}
.faq__q:hover { color: var(--clr-accent); }
.faq__q::after {
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--clr-accent);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq__item.open .faq__q::after {
    content: '\f068';
    transform: rotate(180deg);
}
.faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--clr-text-soft);
}
.faq__item.open .faq__a {
    max-height: 500px;
    padding: 0 4px 22px;
}

/* -------- 15. TESTIMONIALS -------- */
.testimonial {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
}
.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 16px; right: 26px;
    font-size: 4rem;
    color: var(--clr-accent);
    opacity: 0.18;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial__text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--clr-text);
}
.testimonial__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--clr-border-soft);
}
.testimonial__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--clr-surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-accent);
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial__meta { font-size: 0.88rem; line-height: 1.35; }
.testimonial__name { color: var(--clr-dark); font-weight: 600; font-size: 0.95rem; }
.testimonial__co { color: var(--clr-text-muted); }

/* -------- 16. STATS & NUMBERS -------- */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.stat { text-align: center; }
.stat__num {
    display: block;
    font-size: clamp(2.4rem, 3vw + 1.5rem, 3.6rem);
    font-weight: 800;
    color: var(--clr-accent);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}
.stat__label {
    font-size: 0.95rem;
    color: var(--clr-text-soft);
    font-weight: 500;
}

/* -------- 17. CTA BLOCK -------- */
.cta-block {
    padding: clamp(56px, 7vw, 96px) clamp(32px, 5vw, 64px);
    background: var(--clr-dark);
    color: #fff;
    border-radius: var(--r-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 300px at 20% 0%, rgba(29, 158, 117, 0.25), transparent 60%),
        radial-gradient(ellipse 500px 300px at 80% 100%, rgba(29, 158, 117, 0.18), transparent 60%);
    pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: #fff; margin-bottom: 16px; }
.cta-block p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    margin: 0 auto 30px;
    font-size: 1.08rem;
}

/* -------- 18. BEMUTATÓ / KAPCSOLAT LAYOUT -------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: stretch;
}
.split__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split__info h1 { margin-bottom: 20px; }
.split__info .lead { margin-bottom: 32px; }

.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--clr-text-soft);
    font-size: 1rem;
    line-height: 1.5;
}
.check-list li i {
    color: var(--clr-accent);
    font-size: 1rem;
    margin-top: 5px;
    flex-shrink: 0;
}
.check-list strong { color: var(--clr-dark); font-weight: 600; }

.trust-signals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 24px;
}
.trust-signal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-md);
    font-size: 0.92rem;
}
.trust-signal i { color: var(--clr-accent); font-size: 1.1rem; }

.fillout-wrap {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-xl);
    padding: 8px;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}
.fillout-wrap iframe {
    width: 100%;
    flex: 1;
    min-height: 640px;
    border: 0;
    border-radius: calc(var(--r-xl) - 8px);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
}
.contact-info__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-md);
}
.contact-info__item i {
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    background: rgba(29, 158, 117, 0.1);
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.contact-info__label {
    display: block;
    font-size: 0.78rem;
    color: var(--clr-text-muted);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 3px;
}
.contact-info__value {
    color: var(--clr-dark);
    font-weight: 600;
    font-size: 1rem;
}

/* -------- 19. STORY / TEXT BLOCKS -------- */
.prose {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--clr-text-soft);
}
.prose p { margin-bottom: 22px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--clr-dark); font-weight: 700; }
.prose h3 { margin: 40px 0 14px; }
.prose ul {
    margin: 20px 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.prose ul li {
    padding-left: 26px;
    position: relative;
}
.prose ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0; top: 5px;
    color: var(--clr-accent);
    font-size: 0.8rem;
}

.value-card {
    padding: 30px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
}
/* v1.1.1 — value-card emoji span eltávolítva, helyébe .card__icon-tile lépett */

/* -------- 20. FOOTER -------- */
.footer {
    background: var(--clr-dark);
    color: rgba(247, 249, 248, 0.72);
    padding: clamp(56px, 7vw, 80px) 0 32px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: clamp(32px, 4vw, 48px);
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(247, 249, 248, 0.1);
}
.footer__logo { width: 200px; height: auto; margin-bottom: 18px; }
.footer__desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(247, 249, 248, 0.62);
    max-width: 340px;
}
.footer h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.footer ul { display: flex; flex-direction: column; gap: 11px; }
.footer ul a {
    color: rgba(247, 249, 248, 0.62);
    font-size: 0.95rem;
    transition: color var(--transition);
}
.footer ul a:hover { color: var(--clr-accent); }
.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.94rem;
}
.footer__contact li i {
    color: var(--clr-accent);
    font-size: 0.92rem;
    margin-top: 5px;
    width: 16px;
    flex-shrink: 0;
}
.footer__contact a { color: rgba(247, 249, 248, 0.78); }
.footer__contact a:hover { color: var(--clr-accent); }
.footer__bottom {
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: rgba(247, 249, 248, 0.52);
}
.footer__bottom strong { color: #fff; font-weight: 600; }
.footer__muted { opacity: 0.7; }
.footer__credit {
    opacity: 0.72;
    font-size: 0.85rem;
}
.footer__credit a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color var(--transition), opacity var(--transition);
}
.footer__credit a:hover {
    border-bottom-color: var(--clr-accent);
    opacity: 1;
}
.footer--legal .footer__credit a { color: var(--clr-text); }
.footer--legal .footer__credit a:hover { color: var(--clr-accent); }

.footer--legal { padding: 40px 0; }

/* -------- 21. REVEAL ANIMATION -------- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* -------- 22. RESPONSIVE -------- */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px) {
    body { font-size: 16px; }
    .header__nav, .header__cta { display: none; }
    .hamburger { display: flex; }
    .sticky-cta { display: inline-flex; }

    .grid--3 { grid-template-columns: 1fr; }
    .grid--2 { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; gap: 32px; }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .feature-row--reverse .feature-row__media { order: -1; }

    .split {
        grid-template-columns: 1fr;
    }
    .trust-signals { grid-template-columns: 1fr; }

    .compare-wrap { overflow-x: auto; }
    .compare { min-width: 620px; }
    .compare th, .compare td { padding: 14px 16px; font-size: 0.9rem; }

    .pricing-grid { gap: 28px; }

    .footer__grid { grid-template-columns: 1fr; gap: 40px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .hero__proof { font-size: 0.88rem; padding: 14px 18px; }
    .cta-block { padding: 48px 28px; }
    .card, .testimonial, .price-card { padding: 24px; }
    .btn { padding: 14px 22px; font-size: 0.95rem; }
    .btn--lg { padding: 15px 26px; }
}

/* -------- 20. V1.0.2 — COMPARE SUB-SZÖVEGEK + LÁBJEGYZET + MÁTRIX KIEMELT OSZLOP -------- */

/* A bad/good cellákban a sub-szöveg új sorba kerül, és nem kapja meg a line-through-ot */
.compare--with-sub .compare__bad,
.compare--with-sub .compare__good {
    line-height: 1.35;
}
.compare__sub {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    text-decoration: none;
    letter-spacing: 0;
}
.compare__sub--good {
    color: var(--clr-accent);
    opacity: 0.82;
}

/* Lábjegyzet a Számokban mutatjuk táblázat alatt */
.compare-note {
    margin-top: 18px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
.compare-note sup { color: var(--clr-accent); font-weight: 700; }
.compare-note em { font-style: italic; color: var(--clr-text-soft); }

/* Mátrix jelmagyarázat (a részletes összehasonlítás alatt) */
.compare-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
}
.compare-legend span { display: inline-flex; align-items: center; gap: 6px; }
.compare-legend i { color: var(--clr-accent); }
.compare-legend .dash { color: var(--clr-text-muted); font-weight: 700; }

/* Zöld karika az opcionális jelzéshez (mátrix cellákban + jelmagyarázat) —
   CSS-szel rajzolt, nem szöveges karakter, hogy minden OS-en egyformán néz ki */
.compare .dot-opt,
.compare-legend .dot-opt,
.price-card__features .dot-opt {
    display: inline-block;
    width: 11px;
    height: 11px;
    border: 2px solid var(--clr-accent);
    border-radius: 50%;
    background: transparent;
    vertical-align: middle;
    line-height: 1;
    font-size: 0;
    color: transparent;
    cursor: help;
}

/* Weboldal Pro oszlop kiemelés a részletes összehasonlító mátrixban */
.compare--matrix th.compare__col-featured {
    background: linear-gradient(180deg, var(--clr-accent) 0%, var(--clr-accent-hov) 100%);
    color: #fff;
    position: relative;
    padding-top: 22px;
    padding-bottom: 22px;
}
.compare--matrix th.compare__col-featured .compare__col-badge {
    display: block;
    margin-top: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.92;
}
.compare--matrix td.compare__col-featured {
    background: rgba(29, 158, 117, 0.06);
}
.compare--matrix tbody tr:hover td.compare__col-featured {
    background: rgba(29, 158, 117, 0.10);
}

/* Pricing logic info-box (Havidíj + Egyszeri projektdíj magyarázat) */
.pricing-logic {
    background: linear-gradient(180deg, rgba(29, 158, 117, 0.04) 0%, rgba(29, 158, 117, 0.08) 100%);
    border: 1px solid rgba(29, 158, 117, 0.22);
    border-radius: var(--r-xl);
    padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px);
}
.pricing-logic__head {
    text-align: center;
    margin-bottom: clamp(24px, 3vw, 36px);
}
.pricing-logic__head .eyebrow { color: var(--clr-accent); }
.pricing-logic__head h3 {
    font-size: clamp(1.4rem, 1.4vw + 1rem, 1.8rem);
    margin-top: 6px;
    margin-bottom: 0;
}
.pricing-logic__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2vw, 24px);
    margin-bottom: clamp(20px, 3vw, 32px);
}
.pricing-logic__card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-lg);
    padding: clamp(20px, 2.5vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pricing-logic__card--featured {
    border-color: rgba(29, 158, 117, 0.5);
    border-width: 2px;
    background: linear-gradient(180deg, rgba(29, 158, 117, 0.02) 0%, #fff 30%);
}
.pricing-logic__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 158, 117, 0.12);
    color: var(--clr-accent);
    border-radius: var(--r-md);
    font-size: 1.15rem;
    margin-bottom: 4px;
}
.pricing-logic__label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-accent);
}
.pricing-logic__card h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--clr-dark);
}
.pricing-logic__card p {
    color: var(--clr-text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    flex: 1;
    text-wrap: pretty;
}
.pricing-logic__price {
    margin-top: 8px;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--clr-accent);
    letter-spacing: -0.01em;
}
.pricing-logic__note {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin-top: -4px;
}
.pricing-logic__cta {
    text-align: center;
}

@media (max-width: 720px) {
    .pricing-logic__grid { grid-template-columns: 1fr; }
}

/* Nettó disclaimer */
.pricing-disclaimer {
    margin-top: 28px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}
.pricing-disclaimer strong { color: var(--clr-text-soft); }


/* Mobil: compare sub-szövegek kisebb, kevesebb gap */
@media (max-width: 860px) {
    .compare__sub { font-size: 0.72rem; }
    .compare--matrix th.compare__col-featured .compare__col-badge { font-size: 0.62rem; }
}

/* -------- 21. REFERENCIÁK (referenciak.php) v3 — 50/50 layout, semleges kép háttér -------- */
.reference-list {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 4vw, 56px);
}
.reference-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.reference-card:hover {
    border-color: var(--clr-accent);
    box-shadow: var(--shadow-lg);
}

/* BAL oszlop — fejléc + cím + tagek + kép */
.reference-card__left {
    padding: clamp(28px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-right: 1px solid var(--clr-border-soft);
}
/* JOBB oszlop — PageSpeed blokk + CTA */
.reference-card__right {
    padding: clamp(28px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--clr-surface);
}

/* Mockup média — most a bal oszlopon belül, a tagek után */
.reference-card__media {
    position: relative;
    display: block;
    background: var(--clr-surface-2);
    border: 1px solid var(--clr-border-soft);
    border-radius: var(--r-md);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    margin-top: 6px;
}
.reference-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.reference-card:hover .reference-card__media img {
    transform: scale(1.02);
}
.reference-card__fallback {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--clr-accent);
}
.reference-card__fallback i {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    opacity: 0.4;
}
.reference-card__fallback span {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.reference-card__open-link {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(4, 31, 21, 0.85);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s, transform 0.2s;
    backdrop-filter: blur(8px);
}
.reference-card:hover .reference-card__open-link {
    opacity: 1;
    transform: translateY(0);
}

.reference-card__top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    align-items: center;
    font-size: 0.82rem;
    color: var(--clr-text-muted);
}
.reference-card__domain {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: var(--clr-text-soft);
    font-weight: 500;
}
.reference-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-success);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
    animation: refDot 2.2s ease-in-out infinite;
}
@keyframes refDot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15); }
    50%      { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.05); }
}
.reference-card__migrated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(4, 31, 21, 0.05);
    border-radius: 999px;
    font-size: 0.76rem;
}
.reference-card__name {
    margin: 0;
    font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem);
    color: var(--clr-dark);
    line-height: 1.15;
}
.reference-card__tagline {
    margin: 0;
    color: var(--clr-text-soft);
    font-size: 0.98rem;
    line-height: 1.5;
}
.reference-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 2px;
}
.reference-card__tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--clr-accent);
    background: rgba(29, 158, 117, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}

/* Testimonial idézet */
.reference-card__testimonial {
    margin: 4px 0 0;
    padding: 14px 18px;
    background: var(--clr-surface-2);
    border-left: 3px solid var(--clr-accent);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-size: 0.9rem;
}
.reference-card__testimonial p { margin: 0 0 6px; color: var(--clr-text-soft); font-style: italic; }
.reference-card__testimonial cite { font-style: normal; font-size: 0.82rem; color: var(--clr-text-muted); }

.reference-card__footer {
    margin-top: auto;
    padding-top: 8px;
}

/* ===== PageSpeed összehasonlítás ===== */
.ps-comparison {
    margin-top: 6px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(29, 158, 117, 0.05), rgba(29, 158, 117, 0.02));
    border: 1px solid rgba(29, 158, 117, 0.2);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ps-comparison--pending {
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.05), rgba(217, 119, 6, 0.02));
    border-color: rgba(217, 119, 6, 0.2);
}
.ps-comparison__head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--clr-dark);
    font-size: 0.95rem;
}
.ps-comparison__head i { color: var(--clr-accent); }
.ps-comparison--pending .ps-comparison__head i { color: var(--clr-warn); }
.ps-comparison__badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(217, 119, 6, 0.15);
    color: var(--clr-warn);
}

/* Sor — Mobil / Desktop */
.ps-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: center;
}
.ps-row__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--clr-text-soft);
    font-weight: 500;
    font-size: 0.88rem;
}
.ps-row__label i { color: var(--clr-text-muted); }
.ps-scores {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Score — egy progress ring + szám + label */
.ps-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* Brand badge — score ring fölé (WordPress + WooCommerce → Promokit CMS átállás jelzése) */
.ps-score__brand {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--clr-text-soft);
    letter-spacing: -0.01em;
    margin-bottom: 2px;
    white-space: nowrap;
    max-width: 140px;
    line-height: 1.1;
}
.ps-score__brand i,
.ps-score__brand img {
    flex-shrink: 0;
    font-size: 0.95rem;
    width: 14px;
    height: 14px;
    object-fit: contain;
}
.ps-score__brand span {
    overflow: hidden;
    text-overflow: ellipsis;
}
.ps-score__brand--before { color: var(--clr-danger); }
.ps-score__brand--after { color: var(--clr-accent); }
.ps-score__brand--after img { filter: none; }

/* Mobilon a brand-badge kompaktabb / tördelhető */
@media (max-width: 560px) {
    .ps-score__brand {
        font-size: 0.62rem;
        max-width: 88px;
        white-space: normal;
        text-align: center;
        line-height: 1.05;
    }
    .ps-score__brand i,
    .ps-score__brand img { width: 12px; height: 12px; font-size: 0.82rem; }
}
.ps-score__ring {
    position: relative;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-score__ring svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.ps-score__ring svg circle {
    fill: none;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-dasharray: 0 100;
    transition: stroke-dasharray 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}
.ps-score--before .ps-score__ring svg circle { stroke: var(--clr-danger); }
.ps-score--before[data-score] .ps-score__ring svg circle { stroke: var(--clr-warn); }
.ps-score--before[data-score] .ps-score__ring svg circle {
    /* 0-49: piros, 50-89: sárga, 90-100: zöld */
    stroke: var(--clr-warn);
}
.ps-score__ring { background: rgba(4, 31, 21, 0.04); border-radius: 50%; }
.ps-score--before .ps-score__ring { background: rgba(217, 119, 6, 0.08); }
.ps-score--after .ps-score__ring  { background: rgba(22, 163, 74, 0.08); }
.ps-score--after .ps-score__ring svg circle { stroke: var(--clr-success); }
.ps-score__num {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-dark);
    font-variant-numeric: tabular-nums;
}
.ps-score--pending .ps-score__ring {
    background: rgba(106, 123, 115, 0.08);
    border: 1px dashed var(--clr-border);
}
.ps-score--pending .ps-score__ring svg circle { stroke: rgba(106, 123, 115, 0.3); stroke-dasharray: 2 3; }
.ps-score--pending .ps-score__num { color: var(--clr-text-muted); }
.ps-score__label {
    font-size: 0.7rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.ps-arrow {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
    align-self: center;
    padding-bottom: 14px;
}

.ps-diff {
    margin-left: auto;
    padding: 6px 12px;
    background: rgba(22, 163, 74, 0.12);
    color: var(--clr-success);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 999px;
    align-self: center;
    font-variant-numeric: tabular-nums;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
}

/* Betöltési idő */
.ps-load {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border-soft);
    border-radius: var(--r-md);
    font-size: 0.88rem;
    flex-wrap: wrap;
}
.ps-load > i { color: var(--clr-accent); }
.ps-load strong { font-variant-numeric: tabular-nums; color: var(--clr-dark); }
.ps-load__before { color: var(--clr-danger) !important; }
.ps-load__after { color: var(--clr-success) !important; }
.ps-load__after--pending { color: var(--clr-text-muted) !important; }
.ps-load__arrow { color: var(--clr-text-muted); font-size: 0.76rem; margin: 0 4px; }
.ps-load__speedup {
    margin-left: auto;
    font-weight: 700;
    color: var(--clr-success);
    font-size: 0.82rem;
    padding: 3px 10px;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 999px;
}
.ps-load__note {
    color: var(--clr-text-muted);
    font-size: 0.78rem;
    font-style: italic;
}

/* PDF bizonyítékok */
.ps-proofs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 0.85rem;
}
.ps-proofs__label {
    color: var(--clr-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.ps-proofs__label i { color: var(--clr-accent); }
.ps-proof-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--r-sm);
    color: var(--clr-text-soft);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
}
.ps-proof-btn:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    transform: translateY(-1px);
}
.ps-proof-btn::before {
    content: '📄';
    font-size: 0.9em;
}

.ps-measured {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    text-align: right;
}
.ps-measured a { color: var(--clr-text-muted); text-decoration: underline; }
.ps-measured a:hover { color: var(--clr-accent); }

/* Info tooltip — pure CSS, hover + focus-within (keyboard + mobile tap) */
.ps-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 4px;
    color: var(--clr-text-muted);
    cursor: help;
    border-radius: 50%;
    transition: color var(--transition), background var(--transition);
    vertical-align: middle;
}
.ps-info:hover,
.ps-info:focus-visible {
    color: var(--clr-accent);
    background: rgba(29, 158, 117, 0.1);
    outline: none;
}
.ps-info i { font-size: 0.95rem; }
.ps-info__pop {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: min(320px, 82vw);
    padding: 12px 14px;
    background: var(--clr-dark);
    color: var(--clr-text-inv);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.5;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 20;
    text-align: left;
    cursor: default;
    pointer-events: none;
    white-space: normal;
}
.ps-info__pop strong { color: #fff; font-weight: 600; }
.ps-info__pop em { color: rgba(255, 255, 255, 0.85); font-style: italic; }
.ps-info__pop::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 6px;
    border: 6px solid transparent;
    border-top-color: var(--clr-dark);
}
.ps-info:hover .ps-info__pop,
.ps-info:focus-within .ps-info__pop,
.ps-info:focus .ps-info__pop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 560px) {
    .ps-info__pop {
        right: -8px;
        width: min(280px, 88vw);
        font-size: 0.75rem;
    }
    .ps-info__pop::after { right: 12px; }
}

/* Üres állapot (ha még nincs referencia) */
.reference-empty {
    max-width: 640px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
    background: var(--clr-surface);
    border: 1px dashed var(--clr-border);
    border-radius: var(--r-xl);
    text-align: center;
}
.reference-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(29, 158, 117, 0.1);
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.reference-empty h2 {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 2vw + 0.8rem, 1.8rem);
}
.reference-empty p {
    margin: 0;
    color: var(--clr-text-soft);
    line-height: 1.55;
}

/* Reference card mobile — egymás alá */
@media (max-width: 860px) {
    .reference-card {
        grid-template-columns: 1fr;
    }
    .reference-card__left {
        border-right: none;
        border-bottom: 1px solid var(--clr-border-soft);
        padding: clamp(22px, 4vw, 32px);
    }
    .reference-card__right {
        padding: clamp(22px, 4vw, 32px);
    }
    .ps-row { grid-template-columns: 1fr; gap: 8px; }
    .ps-scores { flex-wrap: wrap; }
    .ps-diff { margin-left: 0; }
    .ps-load { flex-direction: column; align-items: flex-start; gap: 6px; }
    .ps-load__speedup { margin-left: 0; }
}
