:root {
    --bg: #020712;
    --bg-soft: #06101f;
    --panel: rgba(7, 22, 42, 0.72);

    --blue: #28a9ff;
    --cyan: #72ddff;
    --blue-soft: rgba(40, 169, 255, 0.15);

    --text: #f1f8ff;
    --muted: #91a8bb;
    --line: rgba(86, 184, 255, 0.20);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
}


/* =========================
   FEJLÉC
   ========================= */

.site-header {
    min-height: 78px;
    padding: 0 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(2, 7, 18, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    text-decoration: none;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid var(--blue);
    border-radius: 50%;

    color: var(--cyan);

    box-shadow:
        0 0 18px rgba(40, 169, 255, 0.25),
        inset 0 0 12px rgba(40, 169, 255, 0.12);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text strong {
    color: var(--cyan);
    font-size: 1.25rem;
    letter-spacing: 0.18em;
}

.brand-text small {
    margin-top: 5px;

    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.20em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;

    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--cyan);
}

.main-nav .nav-cta {
    padding: 9px 15px;

    border: 1px solid var(--blue);
    border-radius: 6px;

    color: var(--cyan);
}


/* =========================
   HERO / ORION
   ========================= */

.hero {
    min-height: calc(100vh - 78px);

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    padding: 90px 7%;

    background:
        radial-gradient(
            circle at 72% 44%,
            rgba(19, 111, 185, 0.22),
            transparent 25%
        ),
        radial-gradient(
            circle at 70% 50%,
            rgba(21, 72, 128, 0.16),
            transparent 43%
        ),
        linear-gradient(
            120deg,
            #020712 0%,
            #04101f 55%,
            #020712 100%
        );
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(circle, rgba(255,255,255,.75) 1px, transparent 1.5px),
        radial-gradient(circle, rgba(91,190,255,.65) 1px, transparent 1.5px);

    background-size:
        170px 170px,
        230px 230px;

    background-position:
        10px 30px,
        80px 100px;

    opacity: 0.28;

    pointer-events: none;
}

.hero::after {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    right: -120px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(80, 184, 255, 0.12);
    border-radius: 50%;

    box-shadow:
        0 0 100px rgba(30, 141, 230, 0.10),
        inset 0 0 100px rgba(30, 141, 230, 0.05);

    pointer-events: none;
}

.hero-content {
    width: min(720px, 100%);

    position: relative;
    z-index: 10;
}

.overline,
.section-kicker {
    margin-bottom: 20px;

    color: var(--cyan);

    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.28em;
}

.hero h1 {
    font-size: clamp(3.2rem, 7vw, 6.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero h1 span {
    display: block;

    color: var(--cyan);

    text-shadow: 0 0 30px rgba(40, 169, 255, 0.22);
}

.lead {
    max-width: 650px;
    margin-top: 30px;

    color: var(--muted);

    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-actions {
    margin-top: 38px;

    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    padding: 13px 22px;

    border-radius: 6px;
    border: 1px solid var(--blue);

    text-decoration: none;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: var(--blue);
    color: #00101d;

    box-shadow: 0 0 25px rgba(40, 169, 255, 0.20);
}

.button.primary:hover {
    background: var(--cyan);

    box-shadow: 0 0 35px rgba(40, 169, 255, 0.35);
}

.button.secondary {
    color: var(--cyan);

    background: rgba(5, 19, 35, 0.45);
}


/* =========================
   ORION CSILLAGKÉP
   ========================= */

.constellation {
    width: 420px;
    height: 500px;

    position: absolute;

    right: 9%;
    top: 50%;

    transform: translateY(-50%);

    z-index: 5;

    opacity: 0.80;
}

.star {
    width: 9px;
    height: 9px;

    position: absolute;

    background: #e8fbff;
    border-radius: 50%;

    box-shadow:
        0 0 6px #ffffff,
        0 0 14px var(--cyan),
        0 0 30px var(--blue);
}

.s1 { left: 48%; top: 5%; }
.s2 { left: 18%; top: 23%; }
.s3 { left: 70%; top: 26%; }

.s4 { left: 35%; top: 47%; }
.s5 { left: 48%; top: 50%; }
.s6 { left: 61%; top: 53%; }

.s7 { left: 76%; top: 82%; }


.line {
    position: absolute;

    height: 1px;

    transform-origin: left center;

    background: linear-gradient(
        90deg,
        rgba(114,221,255,.12),
        rgba(114,221,255,.65),
        rgba(114,221,255,.12)
    );

    box-shadow: 0 0 8px rgba(40,169,255,.35);
}

.l1 {
    width: 150px;
    left: 49%;
    top: 7%;
    transform: rotate(137deg);
}

.l2 {
    width: 225px;
    left: 19%;
    top: 24%;
    transform: rotate(7deg);
}

.l3 {
    width: 145px;
    left: 36%;
    top: 48%;
    transform: rotate(7deg);
}

.l4 {
    width: 120px;
    left: 49%;
    top: 51%;
    transform: rotate(7deg);
}

.l5 {
    width: 170px;
    left: 19%;
    top: 24%;
    transform: rotate(61deg);
}

.l6 {
    width: 170px;
    left: 62%;
    top: 54%;
    transform: rotate(55deg);
}


/* =========================
   ALAPELV
   ========================= */

.principle,
.choice {
    width: min(1200px, 88%);

    margin: auto;

    padding: 110px 0;
}

.principle h2,
.choice h2 {
    max-width: 900px;

    margin-bottom: 55px;

    font-size: clamp(2rem, 4.5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.principle h2 span,
.choice h2 span {
    color: var(--cyan);
}

.principle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.principle-grid article {
    min-height: 275px;

    padding: 25px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(40,169,255,.08),
            transparent 45%
        ),
        var(--panel);

    border: 1px solid var(--line);
    border-radius: 10px;
}

.principle-grid article > span {
    margin-bottom: auto;

    color: var(--blue);

    font-family: monospace;
    font-size: 0.8rem;
}

.principle-grid h3 {
    margin-bottom: 12px;

    font-size: 1.25rem;
}

.principle-grid p {
    color: var(--muted);

    font-size: 0.94rem;
}


/* =========================
   KÉT IRÁNY
   ========================= */

.choice {
    border-top: 1px solid var(--line);
}

.choice-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;
}

.choice-card {
    min-height: 220px;

    padding: 28px;

    display: flex;
    flex-direction: column;

    text-decoration: none;

    background: var(--panel);

    border: 1px solid var(--line);
    border-radius: 10px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.choice-card:hover {
    transform: translateY(-4px);

    border-color: var(--blue);
}

.choice-card.highlighted {
    background:
        linear-gradient(
            145deg,
            rgba(40,169,255,.16),
            rgba(4,16,31,.8)
        );
}

.choice-card small {
    color: var(--cyan);

    letter-spacing: 0.18em;
}

.choice-card strong {
    margin-top: auto;

    font-size: clamp(1.4rem, 3vw, 2rem);
}

.choice-card span {
    margin-top: 12px;

    color: var(--cyan);
}


/* =========================
   LÁBLÉC
   ========================= */

.site-footer {
    width: min(1200px, 88%);

    margin: auto;

    padding: 40px 0;

    display: grid;
    grid-template-columns: 1fr auto auto;

    align-items: center;
    gap: 35px;

    border-top: 1px solid var(--line);

    color: var(--muted);
}

.site-footer strong {
    color: var(--text);

    letter-spacing: 0.08em;
}

.site-footer p {
    margin-top: 5px;

    font-size: 0.8rem;
}

.site-footer nav {
    display: flex;
    gap: 18px;
}

.site-footer a {
    color: var(--muted);

    text-decoration: none;
}

.site-footer a:hover {
    color: var(--cyan);
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 14px;
    }

    .main-nav a {
        font-size: 0.8rem;
    }

    .constellation {
        right: -80px;

        opacity: 0.30;
    }

    .principle-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================
   TELEFON
   ========================= */

@media (max-width: 700px) {

    .site-header {
        min-height: 68px;
    }

    .brand-text small {
        display: none;
    }

    .main-nav a {
        display: none;
    }

    .main-nav .nav-cta {
        display: block;
    }

    .hero {
        min-height: calc(100vh - 68px);

        padding: 70px 6%;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 5rem);
    }

    .constellation {
        width: 360px;
        height: 430px;

        right: -170px;

        opacity: 0.24;
    }

    .principle,
    .choice {
        padding: 75px 0;
    }

    .principle-grid,
    .choice-actions {
        grid-template-columns: 1fr;
    }

    .principle-grid article {
        min-height: 220px;
    }

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


/* =========================
   BELSŐ OLDALAK
   ========================= */

.page-hero {
    min-height: 68vh;
    padding: 110px 7% 90px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        radial-gradient(circle at 80% 30%,
            rgba(40,169,255,.14),
            transparent 28%),
        linear-gradient(120deg, #020712, #061323);
}

.page-hero h1 {
    max-width: 1050px;

    font-size: clamp(2.7rem, 6vw, 5.8rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.page-hero h1 span,
.content-section h2 span,
.idea-banner h2 span {
    display: block;
    color: var(--cyan);
}

.content-section,
.idea-banner {
    width: min(1200px, 88%);
    margin: auto;
    padding: 100px 0;
}

.content-section {
    border-bottom: 1px solid var(--line);
}

.content-section h2,
.idea-banner h2 {
    max-width: 900px;
    margin-bottom: 45px;

    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
}

.text-columns p,
.wide-text {
    color: var(--muted);
    font-size: 1.08rem;
}

.wide-text {
    max-width: 800px;
}

.idea-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.idea-banner h2 {
    margin-bottom: 0;
}


@media (max-width: 700px) {

    .page-hero {
        min-height: 60vh;
        padding: 75px 6%;
    }

    .text-columns {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .content-section,
    .idea-banner {
        padding: 70px 0;
    }

    .idea-banner {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================
   PROJECT BROWSER
   ========================= */

.project-browser {
    width: min(1200px, 88%);
    margin: auto;
    padding: 100px 0;
}

.project-browser-head {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 70px;
    align-items: end;

    margin-bottom: 55px;
}

.project-browser-head h2 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.project-browser-head h2 span {
    display: block;
    color: var(--cyan);
}

.project-browser-head > p {
    color: var(--muted);
}


/* SZŰRŐK */

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 70px;
}

.filter-button {
    padding: 10px 16px;

    border: 1px solid var(--line);
    border-radius: 999px;

    background: rgba(6, 18, 34, 0.65);
    color: var(--muted);

    font: inherit;
    font-size: 0.85rem;

    cursor: pointer;

    transition: 0.2s ease;
}

.filter-button:hover,
.filter-button.active {
    color: #00101d;
    background: var(--cyan);
    border-color: var(--cyan);
}


/* PROJEKTCSOPORT */

.project-group-title {
    margin: 55px 0 20px;

    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}


/* KÁRTYÁK */

.project-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.orion-project-card {
    min-height: 350px;

    padding: 25px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            145deg,
            rgba(40,169,255,.07),
            transparent 45%
        ),
        var(--panel);

    border: 1px solid var(--line);
    border-radius: 11px;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.orion-project-card:hover {
    transform: translateY(-4px);

    border-color: rgba(114,221,255,.55);

    box-shadow:
        0 18px 45px rgba(0,0,0,.25),
        0 0 25px rgba(40,169,255,.06);
}

.orion-project-card.featured {
    min-height: 410px;

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(40,169,255,.15),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            rgba(40,169,255,.10),
            rgba(5,17,32,.82)
        );
}

.project-card-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.project-state,
.project-platform {
    padding: 5px 8px;

    border: 1px solid var(--line);
    border-radius: 4px;

    font-size: .63rem;
    font-weight: 800;
    letter-spacing: .10em;
}

.project-state.available {
    color: #8dffc0;
    border-color: rgba(141,255,192,.35);
}

.project-state.soon {
    color: var(--cyan);
    border-color: rgba(114,221,255,.40);
}

.project-state.development {
    color: #a7cfff;
}

.project-state.experimental {
    color: #d5b7ff;
    border-color: rgba(213,183,255,.35);
}

.project-platform {
    color: var(--muted);
}

.project-card-body {
    margin: auto 0;
    padding: 45px 0 35px;
}

.project-code {
    margin-bottom: 12px;

    color: var(--blue);

    font-family: monospace;
    font-size: .72rem;
}

.project-card-body h3 {
    margin-bottom: 16px;

    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1;
    letter-spacing: -.035em;
}

.project-card-body > p:last-child {
    max-width: 520px;

    color: var(--muted);
}

.project-card-footer {
    padding-top: 18px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid var(--line);
}

.project-card-footer > span {
    color: var(--muted);
    font-size: .78rem;
}

.project-card-footer a {
    color: var(--cyan);

    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
}

.project-card-footer a:hover {
    text-decoration: underline;
}


/* MEGRENDELŐI ADATVÉDELEM */

.privacy-projects {
    width: min(1200px, 88%);
    margin: 20px auto 110px;

    padding: clamp(30px, 5vw, 55px);

    display: grid;
    grid-template-columns: auto 1fr;
    gap: 35px;

    background:
        linear-gradient(
            135deg,
            rgba(40,169,255,.10),
            rgba(4,15,29,.72)
        );

    border: 1px solid var(--line);
    border-radius: 12px;
}

.privacy-symbol {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    color: var(--cyan);

    border: 1px solid var(--blue);
    border-radius: 50%;

    font-size: 1.5rem;

    box-shadow: 0 0 25px rgba(40,169,255,.12);
}

.privacy-projects h2 {
    margin-bottom: 22px;

    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.privacy-projects h2 span {
    display: block;
    color: var(--cyan);
}

.privacy-projects p:not(.section-kicker) {
    max-width: 800px;
    margin-top: 12px;

    color: var(--muted);
}


/* SZŰRÉS */

.orion-project-card.project-hidden {
    display: none;
}


@media (max-width: 800px) {

    .project-browser-head {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-card-grid {
        grid-template-columns: 1fr;
    }

    .orion-project-card,
    .orion-project-card.featured {
        min-height: 320px;
    }

    .privacy-projects {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   ORION RESPONSIVE DENSITY v1
   Telefon / tablet / desktop tudatos helykihasználás
   ========================================================== */


/* ---------- ÁLTALÁNOS: kisebb, sűrűbb belső oldalak ---------- */

.page-hero {
    min-height: auto;
    padding-top: 125px;
    padding-bottom: 65px;
}

.page-hero h1 {
    max-width: 900px;

    font-size: clamp(2.35rem, 4.5vw, 4.6rem);
    line-height: 1.02;
}

.page-hero .lead {
    max-width: 760px;
    margin-top: 24px;
}

.content-section,
.idea-banner {
    padding-top: 70px;
    padding-bottom: 70px;
}

.content-section h2,
.idea-banner h2 {
    margin-bottom: 30px;

    font-size: clamp(1.9rem, 3.2vw, 3.1rem);
}


/* ---------- PROJEKTOLDAL SŰRÍTÉSE ---------- */

.project-browser {
    padding-top: 65px;
    padding-bottom: 75px;
}

.project-browser-head {
    gap: 45px;
    margin-bottom: 38px;
}

.project-browser-head h2 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.project-filters {
    margin-bottom: 45px;
}

.project-group-title {
    margin-top: 38px;
}

.project-card-grid {
    gap: 14px;
}

.orion-project-card,
.orion-project-card.featured {
    min-height: 0;
    padding: 22px;
}

.project-card-body {
    margin: 0;
    padding: 30px 0 28px;
}

.project-card-body h3 {
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.project-card-body > p:last-child {
    font-size: .95rem;
}

.privacy-projects {
    margin-top: 0;
    margin-bottom: 75px;
}


/* ==========================================================
   TABLET — fekvő és nagyobb álló tablet
   ========================================================== */

@media (min-width: 768px) and (max-width: 1200px) {

    .site-header {
        padding-left: 4%;
        padding-right: 4%;
    }

    .main-nav {
        gap: 15px;
    }

    .main-nav a {
        font-size: .82rem;
    }

    .page-hero {
        padding:
            105px
            5%
            48px;
    }

    .page-hero h1 {
        max-width: 780px;

        font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    }

    .page-hero .lead {
        max-width: 700px;

        font-size: 1rem;
    }

    .project-browser {
        width: 92%;
        padding-top: 50px;
    }

    .project-browser-head {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .project-browser-head h2 {
        font-size: 2.4rem;
    }

    .project-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .orion-project-card,
    .orion-project-card.featured {
        min-height: 0;
    }

    .project-card-body {
        padding: 25px 0;
    }

    .project-card-body h3 {
        font-size: 1.75rem;
    }

    .privacy-projects {
        width: 92%;
    }

}


/* ==========================================================
   TELEFON / KESKENY ÁLLÓ TABLET
   ========================================================== */

@media (max-width: 767px) {

    .page-hero {
        min-height: auto;

        padding:
            82px
            6%
            42px;
    }

    .page-hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .page-hero .lead {
        margin-top: 20px;

        font-size: .98rem;
    }

    .project-browser {
        width: 90%;

        padding-top: 45px;
        padding-bottom: 55px;
    }

    .project-browser-head {
        grid-template-columns: 1fr;

        gap: 20px;
        margin-bottom: 30px;
    }

    .project-browser-head h2 {
        font-size: 2rem;
    }

    .project-filters {
        gap: 7px;
        margin-bottom: 35px;
    }

    .filter-button {
        padding: 8px 12px;

        font-size: .76rem;
    }

    .project-group-title {
        margin-top: 30px;
    }

    .project-card-grid {
        grid-template-columns: 1fr;
    }

    .orion-project-card,
    .orion-project-card.featured {
        min-height: 0;

        padding: 18px;
    }

    .project-card-body {
        padding: 22px 0;
    }

    .project-card-body h3 {
        font-size: 1.65rem;
    }

    .project-card-footer {
        padding-top: 14px;
    }

    .privacy-projects {
        width: 90%;

        margin-bottom: 55px;
        padding: 24px;
    }

}


/* ==========================================================
   TELEFON FEKVŐ
   ========================================================== */

@media (max-height: 520px) and (orientation: landscape) {

    .page-hero {
        padding-top: 75px;
        padding-bottom: 30px;
    }

    .page-hero h1 {
        max-width: 720px;

        font-size: 2.2rem;
    }

    .page-hero .lead {
        max-width: 720px;
        margin-top: 15px;

        font-size: .9rem;
    }

}


/* =========================================================
   AJÁNLATKÉRÉS NAV
   ========================================================= */

.site-nav .nav-offer {
    position: relative;

    margin-left: 8px;
    padding: 8px 13px;

    color: #bcecff;

    border: 1px solid rgba(73,190,255,.24);
    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            rgba(40,169,255,.10),
            rgba(65,218,255,.035)
        );

    transition:
        border-color .2s ease,
        background .2s ease,
        color .2s ease;
}


.site-nav .nav-offer:hover {
    color: #ffffff;

    border-color: rgba(91,211,255,.48);

    background:
        linear-gradient(
            135deg,
            rgba(40,169,255,.18),
            rgba(65,218,255,.07)
        );
}


@media (max-width: 760px) {

    .site-nav .nav-offer {
        margin-left: 0;
    }

}
