/* A nyitóoldal (/) stílusa (2026-10-24, audit 6.29). A színek a main.css változóiból; a meleg
   kiemelőszín (#F5A623) az üdvözlő ablakéval azonos. A komponenseit (home-section, home-step,
   home-calc, home-faq, home-pay) a csomaglista is használja (packages.css). */

.home-section { padding: 5rem 0; }
.home-section--white { background: #fff; }
.home-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .5rem;
}
.home-lead { color: var(--text-muted); max-width: 640px; margin-left: auto; margin-right: auto; }

/* ── Nyitó szakasz ── */
.home-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 4.5rem 0 7rem;
  background: linear-gradient(135deg, #162d56 0%, var(--primary) 45%, var(--primary-light) 100%);
}
.home-hero::before {             /* halvány rácsminta */
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.home-hero::after {              /* meleg fényfolt a jobb felső sarokban */
  content: ''; position: absolute; right: -120px; top: -140px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.28) 0%, rgba(245,166,35,0) 70%);
}
.home-hero .container { position: relative; z-index: 1; }
/* Újdonság-sáv a hero tetején (2026-10-29): a hero felső térköze ennyivel kisebb, a többi tartalom nem csúszik */
.home-hero:has(.home-news-bar) { padding-top: 1.5rem; }
.home-news-bar {
  display: flex; align-items: center; gap: .75rem 1rem; margin-bottom: 2rem;
  padding: .55rem .6rem .55rem .7rem; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(4px);
}
.home-news-tag {
  flex-shrink: 0; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: #F5A623; color: #1c1c1c; padding: .2rem .55rem; border-radius: 999px;
}
.home-news-text { margin: 0; flex: 1; font-size: .92rem; line-height: 1.4; opacity: .95; }
.home-news-text strong { color: #FFC764; }
.btn-home-news {
  flex-shrink: 0; background: #F5A623; border: 0; color: #1c1c1c; font-weight: 800; font-size: .82rem;
  letter-spacing: .04em; padding: .5rem 1rem; border-radius: 10px;
  box-shadow: 0 0 0 0 rgba(245,166,35,.6); animation: home-news-pulse 2.4s ease-out infinite;
}
.btn-home-news:hover, .btn-home-news:focus { background: #FFC764; color: #1c1c1c; }
@keyframes home-news-pulse {
  0% { box-shadow: 0 0 0 0 rgba(245,166,35,.55); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(245,166,35,0); }
}
@media (prefers-reduced-motion: reduce) { .btn-home-news { animation: none; } }
@media (max-width: 767.98px) {
  .home-news-bar { flex-wrap: wrap; }
  .home-news-text { flex-basis: calc(100% - 3.5rem); font-size: .86rem; }
  .btn-home-news { width: 100%; }
}
.home-badge {
  display: inline-flex; align-items: center; gap: .4rem; background: rgba(245,166,35,.16);
  border: 1px solid rgba(245,166,35,.55); color: #FFD08A; font-weight: 600; font-size: .8rem;
  padding: .35rem .85rem; border-radius: 999px;
}
.home-hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; line-height: 1.12;
  font-size: clamp(2rem, 4.4vw, 3.15rem); letter-spacing: -.5px; margin: 1.1rem 0 1rem;
}
.home-hero-title .hl { color: #FFC764; }
.home-hero-sub { font-size: 1.12rem; opacity: .88; max-width: 560px; }
.home-trust { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .9rem; }
.home-trust li { display: flex; align-items: center; gap: .45rem; opacity: .9; }
.home-trust i { color: #6EE7B7; }
.btn-home-primary {
  background: #F5A623; border-color: #F5A623; color: #1c1c1c; font-weight: 700;
}
.btn-home-primary:hover, .btn-home-primary:focus { background: #E8961A; border-color: #E8961A; color: #1c1c1c; }

/* A mintaszámítás kártyája */
.home-sample {
  background: #fff; color: #1E293B; border-radius: 20px; padding: 1.5rem 1.6rem;
  box-shadow: 0 24px 60px rgba(8, 20, 50, .35); max-width: 440px; margin-left: auto;
}
.home-sample-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.home-sample-head .t { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; color: var(--primary); }
.home-sample-head .s { font-size: .78rem; color: var(--text-muted); }
.home-sample-tag { font-size: .7rem; font-weight: 700; background: #ECFDF5; color: #047857; padding: .2rem .55rem; border-radius: 999px; white-space: nowrap; }
.home-bars { display: flex; align-items: flex-end; gap: 1.1rem; height: 120px; padding: 0 .4rem .2rem; border-bottom: 1px solid var(--border); }
.home-bar { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 100%; }
.home-bar span { display: block; width: 42%; border-radius: 6px 6px 0 0; }
.home-bar .rev { background: linear-gradient(180deg, var(--accent), var(--primary-light)); }
.home-bar .tax { background: #F5A623; }
.home-bar-labels { display: flex; gap: 1.1rem; padding: .35rem .4rem 0; font-size: .72rem; color: var(--text-muted); }
.home-bar-labels div { flex: 1; text-align: center; }
.home-legend { display: flex; gap: 1rem; font-size: .72rem; color: var(--text-muted); margin: .6rem 0 .9rem; }
.home-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.home-sample-row { display: flex; justify-content: space-between; font-size: .88rem; padding: .32rem 0; border-bottom: 1px dashed #E2E8F0; }
.home-sample-row:last-of-type { border-bottom: 0; }
.home-sample-row .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.home-sample-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: .6rem; padding: .7rem .9rem; border-radius: 12px; background: #EEF2FF; }
.home-sample-total .v { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--primary); }
.home-sample-foot { font-size: .75rem; color: var(--text-muted); margin-top: .8rem; }

/* ── Az adóév kulcsszámai (a nyitó szakaszra csúszva) ── */
.home-figures { margin-top: -4.5rem; position: relative; z-index: 2; }
.home-figure { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem 1.3rem; height: 100%;
  box-shadow: 0 1px 3px rgba(31,56,100,.07), 0 10px 30px rgba(31,56,100,.10); }
.home-figure .lbl { font-size: .78rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.home-figure .num { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--primary); font-size: 1.45rem; line-height: 1.2; margin: .35rem 0 .2rem; font-variant-numeric: tabular-nums; }
.home-figure .sub { font-size: .8rem; color: var(--text-muted); }
.home-figure i.ico { float: right; font-size: 1.3rem; color: var(--accent); opacity: .8; }
.home-figures-note { font-size: .8rem; color: var(--text-muted); margin-top: .9rem; }
@media (max-width: 575.98px) {
  .home-figure { padding: 1rem; }
  .home-figure .num { font-size: 1.05rem; }
  .home-figure .lbl { font-size: .7rem; }
}

/* ── Funkciók ── */
.home-feature { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem; height: 100%; transition: transform .2s, box-shadow .2s; }
.home-feature:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31,56,100,.12); }
.home-feature .ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.45rem; margin-bottom: 1rem; }
.home-feature h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.08rem; font-weight: 700; color: #1E293B; }
.home-feature p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.ico-blue   { background: #EEF2FF; color: var(--primary-light); }
.ico-green  { background: #ECFDF5; color: #059669; }
.ico-orange { background: #FFF7E6; color: #D97706; }
.ico-red    { background: #FEF2F2; color: #DC2626; }
.ico-violet { background: #F5F3FF; color: #7C3AED; }
.ico-teal   { background: #F0FDFA; color: #0D9488; }

/* ── Így működik ── */
.home-steps { counter-reset: step; }
.home-step { position: relative; text-align: center; padding: 0 .75rem; }
.home-step .num {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light)); box-shadow: 0 8px 20px rgba(31,56,100,.25);
  position: relative; z-index: 1;
}
.home-step h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 700; color: #1E293B; }
.home-step p { font-size: .88rem; color: var(--text-muted); }
@media (min-width: 992px) {
  .home-step:not(:last-child)::after {   /* összekötő vonal a lépések között */
    content: ''; position: absolute; top: 28px; left: calc(50% + 36px); right: calc(-50% + 36px);
    border-top: 2px dashed #C5D0DE;
  }
}

/* ── Kalkulátor-sáv ── */
.home-calc {
  border-radius: 24px; padding: 2.5rem; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
}
.home-calc .bg-ico { position: absolute; right: -10px; bottom: -50px; font-size: 13rem; opacity: .07; line-height: 1; pointer-events: none; }
.home-calc > .row { position: relative; z-index: 1; }
.home-calc h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; }
.home-checks { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 1.5rem; }
.home-checks li { padding: .3rem 0; font-size: .92rem; break-inside: avoid; }
.home-checks i { color: #FFC764; margin-right: .45rem; }
@media (max-width: 575.98px) { .home-checks { columns: 1; } .home-calc { padding: 1.75rem; } }

/* ── Csomagok ── */
.home-package { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.75rem; height: 100%; position: relative; display: flex; flex-direction: column; }
.home-package.featured { border: 2px solid var(--primary-light); box-shadow: 0 16px 40px rgba(31,56,100,.14); }
.home-package .ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #F5A623; color: #1c1c1c; font-size: .72rem; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.home-package h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--primary); }
.home-package .price { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 2rem; color: #1E293B; line-height: 1.1; }
.home-package .price small { font-size: .9rem; font-weight: 600; color: var(--text-muted); }
.home-package .yearly { font-size: .82rem; color: #047857; }
.home-package .desc { font-size: .88rem; color: var(--text-muted); flex: 1; margin: 1rem 0 1.25rem; }
.home-pay { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: .35rem .85rem; font-size: .85rem; font-weight: 500; color: #334155; }
.home-pay i { color: var(--primary-light); }

/* ── Szakértői háttér, fejlesztés alatt ── */
.home-expert { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 2rem; height: 100%; }
.home-soon { border: 2px dashed #C5D0DE; border-radius: 16px; padding: 1rem 1.2rem; display: flex; gap: .9rem; align-items: flex-start; background: rgba(255,255,255,.6); }
.home-soon + .home-soon { margin-top: .8rem; }
.home-soon i { font-size: 1.3rem; color: var(--accent); }
.home-soon .t { font-weight: 600; font-size: .92rem; color: #1E293B; }
.home-soon .d { font-size: .82rem; color: var(--text-muted); }
.badge-soon { background: #FFF7E6; color: #B45309; font-weight: 700; font-size: .68rem; padding: .2rem .5rem; border-radius: 999px; margin-left: .35rem; vertical-align: 1px; }

/* ── Hírek ── */
.home-news { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; height: 100%; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.home-news:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(31,56,100,.12); color: inherit; }
.home-news img { width: 100%; height: 150px; object-fit: cover; }
.home-news .body { padding: 1.1rem 1.2rem; flex: 1; }
.home-news .date { font-size: .75rem; color: var(--text-muted); }
.home-news h3 { font-size: 1rem; font-weight: 700; color: #1E293B; margin: .35rem 0 .5rem; }
.home-news p { font-size: .85rem; color: var(--text-muted); margin: 0; }
.home-newsletter { background: linear-gradient(135deg, #FFF7E6, #FFFBF2); border: 1px solid #F8DDA9; border-radius: 16px; padding: 1.5rem; height: 100%; }

/* ── GYIK ── */
.home-faq .accordion-item { border-radius: 12px !important; overflow: hidden; margin-bottom: .6rem; border: 1px solid var(--border); }
.home-faq .accordion-button { font-weight: 600; color: #1E293B; }
.home-faq .accordion-button:not(.collapsed) { background: #EEF2FF; color: var(--primary); box-shadow: none; }
.home-faq .accordion-body { font-size: .92rem; color: #475569; }

/* ── A diák a nyitó szakasz alatt kisebbek ── */
.home-slides .hero-slide { min-height: 400px; }
