/* ============================================================
   fejlesztesied.hu — landing page stílusok
   ============================================================ */

:root {
  --bg: #0b0f1a;
  --bg-alt: #101527;
  --surface: #151b30;
  --surface-hover: #1a2140;
  --border: rgba(255, 255, 255, 0.08);
  --text: #eef1f8;
  --text-muted: #9aa3b8;
  --accent: #6c7bff;
  --accent-2: #38d9c8;
  --accent-glow: rgba(108, 123, 255, 0.35);
  --grad: linear-gradient(100deg, #6c7bff 0%, #38d9c8 100%);
  --radius: 16px;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: 820px; }

/* ---------- Tipográfia ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-lead strong { color: var(--text); }

.center { text-align: center; }

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

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-primary {
  background: var(--grad);
  color: #0b0f1a;
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ---------- Fejléc ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 26, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-img {
  height: 34px;
  width: auto;
  border-radius: 8px;
}

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

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden; /* a 900px-es hero-glow ne okozzon vízszintes görgetést mobilon */
  padding: 110px 0 90px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(108, 123, 255, 0.22) 0%, rgba(56, 217, 200, 0.08) 45%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 1.5rem auto 2.5rem;
}

.hero-lead strong { color: var(--text); }

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-bar { margin-top: 4rem; }

.trust-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
}

.trust-chips li {
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- Szekciók ---------- */

.section { padding: 90px 0; }

.section.alt { background: var(--bg-alt); }

.problem { text-align: center; }

.problem h2 { margin-left: auto; margin-right: auto; }

.problem .section-lead { margin-left: auto; margin-right: auto; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 3rem;
  text-align: left;
}

.stat {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
}

.stat-text { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Szolgáltatás-kártyák ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
}

.card {
  position: relative;
  padding: 34px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 123, 255, 0.4);
  background: var(--surface-hover);
}

.card.featured { border-color: rgba(56, 217, 200, 0.45); }

.card-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 14px;
  background: var(--grad);
  color: #0b0f1a;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(108, 123, 255, 0.12);
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 0.7rem; }

.card p { color: var(--text-muted); font-size: 0.97rem; }

.card-list {
  margin-top: 1.1rem;
  list-style: none;
}

.card-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.45rem;
}

.card-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}

/* ---------- Folyamat-ábra (rendszer) ---------- */

.flow {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin: 2.5rem 0 3rem;
}

.flow-step {
  flex: 1;
  padding: 26px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.flow-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: #0b0f1a;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.flow-step h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }

.flow-step p { font-size: 0.88rem; color: var(--text-muted); }

.flow-arrow {
  align-self: center;
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ---------- Miért velem ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  margin-top: 2.5rem;
}

.why-item h3 {
  margin-bottom: 0.6rem;
  padding-left: 18px;
  border-left: 3px solid;
  border-image: var(--grad) 1;
}

.why-item p { color: var(--text-muted); }

/* ---------- Folyamat (lépések) ---------- */

.process {
  list-style: none;
  counter-reset: step;
  margin-top: 2.5rem;
}

.process li {
  counter-increment: step;
  position: relative;
  padding: 0 0 2.4rem 74px;
}

.process li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(108, 123, 255, 0.4);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
}

.process li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 24px;
  top: 56px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(108, 123, 255, 0.4), transparent);
}

.process h3 { margin-bottom: 0.4rem; }

.process p { color: var(--text-muted); }

/* ---------- GYIK ---------- */

.faq { margin-top: 2.5rem; }

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 52px;
  transition: color 0.15s ease;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details p {
  padding: 0 24px 20px;
  color: var(--text-muted);
}

/* ---------- Kapcsolat / CTA ---------- */

.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  bottom: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(56, 217, 200, 0.14) 0%, rgba(108, 123, 255, 0.1) 45%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-lead { margin-left: auto; margin-right: auto; }

.contact-form {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label { display: block; margin-bottom: 16px; }

.contact-form label span {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 123, 255, 0.18);
}

.contact-form textarea { resize: vertical; }

.contact-form .btn { width: 100%; margin-top: 8px; }

.form-note {
  margin-top: 1.2rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-note a { color: var(--accent-2); text-decoration: none; }

.form-note a:hover { text-decoration: underline; }

.form-status {
  margin-top: 1rem;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(56, 217, 200, 0.12);
  border: 1px solid rgba(56, 217, 200, 0.4);
  color: var(--accent-2);
  font-size: 0.95rem;
  text-align: center;
}

.form-status.form-error {
  background: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.4);
  color: #ff8f8f;
}

/* Honeypot: emberi látogató sosem látja, botok kitöltik.
   A .contact-form position: relative, így az abszolút mező nem lóg ki a képernyőből. */
.honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- Lábléc ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-tag {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.6rem;
  max-width: 320px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-nav a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal a:hover { color: var(--text); }

/* ---------- Jogi oldalak ---------- */

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 0.4rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.2rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 2.2rem 0 0.7rem;
}

.legal p {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.legal a { color: var(--accent-2); }

.legal-data {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 20px;
  padding: 22px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 1rem 0 1.5rem;
}

.legal-data dt { font-weight: 600; color: var(--text); }

.legal-data dd { color: var(--text-muted); overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .legal-data { grid-template-columns: 1fr; gap: 2px; }
  .legal-data dd { margin-bottom: 12px; }
}

/* ---------- Megjelenési animáció ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Reszponzív ---------- */

@media (max-width: 900px) {
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); align-self: flex-start; margin-left: 32px; }
  .stat-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .header-cta { display: none; }

  .nav-toggle { display: flex; margin-left: auto; }

  .main-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    margin: 0;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
    z-index: 99;
  }

  .main-nav.open { transform: none; }

  .main-nav a {
    padding: 14px 24px;
    font-size: 1.05rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 70px 0 60px; }

  .section { padding: 60px 0; }

  .card-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .process li { padding-left: 60px; }

  .process li::before { width: 40px; height: 40px; font-size: 1rem; }

  .process li:not(:last-child)::after { left: 20px; top: 48px; }
}

/* ---------- Cookie elfogadó ---------- */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 200;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.cookie-banner.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  padding: 16px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

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

.cookie-emoji { margin-right: 4px; }

.cookie-inner .btn { flex-shrink: 0; white-space: nowrap; }

@media (max-width: 560px) {
  .cookie-inner { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
}
