:root {
  --bg-deep:     #061226;
  --bg-dark:     #0a1830;
  --bg-card:     #0f2240;
  --border:      rgba(255,255,255,0.08);
  --border-hover:rgba(20,184,166,0.3);
  --text:        #ffffff;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;
  --accent:      #14b8a6;
  --accent-2:    #10b981;
  --accent-blue: #3b82f6;
  --gradient:    linear-gradient(135deg, #14b8a6 0%, #10b981 50%, #3b82f6 100%);
  --gradient-text: linear-gradient(135deg, #5eead4 0%, #14b8a6 50%, #10b981 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse at top left, rgba(20,184,166,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(59,130,246,0.08) 0%, transparent 50%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 48px 48px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(6,18,38,0.8);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo img { width: 40px; height: 40px; border-radius: 8px; }
.logo-text { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo-sub { display: block; font-size: 11px; color: var(--text-muted); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 24px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: all 0.2s; border: 0; cursor: pointer;
  font-family: inherit; white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: white;
  box-shadow: 0 4px 24px rgba(20,184,166,0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 28px rgba(20,184,166,0.4); color: white; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.15); color: var(--text); }

.nav-mobile-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; font-size: 22px; }

/* HERO */
.hero { padding: 80px 0 120px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: rgba(20,184,166,0.1);
  border: 1px solid rgba(20,184,166,0.25); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: #5eead4;
  margin-bottom: 24px; letter-spacing: 0.02em;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05; letter-spacing: -0.03em;
  font-weight: 800; margin-bottom: 20px;
  max-width: 900px; margin-left: auto; margin-right: auto;
}
.accent-text, .hero h1 .accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 680px; margin: 0 auto 40px; line-height: 1.5;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

/* STATS */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: 800px; margin: 0 auto; padding: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border); border-radius: 16px;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* SECTIONS */
.section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .badge { margin-bottom: 16px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.1;
  letter-spacing: -0.02em; font-weight: 800; margin-bottom: 16px;
}
.section-head p { color: var(--text-muted); max-width: 640px; margin: 0 auto; font-size: 17px; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; transition: all 0.3s;
  position: relative; overflow: hidden; text-decoration: none;
  color: var(--text); display: block;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,184,166,0.08), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { border-color: var(--border-hover); transform: translateY(-2px); color: var(--text); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(20,184,166,0.15), rgba(59,130,246,0.15));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 24px; position: relative; z-index: 1;
}
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; letter-spacing: -0.01em; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; position: relative; z-index: 1; }

/* WHY US */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.why-card .num {
  font-size: 42px; font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 16px; display: block;
}
.why-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.why-card p { color: var(--text-muted); font-size: 14px; }

/* TESTIMONIALS */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.testimonial { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.testimonial-quote { color: var(--text); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: 16px;
}
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 13px; color: var(--text-muted); }

/* CTA BLOCK */
.cta-block {
  background: linear-gradient(135deg, rgba(20,184,166,0.1), rgba(59,130,246,0.1));
  border: 1px solid rgba(20,184,166,0.2); border-radius: 24px;
  padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(20,184,166,0.15), transparent 70%);
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.1; }
.cta-block p { color: var(--text-muted); font-size: 17px; max-width: 540px; margin: 0 auto 32px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; font-size: 16px; }
.contact-item {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; color: var(--text);
  text-decoration: none; font-size: 15px;
}
.contact-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(20,184,166,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-family: inherit; font-size: 15px;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: 0; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }

.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: #fca5a5; }
.alert-success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: #86efac; }

/* PAGE CONTENT */
.page-hero { padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.1; }
.page-hero p { color: var(--text-muted); font-size: 18px; max-width: 680px; margin: 0 auto; }

.prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: 28px; font-weight: 700; margin: 40px 0 16px; letter-spacing: -0.01em; }
.prose h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.prose p { color: var(--text-muted); margin-bottom: 16px; }
.prose ul, .prose ol { color: var(--text-muted); margin: 16px 0 16px 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px; margin: 16px 0;
  font-style: italic; color: var(--text-muted);
}
.prose img { max-width: 100%; height: auto; border-radius: 10px; margin: 20px 0; }
.prose iframe { max-width: 100%; border-radius: 10px; margin: 20px 0; }

/* BLOG LIST */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; text-decoration: none;
  color: var(--text); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-2px); color: var(--text); }
.blog-card-cover {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, rgba(20,184,166,0.2), rgba(59,130,246,0.2));
  background-size: cover; background-position: center;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: 12px; color: var(--text-dim); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.blog-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; line-height: 1.3; }
.blog-card p { color: var(--text-muted); font-size: 14px; flex: 1; }
.blog-card-footer { margin-top: 16px; color: var(--accent); font-size: 14px; font-weight: 500; }

/* FOOTER */
.footer { padding: 60px 0 32px; border-top: 1px solid var(--border); margin-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 320px; margin-top: 16px; }
.footer h5 { font-size: 14px; font-weight: 600; margin-bottom: 16px; color: var(--text); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; color: var(--text-dim); font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-dark); border-bottom: 1px solid var(--border);
    padding: 20px; gap: 16px;
  }
  .header .btn { padding: 10px 18px; font-size: 14px; }
  .section { padding: 70px 0; }
  .hero { padding: 60px 0 80px; }
  .cta-block { padding: 48px 24px; }
}

/* =====================================================================
   SZOLGÁLTATÁS ALOLDAL — EGYEDI DESIGN ELEMEK
   ===================================================================== */

/* Folyamat-lépések vízszintes listával */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 32px 0;
  counter-reset: step;
  list-style: none !important;
  padding: 0 !important;
}
.process-steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px 20px;
  position: relative;
  counter-increment: step;
}
.process-steps li::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.process-steps li strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 700;
}
.process-steps li span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Ikonos lista pipákkal / ikonokkal */
.check-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 !important;
}
.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-muted);
  align-items: flex-start;
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(20,184,166,0.15);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}
.check-list li strong {
  color: var(--text);
}

/* Info-kártyák rács (pl. statisztikák, számok) */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.info-card {
  background: linear-gradient(135deg, rgba(20,184,166,0.08), rgba(59,130,246,0.08));
  border: 1px solid rgba(20,184,166,0.2);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.info-card .big {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.info-card .label {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
}

/* FAQ akkordeon */
.faq { margin: 32px 0; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq details p {
  padding: 16px 20px;
  color: var(--text-muted);
  margin: 0 !important;
  line-height: 1.7;
}

/* Kiemelt idézet / pro tipp */
.pro-tip {
  background: linear-gradient(135deg, rgba(20,184,166,0.08), transparent);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 10px 10px 0;
}
.pro-tip strong {
  color: #5eead4;
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.pro-tip p {
  margin: 0 !important;
  color: var(--text) !important;
  font-size: 16px;
  line-height: 1.6;
}

/* Összehasonlító táblázat */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table th {
  background: rgba(20,184,166,0.08);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}
.compare-table td { color: var(--text-muted); }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table td:first-child { font-weight: 500; color: var(--text); }

/* Sávdiagram - progress bar (pl. megtérülés) */
.bar-chart { margin: 28px 0; }
.bar-chart .bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.bar-chart .bar-label {
  min-width: 140px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.bar-chart .bar-track {
  flex: 1;
  height: 28px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.bar-chart .bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  transition: width 0.6s ease;
}

/* Szolgáltatás hero badge */
.hero-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(20,184,166,0.15);
  border-radius: 6px;
  color: #5eead4;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .bar-chart .bar-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .bar-chart .bar-label { min-width: 0; }
  .bar-chart .bar-track { width: 100%; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}
