:root {
  --bg: #fbfaff;
  --bg-alt: #f3f1fb;
  --card: #ffffff;
  --border: #e7e4f2;
  --text: #18122b;
  --muted: #6e6a85;
  --accent: #6366f1;
  --accent-2: #a855f7;
  --accent-3: #ec4899;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; }

a { color: inherit; }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Header: üveges pill nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  background: transparent;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 10px 0 20px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(24, 18, 43, .08);
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -.02em;
}
.logo span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: .93rem;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(99, 102, 241, .35);
}
.nav-cta:hover { filter: brightness(1.07); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---- Hero: aurora ---- */
.hero {
  position: relative;
  padding: 90px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
}
.blob-a {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  top: -160px; left: -120px;
}
.blob-b {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
  top: -100px; right: -140px;
}

.hero .container { position: relative; }

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(99, 102, 241, .08);
  border: 1px solid rgba(99, 102, 241, .2);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.6vw, 3.8rem);
  font-weight: 900;
  max-width: 840px;
  margin: 0 auto 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 34px;
}
.hero-sub strong { color: var(--text); }

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ---- Stat sáv ---- */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}
.hero-stats > div {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 14px;
  box-shadow: 0 6px 20px rgba(24, 18, 43, .05);
}
.hero-stats dt {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats dt small { font-size: .9rem; font-weight: 700; }
.hero-stats dd {
  color: var(--muted);
  font-size: .83rem;
  margin-top: 2px;
}

/* ---- Gombok ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .97rem;
  text-decoration: none;
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 28px rgba(99, 102, 241, .4);
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(168, 85, 247, .45); }

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .6);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: 17px 48px; font-size: 1.08rem; }

/* ---- Szekciók ---- */
section { padding: 80px 0; }
section h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 52px;
}

/* ---- Bento ---- */
.features { background: var(--bg-alt); }

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.bento-card:hover {
  border-color: rgba(99, 102, 241, .4);
  box-shadow: 0 14px 40px rgba(99, 102, 241, .14);
  transform: translateY(-4px);
}
.bento-lg { grid-column: span 2; }
.bento-icon { font-size: 1.7rem; display: block; margin-bottom: 14px; }
.bento-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.bento-card p { color: var(--muted); font-size: .93rem; }

/* ---- Csomagok ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 18px;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.price-card:hover {
  border-color: rgba(99, 102, 241, .4);
  box-shadow: 0 14px 40px rgba(99, 102, 241, .14);
  transform: translateY(-4px);
}

.price-card.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(135deg, var(--accent), var(--accent-3)) border-box;
  box-shadow: 0 16px 44px rgba(99, 102, 241, .2);
}

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 { font-size: 1.05rem; margin-bottom: 10px; }

.price {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin-bottom: 18px;
}
.price span {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}
.price-card li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: .92rem;
}
.price-card li:last-child { border-bottom: none; }
.price-card li strong { color: var(--text); }

.btn-card {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  text-align: center;
  padding: 12px;
  border-radius: 999px;
}
.btn-card:hover { filter: brightness(1.07); }

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
  margin-top: 36px;
}

/* ---- CTA ---- */
.cta {
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  border-radius: 32px;
  margin: 0 20px;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .85); margin: 10px 0 30px; font-size: 1.12rem; }
.cta .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

/* ---- GYIK ---- */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(99, 102, 241, .35); }
.faq-item summary {
  cursor: pointer;
  padding: 19px 24px;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--muted);
}

/* ---- SEO szöveg ---- */
.seo-text { background: var(--bg-alt); }
.seo-text h2 { text-align: left; margin-bottom: 18px; }
.seo-text p { color: var(--muted); margin-bottom: 16px; max-width: 860px; }
.seo-text strong { color: var(--text); }

/* ---- Footer ---- */
.site-footer {
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid p { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.footer-grid h3 { font-size: .95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: .93rem; }
.footer-grid a:hover { color: var(--accent); }

.copyright {
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ---- Reszponzív ---- */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-lg { grid-column: span 2; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px 22px;
    gap: 16px;
    box-shadow: 0 16px 40px rgba(24, 18, 43, .14);
  }
  .nav-links.open { display: flex; }

  .hero { padding: 56px 0 56px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .bento-lg { grid-column: span 1; }
  section { padding: 56px 0; }
  .cta { margin: 0 12px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}
