/* Alap layout finomhangolás */

html {
  scroll-behavior: smooth;
}

/* Tailwinddel kevert extra stílusok, utility-k */

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
}

@media (min-width: 1024px) {
  .section,
  .section-alt {
    padding: 5rem 0;
  }
}

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-header.mb-4 {
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.6rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #e5e7eb;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  font-weight: 600;
  color: #a5b4fc;
}

.eyebrow.small {
  color: #9ca3af;
  letter-spacing: 0.18em;
}

/* Navigációs linkek */

.nav-link {
  position: relative;
  padding-bottom: 0.15rem;
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(to right, #22c55e, #22d3ee);
  transition: width 0.18s ease;
}

.nav-link:hover {
  color: #e5e7eb;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #e5e7eb;
  transition: background 0.18s ease, color 0.18s ease;
}

.mobile-link:hover {
  background-color: rgba(15, 23, 42, 0.9);
  color: #a5b4fc;
}

/* Gombok */

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #020617;
  background-image: linear-gradient(to right, #22c55e, #22d3ee);
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.4);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(16, 185, 129, 0.6);
  filter: brightness(1.05);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e5e7eb;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.secondary-btn:hover {
  background-color: rgba(15, 23, 42, 1);
  color: #f9fafb;
  border-color: #22c55e;
  transform: translateY(-1px);
}

/* Kártyák */

.card {
  border-radius: 1rem;
  padding: 1.25rem;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.card-muted {
  border-radius: 1rem;
  padding: 1.25rem;
  background-color: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(51, 65, 85, 0.9);
}

.card-colored {
  border-radius: 1.1rem;
  padding: 1.25rem;
  background-image: linear-gradient(to bottom right, rgba(34, 197, 94, 0.08), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(55, 65, 81, 0.85);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 0.35rem;
}

.card-title-sm {
  font-size: 0.86rem;
  font-weight: 600;
  color: #e5e7eb;
}

/* Bullet-ek */

.bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.bullet::before {
  content: "•";
  color: #e5e7eb;
  font-weight: 700;
  margin-top: -1px;
}

.bullet-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bullet-check::before {
  content: "✔";
  color: #22c55e;
  font-size: 0.8rem;
}

/* Scrollbar finomhangolás (desktop) */

@media (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #020617;
  }

  ::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 999px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #374151;
  }
}

/* 1) Nyíl “hint” animáció (lassú, elegáns, nem idegesítő) */
  @keyframes arrowHint {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(5px); opacity: 0.65; }
  }
  .animate-arrow-hint {
    animation: arrowHint 1.8s ease-in-out infinite;
  }

  /* 2) Accordion panel animáció: max-height + fade */
  .accordion-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 520ms ease, opacity 320ms ease;
  }
  .accordion-panel.is-open {
    opacity: 1;
  }