:root {
  --bg: #f6f9ff;
  --navy: #101b2d;
  --text: #172033;
  --muted: #607086;
  --red: #d91f35;
  --red-soft: #ffe8ec;
  --blue: #1762a5;
  --blue-soft: #e7f4ff;
  --mint-soft: #eafff7;
  --peach: #fff0e8;
  --glass: rgba(255,255,255,.56);
  --glass-strong: rgba(255,255,255,.78);
  --line: rgba(255,255,255,.74);
  --shadow: 0 28px 90px rgba(31,45,70,.14);
  --radius: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(217,31,53,.13), transparent 26%),
    radial-gradient(circle at 86% 8%, rgba(23,98,165,.18), transparent 30%),
    linear-gradient(135deg, #fff8f8 0%, #f5fbff 45%, #f7f4ff 100%);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin-top: 0; color: var(--muted); line-height: 1.7; }
h1, h2, h3 { margin-top: 0; letter-spacing: -.045em; color: var(--navy); }
h1 { font-size: clamp(44px, 6vw, 65px); line-height: .94; margin-bottom: 24px; }
h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1; margin-bottom: 18px; }
h3 { font-size: 24px; margin-bottom: 12px; }

.wide { width: min(1500px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(72px, 8vw, 128px) 0; scroll-margin-top: 110px; }
.full-section { width: 100%; scroll-margin-top: 110px; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1500px, calc(100% - 32px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px 14px 10px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(31,45,70,.12);
}
.brand img { width: 180px; height: auto; }
nav { justify-self: center; display: flex; align-items: center; gap: 4px; }
nav a { color: #273449; font-weight: 700; font-size: 15px; padding: 12px 16px; border-radius: 999px; }
nav a:hover { background: rgba(255,255,255,.72); }
.nav-cta { color: #fff; background: linear-gradient(135deg, var(--red), var(--blue)); padding: 13px 20px; border-radius: 999px; font-weight: 800; box-shadow: 0 14px 34px rgba(217,31,53,.18); }

.glass-card {
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(30px) saturate(1.45);
  -webkit-backdrop-filter: blur(30px) saturate(1.45);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 70px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 999px; filter: blur(12px); opacity: .9; }
.blob-red { width: 520px; height: 520px; left: -130px; top: 80px; background: radial-gradient(circle, rgba(217,31,53,.28), transparent 68%); }
.blob-blue { width: 620px; height: 620px; right: -160px; top: 40px; background: radial-gradient(circle, rgba(23,98,165,.28), transparent 66%); }
.blob-soft { width: 760px; height: 380px; left: 30%; bottom: -140px; background: radial-gradient(circle, rgba(255,255,255,.75), transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, .8fr); align-items: center; gap: clamp(28px, 5vw, 84px); }
.hero-copy { padding: clamp(28px, 4.8vw, 72px); }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 900; color: var(--blue); }
.lead { max-width: 760px; font-size: clamp(18px, 1.55vw, 23px); color: #3f4e66; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border: 0; border-radius: 999px; font-weight: 850; cursor: pointer; }
.button.primary { color: #fff; background: linear-gradient(135deg, #ff493f, #8a7df0, #1762a5); box-shadow: 0 18px 40px rgba(23,98,165,.24); }
.button.ghost { background: rgba(255,255,255,.64); color: #233047; border: 1px solid rgba(255,255,255,.9); }
.hero-device { min-height: 520px; display: grid; place-items: center; perspective: 1300px; }
.screen { width: min(100%, 660px); aspect-ratio: 1.42; padding: 16px; transform: rotateY(-13deg) rotateX(4deg); border-radius: 36px; background: rgba(255,255,255,.42); }
.screen-top { height: 36px; display: flex; gap: 8px; align-items: center; padding-left: 10px; }
.screen-top span { width: 11px; height: 11px; border-radius: 50%; background: rgba(23,98,165,.28); }
.screen-art { height: calc(100% - 36px); border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, #ffdfdf, #dff2ff 48%, #e6e1ff); position: relative; }
.screen-art div:nth-child(1) { position: absolute; width: 72%; height: 42%; left: 8%; top: 18%; border-radius: 999px; background: linear-gradient(135deg, rgba(217,31,53,.45), rgba(255,255,255,.1)); filter: blur(7px); }
.screen-art div:nth-child(2) { position: absolute; width: 54%; height: 46%; right: -10%; bottom: 10%; border-radius: 999px; background: linear-gradient(135deg, rgba(23,98,165,.48), rgba(255,255,255,.16)); filter: blur(7px); }
.screen-art div:nth-child(3) { position: absolute; left: 8%; right: 8%; bottom: 9%; height: 78px; border-radius: 24px; background: rgba(255,255,255,.58); }

.section-head { max-width: 900px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-inline: auto; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: clamp(24px, 3vw, 38px); min-height: 330px; background: linear-gradient(135deg, rgba(255,255,255,.72), rgba(255,255,255,.36)); }
.feature-red { background: linear-gradient(135deg, rgba(255,232,236,.9), rgba(255,255,255,.55)); }
.feature-blue { background: linear-gradient(135deg, rgba(231,244,255,.94), rgba(255,255,255,.55)); }
.feature-green { background: linear-gradient(135deg, rgba(234,255,247,.95), rgba(255,255,255,.55)); }
.icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 22px; background: rgba(255,255,255,.72); color: var(--blue); font-size: 28px; font-weight: 900; margin-bottom: 38px; box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 14px 26px rgba(31,45,70,.08); }
.feature-red .icon { color: var(--red); }

.references-section { padding: clamp(72px, 8vw, 128px) 0; background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(231,244,255,.42), rgba(255,232,236,.34)); }
.references { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reference-card { position: relative; margin: 0; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(31,45,70,.14); border: 1px solid rgba(255,255,255,.8); }
.reference-card img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; transition: transform .45s ease; }
.reference-card:hover img { transform: scale(1.035); }
.reference-card figcaption { position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-weight: 850; color: #1f2b3f; box-shadow: 0 8px 20px rgba(31,45,70,.12); }

.contact-section { padding: clamp(82px, 9vw, 140px) 0; background: radial-gradient(circle at 20% 30%, rgba(217,31,53,.18), transparent 32%), radial-gradient(circle at 90% 10%, rgba(23,98,165,.2), transparent 34%), linear-gradient(135deg, #fff0f2, #f2f8ff); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.contact-copy a { color: var(--blue); font-weight: 850; }
.contact-form { padding: clamp(22px, 3vw, 38px); display: grid; gap: 16px; background: rgba(255,255,255,.58); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 8px; color: #334155; font-size: 14px; font-weight: 800; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 18px;
  padding: 15px 16px;
  background: rgba(255,255,255,.68);
  color: var(--text);
  font: inherit;
  outline: none;
}
input:focus, textarea:focus { border-color: rgba(23,98,165,.42); box-shadow: 0 0 0 5px rgba(23,98,165,.09); }
textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; }

.footer { background: #0e1a2b; color: #dbe7f8; padding: 54px 0 30px; }
.footer p, .footer a { color: #b8c6d8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer img { width: 180px; height: auto; margin-bottom: 18px; }
.footer h3 { color: #fff; font-size: 16px; letter-spacing: 0; margin-bottom: 14px; }
.footer a { display: block; margin: 8px 0; }
.footer-bottom { padding-top: 24px; color: #91a2ba; font-size: 14px; }

@media (max-width: 1100px) {
  .hero-inner, .contact-grid { grid-template-columns: 1fr; }
  .hero-device { min-height: 380px; }
  .screen { transform: none; max-width: 720px; }
  .references { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .wide { width: min(100% - 28px, 720px); }
  .site-header { grid-template-columns: 1fr auto; border-radius: 26px; }
  .brand img { width: 150px; }
  nav { display: none; }
  .nav-cta { padding: 11px 15px; font-size: 14px; }
  .hero { padding-top: 118px; }
  .feature-grid, .references, .footer-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  .hero-copy { padding: 24px; }
  .hero-device { display: none; }
  .button { width: 100%; }
  .site-header { top: 10px; width: calc(100% - 20px); }
  .nav-cta { display: none; }
}

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

/* --- Extra interactive sections --- */
.wow-section {
  position: relative;
  padding: clamp(78px, 9vw, 150px) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(217,31,53,.16), transparent 30%),
    radial-gradient(circle at 92% 28%, rgba(23,98,165,.18), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.58), rgba(231,244,255,.58));
}
.wow-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.live-preview { position: relative; min-height: 560px; display: grid; place-items: center; }
.browser { width: min(100%, 760px); overflow: hidden; background: rgba(255,255,255,.58); transform: rotate(-1.5deg); }
.browser-bar { height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.68); color: rgba(16,27,45,.58); font-size: 13px; }
.browser-bar span { width: 12px; height: 12px; border-radius: 50%; background: rgba(217,31,53,.4); }
.browser-bar span:nth-child(2) { background: rgba(255,196,87,.62); }
.browser-bar span:nth-child(3) { background: rgba(23,98,165,.42); }
.browser-bar strong { margin-left: auto; font-weight: 850; }
.browser-body { padding: clamp(24px, 4vw, 46px); min-height: 420px; background: linear-gradient(135deg, rgba(255,232,236,.82), rgba(231,244,255,.82), rgba(247,244,255,.86)); }
.preview-hero { height: 160px; border-radius: 34px; background: linear-gradient(135deg, rgba(217,31,53,.78), rgba(138,125,240,.58), rgba(23,98,165,.72)); box-shadow: inset 0 1px 0 rgba(255,255,255,.42); }
.preview-line { height: 18px; margin-top: 20px; width: 76%; border-radius: 999px; background: rgba(255,255,255,.78); }
.preview-line.short { width: 48%; }
.preview-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.preview-cards i { height: 96px; border-radius: 24px; background: rgba(255,255,255,.62); box-shadow: 0 20px 45px rgba(31,45,70,.08); }
.orbit-chip { position: absolute; display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.86); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); color: #172033; font-weight: 900; box-shadow: 0 20px 48px rgba(31,45,70,.12); animation: floatChip 5.5s ease-in-out infinite; }
.chip-1 { left: 0; top: 76px; color: var(--red); }
.chip-2 { right: 6%; top: 22px; animation-delay: -.8s; }
.chip-3 { left: 7%; bottom: 70px; animation-delay: -1.6s; color: var(--blue); }
.chip-4 { right: 0; bottom: 118px; animation-delay: -2.4s; }
.chip-5 { right: 24%; bottom: 18px; animation-delay: -3.1s; color: var(--red); }
@keyframes floatChip { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-14px,0); } }

.compare-section { background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,240,242,.54)); }
.compare-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(28px, 5vw, 78px); align-items: center; }
.compare-widget { position: relative; min-height: 480px; overflow: hidden; background: rgba(255,255,255,.56); }
.compare-layer { position: absolute; inset: 18px; border-radius: 24px; overflow: hidden; }
.compare-before { background: #d7d7d7; }
.compare-after { background: #eef7ff; clip-path: inset(0 0 0 50%); }
.old-site, .new-site { position: absolute; inset: 0; }
.old-site { background: repeating-linear-gradient(45deg, #3a3a3a 0 12px, #454545 12px 24px); color: #fff; }
.old-top { height: 42px; background: #1d1d1d; }
.old-logo { width: 48%; height: 80px; margin: 24px auto 14px; background: #e6412c; box-shadow: inset 0 -16px 0 #fff; }
.old-menu { height: 34px; margin: 0 34px; background: #111; }
.old-alert { margin: 28px 34px 18px; padding: 18px; background: #fff; color: #e6412c; font-weight: 950; font-size: clamp(18px, 2vw, 30px); text-align: center; }
.old-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding: 0 34px; }
.old-cols i { height: 150px; background: #f3f3f3; border: 3px solid #222; }
.new-site { background: linear-gradient(135deg, #fff1f4, #edf8ff 52%, #f4f0ff); padding: 24px; }
.new-nav { height: 50px; border-radius: 999px; background: rgba(255,255,255,.74); box-shadow: 0 10px 32px rgba(31,45,70,.08); }
.new-hero { margin-top: 28px; height: 190px; border-radius: 34px; background: linear-gradient(135deg, rgba(217,31,53,.85), rgba(23,98,165,.72)); position: relative; overflow: hidden; }
.new-hero b { position: absolute; left: 30px; top: 42px; width: 48%; height: 28px; border-radius: 999px; background: rgba(255,255,255,.86); }
.new-hero span { position: absolute; left: 30px; top: 88px; width: 34%; height: 18px; border-radius: 999px; background: rgba(255,255,255,.58); }
.new-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 22px; }
.new-cards i { height: 126px; border-radius: 26px; background: rgba(255,255,255,.7); box-shadow: 0 18px 42px rgba(31,45,70,.08); }
.compare-handle { position: absolute; top: 18px; bottom: 18px; left: 50%; width: 2px; background: rgba(255,255,255,.9); transform: translateX(-50%); z-index: 4; box-shadow: 0 0 0 1px rgba(16,27,45,.08); }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; transform: translate(-50%,-50%); border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--blue)); box-shadow: 0 18px 34px rgba(31,45,70,.25); }
.compare-handle span::before { content: '↔'; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 950; font-size: 22px; }
.compare-range { position: absolute; inset: 0; z-index: 6; opacity: 0; cursor: ew-resize; }
.compare-label { position: absolute; z-index: 7; top: 34px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.78); font-weight: 950; box-shadow: 0 10px 22px rgba(31,45,70,.1); pointer-events: none; }
.compare-label.before { left: 34px; color: #e6412c; }
.compare-label.after { right: 34px; color: var(--blue); }

.reference-card { cursor: zoom-in; }
.reference-card::after { content: 'Nagyítás'; position: absolute; right: 18px; top: 18px; padding: 10px 14px; border-radius: 999px; color: #172033; background: rgba(255,255,255,.76); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font-size: 13px; font-weight: 900; opacity: 0; transform: translateY(-8px); transition: .25s ease; }
.reference-card:hover::after { opacity: 1; transform: translateY(0); }
body.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 74px 24px 34px; background: rgba(8,15,28,.76); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.lightbox.is-open { display: flex; }
.lightbox-frame { width: min(1500px, 100%); margin: 0; }
.lightbox-frame img { width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 26px; box-shadow: 0 32px 80px rgba(0,0,0,.42); background: rgba(255,255,255,.08); }
.lightbox-frame figcaption { margin-top: 14px; color: #fff; text-align: center; font-weight: 900; }
.lightbox-close, .lightbox-nav { position: fixed; border: 1px solid rgba(255,255,255,.26); color: #fff; background: rgba(255,255,255,.12); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); cursor: pointer; }
.lightbox-close { top: 22px; right: 24px; width: 54px; height: 54px; border-radius: 50%; font-size: 36px; line-height: 1; }
.lightbox-nav { top: 50%; width: 62px; height: 72px; border-radius: 22px; transform: translateY(-50%); font-size: 54px; line-height: 1; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 1100px) {
  .wow-grid, .compare-grid { grid-template-columns: 1fr; }
  .live-preview { min-height: 500px; }
  .compare-widget { min-height: 430px; }
}
@media (max-width: 680px) {
  .live-preview { min-height: 430px; }
  .browser { transform: none; }
  .orbit-chip { position: relative; inset: auto !important; margin: 6px; animation: none; }
  .live-preview { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 4px; }
  .browser { order: -1; }
  .browser-body { min-height: 300px; }
  .preview-hero { height: 112px; }
  .preview-cards i { height: 70px; }
  .compare-widget { min-height: 360px; }
  .compare-layer { inset: 10px; }
  .compare-handle { top: 10px; bottom: 10px; }
  .old-cols i, .new-cards i { height: 86px; }
  .lightbox { padding-inline: 12px; }
  .lightbox-nav { width: 46px; height: 56px; font-size: 38px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* --- 2026-06 update: laptop hero, mobile burger, icon chips --- */
.primary-nav { justify-self: center; display: flex; align-items: center; gap: 4px; }
.primary-nav a { color: #273449; font-weight: 700; font-size: 15px; padding: 12px 16px; border-radius: 999px; }
.primary-nav a:hover { background: rgba(255,255,255,.72); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.88); border-radius: 999px; background: rgba(255,255,255,.68); box-shadow: 0 12px 30px rgba(31,45,70,.12); cursor: pointer; position: relative; place-items: center; }
.menu-toggle span { position: absolute; width: 21px; height: 2px; border-radius: 999px; background: #142034; transition: transform .28s ease, opacity .22s ease, top .28s ease; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-toggle.is-active span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.hero { background:
  radial-gradient(circle at 10% 16%, rgba(255,119,126,.25), transparent 31%),
  radial-gradient(circle at 86% 17%, rgba(66,168,232,.28), transparent 34%),
  linear-gradient(105deg, rgba(255,248,249,.78) 0%, rgba(244,250,255,.92) 45%, rgba(228,246,255,.86) 100%);
}
.hero::after { content: ""; position: absolute; inset: auto -10% -22% -10%; height: 42%; background: radial-gradient(ellipse at 65% 0%, rgba(23,98,165,.18), transparent 56%), radial-gradient(ellipse at 24% 0%, rgba(217,31,53,.12), transparent 58%); filter: blur(12px); pointer-events: none; }
.hero-copy { z-index: 2; background: rgba(255,255,255,.42); }
.hero-device { position: relative; z-index: 1; min-height: 560px; }
.laptop-hero { position: relative; width: min(720px, 100%); transform: perspective(1200px) rotateY(-8deg) rotateX(2deg); transform-origin: center; }
.laptop-lid { position: relative; margin-inline: auto; width: 82%; aspect-ratio: 1.42; padding: 14px; border-radius: 28px 28px 18px 18px; background: linear-gradient(145deg, #101827, #273244 58%, #0d1421); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), 0 32px 80px rgba(18,32,52,.24); }
.laptop-lid::before { content: ""; position: absolute; inset: 7px; border-radius: 22px 22px 14px 14px; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.laptop-screen-art { position: relative; width: 100%; height: 100%; border-radius: 18px 18px 10px 10px; overflow: hidden; background: linear-gradient(135deg, #fff4f5 0%, #dff4ff 48%, #dce7ff 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.wave { position: absolute; border-radius: 999px; filter: blur(2px); opacity: .96; transform: rotate(-18deg); }
.wave-red { left: -14%; top: 33%; width: 76%; height: 24%; background: linear-gradient(90deg, rgba(255,73,63,.85), rgba(255,164,177,.24)); }
.wave-violet { left: 20%; top: 26%; width: 72%; height: 25%; background: linear-gradient(90deg, rgba(224,121,218,.62), rgba(123,136,244,.18)); }
.wave-blue { right: -13%; top: 36%; width: 73%; height: 30%; background: linear-gradient(90deg, rgba(66,168,232,.18), rgba(23,98,165,.86)); }
.shine { position: absolute; inset: 0; background: radial-gradient(circle at 24% 18%, rgba(255,255,255,.78), transparent 24%), linear-gradient(115deg, rgba(255,255,255,.34), transparent 45%); }
.laptop-base { position: relative; width: 96%; height: 74px; margin: -4px auto 0; border-radius: 8px 8px 44px 44px; background: linear-gradient(180deg, #303a4b, #151c2a 55%, #0d1320); transform: perspective(580px) rotateX(58deg); transform-origin: top; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 28px 54px rgba(18,32,52,.22); }
.trackpad { position: absolute; left: 50%; top: 17px; transform: translateX(-50%); width: 26%; height: 22px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); }
.laptop-shadow { position: absolute; left: 9%; right: 2%; bottom: -28px; height: 72px; border-radius: 50%; background: radial-gradient(ellipse, rgba(23,41,72,.28), transparent 68%); filter: blur(12px); z-index: -1; }

.orbit-chip { display: inline-flex; align-items: center; gap: 10px; }
.orbit-chip b { font: inherit; font-weight: 850; }
.chip-icon { flex: 0 0 auto; width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 15px; background: rgba(255,255,255,.62); box-shadow: inset 0 1px 1px rgba(255,255,255,.8), 0 10px 24px rgba(31,45,70,.1); }
.chip-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.chip-1 .chip-icon { color: #d91f35; }
.chip-2 .chip-icon { color: #1762a5; }
.chip-3 .chip-icon { color: #8a5cf6; }
.chip-4 .chip-icon { color: #179e85; }
.chip-5 .chip-icon { color: #e17a22; }

@media (max-width: 1100px) {
  .laptop-hero { max-width: 680px; transform: none; }
}

@media (max-width: 920px) {
  .site-header { grid-template-columns: auto 1fr auto; border-radius: 28px; }
  .brand img { width: 148px; }
  .menu-toggle { display: grid; justify-self: end; }
  .nav-cta { display: none; }
  .primary-nav { position: fixed; left: 12px; right: 12px; top: calc(100% + 10px); display: grid; gap: 8px; padding: 14px; border: 1px solid rgba(255,255,255,.76); border-radius: 28px; background: rgba(255,255,255,.82); backdrop-filter: blur(26px) saturate(1.35); -webkit-backdrop-filter: blur(26px) saturate(1.35); box-shadow: 0 28px 70px rgba(31,45,70,.18); opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .24s ease, transform .24s ease; }
  .primary-nav.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
  .primary-nav a { padding: 15px 18px; font-size: 16px; background: rgba(255,255,255,.42); }
  .hero-device { min-height: 410px; }
  .laptop-hero { width: min(620px, 100%); }
}

@media (max-width: 520px) {
  .hero-device { display: grid; min-height: 260px; margin-top: 12px; }
  .laptop-hero { width: min(420px, 100%); }
  .laptop-lid { padding: 9px; border-radius: 20px 20px 12px 12px; }
  .laptop-screen-art { border-radius: 14px 14px 8px 8px; }
  .laptop-base { height: 46px; }
  .site-header { grid-template-columns: auto 1fr auto; }
}

/* --- v4: mobil app-szerű oldalra lapozás + teljes széles mobil menü --- */
@media (max-width: 820px) {
  html, body { min-height: 100%; overflow-x: hidden; }
  body.menu-open { overflow: hidden; }

  main {
    display: flex;
    width: 100vw;
    min-height: 100dvh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  main::-webkit-scrollbar { display: none; }

  main > section {
    flex: 0 0 100vw;
    width: 100vw;
    min-width: 100vw;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    padding: 116px 0 78px;
    -webkit-overflow-scrolling: touch;
  }

  main > section:not(#kapcsolat)::after {
    content: "Húzd oldalra a következő részhez  →";
    position: sticky;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 8;
    display: block;
    width: max-content;
    max-width: calc(100vw - 32px);
    margin: 28px auto 0;
    padding: 11px 16px;
    border-radius: 999px;
    color: #20304a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .01em;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: 0 14px 34px rgba(31,45,70,.14);
    backdrop-filter: blur(20px) saturate(1.35);
    -webkit-backdrop-filter: blur(20px) saturate(1.35);
    animation: hintPulse 2.6s ease-in-out infinite;
  }

  #referenciak::after { content: "A referenciákat is húzd oldalra  →"; }
  #kapcsolat::after {
    content: "Küldd el az űrlapot, és visszajelzünk.";
    position: sticky;
    bottom: 14px;
    display: block;
    width: max-content;
    max-width: calc(100vw - 32px);
    margin: 28px auto 0;
    padding: 11px 16px;
    border-radius: 999px;
    color: #20304a;
    font-size: 13px;
    font-weight: 900;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: 0 14px 34px rgba(31,45,70,.14);
    backdrop-filter: blur(20px) saturate(1.35);
    -webkit-backdrop-filter: blur(20px) saturate(1.35);
  }

  @keyframes hintPulse {
    0%, 100% { transform: translateX(0); opacity: .88; }
    50% { transform: translateX(8px); opacity: 1; }
  }

  .hero { align-items: flex-start; }
  .hero-inner { gap: 22px; }
  .hero-device { min-height: 280px; }
  .hero-copy { padding: 24px; }
  .lead { font-size: 16px; line-height: 1.55; }
  h1 { font-size: clamp(36px, 10vw, 46px); line-height: .98; }
  h2 { font-size: clamp(30px, 8vw, 38px); line-height: 1.04; }

  .feature-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 6px 14px 18px;
    margin-inline: -14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .feature-grid::-webkit-scrollbar { display: none; }
  .feature {
    flex: 0 0 calc(100vw - 52px);
    scroll-snap-align: center;
    min-height: 360px;
  }

  .references {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 14px 20px;
    margin-inline: -14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .references::-webkit-scrollbar { display: none; }
  .reference-card {
    flex: 0 0 calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    scroll-snap-align: center;
  }
  .reference-card::after { opacity: 1; transform: none; content: "Koppints a nagyításhoz"; }

  .wow-grid, .compare-grid, .contact-grid { gap: 20px; }
  .live-preview { min-height: 470px; }
  .orbit-chip { font-size: 13px; padding: 6px 11px 6px 7px; min-height: 42px; }
  .chip-icon { width: 32px; height: 32px; border-radius: 12px; }
  .compare-widget { min-height: 380px; }
  .contact-form { margin-bottom: 16px; }

  .site-header {
    width: calc(100% - 20px);
    top: 10px;
    left: 10px;
    right: 10px;
    transform: none;
    grid-template-columns: auto 1fr auto;
    border-radius: 28px;
  }
  .menu-toggle { z-index: 91; }
  .primary-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100dvh;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    padding: 112px 22px 28px;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 16% 16%, rgba(217,31,53,.18), transparent 34%),
      radial-gradient(circle at 84% 20%, rgba(23,98,165,.22), transparent 38%),
      rgba(246,249,255,.92);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
    box-shadow: none;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
  }
  .primary-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .primary-nav a {
    width: min(520px, 100%);
    margin-inline: auto;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(255,255,255,.86);
    box-shadow: 0 14px 38px rgba(31,45,70,.10);
    color: #142034;
    font-size: 19px;
    font-weight: 900;
    text-align: center;
  }

  .footer { display: none; }
}

@media (max-width: 520px) {
  main > section { padding-top: 108px; }
  .hero-device { display: grid; min-height: 250px; }
  .button { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .wide { width: min(100% - 28px, 720px); }
}

/* --- v5: vissza normál mobil görgetésre, referencia swipe marad --- */
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.9);
  color: #26364f;
  font-weight: 850;
  box-shadow: 0 14px 34px rgba(31,45,70,.10);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}
.scroll-hint span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--blue));
  animation: downFloat 1.8s ease-in-out infinite;
}
@keyframes downFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@media (max-width: 820px) {
  html, body {
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  main {
    display: block;
    width: 100%;
    min-height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  main > section {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: auto;
    max-height: none;
    overflow: visible;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    padding: clamp(68px, 12vw, 96px) 0;
  }

  main > section::after,
  main > section:not(#kapcsolat)::after,
  #referenciak::after,
  #kapcsolat::after {
    content: none !important;
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 56px;
    align-items: center;
  }

  .hero-inner,
  .wow-grid,
  .compare-grid,
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 24px;
  }

  .hero-device {
    min-height: 280px;
    margin-top: 8px;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    gap: 16px;
    padding: 0;
    margin-inline: 0;
    scroll-snap-type: none;
  }

  .feature {
    flex: none;
    min-height: auto;
  }

  .references {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 14px 24px;
    margin-inline: -14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .references::-webkit-scrollbar { display: none; }
  .reference-card {
    flex: 0 0 calc(100vw - 48px);
    max-width: calc(100vw - 48px);
    scroll-snap-align: center;
  }
  .references-section .wide::after {
    content: "Húzza oldalra a referenciákat";
    display: block;
    width: max-content;
    max-width: calc(100vw - 32px);
    margin: 2px auto 0;
    padding: 10px 14px;
    border-radius: 999px;
    color: #20304a;
    font-size: 13px;
    font-weight: 900;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: 0 14px 34px rgba(31,45,70,.12);
    backdrop-filter: blur(18px) saturate(1.35);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
  }

  .footer { display: block; }
  .footer-grid { grid-template-columns: 1fr; }

  .primary-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100dvh;
    z-index: 90;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    padding: 112px 22px 28px;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 16% 16%, rgba(217,31,53,.18), transparent 34%),
      radial-gradient(circle at 84% 20%, rgba(23,98,165,.22), transparent 38%),
      rgba(246,249,255,.92);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
    box-shadow: none;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
  }
  .primary-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .primary-nav a {
    width: min(520px, 100%);
    margin-inline: auto;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255,255,255,.62);
    border: 1px solid rgba(255,255,255,.86);
    box-shadow: 0 14px 38px rgba(31,45,70,.10);
    color: #142034;
    font-size: 19px;
    font-weight: 900;
    text-align: center;
  }
}

@media (max-width: 520px) {
  main > section { padding-top: 72px; }
  .hero { padding-top: 108px; }
  .hero-device { display: grid; min-height: 250px; }
  .scroll-hint { width: 100%; justify-content: center; }
}

/* --- v6 finomhangolás: mobil felső térköz + referencia buborék margó --- */
@media (max-width: 820px) {
  main > section {
    scroll-margin-top: 128px;
  }
  .hero {
    padding-top: 148px !important;
  }
  .references-section .wide::after {
    margin-top: 22px !important;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 142px !important;
  }
  .references-section .wide::after {
    margin-top: 24px !important;
  }
}


/* --- v10: mobilon az előtte/utána csúszka mobilnézetet mutat --- */
@media (max-width: 700px) {
  .compare-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .compare-widget {
    width: min(100%, 360px);
    min-height: 620px;
    margin: 0 auto;
    border-radius: 46px;
    padding: 0;
    background:
      linear-gradient(145deg, rgba(24,31,46,.18), rgba(255,255,255,.72)),
      rgba(255,255,255,.58);
    box-shadow:
      0 34px 80px rgba(31,45,70,.18),
      inset 0 0 0 1px rgba(255,255,255,.62);
  }

  .compare-widget::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 38px;
    background: #101827;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
    z-index: 0;
    pointer-events: none;
  }

  .compare-widget::after {
    content: "";
    position: absolute;
    top: 21px;
    left: 50%;
    width: 92px;
    height: 20px;
    transform: translateX(-50%);
    border-radius: 0 0 18px 18px;
    background: #101827;
    z-index: 8;
    pointer-events: none;
  }

  .compare-layer {
    inset: 22px 18px;
    border-radius: 30px;
    z-index: 1;
  }

  .compare-before,
  .compare-after {
    background: #f7f9ff;
  }

  .old-site,
  .new-site {
    inset: 0;
    border-radius: 30px;
    overflow: hidden;
  }

  .old-site {
    background:
      linear-gradient(180deg, #2d2d2d 0 72px, transparent 72px),
      repeating-linear-gradient(45deg, #3b3b3b 0 10px, #474747 10px 20px);
  }

  .old-top {
    height: 58px;
    background: #1b1b1b;
    position: relative;
  }

  .old-top::before,
  .old-top::after {
    content: "";
    position: absolute;
    top: 22px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.22);
  }

  .old-top::before { left: 18px; width: 76px; }
  .old-top::after { right: 18px; width: 44px; }

  .old-logo {
    width: auto;
    height: 72px;
    margin: 18px 18px 12px;
    border-radius: 6px;
    background: #e6412c;
    box-shadow: inset 0 -14px 0 #fff;
  }

  .old-menu {
    height: 92px;
    margin: 0 18px;
    border-radius: 8px;
    background:
      linear-gradient(#151515 0 0) 14px 14px / 72% 10px no-repeat,
      linear-gradient(#151515 0 0) 14px 40px / 58% 10px no-repeat,
      linear-gradient(#151515 0 0) 14px 66px / 66% 10px no-repeat,
      rgba(255,255,255,.9);
  }

  .old-alert {
    margin: 16px 18px 14px;
    padding: 14px 10px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.15;
  }

  .old-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 18px 22px;
  }

  .old-cols i {
    height: 72px;
    border-width: 2px;
  }

  .new-site {
    padding: 16px;
    background:
      radial-gradient(circle at 85% 14%, rgba(23,98,165,.20), transparent 34%),
      radial-gradient(circle at 12% 28%, rgba(217,31,53,.18), transparent 32%),
      linear-gradient(145deg, #fff4f6, #edf8ff 56%, #f7f1ff);
  }

  .new-nav {
    height: 46px;
    border-radius: 999px;
    position: relative;
  }

  .new-nav::before,
  .new-nav::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--red), var(--blue));
  }

  .new-nav::before { left: 14px; width: 84px; height: 12px; opacity: .85; }
  .new-nav::after { right: 14px; width: 22px; height: 14px; opacity: .58; }

  .new-hero {
    margin-top: 16px;
    height: 210px;
    border-radius: 28px;
    background:
      radial-gradient(circle at 78% 22%, rgba(255,255,255,.34), transparent 28%),
      linear-gradient(145deg, rgba(217,31,53,.88), rgba(23,98,165,.75));
  }

  .new-hero b {
    left: 22px;
    top: 34px;
    width: 70%;
    height: 24px;
  }

  .new-hero span {
    left: 22px;
    top: 74px;
    width: 52%;
    height: 14px;
  }

  .new-hero::after {
    content: "";
    position: absolute;
    left: 22px;
    bottom: 24px;
    width: 112px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 16px 34px rgba(31,45,70,.14);
  }

  .new-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 14px;
  }

  .new-cards i {
    height: 76px;
    border-radius: 22px;
    position: relative;
  }

  .new-cards i::before,
  .new-cards i::after {
    content: "";
    position: absolute;
    left: 18px;
    border-radius: 999px;
    background: rgba(23,98,165,.22);
  }

  .new-cards i::before { top: 20px; width: 48%; height: 10px; }
  .new-cards i::after { top: 42px; width: 68%; height: 8px; opacity: .7; }

  .compare-handle {
    top: 22px;
    bottom: 22px;
    z-index: 5;
  }

  .compare-handle span {
    width: 52px;
    height: 52px;
  }

  .compare-label {
    top: auto;
    bottom: 36px;
    padding: 8px 11px;
    font-size: 12px;
    z-index: 9;
  }

  .compare-label.before { left: 34px; }
  .compare-label.after { right: 34px; }
}
