/* ==========================================================================
   TOKENEK
   ========================================================================== */
:root{
  --bg: #F7F8FB;
  --surface: #FFFFFF;
  --surface-alt: #EFF1F7;
  --ink: #12141C;
  --ink-soft: #454B5A;
  --muted: #767C8C;
  --border: #E3E6EE;
  --border-strong: #D3D7E2;

  --accent: #3654FF;
  --accent-dark: #1E3AD1;
  --accent-soft: #ECF0FF;
  --teal: #00B39C;
  --teal-soft: #E4F8F5;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(18, 20, 28, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 20, 28, 0.08);
  --shadow-lg: 0 20px 50px rgba(30, 40, 90, 0.12);

  --container: 1180px;
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg{ display:block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }
p{ margin: 0; }
button, input, select, textarea{ font-family: inherit; font-size: inherit; color: inherit; }
button{ cursor: pointer; }

:focus-visible{
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.noise-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: radial-gradient(circle at 1px 1px, rgba(18,20,28,0.035) 1px, transparent 0);
  background-size: 22px 22px;
}

/* ==========================================================================
   GOMBOK
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-ghost:hover{
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-small{ padding: 10px 20px; font-size: 0.88rem; }
.btn-full{ width: 100%; padding: 15px 26px; font-size: 1rem; }
.btn:disabled{ opacity: 0.6; cursor: not-allowed; transform:none !important; }

/* ==========================================================================
   FEJLÉC
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 248, 251, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
/* Új, modern logó stílus */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--accent);
}

/* Fejléc igazítása, hogy ne lógjon ki */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px; /* Fix magasság a konzisztencia érdekében */
}
.nav {
  display: flex;
  gap: 30px; /* Itt állíthatod a távolságot (pl. 30px, 40px) */
}

.nav a{
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color .15s ease;
}
.nav a:hover{ color: var(--ink); }
.nav a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after{ transform: scaleX(1); }

.header-actions{ display: flex; align-items: center; gap: 14px; }

.menu-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
}
.menu-toggle span{
  display:block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  padding: 84px 0 100px;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.dot{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}
.hero h1{
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.highlight{
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
.hero-lead{
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero-trust{
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.trust-item{ display: flex; flex-direction: column; gap: 2px; }
.trust-item strong{ font-family: var(--font-display); font-size: 1.15rem; }
.trust-item span{ font-size: 0.8rem; color: var(--muted); }
.trust-sep{ width: 1px; height: 30px; background: var(--border-strong); }

/* --- kód ablak (signature elem) --- */
.hero-visual{ position: relative; }
.code-window{
  background: #14161F;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(1.2deg);
  border: 1px solid #23273A;
}
.code-window-bar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: #1B1E2B;
  border-bottom: 1px solid #262A3B;
}
.cw-dot{ width: 11px; height: 11px; border-radius: 50%; }
.cw-red{ background: #FF5F57; }
.cw-yellow{ background: #FEBC2E; }
.cw-green{ background: #28C840; }
.cw-filename{
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #8A8FA3;
}
.code-window-body{
  margin: 0;
  padding: 26px 24px 34px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.85;
  color: #D7DAEA;
  min-height: 300px;
  white-space: pre-wrap;
  word-break: break-word;
}
.code-line{ min-height: 1.85em; }
.cl-comment{ color: #6C7286; font-style: italic; }
.cl-keyword{ color: #7E9CFF; }
.cl-string{ color: #4ED6BE; }
.cl-plain{ color: #D7DAEA; }
.cl-punct{ color: #F5A76A; }

.caret{
  display: inline-block;
  width: 8px;
  height: 1.1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
@keyframes blink{ 50%{ opacity: 0; } }

.floating-tag{
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 9px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  color: var(--ink-soft);
}
.tag-1{ top: -18px; right: 18px; }
.tag-2{ bottom: -16px; left: -8px; }

/* ==========================================================================
   SZEKCIÓ ÁLTALÁNOS
   ========================================================================== */
.section{ padding: 96px 0; position: relative; }
.section-alt{ background: var(--surface-alt); }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-kicker{
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section h2{
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc{ color: var(--ink-soft); font-size: 1.03rem; max-width: 54ch; }

/* ==========================================================================
   SZOLGÁLTATÁSOK
   ========================================================================== */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.service-icon{
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg{ width: 24px; height: 24px; }
.service-card h3{ font-size: 1.12rem; margin-bottom: 10px; }
.service-card p{ color: var(--ink-soft); font-size: 0.95rem; }

/* ==========================================================================
   ÁRAK / PRICING
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.pricing-card.popular {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.pricing-header h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.pricing-header p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  min-height: 2.8em; 
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 32px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  font-family: var(--font-body);
}
.pricing-card .btn {
  margin-bottom: 34px;
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto; 
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.pricing-features li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

/* ==========================================================================
   FOLYAMAT / IDŐVONAL
   ========================================================================== */
.timeline{
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-strong);
}
.timeline-step{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-strong);
  align-items: start;
}
.step-num{
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--border-strong);
}
.step-body h3{ font-size: 1.15rem; margin-bottom: 8px; }
.step-body p{ color: var(--ink-soft); max-width: 60ch; }

/* ==========================================================================
   TECHNOLÓGIÁK
   ========================================================================== */
.tech-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tech-badge{
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.tech-badge:hover{
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   MIÉRT ÉN
   ========================================================================== */
.why-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.why-list{ display: flex; flex-direction: column; gap: 26px; }
.why-list li{ display: flex; gap: 18px; align-items: flex-start; }
.why-check{
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 5px 9px;
  flex-shrink: 0;
}
.why-list h4{ font-size: 1.02rem; margin-bottom: 4px; }
.why-list p{ color: var(--ink-soft); font-size: 0.94rem; }

/* ==========================================================================
   KAPCSOLAT / AJÁNLATKÉRÉS
   ========================================================================== */
.contact-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2{ margin-top: 10px; }
.contact-methods{
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-method{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.contact-method:hover{
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cm-icon{
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cm-icon svg{ width: 20px; height: 20px; }
.contact-method strong{ display: block; font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.contact-method span span{ font-family: var(--font-mono); font-size: 1rem; color: var(--ink); }

.contact-form-wrap{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.quote-form{ display: flex; flex-direction: column; gap: 20px; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field{ display: flex; flex-direction: column; gap: 8px; }
.form-field label{ font-size: 0.86rem; font-weight: 600; color: var(--ink-soft); }
.form-field label span{ color: var(--accent); }
.form-field input,
.form-field select,
.form-field textarea{
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--bg);
  transition: border-color .15s ease, background .15s ease;
  resize: vertical;
}
.form-field input:hover, .form-field select:hover, .form-field textarea:hover{ border-color: var(--border-strong); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  border-color: var(--accent);
  background: var(--surface);
  outline: none;
}
.hp-field{ position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-note{ font-size: 0.8rem; color: var(--muted); text-align: center; }
.form-status{
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  min-height: 1.2em;
}
.form-status.success{ color: var(--teal); }
.form-status.error{ color: #E0483E; }

/* ==========================================================================
   LÁBLÉC
   ========================================================================== */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 44px 0;
  background: var(--surface);
}
.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.logo-small{ font-size: 1rem; }
.footer-tagline{ color: var(--ink-soft); font-size: 0.92rem; }
.footer-contact{ font-family: var(--font-mono); font-size: 0.86rem; color: var(--ink-soft); }
.footer-contact a:hover{ color: var(--accent); }
.footer-sep{ margin: 0 10px; color: var(--border-strong); }
.footer-copy{ font-size: 0.8rem; color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   RESZPONZÍV
   ========================================================================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ order: -1; max-width: 480px; margin: 0 auto; }
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .pricing-grid{ grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .why-grid, .contact-grid{ grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px){
  .nav{
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 18px 28px 26px;
    gap: 18px;
    display: none;
    box-shadow: var(--shadow-md);
  }
  .nav.open{ display: flex; }
  .menu-toggle{ display: flex; }
  .header-actions .btn-small{ display: none; }
  .services-grid{ grid-template-columns: 1fr; }
  .timeline-step{ grid-template-columns: 56px 1fr; gap: 16px; }
  .form-row{ grid-template-columns: 1fr; }
  .contact-form-wrap{ padding: 26px; }
  .section{ padding: 64px 0; }
  .hero{ padding: 56px 0 64px; }
}

@media (max-width: 420px){
  .container{ padding: 0 18px; }
  .hero-trust{ gap: 14px; }
}