/* level up – stíluslap
   Irány: elegáns, sötét alap, 90-es évekbeli színvilág és szkript logó, visszafogott mozgás. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-stretch: 62% 125%; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --ink: #120E24;        /* alap háttér: mély lilás éjkék */
  --ink-2: #1B1535;      /* panelek */
  --ink-3: #2C2450;      /* keretek */
  --fg: #F4EFFF;
  --muted: #C3BBDD;
  --teal: #4DAEE4;      /* a logó kékje */
  --magenta: #EE1D86;   /* a logó magentája */
  --yellow: #F8DD1D;    /* a logó sárgája */
  --violet: #A66FBE;    /* a logó lilája */
  --chrome: linear-gradient(100deg, var(--teal) 0%, var(--violet) 55%, var(--magenta) 100%);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1160px;
  --header-h: 68px;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--fg); background: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; font-stretch: 104%; letter-spacing: -.02em; }
h2 em { font-style: normal;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
h3 { font-size: 1.25rem; font-weight: 750; font-stretch: 105%; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; }
.pixel { font-family: var(--font); font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.3; }
.label { color: var(--teal); margin-bottom: 1.1rem; }

.skip-link { position: absolute; left: 16px; top: -48px; z-index: 200; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* Gombok */
.btn {
  display: inline-flex; align-items: center; justify-content: center; padding: .85em 1.6em; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { box-shadow: 0 10px 30px -10px rgba(255, 212, 71, .6); }
.btn-ghost { border-color: var(--ink-3); color: var(--fg); }
.btn-ghost:hover { border-color: var(--teal); }

/* Logó (Zsombor Magneto-alapú SVG-je) */
.brand { display: inline-flex; align-items: center; }
.brand img { height: 28px; width: auto; }

/* Fejléc */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(18, 14, 36, .78);
  backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--ink-3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); position: relative; transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--chrome); transition: right .3s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--fg); }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.site-nav .lang a { padding: 4px 10px; border: 1.5px solid var(--ink-3); border-radius: 999px; font-size: .8rem; letter-spacing: .1em; color: var(--fg); }
.site-nav .lang a::after { display: none; }
.site-nav .lang a:hover { border-color: var(--teal); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--fg); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main, .site-footer { position: relative; z-index: 1; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(80px, 13vw, 170px) 0 clamp(80px, 11vw, 140px); }
.hero-inner { z-index: 1; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 75% 30%, rgba(139, 107, 255, .28), transparent 70%),
    radial-gradient(500px 340px at 20% 80%, rgba(30, 214, 198, .16), transparent 70%),
    radial-gradient(circle, rgba(244, 239, 255, .06) 1px, transparent 1.4px) 0 0 / 28px 28px;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero-kicker { color: var(--muted); margin-bottom: 1.4rem; }

.wordmark { margin: 0 0 .9em; line-height: 0; }
.wordmark img { width: min(100%, 860px); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); animation: logo-in 1.1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes logo-in { from { opacity: 0; transform: translateX(-28px); filter: blur(6px); } to { opacity: 1; transform: none; } }
.hero-lead { font-size: clamp(1.1rem, 2.1vw, 1.35rem); color: var(--muted); max-width: 44ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Szekciók */
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(27, 21, 53, .0), rgba(27, 21, 53, .85) 12%, rgba(27, 21, 53, .85) 88%, rgba(27, 21, 53, 0)); }
.section-head { max-width: 720px; margin-bottom: 56px; }

/* Kik vagyunk? */
.who { display: grid; grid-template-columns: 7fr 4fr; gap: 72px; align-items: center; }
.who-text { min-width: 0; }
.who-text > p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.who-link a { color: var(--teal); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.who-photo { margin: 0; width: 100%; max-width: 360px; justify-self: end; }
.window { padding: 2px; border-radius: 21px; background: var(--chrome); }
.window img { border-radius: 19px; }
.window img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; }
.who-photo figcaption { margin-top: 18px; color: var(--muted); font-size: .92rem; }

.timeline { list-style: none; padding: 0; margin: 88px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--chrome); opacity: .7; }
.timeline li { position: relative; padding-top: 40px; padding-right: 12px; font-weight: 600; font-size: .95rem; color: var(--fg); }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 3px solid var(--teal); }
.timeline li:last-child::before { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 0 6px rgba(255, 212, 71, .2); }
.timeline .pixel { display: block; color: var(--yellow); font-size: 1.1rem; letter-spacing: .04em; margin-bottom: 4px; }

/* Kik vagyunk? – kiemelt bevezető */
.who-text > p.who-lead { color: var(--fg); font-size: 1.25rem; line-height: 1.55; }

/* Miben tudok segíteni? */
.section-head > p { color: var(--muted); font-size: 1.08rem; max-width: 64ch; }
.offer-index { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 12px; margin-bottom: 40px; }
.offer-index a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; text-decoration: none;
  font-weight: 700; font-size: .95rem; line-height: 1.25; color: var(--fg); background: var(--ink); border: 2px solid var(--ink-3);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.offer-index a .pixel { color: var(--c); }
.offer-index a:hover { transform: translateY(-2px); border-color: var(--c); }
.offer-index a.flag { border-color: var(--yellow); background: linear-gradient(120deg, rgba(255, 212, 71, .14), var(--ink) 70%); }

.offer { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; margin-top: 28px;
  padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: var(--ink); border: 2px solid var(--ink-3); position: relative; }
.offer::before { content: ""; position: absolute; left: 32px; right: 32px; top: -2px; height: 4px; border-radius: 0 0 4px 4px; background: var(--c); }
.offer-main { min-width: 0; }
.offer-main > p { color: var(--muted); max-width: 62ch; }
.offer h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.01em; }
.offer-tag { color: var(--c); margin-bottom: 10px; }
.offer .ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.offer .ticks li { position: relative; padding-left: 24px; color: var(--muted); line-height: 1.6; }
.offer .ticks li::before { content: "▸"; position: absolute; left: 0; top: 0; color: var(--c); }
.offer .ticks strong { color: var(--fg); }

/* Referencialisták */
.refs { min-width: 0; display: grid; gap: 10px; padding: 24px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--ink-3); }
.refs-title { color: var(--c); margin: 0 0 6px; }
.refs-group { margin: 10px 0 0; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ref { position: relative; display: grid; gap: 2px; padding: 14px 44px 14px 16px; border-radius: 12px; text-decoration: none;
  background: var(--ink); border: 2px solid var(--ink-3); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ref::after { content: "↗"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; color: var(--c); font-weight: 700; transition: transform .2s ease; }
.ref:hover { transform: translateY(-2px); border-color: var(--c); }
.ref:hover::after { transform: translate(2px, -2px); }
.ref-video::after { content: "▶"; font-size: .85rem; }
.ref-title { font-weight: 650; line-height: 1.35; color: var(--fg); }
.ref-url { color: var(--c); }
.refs-plain .ticks { margin: 0; }

/* Zászlóshajó: 7streak */
.offer-flagship { grid-template-columns: 8fr 4fr; border: 0; isolation: isolate; overflow: hidden;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--chrome) border-box; border: 2px solid transparent; }
.offer-flagship::before { display: none; }
.offer-flagship::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(500px 340px at 85% 20%, rgba(255, 212, 71, .14), transparent 70%), radial-gradient(500px 340px at 10% 90%, rgba(30, 214, 198, .12), transparent 70%); }
.offer-lead { color: var(--fg) !important; font-size: 1.15rem; }
.streak-logo { margin: 0 0 .6em; line-height: 0; }
.streak-logo img { width: clamp(180px, 26vw, 280px); height: auto; }
.features { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.features li { padding: 18px 20px; border-radius: 16px; background: var(--ink-2); border: 2px solid var(--ink-3); border-left: 5px solid var(--c); }
.features li:first-child { grid-column: 1 / -1; }
.features h4 { margin: 0 0 .3em; font-size: 1.05rem; }
.features p { margin: 0; color: var(--muted); font-size: .95rem; }
.streak-model { font-size: .98rem; padding: 14px 18px; border-left: 3px solid var(--yellow); background: rgba(255, 212, 71, .06); border-radius: 0 12px 12px 0; margin-bottom: 26px; }
.offer-art { align-self: start; display: flex; flex-direction: column; gap: 18px; }

/* Képernyőképek, galéria */
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--ink-3); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); background: var(--ink-2); }
.shot figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.gallery { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 8px; }
.gallery .shot { grid-column: span 2; }
.gallery .shot-half, .gallery-2 .shot { grid-column: span 3; }
.gallery .shot-wide { grid-column: 1 / -1; }
.gallery .shot:not(.shot-wide) img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center top; }

/* Kártyás felsorolás */
.offer .cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offer .cards li { padding: 18px 20px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--ink-3); border-top: 3px solid var(--c); color: var(--muted); font-size: .97rem; line-height: 1.6; }
.offer .cards strong { display: block; color: var(--fg); font-size: 1.05rem; margin-bottom: 6px; }

@keyframes streak { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.92); } }

/* Kapcsolat */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.contact p { color: var(--muted); font-size: 1.1rem; max-width: 42ch; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; padding: 18px 22px; border-radius: 16px; background: var(--ink); border: 2px solid var(--ink-3); }
.contact-list .pixel { color: var(--teal); }
.contact-list a { color: var(--fg); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.contact-list a:hover { color: var(--yellow); }

/* Lábléc */
.site-footer { border-top: 1px solid var(--ink-3); padding: 56px 0 32px; font-size: .9rem; color: var(--muted); background: var(--ink); }
.footer-brand { margin: 0 0 28px; }
.footer-brand img { height: 28px; width: auto; }
.company-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 32px; margin: 0 0 36px; }
.company-data dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--fg); }
.company-data dd { margin: 0; }
.company-data a { color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink-3); padding-top: 24px; }
.footer-bottom p { margin: 0; }

/* Aloldalak (adatvédelem, 404) */
.page { padding: clamp(56px, 8vw, 96px) 0; }
.page .container { max-width: 780px; }
.page h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; font-stretch: 112%; }
.page h2 { font-size: 1.4rem; margin-top: 2em; font-stretch: 105%; }
.page p, .page li { color: var(--muted); }
.page a { color: var(--teal); }
.eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--teal); }
.notice { background: rgba(255, 212, 71, .1); border: 2px solid rgba(255, 212, 71, .5); border-radius: 12px; padding: 14px 18px; color: var(--yellow) !important; }
.site-header .btn-sm { padding: .5em 1.1em; font-size: .9rem; }
.error-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 48px 0; }
.error-page .code { font-weight: 800; font-style: italic; font-size: clamp(7rem, 24vw, 14rem); line-height: .9; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page p { color: var(--muted); }

/* Beúszás: alapból látható, JS-sel animál */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* Reszponzív */
@media (max-width: 960px) {
  .who { grid-template-columns: 1fr; gap: 48px; }
  .who-photo { max-width: 280px; justify-self: start; }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .timeline::before { display: none; }
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .offer, .offer-flagship { grid-template-columns: 1fr; gap: 32px; }
  .offer-art { flex-direction: row; }
  .offer-art .shot { flex: 1; min-width: 0; }
  .gallery .shot, .gallery .shot-half, .gallery-2 .shot { grid-column: span 3; }
  .gallery .shot-wide { grid-column: 1 / -1; }
  .offer-index { grid-template-columns: repeat(2, 1fr); }
  .offer-index a.flag { grid-column: 1 / -1; }
  .company-data { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; display: none;
    background: var(--ink); border-bottom: 1px solid var(--ink-3); padding: 8px 24px 20px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--ink-3); }
  .site-nav a::after { display: none; }
  .site-nav .lang a { display: inline-block; margin-top: 14px; padding: 6px 14px; border-bottom: 1.5px solid var(--ink-3); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .company-data, .features { grid-template-columns: 1fr; }
  .offer-index { grid-template-columns: 1fr 1fr; }
  .offer::before { left: 20px; right: 20px; }
  .offer .cards { grid-template-columns: 1fr; }
  .offer-art { flex-direction: column; }
  .gallery .shot, .gallery .shot-half, .gallery-2 .shot { grid-column: 1 / -1; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}
