:root {
    --bg: #000;
    --surface: #0b0b0b;
    --surface-2: #111;
    --surface-3: #171717;
    --text: #fff;
    --muted: #a0a0a0;
    --soft: #666;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);
    --radius: 18px;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }

#navbar {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 72px);
    background: rgba(0, 0, 0, 0.66);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: top 0.35s ease;
    z-index: 1000;
}
#navbar.lathato { top: 0; }
.logo-resz { width: 170px; text-decoration: none; }
.logo-resz img { width: 160px; filter: brightness(0) invert(1); }
.menu-resz {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 40px);
    list-style: none;
}
.menu-resz a {
    position: relative;
    text-decoration: none;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.86;
    transition: opacity 0.25s ease;
}
.menu-resz a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: width 0.25s ease;
}
.menu-resz a:hover { opacity: 1; }
.menu-resz a:hover::after { width: 100%; }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}
.bar { width: 20px; height: 2px; background: var(--text); border-radius: 99px; }

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
}
#bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}
.overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,0.2), rgba(0,0,0,0.9) 95%), rgba(0,0,0,0.28);
    z-index: -2;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
    z-index: -1;
}
.hero-content {
    width: min(980px, 100%);
    text-align: center;
    animation: fadeUp 0.8s ease both;
}
.eyebrow, .section-kicker {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 18px;
}
.hero-content h1 {
    font-size: clamp(2.7rem, 8vw, 6.8rem);
    line-height: 0.96;
    letter-spacing: -0.07em;
    max-width: 1000px;
    margin: 0 auto 28px;
}
.hero-content p:not(.eyebrow) {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,0.78);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}
.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 34px;
    background: var(--text);
    color: #000;
    border: 1px solid var(--text);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); background: #d8d8d8; border-color: #d8d8d8; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: var(--text); border-color: var(--text); }

.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    background: transparent;
    border: 0;
    color: var(--text);
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.scroll-indicator.rejtett { opacity: 0; pointer-events: none; }
.mouse { width: 26px; height: 42px; border: 2px solid currentColor; border-radius: 20px; position: relative; }
.wheel { position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; background: currentColor; border-radius: 10px; transform: translateX(-50%); animation: scroll-wheel 1.6s infinite ease-in-out; }
.m-arrow { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: scroll-arrow 1.6s infinite ease-in-out; }

.content-wrapper { position: relative; background: var(--bg); }
.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; padding: 100px 0; }
.intro-section { text-align: center; }
.intro-section h2, .cta-section h2 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.055em;
    max-width: 950px;
    margin: 0 auto 24px;
}
.intro-section p:not(.section-kicker), .cta-section p:not(.section-kicker) {
    max-width: 820px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.1rem;
}

.szamok-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding-top: 20px;
}
.szam-box {
    padding: 34px 24px;
    background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: center;
}
.szam-ertek { display: block; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 550; line-height: 1; letter-spacing: -0.06em; }
.szam-felirat { display: block; margin-top: 14px; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; }

.grid-cim {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 70px 0 26px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.9rem;
}
.grid-cim::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.box {
    min-height: 280px;
    padding: 36px;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.box.beuszott { opacity: 1; transform: translateY(0); }
.box:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-8px); }
.box i { font-size: 2rem; margin-bottom: 28px; color: var(--text); }
.box h3 { font-size: 1.25rem; margin-bottom: 14px; }
.box p { color: var(--muted); font-size: 0.96rem; }

.cta-section {
    margin: 70px 0 0;
    padding: 0 20px;
}
.cta-inner {
    padding: 90px 24px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(255,255,255,0.12), transparent 42%), linear-gradient(180deg, var(--surface-2), #050505);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 10px);
}
.cta-inner .btn { margin-top: 36px; }

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,0.86);
    backdrop-filter: blur(8px);
}
.modal-content {
    position: relative;
    width: min(520px, 100%);
    max-height: calc(100svh - 40px);
    overflow: auto;
    padding: 44px;
    background: var(--surface-2);
    border: 1px solid var(--line-strong);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
    text-align: center;
}
.close-modal {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
}
.modal h2 { margin-bottom: 22px; font-size: 1.8rem; }
.modal input, .modal textarea {
    width: 100%;
    margin: 9px 0;
    padding: 14px 16px;
    color: var(--text);
    background: #1a1a1a;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    font: inherit;
    outline: none;
}
.modal input:focus, .modal textarea:focus { border-color: var(--text); }
.g-recaptcha { margin: 16px 0; display: flex; justify-content: center; }
.submit-btn { width: 100%; margin-top: 8px; }
.form-status { min-height: 24px; margin: 8px 0; color: #ddd; font-size: 0.92rem; }
.thanks-message { display: none; padding: 24px 0; }
.thanks-message i { font-size: 4rem; margin-bottom: 20px; animation: scaleUp 0.4s ease-out; }
.thanks-message p { color: var(--muted); }

footer { background: #050505; border-top: 1px solid var(--line); padding: 70px 0 24px; margin-top: 110px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.footer-logo { width: 150px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-col h4 { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.85rem; margin-bottom: 18px; }
.footer-col p, .footer-col ul { color: var(--muted); font-size: 0.92rem; list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); text-decoration: none; transition: color 0.25s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { width: min(1200px, calc(100% - 40px)); margin: 50px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; color: var(--soft); font-size: 0.85rem; }
.footer-bottom p { margin-top: 18px; }
.impresszum-btn { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); padding: 10px 22px; border-radius: 999px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.12em; transition: 0.25s ease; }
.impresszum-btn:hover { color: var(--text); border-color: var(--text); }
.impresszum-tartalom { max-height: 0; overflow: hidden; transition: max-height 0.5s ease; width: min(1200px, calc(100% - 40px)); margin: 24px auto 0; background: #090909; border-radius: var(--radius); }
.impresszum-belso { padding: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 0.88rem; text-align: left; }
.impresszum-belso h5 { color: var(--text); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.12em; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll-wheel { 0%, 100% { top: 7px; opacity: 1; } 50% { top: 20px; opacity: 0.35; } }
@keyframes scroll-arrow { 0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.35; } 50% { transform: translateY(6px) rotate(45deg); opacity: 1; } }
@keyframes scaleUp { from { transform: scale(0.75); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 980px) {
    .grid, .footer-grid, .impresszum-belso { grid-template-columns: 1fr; }
    .box { min-height: auto; }
}
@media (max-width: 768px) {
    #navbar { height: 74px; padding: 0 20px; }
    .logo-resz img { width: 135px; }
    .menu-toggle { display: flex; }
    .menu-resz {
        position: fixed;
        top: 74px;
        left: -100%;
        width: 100%;
        height: calc(100svh - 74px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 48px;
        background: rgba(0,0,0,0.96);
        transition: left 0.35s ease;
    }
    .menu-resz.active { left: 0; }
    .hero-section { padding-inline: 18px; }
    .hero-content h1 { letter-spacing: -0.055em; }
    .hero-actions { align-items: stretch; }
    .btn { width: 100%; max-width: 360px; }
    .container { width: min(100% - 32px, 1200px); padding: 74px 0; }
    .szamok-container { grid-template-columns: 1fr; gap: 14px; }
    .grid { grid-template-columns: 1fr; gap: 16px; }
    .box { padding: 28px; }
    .cta-inner { padding: 70px 22px; }
    .modal-content { padding: 38px 22px 28px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
}

/* GDPR adatkezeles modal, checkbox es modern cookie banner */
.nav-modal-btn,
.footer-link-btn,
.inline-link {
    font: inherit;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.nav-modal-btn {
    position: relative;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    opacity: 0.86;
}
.nav-modal-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 1px;
    background: var(--text);
    transition: width 0.25s ease;
}
.nav-modal-btn:hover::after { width: 100%; }

.gdpr-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0 4px;
    color: var(--muted);
    font-size: 0.86rem;
    text-align: left;
    line-height: 1.45;
}
.gdpr-check {
    position: relative;
    z-index: 2;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.gdpr-check input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    z-index: 3;
    width: 22px;
    min-width: 22px;
    height: 22px;
    margin: 1px 0 0;
    border: 2px solid var(--line-strong);
    border-radius: 5px;
    background: #111;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.gdpr-check input::after {
    content: "";
    width: 6px;
    height: 11px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform 0.16s ease;
}
.gdpr-check input:checked {
    background: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}
.gdpr-check input:checked::after {
    transform: rotate(45deg) scale(1);
}
.gdpr-check input:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.gdpr-check span {
    position: relative;
    z-index: 2;
    flex: 1;
}
.inline-link {
    display: inline;
    padding: 0;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.inline-link:hover { color: #d8d8d8; }

.privacy-modal { z-index: 2100; }
.privacy-content {
    width: min(860px, 100%);
    text-align: left;
}
.privacy-content .section-kicker,
.privacy-content h2 { text-align: center; }
.privacy-text {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.95rem;
}
.privacy-lead {
    color: rgba(255,255,255,0.82);
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,0.035);
}
.privacy-text h3 {
    margin: 26px 0 10px;
    color: var(--text);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.privacy-text p { margin: 0 0 12px; }
.privacy-text strong { color: var(--text); }

.footer-link-btn {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.25s ease;
    text-align: left;
}
.footer-link-btn:hover { color: var(--text); }

.cookie-banner {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 2500;
    width: min(980px, calc(100% - 32px));
    max-width: calc(100% - 32px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    background: rgba(11,11,11,0.94);
    border: 1px solid var(--line-strong);
    border-radius: calc(var(--radius) + 6px);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 18px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
}
.cookie-banner.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}
.cookie-copy {
    min-width: 0;
}
.cookie-copy strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}
.cookie-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}
.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    min-height: 44px;
    padding: 0 20px;
    font-size: 0.72rem;
}

@keyframes cookieSlideUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .nav-modal-btn { font-size: 0.78rem; }
    .privacy-content { padding-inline: 22px; }
    .cookie-banner {
        align-items: stretch;
        flex-direction: column;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        padding: 14px;
        gap: 14px;
    }
    .cookie-actions { flex-direction: column; }
    .cookie-btn { width: 100%; max-width: none; }
}
.logo-resz {
    width: auto;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.logo-resz .site-logo {
    display: block;
    width: auto;
    height: clamp(25px, 2.2vw, 31px);
    max-width: min(240px, 46vw);
    filter: none;
}
.logo-resz .site-logo-hero {
    position: fixed;
    left: 50%;
    right: auto;
	 align-items: center;
	 mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.logo-resz .site-logo-compact {
    display: none;
}

.footer-logo {
    width: min(220px, 70vw);
    height: auto;
    filter: none;
    margin-bottom: 20px;
}

@media (max-width: 520px) {
    .logo-resz .site-logo-full {
        display: none;
    }

    .logo-resz .site-logo-compact {
        display: block;
        height: 31px;
        max-width: 104px;
    }
}
