:root {
  --font-heading: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;

  --color-bg: #ffffff;
  --color-surface: #f7f8fb;
  --color-surface-2: #f2f4f7;
  --color-card: #ffffff;

  --color-text: #0f1728;
  --color-muted: #6b7280;
  --color-border: rgba(15, 23, 40, 0.10);

  --color-blue: #1D00FA;
  --color-blue-dark: #2019d9;
  --color-green: #08D901;
  --color-green-soft: #ebfaf0;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 60px rgba(15, 23, 40, 0.08);
  --shadow-button: 0 10px 30px rgba(45, 40, 255, 0.18);

  --container-width: 1240px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}

body {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

h1,
h2,
h3,
summary {
  font-family: var(--font-heading);
}

p {
  line-height: 1.7;
}

.site-scroll {
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  background: #fff;
}

.snap-section {
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px;
}

.section-container {
  width: min(var(--container-width), 100%);
}

.section-bg-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 23, 40, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  background-position: center;
  pointer-events: none;
  opacity: 0.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(45, 40, 255, 0.08);
  color: var(--color-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head-single {
  justify-content: flex-start;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-lead {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--color-muted);
  font-size: 18px;
}

/* ========================= */
/* GOMBOK */
/* ========================= */

.btn {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-blue);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background: var(--color-blue-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: rgba(45, 40, 255, 0.24);
  color: var(--color-blue);
}

/* ========================= */
/* HERO / VIDEÓ */
/* ========================= */

.hero-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #fcfcff 100%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  width: min(var(--container-width), 100%);
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  max-width: 720px;
}

.hero-copy h1 span {
  display: block;
}

.hero-text {
  margin: 20px 0 0;
  max-width: 620px;
  font-size: 18px;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.video-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 40, 0.06);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.intro-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  background: #0b1020;
}

/* ========================= */
/* PREZENTÁCIÓ */
/* ========================= */

.presentation-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.slider-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 40, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.slide-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 40, 0.05);
  border-radius: 22px;
  overflow: hidden;
}

.slide-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.slider-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 12px 30px rgba(15, 23, 40, 0.14);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.slider-nav:hover {
  transform: translateY(-50%) scale(1.04);
  color: var(--color-blue);
}

.slider-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.slider-nav-prev {
  left: 14px;
}

.slider-nav-next {
  right: 14px;
}

.slider-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

.progress-wrap {
  flex: 1;
  height: 10px;
  background: rgba(15, 23, 40, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-green) 100%);
  border-radius: inherit;
  transition: width 0.25s ease;
}

.counter {
  min-width: 72px;
  text-align: right;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-muted);
}

.hidden {
  display: none;
}
.open-pdf-btn{
    display: none;
    text-decoration: none;
}

/* ========================= */
/* GYIK */
/* ========================= */

.faq-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7faf8 100%);
}

.faq-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.faq-item {
  border: 1px solid rgba(15, 23, 40, 0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 40, 0.05);
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 58px 22px 22px;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 6px var(--color-green-soft);
}

.faq-item summary {
  padding-left: 48px;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  line-height: 1;
  color: var(--color-blue);
  font-family: var(--font-body);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px 48px;
  color: var(--color-muted);
  font-size: 16px;
}

.faq-actions {
  margin-top: 26px;
}
/* ========================= */
/* SMOOTH FAQ ACCORDION */
/* ========================= */

.faq-content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  will-change: height, opacity;
}

.faq-item[open] .faq-content {
  height: auto;
  opacity: 1;
}

.faq-content p {
  margin: 0;
}

/* Finom summary hover */
.faq-item summary {
  transition: color 0.18s ease, background 0.18s ease;
}

.faq-item summary:hover {
  color: var(--color-blue);
}

/* ========================= */
/* RESZPONZÍV */
/* ========================= */

@media (max-width: 1100px) {
  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .snap-section {
    padding: 24px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
  .open-pdf-btn{
    display: block;
}
.gyik-button-div{
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .section-head h2 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .section-lead,
  .hero-text {
    font-size: 16px;
  }

  .slider-shell {
    padding: 16px;
  }

  .slider-nav {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .slider-nav-prev {
    left: 8px;
  }

  .slider-nav-next {
    right: 8px;
  }

  .faq-item summary {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-scroll {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
/* ========================= */
/* FIX: PDF SLIDER RESPONSIVE */
/* ========================= */

/* Alap: a PDF mindig 16:9 arányú kártyában jelenik meg */
.slider-shell {
  width: min(
    1120px,
    100%,
    calc((100dvh - 260px) * 16 / 9)
  );
  margin: 0 auto;
}

.slide-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
}

.slide-stage img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}

/* Tableten kisebb hely van, ezért kompaktabbá tesszük a prezentációs részt */
@media (max-width: 900px) {
  .snap-section {
    padding: 24px;
  }

  .presentation-section {
    align-items: center;
  }

  .presentation-section .section-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100dvh - 48px);
  }

  .section-head {
    margin-bottom: 18px;
    gap: 12px;
  }

  .section-head h2 {
    font-size: clamp(28px, 6vw, 42px);
  }

  .section-lead {
    font-size: 15px;
    line-height: 1.55;
  }

  .slider-shell {
    width: min(
      100%,
      calc((100dvh - 250px) * 16 / 9)
    );
    padding: 12px;
    border-radius: 22px;
  }

  .slide-stage {
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
    border-radius: 16px;
  }

  .slide-stage img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .slider-meta {
    margin-top: 14px;
  }
}

/* Telefonon nem szabad túl magasra erőltetni a slidet */
@media (max-width: 640px) {
  .snap-section {
    padding: 20px;
  }

  .presentation-section .section-container {
    min-height: calc(100dvh - 40px);
  }

  .section-head {
    margin-bottom: 14px;
  }

  .section-head h2 {
    font-size: clamp(26px, 8vw, 36px);
    line-height: 1.05;
  }

  .section-lead {
    font-size: 14px;
    line-height: 1.5;
  }

  .slider-shell {
    width: 100%;
    padding: 10px;
    border-radius: 18px;
  }

  .slide-stage {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
    border-radius: 14px;
  }

  .slide-stage img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }

  .slider-nav {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .slider-nav-prev {
    left: 6px;
  }

  .slider-nav-next {
    right: 6px;
  }

  .slider-meta {
    gap: 10px;
    margin-top: 12px;
  }

  .progress-wrap {
    height: 8px;
  }

  .counter {
    min-width: 56px;
    font-size: 12px;
  }
}