/* ===================================================================
   akadalymentes-web.hu – landing stylesheet
   =================================================================== */

:root {
  --ink: #10143a;
  --ink-soft: #4b5171;
  --bg: #ffffff;
  --surface: #f4f6ff;
  --line: #e4e7f5;
  --accent: #4f46e5;
  --accent-2: #06b6d4;
  --grad: linear-gradient(100deg, #4f46e5, #7c3aed 45%, #06b6d4);
  --dark: #0c1030;
  --dark-2: #171c4d;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(23, 28, 77, .10);
  --shadow-lg: 0 24px 70px rgba(23, 28, 77, .16);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: var(--accent); text-decoration: none; }

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

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: 860px; }

.section { padding: 96px 0; }
.section-soft { background: var(--surface); }
.section-dark { background: radial-gradient(1200px 600px at 85% -10%, #2c2f7a 0%, transparent 60%), var(--dark); color: #eef0ff; }
.section-dark .eyebrow { color: #8fd8ff; }

/* ---------- Tipográfia ---------- */
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.18; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; line-height: 1.35; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-light {
  background: linear-gradient(100deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }

.section-title { text-align: center; margin-bottom: 18px; }
.section-lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.lead { font-size: 1.14rem; color: var(--ink-soft); margin: 20px 0 28px; }
.section-dark .lead, .section-dark p { color: #c6cbf2; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 10px;
  z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Fejléc ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 28px;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: auto; height: 44px; flex: none; }
.brand-name { font-size: 1.06rem; color: var(--ink); font-weight: 400; white-space: nowrap; }
.brand-name strong { font-weight: 800; }
.brand-tld { color: var(--accent); font-weight: 700; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 9px 14px;
  color: var(--ink); font-weight: 600; font-size: .95rem;
  border-radius: 10px; transition: background .18s, color .18s;
}
.main-nav a:hover { background: var(--surface); color: var(--accent); }

.nav-toggle { display: none; }

/* ---------- Gombok ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 28px;
  transition: transform .18s, box-shadow .18s, background .18s;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px rgba(79, 70, 229, .35);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(79, 70, 229, .45); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: #fff; color: var(--dark); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .92rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 40px;
  background: #e4ebf6; /* megegyezik a hero kép hátterével */
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}
.pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--accent);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
  color: var(--ink-soft); font-weight: 700; font-size: .92rem;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-media img { border-radius: 0; }

/* ---------- Logó sáv ---------- */
.logos { padding: 44px 0 56px; border-bottom: 1px solid var(--line); }
.logos-title {
  text-align: center; font-size: .9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-soft); margin-bottom: 28px;
}
.logo-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 18px 34px; align-items: center;
}
.logo-row img {
  height: 52px; width: auto;
  filter: grayscale(1); opacity: .65;
  transition: filter .2s, opacity .2s;
  border-radius: 8px;
}
.logo-row img:hover { filter: none; opacity: 1; }

/* ---------- Kártyák ---------- */
.card-grid { display: grid; gap: 26px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Kettéosztott szekciók ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
/* A kreatív képek átlátszó hátterűek – keret és árnyék nélkül, szabadon állnak */
.split-media img { border-radius: 0; }

.check-list { margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 1.02rem;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff; font-weight: 800; font-size: .8rem;
  display: grid; place-items: center;
}

/* ---------- Statisztika sáv ---------- */
.stats { background: var(--surface); padding: 56px 0; }
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.02em;
}
.stat span { color: var(--ink-soft); font-size: .95rem; display: block; max-width: 220px; margin: 6px auto 0; }

/* ---------- Funkciók ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #c9cdf4;
}
.feature img { width: 44px; height: 44px; margin-bottom: 14px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature p { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Profilok ---------- */
.profile-card { display: flex; flex-direction: column; }
.profile-card img {
  width: 100%; aspect-ratio: 8 / 6;
  object-fit: cover; object-position: top;
  border-radius: var(--radius);
  transition: transform .25s;
}
.profile-card:hover img { transform: translateY(-6px); }
.profile-card h3 { padding: 20px 4px 6px; }
.profile-card p { padding: 0 4px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Integráció ---------- */
.code-line {
  background: var(--dark);
  color: #9be8ff;
  border-radius: 14px;
  padding: 20px 26px;
  max-width: 780px;
  margin: 0 auto 48px;
  overflow-x: auto;
  font-size: .95rem;
  box-shadow: var(--shadow-lg);
}
.code-line code { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-bottom: 42px;
}
.platform-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 12px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  transition: transform .2s, box-shadow .2s;
}
.platform-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.platform-grid img { width: 100px; height: 100px; }

.note {
  text-align: center;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ---------- GYIK ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(23,28,77,.05);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  transition: color .18s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%;
  translate: 0 -50%;
  font-size: 1.5rem; font-weight: 400;
  color: var(--accent);
  transition: rotate .2s;
}
.faq-item[open] summary { color: var(--accent); }
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item p { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; }
.cta .split-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-note { margin-top: 18px; font-size: .95rem; color: #aab1e8; }
.cta-note a { color: #8fd8ff; text-decoration: underline; }

/* ---------- Lábléc ---------- */
.site-footer {
  background: var(--dark);
  color: #b8bee8;
  padding: 64px 0 28px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; }
.site-footer h3 {
  color: #fff; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 16px;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: #b8bee8; transition: color .18s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 26px; font-size: .88rem;
}
.footer-bottom ul { display: flex; gap: 22px; }

/* ---------- Reveal animációk ---------- */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease, translate .7s ease; }
.reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: none; transition: none; }
  .btn, .card, .feature, .profile-card, .platform-grid li { transition: none; }
}

/* ---------- Reszponzív ---------- */
@media (max-width: 1020px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .platform-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 840px) {
  .section { padding: 68px 0; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; max-width: 460px; margin-inline: auto; }
  .why .split-media { order: 2; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .header-cta { display: none; }

  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    margin-left: auto;
    background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .nav-toggle span {
    width: 24px; height: 2.5px; border-radius: 2px;
    background: var(--ink); transition: transform .2s, opacity .2s;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
    margin-left: 0;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 20px 20px; }
  .main-nav a { padding: 13px 12px; font-size: 1.05rem; }
}

@media (max-width: 620px) {
  .feature-grid, .card-grid.three { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 22px; }
  .logo-row img { height: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .btn-lg { width: 100%; }
}
