/* ==========================================================
   NordWeb – stíluslap
   Színek a brand guideline alapján
   ========================================================== */
:root {
  --navy: #0B2D5B;
  --navy-900: #061A36;
  --navy-800: #0A2550;
  --blue: #0EA5FF;
  --blue-600: #0B8BE0;
  --aurora: #2EE6C5;
  --violet: #7C6CFF;
  --bg: #F5F9FF;
  --gray: #E2E8F0;
  --ink: #0F1B2D;
  --muted: #5B6B82;
  --white: #fff;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(11, 45, 91, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 45, 91, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; cursor: pointer; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.center { text-align: center; }
.note { font-size: .875rem; color: var(--muted); margin-top: 2rem; }

/* ---------- Gombok ---------- */
.btn {
  --bg-btn: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-600) 100%);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(14, 165, 255, .6);
}
.btn--primary:hover { box-shadow: 0 16px 32px -8px rgba(14, 165, 255, .75); }
.btn--ghost { border-color: currentColor; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--sm { padding: .6em 1.2em; font-size: .9rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Görgetési sáv & kurzorfény ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100;
  background: linear-gradient(90deg, var(--aurora), var(--blue), var(--violet));
  transform-origin: 0 50%; transform: scaleX(0);
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 480px; height: 480px; z-index: 0;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(14, 165, 255, .12), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .4s;
}
@media (hover: hover) { body:hover .cursor-glow { opacity: 1; } }

/* ---------- Logó ---------- */
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; --ring: var(--navy); }
.logo__mark { width: 40px; height: 40px; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.06); }
.logo__text { font-family: var(--font-head); font-size: 1.55rem; font-weight: 800; letter-spacing: -.035em; }
.logo__text b { color: var(--navy); font-weight: 800; }
.logo__text i { color: var(--blue); font-style: normal; }
.logo--light { --ring: #fff; }
.logo--light .logo__text b { color: #fff; }

/* ---------- Fejléc ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 18px 0;
}
.header__inner { display: flex; align-items: center; gap: 2rem; }
.header .logo { --ring: #fff; }
.header .logo__text b { color: #fff; transition: color .4s; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a {
  position: relative; text-decoration: none; font-weight: 500; font-size: .95rem;
  color: rgba(255,255,255,.85); transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a:hover, .nav a.is-active { color: #fff; }

.header.is-scrolled {
  padding: 10px 0;
  background: rgba(245, 249, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(11,45,91,.08);
}
.header.is-scrolled .logo { --ring: var(--navy); }
.header.is-scrolled .logo__text b { color: var(--navy); }
.header.is-scrolled .nav a { color: var(--muted); }
.header.is-scrolled .nav a:hover, .header.is-scrolled .nav a.is-active { color: var(--navy); }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s, background .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.header.is-scrolled .burger span { background: var(--navy); }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 200px;
  background: radial-gradient(120% 80% at 70% 0%, #123B73 0%, var(--navy-900) 60%);
  color: #fff;
}
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }

.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; filter: blur(60px); opacity: .75; }
.aurora span {
  position: absolute; border-radius: 50%; mix-blend-mode: screen;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora span:nth-child(1) { width: 60vw; height: 28vw; left: -10vw; top: 5%; background: radial-gradient(closest-side, rgba(46,230,197,.55), transparent); transform: rotate(-12deg); }
.aurora span:nth-child(2) { width: 55vw; height: 24vw; right: -10vw; top: 15%; background: radial-gradient(closest-side, rgba(14,165,255,.6), transparent); animation-duration: 22s; animation-delay: -6s; }
.aurora span:nth-child(3) { width: 40vw; height: 20vw; left: 30%; top: 40%; background: radial-gradient(closest-side, rgba(124,108,255,.45), transparent); animation-duration: 26s; animation-delay: -12s; }
.aurora--soft { opacity: .35; }
@keyframes drift {
  0%   { transform: translate3d(0,0,0) rotate(-12deg) scale(1); }
  50%  { transform: translate3d(6vw,3vh,0) rotate(-4deg) scale(1.15); }
  100% { transform: translate3d(-4vw,-2vh,0) rotate(-16deg) scale(.95); }
}

.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  font-size: .85rem; font-weight: 500; color: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 0 0 rgba(46,230,197,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(46,230,197,0); } 100% { box-shadow: 0 0 0 0 rgba(46,230,197,0); } }

.hero__title { color: #fff; font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 800; letter-spacing: -.04em; margin: 1.4rem 0 1.2rem; }
.rotator { display: inline-block; position: relative; }
.rotator__word {
  display: inline-block;
  background: linear-gradient(90deg, var(--aurora), var(--blue) 50%, #9EDBFF);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform .5s var(--ease), opacity .5s, filter .5s;
}
.rotator__word.is-out { transform: translateY(-40%); opacity: 0; filter: blur(6px); }
.rotator__word.is-in  { transform: translateY(40%);  opacity: 0; filter: blur(6px); transition: none; }

.hero__lead { font-size: 1.15rem; color: rgba(255,255,255,.75); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.5rem; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.hero__stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: #fff; }
.hero__stats span { font-size: .85rem; color: rgba(255,255,255,.6); }

/* Böngésző makett */
.hero__visual { position: relative; perspective: 1200px; }
.browser {
  border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.96);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.2);
  transform-style: preserve-3d;
  transform: rotateY(-10deg) rotateX(6deg);
  transition: transform .4s var(--ease);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -12px; } }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #EEF3FA; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF6B6B; }
.browser__bar i:nth-child(2) { background: #FFC24B; }
.browser__bar i:nth-child(3) { background: #3DD68C; }
.browser__bar span { margin-left: 12px; flex: 1; font-size: .75rem; color: var(--muted); background: #fff; border-radius: 6px; padding: 3px 10px; }
.browser__body { padding: 18px; display: grid; gap: 14px; }
.mock-nav { display: flex; align-items: center; gap: 10px; }
.mock-nav b { width: 70px; height: 12px; border-radius: 6px; background: var(--navy); }
.mock-nav span { width: 36px; height: 8px; border-radius: 4px; background: var(--gray); }
.mock-nav span:first-of-type { margin-left: auto; }
.mock-hero { padding: 22px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), #1A4F95); display: grid; gap: 10px; }
.mock-line { height: 12px; border-radius: 6px; background: rgba(255,255,255,.85); }
.mock-line.w80 { width: 80%; } .mock-line.w60 { width: 55%; opacity: .5; }
.mock-btn { width: 90px; height: 24px; border-radius: 999px; background: var(--blue); margin-top: 6px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { height: 58px; border-radius: 10px; background: var(--bg); border: 1px solid var(--gray); position: relative; overflow: hidden; }
.mock-cards div::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(14,165,255,.18) 50%, transparent 70%);
  animation: shimmer 2.8s infinite; transform: translateX(-100%);
}
.mock-cards div:nth-child(2)::after { animation-delay: .3s; }
.mock-cards div:nth-child(3)::after { animation-delay: .6s; }
@keyframes shimmer { to { transform: translateX(100%); } }
.mock-chart { height: 70px; border-radius: 10px; background: var(--bg); padding: 8px; }
.mock-chart svg { width: 100%; height: 100%; }
.chart-line { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 3s var(--ease) 1s infinite alternate; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1.1rem; border-radius: 14px;
  background: rgba(8, 30, 64, .78); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #fff; box-shadow: 0 20px 40px -15px rgba(0,0,0,.4);
  animation: float 6s ease-in-out infinite;
}
.float-card b { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.float-card small { color: rgba(255,255,255,.7); font-size: .75rem; }
.float-card--a { left: -36px; bottom: 40px; animation-delay: -2s; }
.float-card--b { right: -20px; top: -24px; animation-delay: -4s; }
.badge-ico { font-size: 1.4rem; }

.fjord { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 180px; z-index: 0; }
.fjord__back { fill: #123B73; opacity: .55; }
.fjord__front { fill: #fff; }

/* ---------- Futószalag ---------- */
.marquee { overflow: hidden; padding: 1.4rem 0; border-block: 1px solid var(--gray); background: #fff; }
.marquee__track { display: flex; gap: 2rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); white-space: nowrap; }
.marquee span:nth-child(even) { color: var(--blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Szekciók ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; isolation: isolate; overflow: hidden; }
.section--tint { background: linear-gradient(180deg, #EAF3FF, var(--bg)); }
.section--dark { background: var(--navy-900); color: rgba(255,255,255,.8); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 46rem; margin-bottom: 3.5rem; }
.section__head > p:last-child { color: var(--muted); font-size: 1.1rem; }
.section--dark .section__head > p:last-child { color: rgba(255,255,255,.65); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }

/* Szolgáltatások */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service {
  position: relative; padding: 2rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--gray);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
  transform-style: preserve-3d;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(14,165,255,.12), transparent 40%);
  opacity: 0; transition: opacity .3s;
}
.service:hover { box-shadow: var(--shadow-lg); border-color: rgba(14,165,255,.4); }
.service:hover::before { opacity: 1; }
.service__ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.4rem;
  background: linear-gradient(135deg, rgba(14,165,255,.15), rgba(46,230,197,.15));
  transition: transform .5s var(--ease);
}
.service:hover .service__ico { transform: translateZ(30px) rotate(-6deg); }
.service__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service p { color: var(--muted); }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .92rem; }
.service li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: .5rem; }

/* Északi elvek */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.principle {
  padding: 2rem 1.6rem; border-radius: var(--radius);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  transition: background .4s, transform .4s var(--ease), border-color .4s;
}
.principle:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); border-color: rgba(46,230,197,.4); }
.principle__word {
  display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(90deg, var(--aurora), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.principle__pron { display: block; font-size: .8rem; color: rgba(255,255,255,.45); margin-bottom: 1.4rem; }
.principle p { font-size: .95rem; margin: 0; }

/* Munkáink */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.work {
  display: flex; flex-direction: column; text-decoration: none;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--gray); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.work:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(14,165,255,.4); }
.work__img {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.work__frame {
  position: absolute; left: 7%; right: 7%; top: 11%; bottom: -8%;
  display: flex; flex-direction: column;
  border-radius: 10px 10px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.45);
  transition: transform .7s var(--ease);
}
.work:hover .work__frame { transform: translateY(-5%) scale(1.03); }
.work__bar { display: flex; align-items: center; gap: 4px; padding: 7px 10px; background: #EEF3FA; }
.work__bar i { width: 7px; height: 7px; border-radius: 50%; background: #FF6B6B; }
.work__bar i:nth-child(2) { background: #FFC24B; }
.work__bar i:nth-child(3) { background: #3DD68C; }
.work__bar span { margin-left: 8px; flex: 1; font-size: .62rem; color: var(--muted); background: #fff; border-radius: 4px; padding: 1px 8px; }
.work__frame img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: left top; display: block; }
.work__meta { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.work__meta > span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.work__meta h3 { margin: .35rem 0 .4rem; display: flex; align-items: center; gap: .4rem; }
.work__ext { font-style: normal; color: var(--blue); transition: transform .3s var(--ease); }
.work:hover .work__ext { transform: translate(3px, -3px); }
.work__meta p { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.work__tags { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.work__tags li { font-size: .75rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--gray); color: var(--navy); }

/* Folyamat */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 1.25rem; max-width: 820px; }
.timeline::before {
  content: ""; position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: var(--gray);
}
.timeline::after {
  content: ""; position: absolute; left: 31px; top: 10px; width: 2px; height: calc((100% - 20px) * var(--p, 0));
  background: linear-gradient(var(--aurora), var(--blue));
}
.step { display: flex; gap: 1.5rem; align-items: flex-start; position: relative; z-index: 1; }
.step__num {
  flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
  background: #fff; border: 2px solid var(--gray); transition: all .5s var(--ease);
}
.step.is-active .step__num { background: var(--navy); color: #fff; border-color: var(--blue); box-shadow: 0 0 0 6px rgba(14,165,255,.15); }
.step > div { padding: 1.2rem 1.5rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--gray); flex: 1; }
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); }

/* Árak */
.toggle { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--gray); margin-top: 1rem; }
.toggle__btn { position: relative; z-index: 1; border: 0; background: none; padding: .55rem 1.3rem; border-radius: 999px; font-weight: 600; color: var(--muted); transition: color .3s; }
.toggle__btn.is-active { color: #fff; }
.toggle__pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--navy); transition: transform .4s var(--ease), width .4s var(--ease); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 2.2rem 2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--gray);
  box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan--featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: rgba(255,255,255,.8);
  border-color: transparent; box-shadow: 0 30px 60px -20px rgba(11,45,91,.6);
}
.plan--featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: linear-gradient(135deg, var(--aurora), var(--blue), var(--violet));
}
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan__tag {
  position: absolute; top: -14px; left: 2rem; padding: .3rem .9rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--aurora), var(--blue)); color: var(--navy-900);
  font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.plan__desc { font-size: .95rem; color: var(--muted); min-height: 3em; }
.plan--featured .plan__desc { color: rgba(255,255,255,.65); }
.plan__price { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--navy); margin: .5rem 0 1.5rem; }
.plan__price .price { font-size: 2.6rem; letter-spacing: -.03em; }
.plan__price small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--muted); }
.plan--featured .plan__price small { color: rgba(255,255,255,.55); }
.plan ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .7rem; flex: 1; }
.plan li { display: flex; gap: .6rem; font-size: .95rem; }
.plan li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; background: rgba(14,165,255,.12); color: var(--blue-600); }
.plan--featured li::before { background: rgba(46,230,197,.2); color: var(--aurora); }
.plan--featured .btn--primary { background: linear-gradient(90deg, var(--aurora), var(--blue)); color: var(--navy-900); }

/* Tárhely & gondoskodás */
.care { margin-top: 3.5rem; padding: 2.2rem; border-radius: 24px; background: linear-gradient(180deg, #EAF3FF, #fff); border: 1px solid var(--gray); }
.care__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.care__head h3 { font-size: 1.6rem; margin: 0; }
.care__head p { margin: 0; color: var(--muted); max-width: 32rem; }
.care__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.care__plan { position: relative; padding: 1.5rem; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--gray); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.care__plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.care__plan--featured { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(14,165,255,.1); }
.care__plan--featured .plan__tag { left: 1.5rem; top: -12px; }
.care__plan h4 { font-size: 1.1rem; margin-bottom: .3rem; }
.care__price { font-family: var(--font-head); color: var(--navy); margin: 0 0 1rem; }
.care__price b { font-size: 1.9rem; letter-spacing: -.03em; }
.care__plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .92rem; }
.care__plan li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: .5rem; }
.care__foot { margin: 1.3rem 0 0; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .care__grid { grid-template-columns: 1fr; } .care { padding: 1.5rem; } }

/* Kalkulátor */
.calc { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.calc__intro { position: sticky; top: 120px; }
.calc__intro > p:last-child { color: rgba(255,255,255,.65); font-size: 1.1rem; }
.calc__box {
  padding: 2.2rem; border-radius: 24px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.calc fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
.calc legend { font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: 1rem; }
.calc output { color: var(--aurora); }
.chips, .checks { display: flex; flex-wrap: wrap; gap: .6rem; }
.checks { display: grid; grid-template-columns: 1fr 1fr; }
.chips label, .checks label { cursor: pointer; }
.chips input, .checks input { position: absolute; opacity: 0; pointer-events: none; }
.chips span, .checks span {
  display: block; padding: .7rem 1.2rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.8); font-size: .95rem;
  transition: all .25s var(--ease);
}
.checks span { padding-left: 2.6rem; position: relative; }
.checks span::before {
  content: ""; position: absolute; left: .9rem; top: 50%; width: 18px; height: 18px; translate: 0 -50%;
  border-radius: 5px; border: 1.5px solid rgba(255,255,255,.4); transition: all .25s;
}
.chips label:hover span, .checks label:hover span { border-color: rgba(255,255,255,.4); }
.chips input:checked + span, .checks input:checked + span { background: rgba(14,165,255,.18); border-color: var(--blue); color: #fff; }
.checks input:checked + span::before { background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--blue); }
.chips input:focus-visible + span, .checks input:focus-visible + span { outline: 2px solid var(--aurora); outline-offset: 2px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--aurora), var(--blue)) 0 / var(--fill, 15%) 100% no-repeat, rgba(255,255,255,.15); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); cursor: grab; box-shadow: 0 0 0 6px rgba(14,165,255,.2); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); cursor: grab; }

.calc__result {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  padding: 1.5rem; border-radius: 16px; background: linear-gradient(135deg, rgba(14,165,255,.2), rgba(46,230,197,.12));
  border: 1px solid rgba(14,165,255,.35);
}
.calc__result small { display: block; font-size: .85rem; color: rgba(255,255,255,.65); }
.calc__result strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; letter-spacing: -.03em; line-height: 1.1; margin: .2rem 0; }

/* GYIK */
.faq { display: grid; gap: .9rem; }
.faq details { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--gray); transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(14,165,255,.45); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.3rem 3.5rem 1.3rem 1.5rem; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%; translate: 0 -50%;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); color: var(--blue); font-size: 1.3rem; transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { padding: 0 1.5rem 1.4rem; margin: 0; color: var(--muted); }

/* Kapcsolat */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact__info > p:not(.kicker) { color: var(--muted); font-size: 1.1rem; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; font-weight: 500; }
.contact__list span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--gray); color: var(--blue); font-size: 1.1rem; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--blue); }
.billing { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.4rem; border-radius: var(--radius-sm); background: #fff; border: 1px dashed rgba(11,45,91,.25); }
.billing__flag { width: 32px; height: 20px; flex: none; border-radius: 3px; margin-top: 4px; }
.billing p { margin: 0; font-size: .92rem; color: var(--muted); }
.billing b { color: var(--navy); }

.contact__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  padding: 2.2rem; border-radius: 24px; background: #fff; border: 1px solid var(--gray); box-shadow: var(--shadow-lg);
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink);
  padding: 1.5rem 1rem .6rem; border-radius: 12px; border: 1.5px solid var(--gray); background: var(--bg);
  transition: border-color .25s, box-shadow .25s, background .25s; resize: vertical;
}
.field select { padding: 1.05rem 1rem; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B82' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; }
.field label { position: absolute; left: 1rem; top: 1.05rem; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(14,165,255,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: .45rem; font-size: .75rem; color: var(--blue-600); font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #EF4444; }
.consent { font-size: .9rem; color: var(--muted); display: flex; gap: .6rem; align-items: flex-start; }
.consent input { margin-top: .3rem; accent-color: var(--blue); }
.consent.is-invalid { color: #EF4444; }
.form__status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form__status.ok { color: #10B981; }
.form__status.err { color: #EF4444; }

/* Lábléc */
.footer { background: var(--navy-900); color: rgba(255,255,255,.65); padding: 80px 0 30px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer a { display: block; text-decoration: none; margin-bottom: .5rem; transition: color .2s; }
.footer a:hover { color: var(--blue); }
.footer__tag { margin-top: 1rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bottom a { display: inline; }

/* ---------- Felbukkanó animáció ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.tilt.reveal.is-visible { transition: opacity .9s var(--ease), transform .25s ease-out, box-shadow .4s, border-color .4s; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1080px) {
  .services, .works, .principles { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 560px; }
  .calc, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .calc__intro { position: static; }
}
@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; inset: 64px 16px auto; padding: 1rem;
    border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-lg);
  }
  .nav.is-open a { color: var(--navy); padding: .9rem .5rem; border-bottom: 1px solid var(--gray); }
  .nav.is-open a:last-child { border-bottom: 0; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services, .works, .principles, .checks { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; padding: 1.5rem; }
  .calc__box { padding: 1.5rem; }
  .hero { padding: 120px 0 160px; }
  .hero__stats { gap: 1.5rem; }
  .hero__stats strong { font-size: 1.6rem; }
  .float-card--a { left: -8px; bottom: -20px; }
  .float-card--b { right: -8px; }
  .browser { transform: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .timeline::before, .timeline::after { left: 23px; }
  .step__num { width: 48px; height: 48px; font-size: .9rem; }
  .step { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
