:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --bg3: #1a1a24;
  --accent: #5b6ef5;
  --accent2: #8b5cf6;
  --accent-glow: rgba(91,110,245,0.18);
  --text: #f0f0f5;
  --muted: #7a7a90;
  --border: rgba(255,255,255,0.07);
  --card-bg: rgba(255,255,255,0.03);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- NOISE OVERLAY ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ---- GLOW ORBS ---- */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.orb1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -100px; }
.orb2 { width: 400px; height: 400px; background: var(--accent2); bottom: 10%; left: -100px; }

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.logo span { color: var(--accent); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}
nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
nav ul a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; color: #fff !important; }

/* ---- HAMBURGER MENU ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .nav-cta {
  font-size: 1rem !important;
  padding: 0.75rem 2rem !important;
  border-radius: 8px;
  margin-top: 1rem;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 5rem;
}

.hero-inner { max-width: 780px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(91,110,245,0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  color: #9aa8ff;
  margin-bottom: 2rem;
  letter-spacing: 0.04em;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
h1 .line2 { color: var(--accent); }

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(91,110,245,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(91,110,245,0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 400;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.2);
  background: var(--card-bg);
}

/* ---- STATS ---- */
.stats {
  position: relative; z-index: 1;
  padding: 3rem 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  background: var(--bg2);
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ---- SECTION ---- */
section {
  position: relative; z-index: 1;
  padding: 6rem 5%;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 480px;
  margin-bottom: 3.5rem;
  line-height: 1.75;
}

/* ---- SERVICES ---- */
#services { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(91,110,245,0.3); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(91,110,245,0.2);
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

.service-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: #9aa8ff;
  background: var(--accent-glow);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(91,110,245,0.2);
}

/* ---- HOW IT WORKS ---- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
}
.step {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(91,110,245,0.18);
  line-height: 1;
  min-width: 60px;
  letter-spacing: -0.04em;
}
.step-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.step-body p { color: var(--muted); font-size: 0.9rem; }

/* ---- PRICING ---- */
#pricing { background: var(--bg2); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform 0.2s;
}
.price-card:hover { transform: translateY(-3px); }
.price-card.featured {
  border-color: rgba(91,110,245,0.5);
  background: rgba(91,110,245,0.06);
  position: relative;
}
.featured-label {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  white-space: nowrap;
}

.price-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.price-period { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.5rem; }

.price-features {
  list-style: none;
  margin-bottom: 2rem;
}
.price-features li {
  font-size: 0.88rem;
  color: var(--muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.price-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.price-btn {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.price-btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}
.price-btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.price-btn-filled {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px rgba(91,110,245,0.3);
}
.price-btn-filled:hover { opacity: 0.85; }

/* ---- CONTACT ---- */
.contact-wrap {
  max-width: 600px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.form-group label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.02em; }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: rgba(91,110,245,0.5); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg3); }

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 0 30px rgba(91,110,245,0.3);
  -webkit-tap-highlight-color: transparent;
}
.submit-btn:hover { opacity: 0.85; }
.submit-btn:active { transform: scale(0.99); }

/* ---- FOOTER ---- */
footer {
  position: relative; z-index: 1;
  padding: 2.5rem 5%;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--bg);
}
footer p { font-size: 0.85rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ---- FADE IN ANIMATION ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ============================
   MOBIL OPTIMALIZÁLÁS
   ============================ */

/* Tablet — 768px */
@media (max-width: 768px) {
  section { padding: 4rem 5%; }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 2rem 5%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .price-card.featured {
    margin-top: 1rem;
  }

  h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
}

/* Mobil — 640px */
@media (max-width: 640px) {

  /* Nav */
  nav ul { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero {
    padding: 7rem 5% 4rem;
    min-height: 90vh;
    align-items: flex-start;
    padding-top: 6rem;
  }
  h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1.1;
  }
  .hero-sub { font-size: 1rem; }
  .hero-btns {
    flex-direction: column;
    gap: 0.75rem;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
  }

  /* Stats */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem 5%;
  }
  .stat-num { font-size: 1.8rem; }
  .stat-label { font-size: 0.75rem; }

  /* Section */
  section { padding: 3.5rem 5%; }
  .section-sub { margin-bottom: 2rem; }

  /* Services */
  .service-card { padding: 1.5rem; }

  /* Steps */
  .step { gap: 1rem; }
  .step-num { font-size: 2rem; min-width: 40px; }

  /* Pricing */
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { padding: 1.5rem; }
  .price-amount { font-size: 2rem; }

  /* Contact */
  .form-row { grid-template-columns: 1fr; }
  .contact-wrap { padding: 1.5rem 1.25rem; }

  /* Footer */
  footer {
    flex-direction: column;
    text-align: center;
    padding: 2rem 5%;
  }
  .footer-links { justify-content: center; }

  /* Orbs kisebbre mobilon */
  .orb1 { width: 300px; height: 300px; }
  .orb2 { width: 200px; height: 200px; }
}

/* Kis mobil — 380px */
@media (max-width: 380px) {
  h1 { font-size: 1.8rem; }
  .hero-badge { font-size: 0.7rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
