/* ---------- Tokens ---------- */
:root {
  --bg: #0b0b0c;
  --bg-alt: #f4f5f7;
  --fg: #f5f5f2;
  --fg-on-light: #101113;
  --muted: #9a9aa0;
  --muted-light: #55565c;
  --accent: #e4a62b;
  --accent-strong: #f4b93c;
  --line-dark: rgba(245, 245, 242, 0.14);
  --line-light: rgba(16, 17, 19, 0.12);

  --font-display: "Unbounded", sans-serif;
  --font-body: "Inter", sans-serif;

  --cut: 14px;
  --cut-sm: 8px;
}

* { box-sizing: border-box; }

/* A [hidden] attributum mindig nyerjen a komponens display-szabalyaival szemben */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ---------- Aurora / decor background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora-blob-1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle at 30% 30%, #f4b93c 0%, transparent 60%);
  top: -180px; left: -180px;
  opacity: 0.28;
}
.aurora-blob-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle at 60% 40%, #e4a62b 0%, transparent 65%);
  top: 40%; right: -160px;
  opacity: 0.22;
  animation-delay: -8s;
}
.aurora-blob-3 {
  width: 700px; height: 700px;
  background: radial-gradient(circle at 50% 50%, #3b2a08 0%, transparent 70%);
  bottom: -280px; left: 30%;
  opacity: 0.5;
  animation-delay: -14s;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,245,242,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,245,242,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  opacity: 0.6;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(60px, -40px, 0) scale(1.08); }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .aurora-blob { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 18ch; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: inherit; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.accent-text { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  background: none;
  color: inherit;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: #191203;
}
.btn-accent:hover { background: var(--accent-strong); }

.btn-ghost {
  border-color: var(--line-dark);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline {
  border-color: var(--line-light);
  color: var(--fg-on-light);
}
.btn-outline:hover { border-color: var(--fg-on-light); }

.btn-small {
  padding: 0.6em 1.1em;
  font-size: 0.85rem;
  --cut: var(--cut-sm);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 12, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark { width: 26px; height: 26px; object-fit: contain; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.main-nav a:hover { color: var(--fg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 84px;
  border-bottom: 1px solid var(--line-dark);
}

.hero .wrap.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-watermark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%) rotate(2deg);
  width: 620px;
  max-width: 60vw;
  opacity: 0.04;
  pointer-events: none;
}

.hero-inner { position: relative; }

/* Header CTA cluster */
.header-cta { display: flex; align-items: center; gap: 10px; }

.brand-badge {
  margin-left: 6px;
  padding: 2px 8px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(228, 166, 43, 0.4);
}

.hero-sub {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 1.2em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2.2em;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 1.4em;
  padding: 6px 14px;
  border: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  clip-path: polygon(var(--cut-sm) 0, 100% 0, 100% calc(100% - var(--cut-sm)), calc(100% - var(--cut-sm)) 100%, 0 100%, 0 var(--cut-sm));
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(228, 166, 43, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(228, 166, 43, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(228, 166, 43, 0.04); }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 3em 0 0;
}

.hero-badges li { display: flex; flex-direction: column; gap: 2px; }
.hero-badges strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.hero-badges span { color: var(--muted); font-size: 0.85rem; }

/* ---------- Section eyebrow ---------- */
.section-eyebrow {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.8em;
}

/* ---------- Logo strip ---------- */
.logo-strip {
  border-bottom: 1px solid var(--line-dark);
  padding: 32px 0;
  background: rgba(255, 255, 255, 0.015);
}

.logo-strip-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-strip-title {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
  max-width: 22ch;
}

.logo-strip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  flex: 1;
}

.logo-strip-list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--fg);
  opacity: 0.7;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
}

.logo-strip-list li:hover { opacity: 1; }

/* ---------- How it works ---------- */
.how { border-bottom: 1px solid var(--line-dark); }

.how-steps {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: how;
}

.how-steps li {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.how-steps li p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; }

.how-intro { max-width: 62ch; color: var(--muted); margin: 14px 0 0; }

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.how-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.how-head .step-num { margin-bottom: 0; }
/* Csomag-cimke: melyik csomagban erheto el a lepes */
.how-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  color: var(--muted);
  border: 1px solid var(--line-dark);
  white-space: nowrap;
}
.how-tag-pro { color: var(--accent); border-color: rgba(228,166,43,0.45); }

/* ---------- Results / metrics ---------- */
.results {
  background: var(--bg-alt);
  color: var(--fg-on-light);
}
.results h2 { color: var(--fg-on-light); }
.results .section-eyebrow { color: #b7841c; }

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 44px 0 60px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.metric {
  padding: 28px 22px;
  border-right: 1px solid var(--line-light);
}
.metric:last-child { border-right: none; }

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--fg-on-light);
  letter-spacing: -0.02em;
  line-height: 1;
}
.metric-value em {
  font-style: normal;
  font-size: 1.4rem;
  color: var(--accent);
  margin-left: 2px;
}
.metric-label { color: var(--muted-light); font-size: 0.9rem; margin: 12px 0 0; }

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

.testimonial {
  margin: 0;
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line-light);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial p {
  font-size: 0.98rem;
  color: var(--fg-on-light);
  margin: 0;
  line-height: 1.55;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}
.testimonial footer strong { font-size: 0.95rem; }
.testimonial footer span { color: var(--muted-light); font-size: 0.82rem; }

/* ---------- About ---------- */
.about { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }

.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-copy p { color: var(--muted); }

.about-points {
  list-style: none;
  padding: 0;
  margin: 1.5em 0 0;
  display: grid;
  gap: 14px;
}
.about-points li {
  padding: 12px 16px;
  border-left: 2px solid var(--accent);
  background: rgba(228, 166, 43, 0.05);
  font-size: 0.94rem;
  color: var(--fg);
}
.about-points strong { color: var(--accent); }

.about-card {
  padding: 28px 26px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.about-card h3 { margin-bottom: 1em; }

.about-contact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 0.92rem;
}
.about-contact:first-of-type { border-top: none; }
.about-contact > span:first-child { color: var(--muted); font-size: 0.82rem; }
.about-contact a { text-decoration: none; color: var(--fg); font-weight: 500; }
.about-contact a:hover { color: var(--accent); }

.about-cta { width: 100%; margin-top: 20px; }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line-dark); }

.faq-list {
  margin-top: 40px;
  max-width: 820px;
  border-top: 1px solid var(--line-dark);
}

.faq-item {
  border-bottom: 1px solid var(--line-dark);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: color 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--accent); }

.faq-item > p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 72ch;
}

/* ---------- Form consent ---------- */
.form-consent { margin-top: 4px; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}
.checkbox input {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--line-dark);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}
.checkbox input:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #191203;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.checkbox a { color: var(--accent); }

/* ---------- Sections generic ---------- */
.section { padding: 88px 0; }

/* ---------- Services ---------- */
.services { border-bottom: 1px solid var(--line-dark); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 48px;
}

.service-item {
  padding-left: 20px;
  border-left: 3px solid var(--line-dark);
  position: relative;
}

.service-item::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 3px;
  height: var(--bar, 60%);
  background: var(--accent);
}

.service-item p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Pricing ---------- */
.pricing {
  background: var(--bg-alt);
  color: var(--fg-on-light);
  border-top: 1px solid var(--line-light);
}

.pricing h2 { color: var(--fg-on-light); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--line-light);
}

.plan {
  padding: 34px 30px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
}

.plan:last-child { border-right: 1px solid var(--line-light); }

.plan-featured {
  background: var(--fg-on-light);
  color: var(--bg-alt);
  position: relative;
}

.plan-featured h3 { color: var(--accent); }
.plan-featured .plan-tag { color: #fff; }

.plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.9em;
  padding: 5px 12px;
  color: #191203;
  background: var(--accent);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  box-shadow: 0 4px 14px rgba(228,166,43,0.35);
}
.plan-tag::before {
  content: "★";
  font-size: 0.75em;
}

.plan-desc {
  color: var(--muted-light);
  font-size: 0.95rem;
  min-height: 3em;
}

.plan-featured .plan-desc { color: rgba(244, 245, 247, 0.7); }

.plan-features {
  list-style: none;
  margin: 1.2em 0 1.8em;
  padding: 0;
  flex: 1;
}

.plan-features li {
  padding: 0.55em 0;
  border-top: 1px solid var(--line-light);
  font-size: 0.93rem;
}

.plan-featured .plan-features li { border-top-color: rgba(244, 245, 247, 0.14); }

.plan-features li:first-child { border-top: none; }

.plan-cta { width: 100%; }
/* Pricing: Starter + Extra — sarga korvonal, feher szoveg, hover: teli sarga hatter */
.plan .btn-outline {
  border-color: var(--accent);
  color: #fff;
  background: transparent;
  font-weight: 700;
}
.plan .btn-outline:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
/* Pricing: Pro kartya — teli sarga hatter, feher szoveg */
.plan-featured .btn-outline,
.plan-featured .btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 700;
}
.plan-featured .btn-outline:hover,
.plan-featured .btn-accent:hover {
  background: var(--accent-strong);
  color: #fff;
  border-color: var(--accent-strong);
}

.pricing-note {
  margin-top: 28px;
  color: var(--muted-light);
  font-size: 0.88rem;
  max-width: 60ch;
}

/* ---------- AI banner ---------- */
.ai-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ai-banner-inner p { color: var(--muted); margin-bottom: 0; }
.ai-banner-inner > div { max-width: 52ch; }

/* ---------- Offer form ---------- */
.offer { border-top: 1px solid var(--line-dark); }

.offer-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

.offer-intro p { color: var(--muted); }

.offer-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}

.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row-full { grid-column: 1 / -1; }

.form-row label { font-size: 0.85rem; color: var(--muted); }

.form-row input,
.form-row select,
.form-row textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.6em 0.1em;
  resize: vertical;
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
}

.form-row select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23e4a62b' d='M0 0l6 8 6-8z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

.form-row select option {
  background: #1a1a1e;
  color: #f0f0f0;
}
.form-row select option:checked {
  background: #241d0d;
  color: #e4a62b;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-status {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-status.success { color: var(--accent); }
.form-status.error { color: #e46a4a; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-dark);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-col ul li,
.footer-col ul a {
  font-size: 0.9rem;
  color: var(--fg);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.footer-col ul a:hover { opacity: 1; color: var(--accent); }

.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-brand .brand-mark { width: 22px; height: 22px; }
.footer-brand .brand-name { font-size: 1rem; }

.footer-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  max-width: 32ch;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 24px;
}

.footer-copy, .footer-legal {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

/* ---------- AI chat widget ---------- */
.chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--accent);
  color: #191203;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.chat-toggle-mark { width: 16px; height: 16px; filter: brightness(0); }

.chat-panel {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 50;
  width: 340px;
  max-width: calc(100vw - 48px);
  max-height: min(520px, 70vh);
  display: flex;
  flex-direction: column;
  background: #131315;
  border: 1px solid var(--line-dark);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-dark);
  font-weight: 600;
  font-size: 0.92rem;
}

.chat-panel-header button {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.chat-panel-header button:hover { color: var(--fg); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  font-size: 0.9rem;
  padding: 10px 12px;
  max-width: 88%;
  line-height: 1.45;
}

.chat-msg-bot {
  background: rgba(245, 245, 242, 0.06);
  align-self: flex-start;
  border-left: 2px solid var(--accent);
}

.chat-msg-user {
  background: var(--accent);
  color: #191203;
  align-self: flex-end;
}

.chat-form {
  display: flex;
  border-top: 1px solid var(--line-dark);
}

.chat-form input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--fg);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.chat-form input:focus { outline: none; }

.chat-form button {
  background: none;
  border: none;
  border-left: 1px solid var(--line-dark);
  color: var(--accent);
  padding: 0 16px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}
.chat-form button:hover { color: var(--accent-strong); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2n) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line-light); }
  .testimonials { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }

  .service-grid { grid-template-columns: 1fr; gap: 32px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .plan { border-right: none; }

  .offer-inner { grid-template-columns: 1fr; }
  .offer-form { grid-template-columns: 1fr; }

  .hero { padding: 64px 0 56px; }
  .hero-watermark { opacity: 0.05; width: 420px; }
  .hero-badges { gap: 24px; }
  .hero-badges strong { font-size: 1.25rem; }

  .ai-banner-inner { flex-direction: column; align-items: flex-start; }

  .how-steps { grid-template-columns: 1fr; }

  .logo-strip-inner { gap: 20px; }
  .logo-strip-list { gap: 16px 24px; }
  .logo-strip-list li { font-size: 0.88rem; }
}

@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--line-light); }
  .metric:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 84px; }
  .chat-toggle { right: 12px; bottom: 12px; padding: 12px 16px; }
  .chat-toggle span { display: none; }
}
@media (max-width: 420px) {
  /* Keskeny telefonon a logo-jel marad, hogy a Belepes + Ajanlatkeres gomb is elferjen */
  .site-header .brand-name { display: none; }
}

/* ---------- Legal pages (adatvedelem / aszf / impresszum) ---------- */
.legal {
  padding: 64px 0 96px;
  border-bottom: 1px solid var(--line-dark);
}

.legal-wrap { max-width: 820px; }

.legal-breadcrumb {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 24px;
}
.legal-breadcrumb a { color: var(--muted); text-decoration: none; }
.legal-breadcrumb a:hover { color: var(--accent); }

.legal-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.4em;
}

.legal-lead {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 2.4em;
  padding-bottom: 1.8em;
  border-bottom: 1px solid var(--line-dark);
}

.legal-toc {
  margin: 0 0 3em;
  padding: 22px 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.legal-toc > p {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.legal-toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding-left: 18px;
}
.legal-toc li {
  break-inside: avoid;
  padding: 4px 0;
  font-size: 0.92rem;
}
.legal-toc a {
  color: var(--fg);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.legal-toc a:hover { color: var(--accent); opacity: 1; }

.legal-section {
  margin: 0 0 2.4em;
  scroll-margin-top: 96px;
}
.legal-section h2 {
  font-size: 1.4rem;
  margin: 0 0 0.7em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--line-dark);
  max-width: none;
}
.legal-section h3 {
  font-size: 1.05rem;
  margin: 1.6em 0 0.6em;
  color: var(--fg);
}
.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}
.legal-section p { max-width: none; }
.legal-section strong { color: var(--fg); font-weight: 600; }
.legal-section a { color: var(--accent); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }

.legal-section ul {
  margin: 0 0 1em;
  padding-left: 22px;
}
.legal-section ul li { padding: 4px 0; }
.legal-section ul li::marker { color: var(--accent); }

/* Szamozott pontok fuggo behuzassal (pl. "2.1.") */
.legal-section p.legal-pt {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr);
  gap: 0 8px;
  margin: 0 0 0.8em;
}
.legal-num { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }

.legal-data {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 24px;
  margin: 0;
  font-size: 0.96rem;
}
.legal-data dt { color: var(--muted); }
.legal-data dd { margin: 0; color: var(--fg); overflow-wrap: anywhere; }

/* Meg kitoltendo adat (a szolgaltato adja meg) */
.legal-fill { background: rgba(228, 166, 43, 0.14); color: var(--accent); padding: 0 4px; }

.legal-footer-note {
  margin: 3em 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
  .legal { padding: 40px 0 64px; }
  .legal-data { grid-template-columns: 1fr; gap: 2px; }
  .legal-data dd { margin-bottom: 8px; }
}

/* ================================================================
   MODERN B2B EXTENSIONS
   ================================================================ */

/* Kis pont ikon a "Kerdezz az AI-tol" gombhoz */
.btn-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(228,166,43,0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
.btn-ghost .btn-dot { background: var(--accent); }
.btn-accent .btn-dot { background: #191203; box-shadow: 0 0 0 4px rgba(25,18,3,0.15); }

/* A plan-featured most sotet hattereben van (aurora) */
.pricing { background: transparent; color: var(--fg); border-top: 1px solid var(--line-dark); }
.pricing h2 { color: var(--fg); }
.pricing-grid {
  border-top: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
}
.plan {
  border-right-color: var(--line-dark);
  border-bottom-color: var(--line-dark);
  transition: background 0.2s ease, transform 0.2s ease;
}
.plan:last-child { border-right-color: var(--line-dark); }
.plan:hover { background: rgba(255,255,255,0.03); }
.plan h3 { color: var(--fg); }
.plan-desc { color: var(--muted); }
.plan-features li { border-top-color: var(--line-dark); color: var(--fg); }
.plan-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}
.plan-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  color: #fff;
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  box-shadow: 0 4px 14px rgba(228,166,43,0.35);
}
.plan-tag::before {
  content: "★";
  font-size: 0.75em;
}
.plan-featured {
  background:
    radial-gradient(circle at 50% 0%, rgba(228,166,43,0.18), transparent 55%),
    rgba(255,255,255,0.03);
  color: var(--fg);
  position: relative;
  z-index: 1;
}
.plan-featured::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(180deg, var(--accent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan-featured h3 { color: var(--accent); }
.plan-featured .plan-tag { color: #fff; }
.plan-featured .plan-desc { color: var(--muted); }
.plan-featured .plan-features li { border-top-color: rgba(228,166,43,0.18); }
.plan-features li.plan-inherit { color: var(--accent); font-weight: 600; font-size: 0.86rem; }
.plan-features li.plan-inherit::before { content: "+"; }
.pricing-note { color: var(--muted); }

/* Trust sav */
.trust {
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 44px 0;
  background: rgba(255,255,255,0.015);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}
.trust-item { text-align: center; }
.trust-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.trust-item em {
  font-style: normal;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-left: 2px;
}
.trust-item p {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Offer intro pontok */
.offer-points {
  list-style: none;
  margin: 1.5em 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.offer-points li {
  padding-left: 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--fg);
}
.offer-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}

/* Chat panel modernebb + input send arrow */
.chat-panel { transform: translateY(8px) scale(0.98); opacity: 0; transition: transform 0.18s ease, opacity 0.18s ease; }
.chat-panel[hidden] { display: none; }
.chat-panel.is-open { transform: none; opacity: 1; }
.chat-msg.is-typing {
  color: var(--muted);
  font-style: italic;
}
.chat-form button {
  min-width: 48px;
  font-size: 1.1rem;
}

/* ---------- Dashboard ---------- */
.dash {
  padding: 56px 0 96px;
  min-height: calc(100vh - 80px);
}
.dash-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.2em;
}
.dash-lead {
  color: var(--muted);
  margin-bottom: 2.2em;
}
.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 44px;
}
.dash-card {
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  display: flex;
  flex-direction: column;
}
.dash-card-lg { grid-column: span 1; }
.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dash-card h2 {
  font-size: 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.dash-status { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dash-status li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
  font-size: 0.92rem;
}
.dash-status strong { font-size: 0.85rem; font-weight: 600; }
.dash-status .ok { color: #7fd48a; }
.dash-status .warn { color: var(--accent); }
.dash-status .muted { color: var(--muted); }
.plan-badge {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 8px;
}
.dash-muted { color: var(--muted); font-size: 0.88rem; }
.dash-btn { margin-top: auto; align-self: flex-start; }
.dash-actions { display: flex; flex-direction: column; gap: 10px; }
.dash-actions .btn { justify-content: flex-start; }

.dash-section { margin-top: 24px; }
.dash-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.dash-section-head h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
}
.dash-table-wrap {
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
  overflow-x: auto;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 640px;
}
.dash-table th, .dash-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
}
.dash-table th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-empty { color: var(--muted); text-align: center; padding: 32px 16px; }
.dash-empty a { color: var(--accent); }
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid rgba(228,166,43,0.35);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Auth pages ---------- */
.auth-body { min-height: 100vh; }
.auth-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
}
.auth-side {
  position: relative;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at 20% 20%, rgba(228,166,43,0.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  overflow: hidden;
}
.auth-brand { position: relative; z-index: 2; }
.auth-side-copy { position: relative; z-index: 2; max-width: 440px; }
.auth-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
.auth-side-copy p { color: var(--muted); }
.auth-points {
  list-style: none;
  padding: 0;
  margin: 1.8em 0 0;
  display: grid;
  gap: 12px;
}
.auth-points li {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.92rem;
  color: var(--fg);
}
.auth-points .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.auth-watermark {
  position: absolute;
  right: -8%; bottom: -12%;
  width: 460px;
  opacity: 0.06;
  pointer-events: none;
}
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 36px 34px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.03);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
}
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line-dark);
  margin-bottom: 24px;
}
.auth-tab {
  background: none;
  border: none;
  color: var(--muted);
  padding: 12px 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.auth-tab:hover { color: var(--fg); }
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.auth-form {
  display: grid;
  gap: 14px;
}
.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-form label > span:first-child {
  font-size: 0.82rem;
  color: var(--muted);
}
.auth-form label em { color: var(--muted); font-style: normal; }
.auth-form input {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--accent);
}
.auth-consent {
  font-size: 0.82rem;
  color: var(--muted);
}
.auth-submit {
  width: 100%;
  margin-top: 8px;
  padding: 1.05em 1.6em;
}
.auth-status {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  min-height: 1.2em;
}
.auth-status.success { color: #7fd48a; }
.auth-status.error { color: #e46a4a; }
.auth-footnote {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.85rem;
}
.auth-footnote a { color: var(--muted); text-decoration: none; }
.auth-footnote a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .hero .wrap.hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .dash-grid { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-side { padding: 40px 32px; border-right: none; border-bottom: 1px solid var(--line-dark); }
  .main-nav { display: none; }
  /* Mobilon is maradjon elerheto a belepes / ugyfelportal gomb (tomoritett fejlec) */
  .header-cta { gap: 8px; }
  .header-cta .btn { padding: 0.6em 0.9em; font-size: 0.82rem; }
}
@media (max-width: 620px) {
  .trust-inner { grid-template-columns: 1fr; }
}

/* ================================================================
   ADMIN PANEL
   ================================================================ */

.admin-nav {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.admin-nav:hover { color: var(--fg); }
.admin-nav.active { color: var(--accent); border-bottom-color: var(--accent); }

.admin .dash-title { margin-bottom: 0.1em; }

.admin-tab { display: none; }
.admin-tab.is-active { display: block; }
.admin-tab:not([hidden]) { display: block; }

/* KPI */
.admin-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 28px;
}
.kpi {
  padding: 22px 20px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kpi-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kpi-lbl {
  font-size: 0.78rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.kpi-accent { border-color: rgba(228,166,43,0.5); background: rgba(228,166,43,0.08); }
.kpi-accent .kpi-num { color: var(--accent); }

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  margin-bottom: 32px;
}

.recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.recent-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
  font-size: 0.9rem;
}
.recent-meta { display: flex; align-items: center; gap: 12px; }

/* Admin toolbar */
.admin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0 16px;
}
.admin-input {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 9px 12px;
  min-width: 240px;
}
.admin-input:focus { border-color: var(--accent); outline: none; }

/* Status pill variantok */
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(228,166,43,0.4);
  color: var(--accent);
  background: rgba(228,166,43,0.06);
}
.status-uj              { color: var(--accent); border-color: rgba(228,166,43,0.5); }
.status-folyamatban     { color: #7fb8ff; border-color: rgba(127,184,255,0.4); background: rgba(127,184,255,0.08); }
.status-ajanlat_kikuldve{ color: #b78bff; border-color: rgba(183,139,255,0.4); background: rgba(183,139,255,0.08); }
.status-lezart          { color: #7fd48a; border-color: rgba(127,212,138,0.4); background: rgba(127,212,138,0.08); }
.status-elutasitva      { color: #e46a4a; border-color: rgba(228,106,74,0.4); background: rgba(228,106,74,0.08); }
.status-active          { color: #7fd48a; border-color: rgba(127,212,138,0.4); background: rgba(127,212,138,0.08); }
.status-trial           { color: var(--accent); }
.status-paused          { color: #b78bff; border-color: rgba(183,139,255,0.4); background: rgba(183,139,255,0.08); }
.status-inactive        { color: var(--muted); border-color: var(--line-dark); background: transparent; }
.status-admin           { color: #e4a62b; border-color: rgba(228,166,43,0.6); background: rgba(228,166,43,0.14); }
.role-user              { color: var(--muted); font-size: 0.85rem; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.16s ease;
}
.modal.is-open { opacity: 1; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 6, 8, 0.78);
  backdrop-filter: blur(10px);
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background:
    radial-gradient(circle at top left, rgba(228,166,43,0.08), transparent 45%),
    linear-gradient(180deg, #17171a 0%, #101012 100%);
  border: 1px solid rgba(228,166,43,0.22);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(228,166,43,0.06) inset;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal.is-open .modal-card { transform: none; }
.modal-card::-webkit-scrollbar { width: 10px; }
.modal-card::-webkit-scrollbar-thumb { background: rgba(228,166,43,0.25); border-radius: 4px; }
.modal-card::-webkit-scrollbar-track { background: transparent; }

.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(228,166,43,0.06), transparent);
  position: sticky; top: 0;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.modal-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.modal-head h3 span { color: var(--accent); }
.modal-close {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-dark);
  color: var(--muted);
  width: 34px; height: 34px;
  font-size: 1.35rem; line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s ease;
}
.modal-close:hover { color: var(--fg); border-color: var(--accent); background: rgba(228,166,43,0.1); }
.modal-body {
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.modal-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  padding: 18px 28px;
  border-top: 1px solid var(--line-dark);
  background: rgba(0,0,0,0.25);
  position: sticky; bottom: 0;
  backdrop-filter: blur(8px);
}
.modal-foot-right { display: flex; gap: 10px; }

.modal-dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px 20px;
  margin: 0;
  padding: 16px 18px;
  font-size: 0.92rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--accent);
}
.modal-dl dt {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}
.modal-dl dd { margin: 0; color: var(--fg); }
.modal-dl dd.pre { white-space: pre-wrap; }

.modal-field {
  display: flex; flex-direction: column; gap: 8px;
}
.modal-field > span:first-child {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.modal-field input,
.modal-field select,
.modal-field textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 11px 14px;
  resize: vertical;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.modal-field input:hover,
.modal-field select:hover,
.modal-field textarea:hover { border-color: rgba(228,166,43,0.35); }
.modal-field input:focus,
.modal-field select:focus,
.modal-field textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: rgba(228,166,43,0.04);
  box-shadow: 0 0 0 3px rgba(228,166,43,0.12);
}
/* Sotet color scheme -> a natívan generalt legordulo dark lesz */
.modal-field select,
.services-editor select,
.admin-input {
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23e4a62b' d='M0 0l6 8 6-8z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.modal-field select option,
.services-editor select option,
.admin-input option {
  background: #17171a;
  color: var(--fg);
}
/* Option highlight (Firefox tiszteli, Chrome részlegesen) */
.modal-field select option:checked,
.modal-field select option:hover,
.services-editor select option:checked,
.services-editor select option:hover,
.admin-input option:checked,
.admin-input option:hover {
  background: linear-gradient(0deg, rgba(228,166,43,0.35), rgba(228,166,43,0.35)) #241d0d !important;
  color: var(--accent) !important;
  font-weight: 600;
}

/* ---------- Admin modalban a btn-outline sötét témára ---------- */
.modal .btn-outline,
.admin .btn-outline {
  color: var(--fg);
  border-color: var(--line-dark);
  background: rgba(255,255,255,0.03);
}
.modal .btn-outline:hover,
.admin .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(228,166,43,0.08);
}
.modal .btn-ghost,
.admin .btn-ghost {
  color: var(--fg);
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 720px) {
  .admin-kpi { grid-template-columns: repeat(2, 1fr); }
  .admin-grid { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .modal-dl dt { margin-top: 8px; }
  .svc-row { grid-template-columns: 1fr; }
}

/* ---------- Services editor a user modalban ---------- */
.services-editor {
  margin-top: 4px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--accent);
  position: relative;
}
.services-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.services-editor-head h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.services-hint {
  font-size: 0.82rem;
  margin: 4px 0 14px;
  color: var(--muted);
}
.services-hint strong { color: var(--fg); font-weight: 600; }
.services-list {
  display: grid;
  gap: 8px;
}
.svc-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr auto;
  gap: 8px;
  align-items: center;
}
.svc-row .admin-input { min-width: 0; width: 100%; }
.svc-row .svc-custom[disabled] { opacity: 0.45; }
.svc-row .svc-remove {
  color: #e46a4a;
  padding: 6px 10px;
  min-width: 0;
}

/* ---------- Btn: Kezelés (feltuno arany gomb) ---------- */
.btn-manage {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b0b0c;
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
  border: 1px solid var(--accent-strong);
  cursor: pointer;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  box-shadow: 0 6px 18px rgba(228,166,43,0.28);
}
.btn-manage:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 10px 22px rgba(228,166,43,0.42);
}
.btn-manage:active { transform: translateY(0); }
.btn-manage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  font-size: 0.85rem;
}

.pwd-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.pwd-row .admin-input { min-width: 0; width: 100%; }
.success-text { color: #7fd48a !important; }
.error-text   { color: #e46a4a !important; }

.user-offers-list .dash-table-compact {
  font-size: 0.85rem;
}
.user-offers-list .dash-table-compact th,
.user-offers-list .dash-table-compact td {
  padding: 8px 10px;
}

/* ================================================================
   FEATURE (CSOMAG-FUNKCIOK) - USER PORTAL
   ================================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.feature-card:hover { border-color: rgba(228,166,43,0.35); }
.feature-card.active { border-color: rgba(127,212,138,0.35); }
.feature-card.pending {
  border-color: rgba(228,166,43,0.55);
  background: linear-gradient(180deg, rgba(228,166,43,0.06), rgba(255,255,255,0.02));
}
.feature-card.locked {
  opacity: 0.65;
  background: rgba(255,255,255,0.01);
}
.feature-card.locked .feature-card-title { color: var(--muted); }

.feature-card-body { flex: 1; min-width: 0; }
.feature-card-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: var(--fg);
  line-height: 1.3;
}
.feature-card-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 10px 0;
  line-height: 1.5;
}
.feature-card-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-toggle {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 2px solid var(--line-dark);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}
.feature-toggle:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(228,166,43,0.08);
}
.feature-toggle.is-on {
  background: var(--accent);
  border-color: var(--accent-strong);
  color: #0b0b0c;
  box-shadow: 0 6px 18px rgba(228,166,43,0.28);
}
.feature-toggle.is-on:hover:not(:disabled) {
  background: var(--accent-strong);
  color: #0b0b0c;
}
.feature-toggle.is-pending {
  border-color: rgba(228,166,43,0.55);
  color: var(--accent);
  background: rgba(228,166,43,0.08);
  cursor: not-allowed;
  animation: pulseGold 1.6s ease-in-out infinite;
}
.feature-toggle:disabled { cursor: not-allowed; }
@keyframes pulseGold {
  0%,100% { box-shadow: 0 0 0 0 rgba(228,166,43,0.4); }
  50%     { box-shadow: 0 0 0 6px rgba(228,166,43,0); }
}

.feature-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 2px dashed var(--line-dark);
  color: var(--muted);
  font-size: 1.15rem;
  background: rgba(255,255,255,0.01);
}

.feature-state-pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-dark);
  color: var(--muted);
}
.feature-state-active   { color: #7fd48a; border-color: rgba(127,212,138,0.4); background: rgba(127,212,138,0.08); }
.feature-state-inactive { color: var(--muted); }
.feature-state-pending  { color: var(--accent); border-color: rgba(228,166,43,0.5); background: rgba(228,166,43,0.08); }
.feature-state-locked   { color: var(--muted); border-color: var(--line-dark); }

/* ---- Uj funkcio-keres form ---- */
.feature-req-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.feature-req-form input,
.feature-req-form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-dark);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 11px 14px;
  resize: vertical;
  transition: border-color 0.15s ease;
}
.feature-req-form input:focus,
.feature-req-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: rgba(228,166,43,0.04);
}
.feature-req-form button { justify-self: flex-start; }

.my-requests {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.my-requests-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px 0;
}

.request-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--accent);
}
.request-item-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
}
.request-item-meta { font-size: 0.82rem; }
.request-item-note {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--fg);
  padding: 6px 10px;
  border-left: 2px solid var(--accent);
  background: rgba(228,166,43,0.06);
}
.request-item-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.status-pending  { color: var(--accent); border-color: rgba(228,166,43,0.5); background: rgba(228,166,43,0.08); }
.status-approved { color: #7fd48a; border-color: rgba(127,212,138,0.4); background: rgba(127,212,138,0.08); }
.status-rejected { color: #e46a4a; border-color: rgba(228,106,74,0.4); background: rgba(228,106,74,0.08); }
.status-done     { color: var(--muted); border-color: var(--line-dark); }

/* ---- Admin: feature katalogus + kerelmek ---- */
.feat-block-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 20px 0 12px;
  color: var(--fg);
}
.pending-list { display: grid; gap: 10px; }
.pending-subtitle {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px 0;
  font-weight: 600;
}

/* Admin: plan-checks (feature modal) */
.plan-checks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
}
.plan-checks label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--fg);
  cursor: pointer;
}
.plan-checks input[type=checkbox] { accent-color: var(--accent); }

/* Admin user modal: user-feature sorok */
.user-features-list {
  display: grid;
  gap: 6px;
}
.user-feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02);
  font-size: 0.9rem;
}
.user-feature-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  min-width: 0;
  flex: 1;
}
.user-feature-check input[type=checkbox] { accent-color: var(--accent); width: 18px; height: 18px; }
.user-feature-title { color: var(--fg); }
.user-feature-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ---------- Hirdetesek ---------- */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.ad-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .15s, background .15s;
}
.ad-card:hover { border-color: rgba(228,166,43,0.35); }
.ad-card.status-live { border-color: rgba(139,195,74,0.35); }
.ad-card.status-rejected { border-color: rgba(239,108,139,0.35); }
.ad-card.status-pending, .ad-card.status-pending_edit, .ad-card.status-pending_delete { border-color: rgba(228,166,43,0.35); }
.ad-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.ad-card-title {
  margin: 0;
  font-family: Unbounded, serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  line-height: 1.3;
}
.ad-card-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  font-size: 12px;
}
.ad-card-meta li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ad-card-meta li span { color: #8a8a90; }
.ad-card-meta li strong { color: var(--fg); font-weight: 500; }
.ad-card-audience {
  margin: 0;
  font-size: 12px;
  color: #c9c9cf;
  line-height: 1.5;
}
.ad-card-note {
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  color: #c9c9cf;
  background: rgba(228,166,43,0.06);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
}
.ad-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

/* Hirdetes statusz pillek */
.status-pending, .status-pending_edit, .status-pending_delete { color: var(--accent); border-color: rgba(228,166,43,0.5); }
.status-live { color: #8bc34a; border-color: rgba(139,195,74,0.5); }
.status-paused { color: #ffb74d; border-color: rgba(255,183,77,0.5); }
.status-rejected { color: #ef6c8b; border-color: rgba(239,108,139,0.5); }
.status-archived { color: #8a8a90; border-color: rgba(255,255,255,0.15); }

/* Statisztika modal + chart */
.modal-card-lg { max-width: 780px; }
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}
.modal-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #c9c9cf;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--fg);
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  padding: 9px 11px;
  transition: border-color .15s;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}
.chart-wrap {
  margin: 12px 0;
  padding: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.chart-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}
.stats-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 4px;
}
.stat-tile {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-lbl {
  font-size: 11px;
  color: #8a8a90;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.stat-val {
  font-family: Unbounded, serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--fg);
}

/* Events table (admin) */
.events-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  margin-top: 12px;
}
.events-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.events-table th,
.events-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.events-table th {
  color: #8a8a90;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255,255,255,0.02);
}
.events-table input {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--fg);
  padding: 5px 8px;
  font-size: 13px;
  width: 100%;
  min-width: 90px;
}
.events-table input:focus { border-color: var(--accent); outline: none; }

/* ================================================================
   AJANLATKERES: lepesek, csomagvalaszto, igenyek
   ================================================================ */
.offer-steps { list-style: none; margin: 1.6em 0 0; padding: 0; display: grid; gap: 10px; }
.offer-steps li { display: flex; align-items: center; gap: 12px; font-size: 0.92rem; color: var(--fg); }
.offer-steps span {
  width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700; color: #191203; background: var(--accent);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.offer-steps li:last-child span { background: transparent; color: var(--accent); border: 1px solid rgba(228,166,43,0.55); }
.opt-label { font-style: normal; color: var(--muted); opacity: 0.8; }

.choice-group { border: none; margin: 0; padding: 0; min-width: 0; }
.choice-group legend { font-size: 0.85rem; color: var(--muted); padding: 0; margin-bottom: 10px; }
.choice-group legend em { font-style: normal; opacity: 0.75; }

.plan-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.plan-picker label, .need-chips label { position: relative; cursor: pointer; }
.plan-picker input, .need-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.plan-picker span {
  display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 12px 12px; border: 1px solid var(--line-dark);
  background: rgba(255,255,255,0.02); transition: border-color .15s ease, background .15s ease;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.plan-picker strong { font-family: var(--font-display); font-size: 0.86rem; font-weight: 600; color: var(--fg); }
.plan-picker em { font-style: normal; font-size: 0.76rem; color: var(--muted); line-height: 1.35; }
.plan-picker label:hover span { border-color: rgba(228,166,43,0.45); }
.plan-picker input:checked + span { border-color: var(--accent); background: rgba(228,166,43,0.1); box-shadow: inset 0 0 0 1px var(--accent); }
.plan-picker input:checked + span strong { color: var(--accent); }
.plan-picker input:focus-visible + span, .need-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.need-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.need-chips span {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 0.86rem; color: var(--fg);
  border: 1px solid var(--line-dark); background: rgba(255,255,255,0.02); transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.need-chips span::before { content: ""; width: 14px; height: 14px; border: 1px solid var(--line-dark); flex-shrink: 0; transition: all .15s ease; }
.need-chips label:hover span { border-color: rgba(228,166,43,0.45); }
.need-chips input:checked + span { border-color: var(--accent); background: rgba(228,166,43,0.1); color: var(--accent); }
.need-chips input:checked + span::before {
  border-color: var(--accent); background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m5 12 5 5 9-10' fill='none' stroke='%23191203' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat;
}
@media (max-width: 860px) { .plan-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 2. lepes: a valasztott csomag funkcioi (pipa = kerem, ures = nem kerem) */
.feature-pick { display: grid; gap: 14px; }
.feature-pick-group { display: grid; gap: 8px; }
.feature-pick-title { margin: 0; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.feature-pick-note { margin: 0; font-size: 0.86rem; color: var(--muted); }
.need-chips.is-plan input:not(:checked) + span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.35); border-style: dashed; }
.feature-pick-sum { margin: 10px 0 0; font-size: 0.82rem; color: var(--muted); }
.feature-pick-sum strong { color: var(--fg); }
.link-reset { background: none; border: none; padding: 0; margin-left: 6px; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .need-chips span { font-size: 0.8rem; padding: 8px 11px; } }

/* ================================================================
   KOSZONO OLDAL + IDOPONTFOGLALAS
   ================================================================ */
.ty { padding: 48px 0 96px; }
.ty-steps { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 28px; }
.ty-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; font-size: 0.82rem; color: var(--muted); border: 1px solid var(--line-dark); }
.ty-steps li span { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; border: 1px solid var(--line-dark); }
.ty-steps li.done { color: var(--fg); }
.ty-steps li.done span { background: #7fd48a; border-color: #7fd48a; color: #0c1a0e; }
.ty-steps li.current { color: var(--accent); border-color: rgba(228,166,43,0.55); background: rgba(228,166,43,0.08); }
.ty-steps li.current span { background: var(--accent); border-color: var(--accent); color: #191203; }
.ty-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 12px; max-width: 22ch; }
.ty-lead { color: var(--muted); font-size: 1.02rem; max-width: 60ch; margin: 0 0 30px; }
.ty-lead strong { color: var(--fg); }
.ty-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 28px; align-items: start; }
.ty-aside { display: grid; gap: 16px; position: sticky; top: 90px; }
.ty-card {
  border: 1px solid var(--line-dark); background: rgba(255,255,255,0.02); padding: 20px 20px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.ty-card h2 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; max-width: none; }
.ty-summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 0.9rem; }
.ty-summary dt { color: var(--muted); }
.ty-summary dd { margin: 0; overflow-wrap: anywhere; }
.ty-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ty-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 0.9rem; color: var(--fg); line-height: 1.5; }
.ty-list li::before { content: ""; width: 8px; height: 8px; margin: 7px 0 0 4px; background: var(--accent); transform: rotate(45deg); }
.ty-list small { display: block; color: var(--muted); font-size: 0.82rem; }
.ty-cal {
  border: 1px solid rgba(228,166,43,0.35); background: #131315; overflow: hidden; position: relative;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.ty-cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line-dark); }
.ty-cal-head h2 { font-size: 1.05rem; margin: 0; max-width: none; }
.ty-cal-head a { color: var(--muted); font-size: 0.84rem; text-decoration: none; }
.ty-cal-head a:hover { color: var(--accent); }
.ty-cal iframe { display: block; width: 100%; height: 720px; border: 0; background: #131315; }
.ty-cal-loading { position: absolute; inset: 60px 0 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 0.9rem; pointer-events: none; }
.ty-spinner { width: 18px; height: 18px; border: 2px solid var(--line-dark); border-top-color: var(--accent); border-radius: 50%; animation: tySpin .8s linear infinite; }
@keyframes tySpin { to { transform: rotate(360deg); } }
.ty-note { margin: 14px 0 0; color: var(--muted); font-size: 0.85rem; }
.ty-done { text-align: center; padding: 48px 24px; }
.ty-done-icon { width: 64px; height: 64px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; color: #7fd48a; border: 1px solid rgba(127,212,138,0.45); background: rgba(127,212,138,0.08); }
.ty-done-icon svg { width: 30px; height: 30px; }
.ty-done h2 { font-size: 1.5rem; margin: 0 auto 10px; max-width: none; }
.ty-done p { color: var(--muted); margin: 0 auto 8px; }
.ty-done .ty-when { font-family: var(--font-display); font-size: 1.15rem; color: var(--accent); margin: 14px auto 22px; }
@media (max-width: 960px) {
  .ty-grid { grid-template-columns: 1fr; }
  .ty-aside { position: static; order: 2; }
}
@media (max-width: 620px) {
  .ty { padding: 28px 0 80px; }
  .ty-steps li { padding: 6px 10px 6px 6px; font-size: 0.78rem; }
  .ty-cal-head { padding: 14px 14px; }
  .ty-cal iframe { height: 1040px; }
}
