/* --------------------------------------------------
   Hero szekció - Mobile-first elrendezés, éles oldal színekkel
-------------------------------------------------- */

/* ===== ÉLES OLDAL SZÍNRENDSZER (PÁLYAZATKERESÉS.HU) ===== */
:root {
    --hero-primary: #0f2344;   /* hero háttér kezdete */
    --hero-primary-strong: #1c3b6f;
    --hero-blue: #2b4fa3;
    --hero-blue-light: #60a5fa;
    --hero-blue-dark: #1e40af;
    --hero-accent: #22c55e; /* zöld */
    --hero-text-primary: #ffffff;   /* fő szöveg */
    --hero-text-secondary: #d6e0f0;  /* alcím */
    --hero-card-bg: #ffffff;        /* kártya háttér */
    --hero-card-text: #1c3b6f;      /* kártya szöveg */
}

/* ===== HERO SZEKCIÓ ALAPJAI ===== */
.hero {
    border-bottom: 4px solid #1c3b6f;
}

/* ===== HERO TOP - KÉNYSZERÍTETT HÁTTÉR + RÉTEGEZÉS ===== */
.hero-top {
    position: relative;
    z-index: 2;
    min-height: 60vh;
    padding: 64px 16px;
    background: linear-gradient(
        120deg,
        #0f2344 0%,
        #1c3b6f 35%,
        #2b4fa3 70%,
        #355cc9 100%
    );
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--hero-text-primary);
    margin: 0;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--hero-text-secondary);
    margin: 0;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.hero-benefits li {
    font-size: 1rem;
    position: relative;
    padding-left: 24px;
    text-align: left;
}

.hero-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--hero-accent);
    font-weight: bold;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

/* Alap gomb stílusok */
.btn {
    display: inline-block;
    padding: 16px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-width: 200px;
}

/* CSS Változók - Hero gombok */
:root {
  --cta-primary-bg: #22c55e;
  --cta-primary-text: #ffffff;
  --cta-primary-hover-bg: #16a34a;

  --cta-secondary-text: #ffffff;
  --cta-secondary-border: rgba(255,255,255,0.4);
  --cta-secondary-hover-bg: rgba(255,255,255,0.12);
}

/* Elsődleges CTA - Lockolt hover színek */
.hero .btn-primary {
  background-color: #22c55e;          /* zöld */
  color: #ffffff;                     /* FEHÉR SZÖVEG */
  border: none;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn-primary:hover,
.hero .btn-primary:focus {
  background-color: #16a34a;          /* sötétebb zöld */
  color: #ffffff !important;          /* TILOS mást engedni */
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
  text-decoration: none;
}

/* Másodlagos CTA - Lockolt hover színek */
.hero .btn-secondary {
  background-color: transparent;
  color: #ffffff;                     /* FEHÉR SZÖVEG */
  border: 1px solid rgba(255,255,255,0.5);
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus {
  background-color: rgba(255,255,255,0.12);
  color: #ffffff !important;          /* TILOS lilulni */
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Framework / Default hover tiltása (KRITIKUS!) */
.hero a:hover,
.hero button:hover {
  color: inherit;
}

/* Bootstrap / Tailwind hover tiltása */
.hero .btn:hover {
  color: #ffffff !important;
}

/* Csomag gombok stílusai */
.btn-trial {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-trial:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff !important; /* TILOS színváltozás! */
}

.btn-select {
  background-color: #1e3a8a;
  color: #ffffff;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border: none;
  text-decoration: none;
  display: inline-block;
}

.btn-select:hover {
  background-color: #1e40af;
  color: #ffffff !important; /* TILOS színváltozás! */
  transform: translateY(-1px);
}

/* Üzleti + Szakmai gombok - visszafogott, világos */
.btn-secondary {
  background-color: #f1f5f9;
  color: #1e3a8a;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #e2e8f0;
  color: #1e3a8a;
}

/* Free "Ezt szeretném" diszkrét gomb */
.btn-free {
  background: transparent;
  color: #1e3a8a;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-free:hover {
  background-color: #f8fafc;
  color: #1e3a8a;
}

/* Részletek link stílus */
.plan-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* Gomb szélesség kontroll – CSAK a pricing CTA-ban */
.pricing-footer-fixed .btn {
  min-width: 160px;
  max-width: 190px;
  height: 40px;
  padding: 8px 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Spacer – ez jó, marad */
.pricing-spacer {
  height: 64px; /* 48 / 64 / 80 finomhangolás */
}

/* "Részletek" link – végleges */
.plan-details {
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
  line-height: 1;
  margin-top: 2px;
  text-decoration: none;
  display: inline-block;
  height: 16px;
}

.plan-details:hover {
  color: #1e40af;
  text-decoration: underline;
}


/* Alap csomag kiemelése */
.pricing-basic {
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.2);
  transform: translateY(-2px);
}

/* 🔒 KÁRTYA ALAPSTRUKTÚRA */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Tartalom is flex */
.pricing-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* 🔑 EZ A LÉNYEG – FIX AKCIÓ SÁV */
.pricing-footer-fixed {
  margin-top: auto;               /* minden kártyában azonos szint */
  min-height: 90px;               /* 🔥 EZ HOZZA EGY VONALBA */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* 🔘 GOMBOK – KESKENY, VISSZAFOGOTT */
.pricing-footer-fixed .btn {
  min-width: 160px;
  max-width: 180px;
  height: 38px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🟢 ALAP CSOMAG – ZÖLD */
.btn-primary {
  background: #22c55e;
  color: #ffffff;
  border: none;
}
.btn-primary:hover {
  background: #16a34a;
}

/* ⚪ NEM INGYENES CSOMAGOK */
.btn-secondary {
  background: #f8fafc;
  color: #1e3a8a;
  border: 1px solid #cbd5e1;
}
.btn-secondary:hover {
  background: #e2e8f0;
}

/* 🔗 RÉSZLETEK – KISEBB, FÉLKÖVÉR */
.plan-details {
  font-size: 13px;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
}
.plan-details:hover {
  text-decoration: underline;
}

/* ⛔ ALSÓ ZÓNA ÉRINTHETETLEN */
.pricing-content hr,
.pricing-recommended {
  margin-top: 16px;
}

/* Információs blokk - Éles oldal színekkel */
.hero-info {
    font-size: 0.95rem;
    background-color: var(--hero-card-bg);
    border-left: 4px solid var(--hero-blue-light);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.hero-info h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--hero-card-text);
    margin-top: 0;
}

.hero-info p {
    color: var(--hero-card-text);
    margin: 0;
    line-height: 1.6;
}

/* ===== DESKTOP KIEGÉSZÍTÉS (CSAK MIN-WIDTH) ===== */
@media (min-width: 1024px) {
    .hero-top {
        min-height: 60vh;
        padding: 64px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }

    .hero-content {
        flex: 1;
        text-align: left;
        max-width: 600px;
        margin: 0;
    }

    .hero-info {
        flex: 1;
        font-size: 1rem;
        max-width: 400px;
        margin: 0;
    }

    .hero-cta {
        flex-direction: row;
        gap: 16px;
        align-items: flex-start;
        justify-content: flex-start;
        margin-top: 16px;
    }

    .hero-cta-secondary {
        opacity: 1;
        font-size: 1rem;
    }
    
    /* Desktop specifikus finomhangolások */
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .hero-benefits {
        margin-bottom: 8px;
        max-width: 400px;
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-benefits li {
        margin-bottom: 8px;
        font-size: 1.1rem;
    }
    
    .hero-info h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .hero-info p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

/* TABLET (768px+) - Finomhangolás */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-top {
        padding: 32px 24px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: row;
        justify-content: center;
        gap: 16px;
    }
    
    .hero-cta-secondary {
        font-size: 1rem;
        opacity: 1;
    }
}

/* LARGE DESKTOP (1440px+) */
@media (min-width: 1440px) {
    .hero-top {
        padding: 80px;
        gap: 64px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-info {
        font-size: 1.1rem;
    }
    
    .hero-info h3 {
        font-size: 1.6rem;
    }
}

/* ===== MOBIL-FIRST FINOMÍTÁS ===== */
@media (max-width: 768px) {
    .hero-top {
        min-height: 70vh;
    }

    .hero-bottom {
        height: 25vh;
    }
}

/* ===== TÉNYEK ÉS MÉRET - ADATVEZÉRELT BIZALOMÉPÍTÉS ===== */
.section-stats {
    background: #ffffff;
    border-top: 1px solid #e5e7eb; /* finom lezárás a hero-tól */
    padding: 56px 16px;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-header {
    text-align: center;
    margin-bottom: 48px;
}

.stats-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #1c3b6f;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.stats-subtitle {
    font-size: 16px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* Stat blokkok grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Tablet: 2 oszlop */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobil: 1 oszlop */
@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .section-stats {
        padding: 40px 16px;
    }
}

/* Egyes stat elemek */
.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

/* Nagy számok */
.stat-value {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    color: #1c3b6f;
    line-height: 1;
    margin-bottom: 8px;
    font-variant-numeric: tabular-nums; /* számok egyenletes távolsága */
}

/* Magyarázat */
.stat-label {
    font-size: 14px;
    color: #475569;
    line-height: 1.4;
    font-weight: 500;
    max-width: 200px;
    margin: 0 auto;
}

/* Mobil finomhangolás */
@media (max-width: 640px) {
    .stat-item {
        min-height: 100px;
        padding: 16px;
    }
    
    .stat-value {
        font-size: clamp(36px, 8vw, 48px);
    }
    
    .stat-label {
        font-size: 13px;
        max-width: 160px;
    }
    
    .stats-title {
        margin-bottom: 32px;
    }
}

/* Accessibility és finom animációk */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero animációk */
.hero-title,
.hero-subtitle,
.hero-benefits li,
.hero-cta .btn,
.hero-info {
    animation: fadeInUp 0.6s ease-out;
}

/* Statisztikák animáció - nagyon finom, intézményi */
.stat-item {
    animation: fadeInUp 0.7s ease-out;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

/* ===== HOGYAN MŰKÖDIK? - KOCKÁZATCSÖKKENTŐ FOLYAMAT ===== */
.section-how {
    background: #f8fafc;
    padding: 64px 16px;
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
}

.how-header {
    text-align: center;
    margin-bottom: 48px;
}

.how-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #1c3b6f;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.how-subtitle {
    font-size: 16px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* Lépések grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Tablet: 2 oszlop */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobil: 1 oszlop */
@media (max-width: 640px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-how {
        padding: 48px 16px;
    }
}

/* Egyes lépés blokkok */
.step {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    min-height: 140px;
}

/* Lépésszám - fő vizuális elem */
.step-number {
    font-size: 32px;
    font-weight: 700;
    color: #1c3b6f;
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28, 59, 111, 0.08);
    border-radius: 8px;
}

.step-content {
    flex: 1;
}

/* Lépés címe */
.step-title {
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #0f2344;
    font-size: 16px;
    line-height: 1.4;
}

/* Leírás */
.step-desc {
    margin: 0;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

/* Mobil finomhangolás */
@media (max-width: 640px) {
    .step {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
        background: #ffffff;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
        min-height: auto;
    }
    
    .step-number {
        font-size: 24px;
        width: 32px;
        height: 32px;
    }
    
    .step-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .step-desc {
        font-size: 13px;
    }
    
    .how-title {
        margin-bottom: 32px;
    }
}

/* ===== MIT FIGYELÜNK ÉS HONNAN? - TRANZPARENCIA ÉS FORRÁSLEÍRÁS ===== */
.section-sources {
    background: #ffffff;
    padding: 64px 16px;
}

.sources-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sources-header {
    text-align: center;
    margin-bottom: 48px;
}

.sources-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #1c3b6f;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.sources-subtitle {
    font-size: 16px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* Források tartalom - 2 oszlop desktop */
.sources-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Forrásblokkok grid */
.sources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Forrásblokkok */
.source-block {
    margin-bottom: 24px;
}

.source-title {
    font-weight: 600;
    color: #0f2344;
    font-size: 16px;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

/* Strukturált felsorolás */
.source-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.source-list li {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
}

.source-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1c3b6f;
    font-weight: bold;
}

.source-list li:last-child {
    margin-bottom: 0;
}

/* Frissítés kiemelés */
.update-box {
    border-left: 4px solid #1c3b6f;
    padding-left: 16px;
    color: #334155;
    height: fit-content;
    align-self: flex-start;
}

.update-title {
    font-weight: 600;
    color: #1c3b6f;
    font-size: 16px;
    margin: 0 0 8px 0;
}

.update-desc {
    font-size: 14px;
    color: #334155;
    margin: 0;
    line-height: 1.5;
}

/* Tablet: 1 oszlop */
@media (max-width: 1024px) {
    .sources-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .sources-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobil: vertikális */
@media (max-width: 640px) {
    .section-sources {
        padding: 48px 16px;
    }
    
    .sources-content {
        gap: 24px;
    }
    
    .update-box {
        margin-top: 16px;
        padding: 16px;
        border-left: none;
        border-top: 4px solid #1c3b6f;
    }
    
    .sources-title {
        margin-bottom: 32px;
    }
}

/* ===== KINEK AJÁNLOTT / KINEK NEM - ŐSZINTE POZICIONÁLÁS ===== */
.section-fit {
    background: #f8fafc;
    padding: 64px 16px;
}

.fit-container {
    max-width: 1200px;
    margin: 0 auto;
}

.fit-header {
    text-align: center;
    margin-bottom: 48px;
}

.fit-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #1c3b6f;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.fit-subtitle {
    font-size: 16px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* Két oszlopos felépítés */
.fit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Oszlopok */
.section-stats {
    position: relative;
    background-image: url('/assets/img/hero/home_hero.jpg');
    background-size: cover;
    background-position: center;
    color: #0b1f3b;
}

.section-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 32, 74, 0.85) 0%,
        rgba(18, 58, 138, 0.85) 100%
    );
    z-index: 1;
}

.section-stats > * {
    position: relative;
    z-index: 2;
}

/* Szöveg olvashatóság - minimális árnyék */
.section-stats h2,
.section-stats .stat-number,
.section-stats .stat-label {
    color: #0b1f3b;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Enterprise-szintű biztonság - lebegő panel */
.stats-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 40px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(6px);
    border-radius: 20px;
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
    .stats-container {
        padding: 32px 20px;
        border-radius: 16px;
    }
}

.fit-column {
    background: #ffffff;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.fit-column-title {
    font-weight: 600;
    color: #0f2344;
    font-size: 18px;
    margin: 0 0 16px 0;
    line-height: 1.4;
}

/* Listák */
.fit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fit-list li {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
    padding-left: 20px;
    position: relative;
    margin-bottom: 12px;
}

.fit-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1c3b6f;
    font-weight: bold;
}

.fit-list li:last-child {
    margin-bottom: 0;
}

/* Tablet: 1 oszlop */
@media (max-width: 1024px) {
    .fit-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Mobil: vertikális */
@media (max-width: 640px) {
    .section-fit {
        padding: 48px 16px;
    }
    
    .fit-content {
        gap: 20px;
    }
    
    .fit-column {
        padding: 24px;
    }
    
    .fit-column-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .fit-list li {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .fit-title {
        margin-bottom: 32px;
    }
}

/* ===== FELHASZNÁLÓI VISSZAJELZÉSEK - INTÉZMÉNYI SOCIAL PROOF ===== */
.section-testimonials {
    background: #ffffff;
    padding: 64px 16px;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #1c3b6f;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.testimonials-subtitle {
    font-size: 16px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* Visszajelzések grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Visszajelzés kártya */
.testimonial {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    background: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Visszajelzés szöveg */
.testimonial-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin: 0 0 12px 0;
    flex: 1;
    font-style: italic;
}

/* Szerző megjelölése */
.testimonial-author {
    margin-top: auto;
    font-weight: 600;
    color: #1c3b6f;
    font-size: 14px;
    text-align: right;
}

/* Tablet: 2 oszlop */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobil: 1 oszlop */
@media (max-width: 640px) {
    .section-testimonials {
        padding: 48px 16px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
    
    .testimonial-author {
        font-size: 13px;
    }
    
    .testimonials-title {
        margin-bottom: 32px;
    }
}

/* ===== CSOMAGOK / ÁRAK - 4 SZINTŰ TERMÉKSTRUKTÚRA ===== */
.section-pricing {
    background: #f8fafc;
    padding: 64px 16px;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-header {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #1c3b6f;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.pricing-subtitle {
    font-size: 16px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* Csomagok grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Csomag kártya */
.pricing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Free csomag - visszafogottabb */
.pricing-free {
    opacity: 0.9;
}

.pricing-free .pricing-name {
    color: #64748b;
}

/* Csomag fejléc */
.pricing-header-card {
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    color: #0f2344;
    margin: 0 0 4px 0;
}

.pricing-subtitle-card {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 16px 0;
}

.pricing-price {
    font-size: 24px;
    font-weight: 700;
    color: #1c3b6f;
    margin: 0;
}

/* Csomag tartalom */
.pricing-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features {
    flex: 1;
}

.pricing-features h4 {
    font-size: 14px;
    font-weight: 600;
    color: #0f2344;
    margin: 0 0 8px 0;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.pricing-features li {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
    margin-bottom: 4px;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 12px;
}

/* CTA gombok */
.pricing-cta {
    margin: 16px 0;
}

.pricing-cta .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
}

/* Ajánlott szöveg */
.pricing-recommended {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

/* Tablet: 2 oszlop */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobil: 1 oszlop */
@media (max-width: 640px) {
    .section-pricing {
        padding: 48px 16px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .pricing-header-card {
        padding: 20px 20px 12px 20px;
    }
    
    .pricing-content {
        padding: 20px;
    }
    
    .pricing-name {
        font-size: 18px;
    }
    
    .pricing-price {
        font-size: 20px;
    }
    
    .pricing-cta .btn {
        padding: 14px 16px;
    }
}

/* ===== PRICING – STABIL GOMB IGAZÍTÁS (VÉGLEGES) ===== */

/* a teljes kártya rugalmas oszlop */
.pricing-card {
    display: flex;
    flex-direction: column;
}

/* a belső tartalom kitölti a magasságot */
.pricing-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* a szöveges rész nő, ahogy kell */
.pricing-features {
    flex-grow: 1;
}

/* a CTA blokk MINDIG azonos helyen */
.pricing-footer-fixed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
}

/* ===== PRICING – KŐBE VÉSETT IGAZÍTÁS ===== */

.pricing-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-features {
  flex: 1;
}

.pricing-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.pricing-bottom {
  margin-top: auto;
}

/* PRICING – alsó elválasztó csík végleges eltávolítása */
.pricing-bottom hr {
    display: none !important;
}



/* ===== CSS VÁLTOZÓK - FŐOLDALI ARCOLAT ===== */
:root {
  /* Hero színek - a főoldalról */
  --hero-primary: #0f2344;
  --hero-primary-strong: #1c3b6f;
  --hero-blue: #2b4fa3;
  --hero-blue-light: #60a5fa;
  --hero-blue-dark: #1e40af;
  --hero-accent: #22c55e;
  --hero-text-primary: #ffffff;
  --hero-text-secondary: #d6e0f0;
  --hero-card-bg: #ffffff;
  --hero-card-text: #1c3b6f;
}

/* ===== FAQ HERO SZEKCIÓ - FŐOLDALI STÍLUS ===== */
.faq-hero {
  min-height: 280px;
  background: linear-gradient(135deg, 
    var(--hero-primary) 0%,
    var(--hero-primary-strong) 35%,
    var(--hero-blue) 70%,
    #355cc9 100%
  );
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 48px;
}

.faq-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(15, 35, 68, 0.4), rgba(15, 35, 68, 0.6));
  z-index: 1;
}

.faq-hero-content {
  text-align: center;
  color: var(--hero-text-primary);
  max-width: 800px;
  padding: 0 20px;
  z-index: 2;
  position: relative;
}

.faq-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.faq-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ===== FAQ ACCORDION - FŐOLDALI KÁRTYÁK STÍLUSA ===== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--hero-card-bg);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.faq-item:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.faq-item.faq-open {
  border-color: var(--hero-blue-light);
  box-shadow: 0 12px 32px rgba(96, 165, 250, 0.15);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 15px 20px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 600;
  color: var(--hero-card-text);
  transition: all 0.2s ease;
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-item.faq-open .faq-question {
  color: var(--hero-blue-dark);
}

.faq-question-text {
  flex: 1;
  padding-right: 16px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  min-height: 24px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-icon svg {
  color: #64748b;
  transition: transform 0.3s ease, color 0.2s ease;
}

.faq-item.faq-open .faq-icon svg {
  color: var(--hero-blue-light);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 15px 20px 24px;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  align-items: center;
}

/* ===== FAQ LAPozás ===== */
.faq-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
}

.faq-pagination-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.faq-pagination-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
}

.faq-pagination-info {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

/* ===== FAQ ÜRES ÁLLAPOT ===== */
.faq-empty {
  text-align: center;
  padding: 80px 20px;
  color: #64748b;
}

.faq-empty-icon {
  margin-bottom: 16px;
  opacity: 0.5;
}

.faq-empty h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.faq-empty p {
  font-size: 1rem;
  line-height: 1.5;
}

/* ===== FAQ MOBIL RESZPONZIVITÁS ===== */
@media (max-width: 768px) {
  .faq-hero {
    min-height: 220px;
    margin-bottom: 32px;
  }
  
  .faq-hero-title {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .faq-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }
  
  .faq-answer-content {
    padding: 0 20px 16px 20px;
    font-size: 14px;
  }
  
  .faq-pagination {
    margin-top: 32px;
    padding-top: 24px;
    gap: 12px;
  }
  
  .faq-pagination-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .faq-empty {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .faq-hero-title {
    font-size: 1.75rem;
  }
  
  .faq-hero-subtitle {
    font-size: 1rem;
  }
  
  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  .faq-answer-content {
    padding: 0 16px 14px 16px;
    font-size: 13px;
  }
}

/* ===== FAQ RÉGI STÍLUSOK VISSZAÁLLÍTÁSA ===== */
.faq-question {
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #163b7a;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #1c3b6f;
}

.faq-icon {
    font-size: 20px;
    font-weight: 400;
    color: #2f5fd0;
    transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 16px;
}

.faq-answer p {
    padding: 0;
    margin: 0;
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #1c3b6f;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.faq-more {
    margin-top: 12px !important;
    padding-top: 0 !important;
    text-align: center;
}

.faq-more a {
    display: inline-block;
    font-size: 14px;
    color: #2f5fd6;
}

.hero-title { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.2s; }
.hero-benefits li:nth-child(1) { animation-delay: 0.3s; }
.hero-benefits li:nth-child(2) { animation-delay: 0.4s; }
.hero-benefits li:nth-child(3) { animation-delay: 0.5s; }
.hero-cta .btn { animation-delay: 0.6s; }
.hero-info { animation-delay: 0.7s; }

/* Fókusz állapotok */
.btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.btn-primary:focus {
    outline-color: var(--hero-accent);
}

/* Csökkentett mozgás */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Magas kontraszt mód */
@media (prefers-contrast: high) {
    .hero {
        background: var(--hero-primary);
    }
    
    .btn-primary {
        background: #16a34a;
        border: 2px solid white;
    }
    
    .btn-secondary {
        background: white;
        color: var(--hero-primary);
        border: 2px solid white;
    }
    
    .hero-info {
        background: rgba(255, 255, 255, 0.15);
        border-left-width: 6px;
    }
}

/* --------------------------------------------------
   Alap reset és fontok
-------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw; /* WARS was here: Én biztosítom, hogy ne lógjon ki a viewport szélességénél. */
    overflow-x: hidden; /* WARS was here: Én tiltom le a vízszintes scroll-t. */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
    background: var(--pf-bg);
    color: var(--pf-text);
    line-height: 1.5;
}

body.has-pf-header {
    padding-top: var(--pf-nav-height);
}

/* --------------------------------------------------
   Színek – téma változók (light / dark)
-------------------------------------------------- */

:root {
    --pf-bg: #f3f4f6;
    --pf-bg-alt: #e5e7eb;
    --pf-surface: #ffffff;
    --pf-surface-soft: #f9fafb;

    --pf-text: #0f172a;
    --pf-text-muted: #6b7280;
    --pf-border-subtle: #e5e7eb;
    --pf-border-strong: #cbd5f5;

    --pf-primary: #4f46e5;   /* indigó / lila, Hostco-s hangulat */
    --pf-primary-soft: rgba(79, 70, 229, 0.08);
    --pf-primary-strong: #4338ca;

    --pf-accent: #22c55e;
    --pf-danger: #ef4444;
    --pf-warning: #f97316;

    --pf-radius-lg: 1.75rem;
    --pf-radius-md: 1rem;
    --pf-radius-sm: 0.5rem;

    --pf-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.10);
    --pf-shadow-card: 0 18px 45px rgba(15, 23, 42, 0.16);

    --pf-nav-height: 72px;
}

/* Dark mód – a <html> vagy <body> kapja a theme-dark osztályt */

.theme-dark {
    --pf-bg: #020617;
    --pf-bg-alt: #020617;
    --pf-surface: #020617;
    --pf-surface-soft: #0b1120;

    --pf-text: #e5e7eb;
    --pf-text-muted: #9ca3af;
    --pf-border-subtle: #1f2937;
    --pf-border-strong: #374151;

    --pf-primary: #6366f1;
    --pf-primary-soft: rgba(99, 102, 241, 0.12);
    --pf-primary-strong: #818cf8;

    --pf-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.7);
    --pf-shadow-card: 0 25px 55px rgba(15, 23, 42, 0.95);
}

/* --------------------------------------------------
   Konténer, szekciók, grid
-------------------------------------------------- */

.pf-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* WARS was here: Én mobilra kisebb padding-et adok. */
@media (max-width: 768px) {
    .pf-container {
        padding: 0 1rem;
    }
}

/* WARS was here: Én a header konténernek külön padding-et adok mobilra. */
@media (max-width: 900px) {
    .pf-header .pf-container {
        padding: 0 0.5rem;
        max-width: 100%;
    }
}

.pf-section {
    padding: 4.5rem 0;
    background: var(--pf-bg);
    position: relative;
}

/* WARS was here: Én hivatalos háttérképeket adok hozzá. */
.pf-section-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 64, 175, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    background-size: cover, 40px 40px;
    background-position: center, 0 0;
    background-attachment: fixed, scroll;
    position: relative;
    overflow: hidden;
}

.pf-section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.pf-section-hero .pf-container {
    position: relative;
    z-index: 1;
}

.pf-section-official {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    border-top: 3px solid #1e40af;
    border-bottom: 3px solid #1e40af;
    position: relative;
}

.pf-section-official::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 50%, #1e40af 100%);
}

.pf-section-official-alt {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.pf-how-steps .pf-how-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    line-height: 64px;
    margin: 0 auto 0.75rem;
}

.pf-how-steps .pf-how-icon svg,
.pf-how-steps .pf-how-icon img {
    width: 64px !important;
    height: 64px !important;
    display: block;
    object-fit: contain;
}

.pf-how-steps .pf-how-icon .emoji-icon,
.pf-how-steps .pf-how-icon i {
    font-size: 64px !important;
    line-height: 64px !important;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* WARS was here: Én sötét mód stílusokat adok hozzá a hivatalos szekciókhoz. */
.theme-dark .pf-section-official {
    background: linear-gradient(to bottom, #0f172a 0%, #1e293b 100%);
    border-top-color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.theme-dark .pf-section-official::before {
    background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 50%, #3b82f6 100%);
}

.theme-dark .pf-section-official-alt {
    background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%);
}

/* WARS was here: Én mobilra kisebb padding-et adok. */
@media (max-width: 768px) {
    .pf-section {
        padding: 2.5rem 0;
    }
}

.pf-section-alt {
    background: var(--pf-surface-soft);
}

.pf-section-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.pf-section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0.25rem auto 2.2rem;
    color: var(--pf-text-muted);
    font-size: 0.98rem;
}

/* WARS was here: Én mobilra kisebb címeket adok. */
@media (max-width: 768px) {
    .pf-section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .pf-section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
}

.pf-grid {
    display: grid;
    gap: 1.75rem;
}

.pf-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pf-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pf-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* WARS was here: Én mobilra responsive grid-et adok. */
@media (max-width: 900px) {
    .pf-grid-2,
    .pf-grid-3,
    .pf-grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .pf-grid {
        gap: 0.75rem;
    }
}

/* --------------------------------------------------
   Header, navigáció
-------------------------------------------------- */

.pf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    backdrop-filter: blur(18px);
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85), rgba(30, 64, 175, 0.82));
    color: #e5e7eb;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    width: 100%;
    max-width: 100vw; /* WARS was here: Én biztosítom, hogy ne lógjon ki a viewport szélességénél. */
    overflow-x: hidden; /* WARS was here: Én csak vízszintes overflow-t tiltok le. */
    overflow-y: visible; /* WARS was here: Én engedélyezem a függőleges overflow-t. */
}

/* WARS was here: Én világos módban világosabb header háttért adok. */
.theme-light .pf-header,
:not(.theme-dark) .pf-header {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.92));
    color: #e5e7eb;
}

.pf-header-inner {
    height: var(--pf-nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    overflow: visible; /* WARS was here: Én biztosítom, hogy a gombok láthatók legyenek. */
    flex-wrap: nowrap; /* WARS was here: Én megakadályozom a törést. */
    position: relative; /* WARS was here: Én relatív pozíciót adok a mobil menü gombhoz. */
    gap: 0.5rem; /* WARS was here: Én gap-et adok a flex elemek között. */
}

.pf-logo {
    display: flex;
    align-items: center;
    gap: 0.4rem; /* WARS was here: Én kisebb gap-et adok a logó és a szöveg között. */
    font-weight: 700;
    letter-spacing: 0.03em;
    flex-shrink: 0; /* WARS was here: Én nem engedem, hogy a logó zsugorodjon. */
    min-width: auto; /* WARS was here: Én nem korlátozom a minimális szélességet. */
}

/* régi ikon-stílus már nem kell feltétlen, de maradhat; új kép: */
.pf-logo-img {
    height: 40px;
    width: 40px;
    border-radius: 8px; /* ha kicsit lágyabb sarkot akarsz, különben elhagyható */
    display: block;
}
.pf-logo:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    transition: all 0.18s ease;
}
/* Logó link fixálása: ne legyen link-szín, mindig fehéres / világos */
.pf-logo {
    color: #f9fafb !important;   /* világos módhoz fehér */
}

.theme-dark .pf-logo {
    color: #e5e7eb !important;   /* sötét módban lágy fehér */
}

/* Ha külön meg akarod adni világoskék színnel: */
.pf-logo-text {
    color: #f0f8ff !important; /* halvány kék (AliceBlue) — jól látszik mindkét témában */
    font-size: 1.02rem;
    white-space: nowrap; /* WARS was here: Én megakadályozom a szöveg törését. */
    overflow: hidden; /* WARS was here: Én elrejtem a túlcsordulást. */
    text-overflow: ellipsis; /* WARS was here: Én ellipsis-t adok hozzá, ha túl hosszú. */
}

.pf-nav {
    display: flex;
    gap: 1.25rem;
    font-size: 0.94rem;
}

.pf-nav a {
    color: #e5e7eb !important; /* WARS was here: Én világos színt adok, mert a header háttér sötét. */
    text-decoration: none;
    opacity: 0.9;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.pf-nav a:hover {
    opacity: 1;
    color: #ffffff !important; /* WARS was here: Én fehér színt adok hover-re, hogy jobban látszódjon. */
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.pf-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* WARS was here: Én kisebb gap-et adok a gombok között. */
    flex-shrink: 0; /* WARS was here: Én megakadályozom, hogy összezsugorodjon. */
    white-space: nowrap; /* WARS was here: Én megakadályozom a szöveg törését. */
}

/* WARS was here: Én hozzáadom a mobil hamburger menüt. */
.pf-mobile-menu-toggle {
    display: none;
    /* Minden stílust örököl a .pf-icon-btn-tól, csak a display-t állítjuk */
    /* A hover és active stílusokat a .pf-icon-btn biztosítja */
}

.pf-mobile-menu {
    position: fixed !important; /* Fontos: fixed pozíció */
    top: var(--pf-nav-height) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.95)) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 999999 !important; /* Nagyon magas z-index, hogy mindig a legfelső rétegben legyen */
    padding: 1.5rem;
    max-height: calc(100vh - var(--pf-nav-height));
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    display: none; /* Alapértelmezetten elrejtve */
    will-change: transform, opacity; /* Optimalizálás az animációhoz */
}

/* Asztali nézetben teljesen elrejtjük a mobil menüt */
@media (min-width: 901px) {
    .pf-mobile-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-100%) !important;
    }
    
    .pf-mobile-menu.active {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-100%) !important;
    }

    .pf-mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Mobil nézetben megjelenítjük és működtetjük */
@media (max-width: 900px) {
    .pf-mobile-menu {
        display: block !important;
        /* Alapértelmezett állapot: elrejtve */
        transform: translateY(-100%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 999999 !important; /* Nagyon magas z-index mobil nézetben */
    }
    
    .pf-mobile-menu.active {
        display: block !important;
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 999999 !important; /* Nagyon magas z-index, hogy biztosan látható legyen */
    }
    
    /* Biztosítjuk, hogy a main és más elemek ne takarják el a menüt */
    main,
    .pf-container,
    .pf-section,
    body > *:not(.pf-mobile-menu):not(.pf-header) {
        position: relative;
        z-index: 1 !important; /* Alacsony z-index, hogy ne takarják el a menüt */
    }
}

.pf-mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pf-mobile-menu nav a {
    color: #e5e7eb;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background 0.2s;
    font-size: 1rem;
}

.pf-mobile-menu nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
    .pf-nav {
        display: none;
    }
    
    .pf-mobile-menu-toggle {
        display: inline-flex !important; /* Ugyanúgy, mint az ikon gomb */
        pointer-events: auto !important;
        visibility: visible !important;
    }
    
    .pf-nav-actions {
        gap: 0.4rem;
        flex-shrink: 0;
    }
    
    .pf-nav-actions .pf-btn {
        font-size: 0.9rem; /* Nagyobb betűméret */
        padding: 0.55rem 0.9rem; /* Nagyobb padding */
        white-space: nowrap;
    }
    
    .pf-nav-actions .pf-btn-ghost {
        display: none; /* Csak ikonok és primary gombok mobilra */
    }
    
    .pf-nav-actions .pf-btn-primary {
        display: inline-flex;
        font-size: 0.9rem; /* Nagyobb betűméret */
        padding: 0.55rem 1rem; /* Nagyobb padding */
    }
    
    .pf-logo {
        flex-shrink: 0;
        min-width: auto;
        gap: 0.4rem; /* Nagyobb gap a logó és szöveg között */
    }
    
    .pf-logo-text {
        font-size: 1rem; /* Nagyobb betűméret */
        white-space: nowrap;
        overflow: visible; /* WARS was here: Én megjelenítem a teljes szöveget. */
        text-overflow: clip;
    }
    
    .pf-logo-img {
        height: 36px; /* Nagyobb logó */
        width: 36px;
        flex-shrink: 0;
    }
    
    .pf-header-inner {
        padding: 0 0.5rem; /* WARS was here: Én minimális padding-et adok, hogy több hely legyen. */
        gap: 0.25rem;
        justify-content: space-between;
    }
}

/* WARS was here: Én specifikus stílusokat adok hozzá kisebb mobil eszközökhöz. */
@media (max-width: 480px) {
    .pf-header-inner {
        padding: 0 0.4rem; /* WARS was here: Én még kisebb padding-et adok. */
        gap: 0.2rem;
    }
    
    
    .pf-logo {
        gap: 0.35rem;
    }
    
    .pf-logo-text {
        font-size: 0.95rem; /* Nagyobb betűméret */
    }
    
    .pf-logo-img {
        height: 34px; /* Nagyobb logó */
        width: 34px;
    }
    
    .pf-nav-actions {
        gap: 0.3rem;
    }
    
    .pf-nav-actions .pf-btn {
        font-size: 0.85rem; /* Nagyobb betűméret */
        padding: 0.5rem 0.75rem; /* Nagyobb padding */
    }
    
    .pf-nav-actions .pf-icon-btn {
        padding: 0.35rem 0.45rem;
        font-size: 0.8rem;
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
}

/* WARS was here: Én specifikus stílusokat adok hozzá nagyon keskeny képernyőkhöz (pl. Galaxy Z Fold 5, iPhone SE). */
@media (max-width: 375px) {
    .pf-header-inner {
        padding: 0 0.35rem; /* WARS was here: Én minimális padding-et adok. */
        gap: 0.15rem;
    }
    
    .pf-logo {
        gap: 0.3rem;
    }
    
    .pf-logo-text {
        font-size: 0.9rem; /* Nagyobb betűméret */
    }
    
    .pf-logo-img {
        height: 32px; /* Nagyobb logó */
        width: 32px;
    }
    
    
    .pf-nav-actions {
        gap: 0.25rem;
    }
    
    .pf-nav-actions .pf-btn-primary {
        font-size: 0.8rem; /* Nagyobb betűméret */
        padding: 0.45rem 0.7rem; /* Nagyobb padding */
    }
    
    .pf-nav-actions .pf-icon-btn,
    .pf-mobile-menu-toggle {
        padding: 0.3rem 0.4rem;
        font-size: 0.75rem;
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }
}

/* --------------------------------------------------
   Gombok
-------------------------------------------------- */

.pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
}

/* WARS was here: Én mobilra kisebb gombokat adok. */
@media (max-width: 768px) {
    .pf-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .pf-btn-full {
        width: 100%;
    }
}

.pf-btn-primary {
    background: linear-gradient(135deg, var(--pf-primary), var(--pf-primary-strong));
    color: #f9fafb;
    box-shadow: 0 14px 40px rgba(79, 70, 229, 0.35);
}

.pf-btn-cta {
    background: linear-gradient(135deg, #22c55e, #2563eb);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 40px rgba(34, 197, 94, 0.18), 0 14px 40px rgba(37, 99, 235, 0.18);
}

.pf-btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.28), 0 20px 50px rgba(37, 99, 235, 0.28);
}

.pf-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 50px rgba(79, 70, 229, 0.55);
}

.pf-btn-outline {
    background: transparent;
    color: #374151; /* WARS was here: Én sötétebb színt adok világos módban, hogy látható legyen. */
    border-color: rgba(55, 65, 81, 0.4);
}

/* WARS was here: Én világos színt adok az outline gombnak a hero szekcióban. */
.pf-section-hero .pf-btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.pf-section-hero .pf-btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff !important;
}

.theme-dark .pf-btn-outline {
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.85);
}

.theme-dark .pf-section-hero .pf-btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.pf-btn-outline:hover {
    background: rgba(55, 65, 81, 0.1); /* WARS was here: Én világosabb hover-t adok világos módban. */
    border-color: rgba(55, 65, 81, 0.6);
}

.theme-dark .pf-btn-outline:hover {
    background: rgba(15, 23, 42, 0.18);
    border-color: rgba(148, 163, 184, 0.9);
}

.pf-btn-ghost {
    background: transparent;
    color: #e5e7eb !important; /* WARS was here: Én világos színt adok, mert a header háttér sötét. */
    border-color: transparent;
    opacity: 0.9;
    transition: all 0.2s ease;
}

.pf-btn-ghost:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.pf-btn-full {
    width: 100%;
}

/* Kis pillanat gomb (pl. téma váltó) */
.pf-icon-btn {
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(229, 231, 235, 0.3);
    font-size: 0.9rem;
    color: #e5e7eb !important; /* WARS was here: Én világos színt adok, mert a header háttér sötét. */
    cursor: pointer !important;
    transition: all 0.2s ease;
    pointer-events: auto !important;
    z-index: 100;
}

.pf-icon-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* --------------------------------------------------
   Hero szekció
-------------------------------------------------- */

.pf-hero-title {
    font-size: clamp(2.1rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    color: #ffffff; /* WARS was here: Én fehér színt adok a hero címhez hivatalos megjelenéshez. */
}

.pf-section-hero .pf-hero-title {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-dark .pf-section-hero .pf-hero-title {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.pf-hero-subtitle {
    color: var(--pf-text-muted);
    max-width: 34rem;
    font-size: 0.98rem;
}

.pf-section-hero .pf-hero-subtitle {
    color: rgba(255, 255, 255, 0.9); /* WARS was here: Én világos színt adok a hero alcímhez. */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.theme-dark .pf-section-hero .pf-hero-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* WARS was here: Én mobilra kisebb hero címeket adok. */
@media (max-width: 768px) {
    .pf-hero-title {
        font-size: clamp(1.75rem, 5vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .pf-hero-subtitle {
        font-size: 0.9rem;
    }
}

/* Hero kártya (jobb oldalon) */
.pf-hero-card {
    border-radius: var(--pf-radius-lg);
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.22), transparent 55%),
                var(--pf-surface);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--pf-shadow-soft);
}

/* --------------------------------------------------
   Kártyák, badge-ek, listák
-------------------------------------------------- */

.pf-card {
    border-radius: var(--pf-radius-lg);
    background: var(--pf-surface);
    box-shadow: var(--pf-shadow-soft);
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

/* WARS was here: Én hivatalos kártya stílust adok hozzá. */
.pf-card-official {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e5e7eb;
    border-top: 4px solid #3b82f6; /* Logó kék színe */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden; /* WARS was here: Én biztosítom, hogy a ::before ne lógjon ki. */
}

/* WARS was here: Én biztosítom, hogy a hero kártyában lévő szövegek világos módban sötétek legyenek. */
.pf-section-hero .pf-card-official {
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%) !important;
    color: #1f2937 !important;
}

.pf-section-hero .pf-card-official * {
    color: inherit;
}

.pf-section-hero .pf-card-official .pf-badge-official {
    background: linear-gradient(135deg, #1e40af, #3b82f6) !important;
    color: #ffffff !important;
}

/* WARS was here: Én eltávolítom a ::before elemet, mert a border-top már megoldja a kék vonalat. */

/* WARS was here: Én sötét mód stílusokat adok hozzá a hivatalos kártyákhoz. */
.theme-dark .pf-card-official {
    background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
    border-top-color: #60a5fa; /* Logó világoskék színe sötét módban */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* WARS was here: Én eltávolítottam a ::before elemet, mert a border-top már megoldja a kék vonalat. */

.pf-card-official-title {
    color: #1e40af;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.theme-dark .pf-card-official-title {
    color: #60a5fa !important;
}

.pf-card-official-text {
    color: #4b5563;
    line-height: 1.7;
}

.theme-dark .pf-card-official-text {
    color: #cbd5e1 !important;
}

.theme-dark .pf-card-official h3 {
    color: #60a5fa !important;
}

.theme-dark .pf-card-official p {
    color: #cbd5e1 !important;
}

.theme-dark .pf-card-official li {
    color: #cbd5e1 !important;
}

.pf-badge-official {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: #ffffff;
    font-weight: 600;
}

.theme-dark .pf-badge-official {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
}

.pf-list-official {
    color: #1f2937;
}

.pf-list-official li {
    color: #374151;
    font-weight: 500;
}

/* WARS was here: Én világos módban is világos színt adok a hero kártyában lévő listának. */
.pf-section-hero .pf-card-official .pf-list-official {
    color: #1f2937 !important;
}

.pf-section-hero .pf-card-official .pf-list-official li {
    color: #374151 !important;
    font-weight: 500;
}

.theme-dark .pf-list-official {
    color: #e5e7eb;
}

.theme-dark .pf-list-official li {
    color: #cbd5e1 !important;
}

.theme-dark .pf-section-hero .pf-card-official .pf-list-official {
    color: #e5e7eb !important;
}

.theme-dark .pf-section-hero .pf-card-official .pf-list-official li {
    color: #cbd5e1 !important;
}

/* WARS was here: Én mobilra kisebb padding-et adok a kártyáknak. */
@media (max-width: 768px) {
    .pf-card {
        padding: 1.25rem 1rem;
        border-radius: var(--pf-radius-md);
    }
}

.theme-dark .pf-card {
    border-color: rgba(55, 65, 81, 0.9);
}

.pf-list {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
}

.pf-list li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.4rem;
    font-size: 0.92rem;
    color: var(--pf-text-muted);
}

.pf-list li::before {
    content: "•";
    position: absolute;
    left: 0.35rem;
    top: 0;
    color: var(--pf-primary);
}

/* Badge */

.pf-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--pf-primary-soft);
    color: var(--pf-primary-strong);
}

/* Tag / címke */

.pf-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8rem;
    background: var(--pf-bg-alt);
    color: var(--pf-text-muted);
}

/* --------------------------------------------------
   Pricing kártyák (Free / Basic / Pro / Enterprise)
-------------------------------------------------- */

.pf-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 1100px) {
    .pf-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* WARS was here: Én mobilra még kisebb gap-et adok a pricing grid-nek. */
@media (max-width: 480px) {
    .pf-pricing-grid {
        gap: 0.75rem;
    }
}

.pf-pricing-card {
    border-radius: var(--pf-radius-lg);
    background: var(--pf-surface);
    box-shadow: var(--pf-shadow-soft);
    padding: 1.75rem 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: visible;
}

/* WARS was here: Én mobilra kisebb padding-et adok a pricing kártyáknak. */
@media (max-width: 768px) {
    .pf-pricing-card {
        padding: 1.5rem 1.25rem;
    }
    
    .pf-price {
        font-size: 1.5rem;
    }
}

/* WARS was here: Én biztosítom, hogy a gombok alulra kerüljenek és a kártyák egy magasságban legyenek. */
.pf-pricing-card .pf-list {
    flex: 1;
    margin-bottom: 1.25rem;
}

.pf-pricing-card .pf-btn {
    margin-top: auto;
}

.pf-pricing-card-highlight {
    border: 1px solid rgba(59, 130, 246, 0.7);
    box-shadow: var(--pf-shadow-card);
    transform: translateY(-2px);
}

.pf-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #f9fafb;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
    display: inline-block;
    margin: 0;
    white-space: nowrap;
    line-height: 1;
}

.pf-pricing-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
}

.pf-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0.2rem 0 0.7rem;
}

.pf-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--pf-text-muted);
}

/* --------------------------------------------------
   Form elemek (input, select, textarea)
-------------------------------------------------- */

label {
    display: block;
    font-size: 0.86rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--pf-text);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.55rem 0.65rem;
    border-radius: var(--pf-radius-sm);
    border: 1px solid var(--pf-border-subtle);
    background: var(--pf-surface-soft);
    color: var(--pf-text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.3);
    background: var(--pf-surface);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* --------------------------------------------------
   Táblázatok (pl. számlák, hírlevelek)
-------------------------------------------------- */

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th, td {
    padding: 0.5rem 0.6rem;
    text-align: left;
}

thead tr {
    background: var(--pf-surface-soft);
    border-bottom: 1px solid var(--pf-border-subtle);
}

tbody tr {
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

tbody tr:nth-child(even) {
    background: rgba(148, 163, 184, 0.05);
}

/* --------------------------------------------------
   Kisebb elemek: hint, muted text, linkek
-------------------------------------------------- */

.pf-muted {
    color: var(--pf-text-muted);
    font-size: 0.86rem;
}

a {
    color: var(--pf-primary);
    text-decoration: none;
}

a:hover {
    color: var(--pf-primary-strong);
    text-decoration: underline;
}

/* WARS was here: Én biztosítom, hogy a linkek láthatóak legyenek világos módban is. */
.pf-card a:not(.pf-btn):not(.pf-btn-primary):not(.pf-btn-outline):not(.pf-btn-ghost) {
    color: #3b82f6;
    text-decoration: underline;
}

.pf-card a:not(.pf-btn):not(.pf-btn-primary):not(.pf-btn-outline):not(.pf-btn-ghost):hover {
    color: #2563eb;
}

.theme-dark .pf-card a:not(.pf-btn):not(.pf-btn-primary):not(.pf-btn-outline):not(.pf-btn-ghost) {
    color: #60a5fa;
}

/* --------------------------------------------------
   Téma váltó ikon (light / dark)
--------------------------------------------------- */

.pf-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #e5e7eb;
}

/* WARS was here: Én hiányzó sötét mód stílusokat adok hozzá az index oldal szekcióihoz */

/* Statisztika szekció */
.theme-dark .section-stats {
    background: var(--pf-bg);
    color: var(--pf-text);
}

.theme-dark .stats-header .stats-title {
    color: var(--pf-text);
}

.theme-dark .stats-header .stats-subtitle {
    color: var(--pf-text-muted);
}

.theme-dark .stats-grid .stats-item {
    background: var(--pf-surface);
    border-color: var(--pf-border-subtle);
}

.theme-dark .stats-grid .stats-number {
    color: var(--pf-accent);
}

.theme-dark .stats-grid .stats-label {
    color: var(--pf-text-muted);
}

/* Hogyan működik szekció */
.theme-dark .section-how {
    background: var(--pf-bg);
    color: var(--pf-text);
}

.theme-dark .how-header .how-title {
    color: var(--pf-text);
}

.theme-dark .how-header .how-subtitle {
    color: var(--pf-text-muted);
}

.theme-dark .how-grid .how-item {
    background: var(--pf-surface);
    border-color: var(--pf-border-subtle);
}

.theme-dark .how-grid .how-icon {
    color: var(--pf-accent);
}

.theme-dark .how-grid .how-title {
    color: var(--pf-text);
}

.theme-dark .how-grid .how-text {
    color: var(--pf-text-muted);
}

/* Források szekció */
.theme-dark .section-sources {
    background: var(--pf-bg);
    color: var(--pf-text);
}

.theme-dark .sources-header .sources-title {
    color: var(--pf-text);
}

.theme-dark .sources-header .sources-subtitle {
    color: var(--pf-text-muted);
}

.theme-dark .sources-grid .sources-item {
    background: var(--pf-surface);
    border-color: var(--pf-border-subtle);
}

.theme-dark .sources-grid .sources-icon {
    color: var(--pf-accent);
}

.theme-dark .sources-grid .sources-title {
    color: var(--pf-text);
}

.theme-dark .sources-grid .sources-text {
    color: var(--pf-text-muted);
}

/* Kinek ajánlott szekció */
.theme-dark .section-fit {
    background: var(--pf-bg);
    color: var(--pf-text);
}

.theme-dark .fit-header .fit-title {
    color: var(--pf-text);
}

.theme-dark .fit-header .fit-subtitle {
    color: var(--pf-text-muted);
}

.theme-dark .fit-content .fit-column {
    background: var(--pf-surface);
    border-color: var(--pf-border-subtle);
}

.theme-dark .fit-content .fit-title {
    color: var(--pf-text);
}

.theme-dark .fit-content .fit-list {
    color: var(--pf-text-muted);
}

.theme-dark .fit-content .fit-list li {
    color: var(--pf-text);
}

/* Visszajelzések szekció */
.theme-dark .section-testimonials {
    background: var(--pf-bg);
    color: var(--pf-text);
}

.theme-dark .testimonials-header .testimonials-title {
    color: var(--pf-text);
}

.theme-dark .testimonials-header .testimonials-subtitle {
    color: var(--pf-text-muted);
}

.theme-dark .testimonials-grid .testimonial {
    background: var(--pf-surface);
    border-color: var(--pf-border-subtle);
}

.theme-dark .testimonials-grid .testimonial-text {
    color: var(--pf-text);
}

.theme-dark .testimonials-grid .testimonial-author {
    color: var(--pf-text-muted);
}

.theme-dark .testimonials-grid .testimonial-role {
    color: var(--pf-text-muted);
}

/* Árak szekció */
.theme-dark .section-pricing {
    background: var(--pf-bg);
    color: var(--pf-text);
}

.theme-dark .pricing-header .pricing-title {
    color: var(--pf-text);
}

.theme-dark .pricing-header .pricing-subtitle {
    color: var(--pf-text-muted);
}

.theme-dark .pricing-grid .pricing-card {
    background: var(--pf-surface);
    border-color: var(--pf-border-subtle);
}

.theme-dark .pricing-grid .pricing-header-card {
    border-color: var(--pf-border-subtle);
}

.theme-dark .pricing-grid .pricing-name {
    color: var(--pf-text);
}

.theme-dark .pricing-grid .pricing-subtitle-card {
    color: var(--pf-text-muted);
}

.theme-dark .pricing-grid .pricing-price {
    color: var(--pf-accent);
}

.theme-dark .pricing-grid .pricing-features {
    color: var(--pf-text);
}

.theme-dark .pricing-grid .pricing-features h4 {
    color: var(--pf-text);
}

.theme-dark .pricing-grid .pricing-features ul {
    color: var(--pf-text-muted);
}

.theme-dark .pricing-grid .pricing-features li {
    color: var(--pf-text);
}

.theme-dark .pricing-grid .pricing-recommended {
    color: var(--pf-text-muted);
}

/* Mini GYIK szekció - CSAK CÍM */
.theme-dark .section-faq .faq-header .faq-title {
    color: var(--pf-accent);
}

/* Kapcsolat oldal */
.theme-dark .contact-container {
    background: var(--pf-bg);
    color: var(--pf-text);
}

.theme-dark .contact-header h1 {
    color: var(--pf-text);
}

.theme-dark .contact-header p {
    color: var(--pf-text-muted);
}

.theme-dark .contact-form {
    background: var(--pf-surface);
    border-color: var(--pf-border-subtle);
}

.theme-dark .contact-form label {
    color: var(--pf-text);
}

.theme-dark .contact-form input,
.theme-dark .contact-form textarea {
    background: var(--pf-bg);
    border-color: var(--pf-border-subtle);
    color: var(--pf-text);
}

.theme-dark .contact-form input::placeholder,
.theme-dark .contact-form textarea::placeholder {
    color: var(--pf-text-muted);
}

.theme-dark .contact-info {
    background: var(--pf-surface);
    border-color: var(--pf-border-subtle);
}

.theme-dark .contact-info h3 {
    color: var(--pf-text);
}

.theme-dark .contact-info p {
    color: var(--pf-text-muted);
}

/* ÁSZF, Adatvédelem, Fizetés oldalak */
.theme-dark .faq-hero {
    background: var(--pf-bg);
}

.theme-dark .faq-hero-content .faq-hero-title {
    color: var(--pf-text);
}

.theme-dark .section-content {
    background: var(--pf-bg);
}

.theme-dark .content-container {
    color: var(--pf-text);
}

.theme-dark .content-container h2 {
    color: var(--pf-text);
}

.theme-dark .content-container h3 {
    color: var(--pf-text);
}

.theme-dark .content-container p {
    color: var(--pf-text);
}

.theme-dark .content-container ul,
.theme-dark .content-container ol {
    color: var(--pf-text);
}

.theme-dark .content-container li {
    color: var(--pf-text);
}

/* --------------------------------------------------
   Egyszerű alert / hiba / info box
-------------------------------------------------- */

.pf-alert {
    border-radius: var(--pf-radius-md);
    padding: 0.75rem 1rem;
    border: 1px solid var(--pf-border-subtle);
    background: rgba(15, 23, 42, 0.02);
    font-size: 0.9rem;
}

.pf-alert-success {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(22, 163, 74, 0.06);
}

.pf-alert-danger {
    border-color: rgba(239, 68, 68, 0.55);
    background: rgba(248, 113, 113, 0.12);
}

.site-footer {
  background: #0b1120;           /* sötét háttér */
  color: #e5e7eb;                /* világos szöveg */
  padding: 3rem 1.5rem 2rem;
  font-size: 14px;
  width: 100%;
  max-width: 100vw; /* WARS was here: Én biztosítom, hogy ne lógjon ki. */
  overflow-x: hidden; /* WARS was here: Én tiltom le a vízszintes overflow-t. */
  box-sizing: border-box; /* WARS was here: Én biztosítom, hogy a padding benne legyen a szélességben. */
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem; /* WARS was here: Én padding-et adok mobilra. */
  box-sizing: border-box;
}

/* WARS was here: Én mobilra kisebb padding-et adok a footer inner-nek. */
@media (max-width: 768px) {
    .footer-inner {
        padding: 0 0.75rem;
    }
    
    .site-footer {
        padding: 2rem 0.75rem 1.5rem;
    }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.25rem;
}

.footer-contact-line {
  margin: 0 0 0.25rem;
}

.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.footer-newsletter input[type="email"] {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid #4b5563;
  background: #111827;
  color: #f9fafb;
}

.footer-newsletter button {
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  border: none;
  background: #3b82f6;
  color: #fff;
  cursor: pointer;
}

.footer-newsletter button:hover {
  background: #2563eb;
}

.footer-payments {
  border-top: 1px solid #1f2937;
  border-bottom: 1px solid #1f2937;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.footer-payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.footer-payment-logos img {
  height: 26px;
  max-height: 32px;
  display: block;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 13px;
  color: #9ca3af;
}

/* WARS was here: Én átfogó mobil stílusokat adok hozzá. */

/* Mobil nézet - Általános */
@media (max-width: 768px) {
    /* Footer mobil stílusok */
    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-payments {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-payment-logos {
        justify-content: flex-start;
    }
    
    /* Táblázatok mobilra */
    .pf-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    /* Formok mobilra */
    .pf-form-group {
        margin-bottom: 1rem;
    }
    
    .pf-form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .pf-form-group input,
    .pf-form-group select,
    .pf-form-group textarea {
        font-size: 1rem; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }
    
    /* Grid mobilra */
    .pf-grid {
        gap: 1rem;
    }
    
    /* Hero kártya mobilra */
    .pf-hero-card {
        padding: 1.25rem 1rem;
    }
    
    /* Lista mobilra */
    .pf-list {
        padding-left: 1.25rem;
    }
    
    /* Badge mobilra */
    .pf-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.45rem;
    }
    
    /* Alert mobilra */
    .pf-alert {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
}

/* Kisebb mobil eszközök (max-width: 480px) */
@media (max-width: 480px) {
    .pf-container {
        padding: 0 0.75rem;
    }
    
    .pf-section {
        padding: 2rem 0;
    }
    
    .pf-section-title {
        font-size: 1.25rem;
    }
    
    .pf-hero-title {
        font-size: 1.5rem;
    }
    
    .pf-card {
        padding: 1rem 0.75rem;
    }
    
    .pf-btn {
        padding: 0.45rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .pf-nav-actions {
        gap: 0.25rem;
    }
    
    .pf-nav-actions .pf-icon-btn,
    .pf-mobile-menu-toggle {
        padding: 0.35rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .pf-logo-text {
        font-size: 0.85rem;
    }
    
    .pf-logo-img {
        height: 28px;
        width: 28px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .pf-price {
        font-size: 1.4rem;
    }
}

/* Touch-friendly elemek mobilra */
@media (max-width: 768px) {
    /* Minimum touch target size: 44x44px */
    .pf-btn,
    .pf-icon-btn,
    a,
    button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Nagyobb gombok mobilra */
    .pf-btn-primary,
    .pf-btn-outline {
        min-height: 48px;
    }
    
    /* Nagyobb input mezők mobilra */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    select,
    textarea {
        min-height: 48px;
    }
}

/* === PRICING GRID – FIX, DESKTOP-FIRST === */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* minden kártya */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* a kártya belseje */
.pricing-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* a gombos rész mindig alul */
.pricing-actions {
  margin-top: auto;
  text-align: center;
}

/* alsó ajánlás mindig alul marad */
.pricing-bottom {
  margin-top: 1.5rem;
}

/* tablet */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* mobil */
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* === PRICING CARDS – STABIL LAYOUT === */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* A teljes tartalom oszlopos */
.pricing-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* A felső feature rész nőhet */
.pricing-features {
  flex: 1;
}

/* Az alsó blokk mindig lent */
.pricing-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Gomb + Részletek egységes */
.pricing-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Részletek link egységes pozíció */
.pricing-actions .plan-details {
  font-size: 0.85rem;
}

/* Elválasztó vonal mindig azonos magasságban */
.pricing-bottom {
  margin-top: 0.75rem;
  text-align: center;
}

.pricing-bottom hr {
  margin: 0.75rem 0;
}

/* === MOBIL === */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* === PRICING – PROFESSZIONÁLIS KÁRTYA FELÉPÍTÉS === */

.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* A fejléc + ár + CTA FIX zóna */
.pricing-header-card,
.pricing-footer {
  flex-shrink: 0;
}

/* A feature lista kap egy kontrollált teret */
.pricing-features {
  flex: 1;
  overflow: hidden;
}

/* CTA-k mindig azonos magasságban */
.pricing-footer {
  margin-top: 1.5rem;
}

/* Gomb egységes */
.pricing-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Ajánlás blokk mindig azonos */
.pricing-bottom {
  text-align: center;
  margin-top: 0.75rem;
}

.pricing-bottom hr {
  margin: 0.75rem 0;
}

/* GRID */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* TABLET */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* === PRICING CARD LAYOUT FIX === */

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-content {
  display: flex;
  flex-direction: column;
  flex: 1; /* kitölti a kártya magasságát */
}

.pricing-features {
  flex-grow: 1; /* EZ tolja le a footert */
}

/* Footer mindig alul */
.pricing-footer {
  margin-top: 24px;
  text-align: center;
}

/* Gomb + részletek egységes spacing */
.pricing-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Az alsó vonal egységes helyre kerül */
.pricing-bottom hr {
  margin: 16px 0 8px;
}

/* =====================================================
   PRICING CARDS – EGYSÉGES MAGASSÁG + ALUL IGAZÍTOTT FOOTER
   ===================================================== */

/* A teljes kártya oszlopos flex */
.pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* A tartalom töltse ki a kártyát */
.pricing-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* A felső lista ne tolja szét feleslegesen */
.pricing-features {
  padding-bottom: 16px;
}

/* EZ A KULCS: a footer mindig a kártya aljára kerül */
.pricing-footer {
  margin-top: auto;
}

/* Gomb + Részletek egymás alatt, középre */
.pricing-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Alsó ajánlás blokk egységes */
.pricing-bottom {
  margin-top: 12px;
  text-align: center;
}

/* Elválasztó vonal egységes helyen */
.pricing-bottom hr {
  margin: 12px 0;
}
/* === Előfizetés tiltott állapot === */

.pf-btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pf-btn-disabled:hover {
    filter: none;
    transform: none;
}

.pf-card-disabled {
    opacity: 0.85;
}

.pf-card-disabled select {
    pointer-events: none;
    opacity: 0.6;
}