/* ============================================================
   DodosCase — landing page stíluslap
   Színek és tipográfia az eredeti Base44-es design alapján
   ============================================================ */

:root {
  --bg: #05070a;            /* oldal háttér */
  --bg-soft: #0a0e14;       /* szekció váltó háttér */
  --card: #0d1219;          /* kártya háttér */
  --card-hover: #111825;
  --border: #1a222e;        /* kártya keret */
  --text: #eef2f6;          /* fő szöveg */
  --muted: #8b98a8;         /* másodlagos szöveg */
  --accent: #22d3ee;        /* cián akcent */
  --accent-2: #38bdf8;      /* világosabb cián a gradienshez */
  --accent-dim: rgba(34, 211, 238, 0.12);
  --radius: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}
.container-narrow { width: min(760px, 92%); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ---------- Gombok ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #04121a;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34, 211, 238, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.btn-block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Navigáció ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(5, 7, 10, 0.9);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent) !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dim); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 70px;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(34, 211, 238, 0.07), transparent 65%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.accent {
  background: linear-gradient(120deg, var(--accent-2), var(--accent) 60%, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  gap: 44px;
}
.hstat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hstat span {
  font-size: 0.78rem;
  color: var(--muted);
}
.hero-visual img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.scroll-hint {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 1.3rem;
  margin-top: 44px;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ---------- Szekciók, fejlécek ---------- */
.section {
  padding: 96px 0;
  border-top: 1px solid #0e131b;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.section-lead {
  color: var(--muted);
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 0.98rem;
}

/* ---------- Miért mi? ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  background: var(--card-hover);
}
.feature-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* ---------- Termékeink ---------- */
.subsection-head {
  margin-bottom: 26px;
}
.subsection-head h3 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.subsection-head p {
  font-size: 0.9rem;
  color: var(--muted);
}
.models-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.model-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
}
.model-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.model-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.model-card:hover .model-img img { transform: scale(1.03); }
.model-body { padding: 26px; }
.model-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.model-body p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.flotta-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: linear-gradient(135deg, var(--card), rgba(34, 211, 238, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.flotta-img { min-height: 300px; }
.flotta-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.flotta-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.flotta-body h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.flotta-body p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 26px;
}
.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(34, 211, 238, 0.22);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Árazás ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px 28px;
}
.price-card.featured {
  border-color: rgba(34, 211, 238, 0.5);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.05), var(--card) 40%);
  box-shadow: 0 12px 44px rgba(34, 211, 238, 0.08);
}
.featured-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #04121a;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.featured-badge .badge-dot { background: #04121a; box-shadow: none; }
.tier-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.tier-qty {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.tier-price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.tier-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.tier-features {
  flex: 1;
  margin-bottom: 30px;
  display: grid;
  gap: 12px;
}
.tier-features li {
  position: relative;
  padding-left: 26px;
  font-size: 0.87rem;
  color: var(--muted);
}
.tier-features li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
.pricing-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 36px;
}

/* ---------- Folyamat ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 23px; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent);
}
.step { position: relative; }
.step-icon {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--accent);
  margin-bottom: 20px;
}
.step-icon svg { width: 20px; height: 20px; }
.step-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.step p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Referenciák ---------- */
.logo-marquee {
  overflow: hidden;
  margin-bottom: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: 1.15rem;
  font-weight: 700;
  color: #3d4a59;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 56px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  padding: 26px 14px;
}
.stat-card strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.stat-card span {
  font-size: 0.78rem;
  color: var(--muted);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}
.quote-mark {
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 14px;
}
.testimonial blockquote {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial figcaption strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}
.testimonial figcaption span {
  font-size: 0.76rem;
  color: var(--accent);
}

/* ---------- Jogi oldalak (ÁSZF, adatkezelés) ---------- */
.legal-page {
  padding: 140px 0 90px;
}
.legal-page h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.legal-updated {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 38px 0 14px;
  color: var(--accent);
}
.legal-page p, .legal-page li {
  font-size: 0.92rem;
  color: #b9c3cf;
  margin-bottom: 12px;
}
.legal-page ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-page li { margin-bottom: 8px; }
.legal-page strong { color: var(--text); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 30px;
}
.legal-back:hover { text-decoration: underline; }
.legal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 10px;
}
.legal-box p { margin-bottom: 6px; }

/* ---------- GYIK ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: rgba(34, 211, 238, 0.35); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron {
  color: var(--muted);
  transition: transform .25s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-item p {
  padding: 0 22px 20px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- Kapcsolat ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 16px; }
.form-row .form-field { margin-bottom: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #5b6878; }
.contact-form select { color: #5b6878; }
.contact-form select:valid,
.contact-form select:focus { color: var(--text); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}
.hp-field { display: none; }
.form-consent {
  margin-bottom: 20px;
}
.form-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 16px; height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent a {
  color: var(--accent);
  text-decoration: underline;
}
.form-status {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--accent);
  min-height: 1.2em;
}
.contact-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.contact-list { display: grid; gap: 18px; margin-bottom: 32px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--muted);
}
.contact-list a:hover { color: var(--accent); }
.ci-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: var(--accent);
}
.ci-icon svg { width: 17px; height: 17px; }

/* ---------- Lábléc ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .logo { font-size: 1.1rem; }
.footer-links {
  display: flex;
  gap: 22px;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.footer-links a:hover { color: var(--text); }
.copyright {
  font-size: 0.76rem;
  color: #4a5665;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .scroll-hint { animation: none; }
}

/* ============================================================
   RESZPONZÍV
   ============================================================ */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .models-grid { grid-template-columns: 1fr; }
  .flotta-card { grid-template-columns: 1fr; }
  .flotta-img { min-height: 240px; max-height: 340px; }
  .flotta-body { padding: 32px 26px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .steps-grid::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { order: -1; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 7, 10, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 10px 4%;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    padding: 14px 6px;
    border-bottom: 1px solid #0e131b;
    color: var(--text);
  }
  .nav-cta {
    border: none;
    text-align: left;
    padding: 14px 6px;
  }
  .hero { padding-top: 118px; }
  .hero-stats { gap: 28px; }
  .section { padding: 72px 0; }
  .features-grid,
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 460px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
