/* ============================================================
   ABÁD.HU – TUDÁSTÁR
   /komponensek/tudastar/css/tudastar.css
   ============================================================ */


/* ============================================================
   ALAP
   ============================================================ */

.abad-tudastar {
    position: relative;
    overflow: hidden;
    color: #f4f7fb;
    background:
        radial-gradient(
            circle at 78% 8%,
            rgba(12, 29, 120, .30),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #03102c 0%,
            #061a38 48%,
            #04152f 100%
        );
    isolation: isolate;
}

.abad-tudastar *,
.abad-tudastar *::before,
.abad-tudastar *::after {
    box-sizing: border-box;
}

.abad-tudastar__container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}


/* ============================================================
   KÖZÖS TIPOGRÁFIA
   ============================================================ */

.abad-tudastar__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;

    color: #d6ad45;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.abad-tudastar__eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: rgba(214, 173, 69, .72);
}

.abad-tudastar h1,
.abad-tudastar h2,
.abad-tudastar h3 {
    margin-top: 0;
}

.abad-tudastar h1 strong,
.abad-tudastar h2 strong,
.abad-tudastar h3 strong {
    color: #d6ad45;
    font-weight: 700;
}

.abad-tudastar p {
    color: rgba(232, 239, 248, .76);
}


/* ============================================================
   HERO
   ============================================================ */

.abad-tudastar__hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 110px 0 90px;

    background:
        radial-gradient(
            circle at 72% 45%,
            rgba(12, 29, 120, .34),
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #03102c 0%,
            #061d40 54%,
            #03102c 100%
        );
}

.abad-tudastar__hero::before,
.abad-tudastar__hero::after {
    content: "";
    position: absolute;
    left: -10%;
    width: 120%;
    height: 190px;
    border-radius: 50%;
    pointer-events: none;
}

.abad-tudastar__hero::before {
    bottom: -130px;
    border-top: 1px solid rgba(88, 216, 255, .14);
    background: rgba(12, 29, 120, .07);
    transform: rotate(-2deg);
    animation: tudastarHeroWave 15s ease-in-out infinite alternate;
}

.abad-tudastar__hero::after {
    bottom: -150px;
    border-top: 1px solid rgba(214, 173, 69, .11);
    animation: tudastarHeroWave 20s ease-in-out infinite alternate-reverse;
}

@keyframes tudastarHeroWave {
    0% {
        transform: translateX(-2%) rotate(-2deg);
    }

    100% {
        transform: translateX(2%) rotate(1deg);
    }
}


/* Hero glow */

.abad-tudastar__hero-glow {
    position: absolute;
    top: 50%;
    right: 12%;
    width: 300px;
    height: 300px;

    border-radius: 50%;
    background: rgba(12, 29, 120, .28);
    filter: blur(85px);

    pointer-events: none;
    transform: translateY(-50%);
}

.abad-tudastar__hero-glow::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -40px;
    bottom: -20px;

    border-radius: 50%;
    background: rgba(214, 173, 69, .07);
    filter: blur(55px);
}


/* Hero grid */

.abad-tudastar__hero-grid {
    position: absolute;
    inset: 0;

    opacity: .28;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, .035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .035) 1px,
            transparent 1px
        );

    background-size: 72px 72px;

    mask-image: linear-gradient(
        to right,
        transparent,
        #000 30%,
        #000 70%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        #000 30%,
        #000 70%,
        transparent
    );
}


/* Hero layout */

.abad-tudastar__hero .abad-tudastar__container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    align-items: center;
    gap: 70px;
}


/* Hero content */

.abad-tudastar__hero-content {
    max-width: 650px;
}

.abad-tudastar__hero-content h1 {
    margin-bottom: 24px;

    color: #ffffff;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    font-weight: 300;
    letter-spacing: -.045em;
    line-height: 1.03;
}

.abad-tudastar__hero-content h1 strong {
    display: block;
}

.abad-tudastar__hero-lead {
    max-width: 600px;
    margin-bottom: 0;

    font-size: 1.08rem;
    line-height: 1.8;
}


/* ============================================================
   HERO – ORBIT
   ============================================================ */

.abad-tudastar__hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.abad-tudastar__hero-orbit {
    position: relative;

    width: min(390px, 100%);
    aspect-ratio: 1 / 1;

    border: 1px solid rgba(88, 216, 255, .13);
    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(12, 29, 120, .28) 0%,
            rgba(12, 29, 120, .08) 43%,
            transparent 70%
        );

    box-shadow:
        0 0 80px rgba(12, 29, 120, .16),
        inset 0 0 60px rgba(88, 216, 255, .035);
}

.abad-tudastar__hero-orbit::before,
.abad-tudastar__hero-orbit::after {
    content: "";
    position: absolute;
    inset: 11%;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
}

.abad-tudastar__hero-orbit::after {
    inset: 25%;
    border-color: rgba(214, 173, 69, .10);
}


/* Center */

.abad-tudastar__hero-center {
    position: absolute;
    top: 50%;
    left: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 150px;

    border: 1px solid rgba(214, 173, 69, .35);
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255, 255, 255, .08),
            transparent 48%
        ),
        rgba(3, 16, 44, .88);

    box-shadow:
        0 0 30px rgba(12, 29, 120, .28),
        0 0 0 8px rgba(12, 29, 120, .06);

    transform: translate(-50%, -50%);
}

.abad-tudastar__hero-center-label {
    margin-bottom: 5px;

    color: rgba(255, 255, 255, .56);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.abad-tudastar__hero-center strong {
    color: #ffffff;
    font-size: 1.15rem;
    letter-spacing: .12em;
}


/* Orbit nodes */

.abad-tudastar__hero-node {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 108px;
    min-height: 42px;
    padding: 8px 16px;

    border: 1px solid rgba(88, 216, 255, .20);
    border-radius: 999px;

    color: rgba(244, 247, 251, .88);
    background: rgba(3, 16, 44, .82);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, .18),
        0 0 20px rgba(12, 29, 120, .10);

    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.abad-tudastar__hero-node::before {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #58d8ff;
    box-shadow: 0 0 12px rgba(88, 216, 255, .7);
}

.abad-tudastar__hero-node--top {
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
}

.abad-tudastar__hero-node--top::before {
    bottom: -18px;
    left: 50%;
}

.abad-tudastar__hero-node--right {
    right: -4%;
    top: 50%;
    transform: translateY(-50%);
}

.abad-tudastar__hero-node--right::before {
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
}

.abad-tudastar__hero-node--bottom {
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
}

.abad-tudastar__hero-node--bottom::before {
    top: -18px;
    left: 50%;
}


/* Scroll indicator */

.abad-tudastar__hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    color: rgba(255, 255, 255, .45);

    font-size: .65rem;
    letter-spacing: .16em;
    text-transform: uppercase;

    transform: translateX(-50%);
}

.abad-tudastar__hero-scroll i {
    color: #d6ad45;
    font-size: .85rem;
}


/* ============================================================
   FŐ TERÜLETEK
   ============================================================ */

.abad-tudastar__areas {
    position: relative;
    padding: 105px 0 110px;
}

.abad-tudastar__areas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;

    width: 1px;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(88, 216, 255, .08) 25%,
            rgba(88, 216, 255, .03) 75%,
            transparent
        );

    pointer-events: none;
}


/* Section heading */

.abad-tudastar__section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.abad-tudastar__section-heading h2 {
    margin-bottom: 17px;

    color: #ffffff;
    font-size: clamp(2rem, 3.5vw, 3.15rem);
    font-weight: 300;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.abad-tudastar__section-heading p {
    max-width: 680px;
    margin-bottom: 0;

    font-size: 1rem;
    line-height: 1.75;
}


/* ============================================================
   TERÜLET KÁRTYÁK
   ============================================================ */

.abad-tudastar__area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.abad-tudastar__area-card {
    position: relative;
    min-height: 365px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    padding: 30px;

    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .045),
            rgba(255, 255, 255, .015)
        );

    box-shadow:
        0 18px 45px rgba(0, 0, 0, .18);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease,
        background .35s ease;
}

.abad-tudastar__area-card:hover {
    transform: translateY(-6px);

    border-color: rgba(214, 173, 69, .32);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .06),
            rgba(255, 255, 255, .018)
        );

    box-shadow:
        0 24px 55px rgba(0, 0, 0, .24),
        0 0 25px rgba(214, 173, 69, .06);
}

.abad-tudastar__area-card--large {
    grid-column: 1 / -1;
    min-height: 390px;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(12, 29, 120, .32),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .055),
            rgba(255, 255, 255, .015)
        );
}


/* Card top */

.abad-tudastar__area-card-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.abad-tudastar__area-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border: 1px solid rgba(88, 216, 255, .18);
    border-radius: 14px;

    color: #58d8ff;
    background: rgba(88, 216, 255, .045);

    font-size: 1.25rem;
}

.abad-tudastar__area-number {
    color: rgba(255, 255, 255, .20);

    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -.04em;
}


/* Card content */

.abad-tudastar__area-card-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    flex: 1;

    max-width: 650px;
    margin-top: 55px;
}

.abad-tudastar__area-label {
    margin-bottom: 10px;

    color: rgba(214, 173, 69, .82);

    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.abad-tudastar__area-card h3 {
    margin-bottom: 14px;

    color: #ffffff;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.15;
}

.abad-tudastar__area-card p {
    max-width: 600px;
    margin-bottom: 25px;

    font-size: .95rem;
    line-height: 1.75;
}


/* Card link */

.abad-tudastar__area-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;

    margin-top: auto;

    color: #ffffff;

    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;

    transition:
        color .25s ease,
        gap .25s ease;
}

.abad-tudastar__area-link i {
    color: #d6ad45;
    transition: transform .25s ease;
}

.abad-tudastar__area-link:hover {
    color: #ffffff;
    gap: 14px;
    text-decoration: none;
}

.abad-tudastar__area-link:hover i {
    transform: translateX(3px);
}


/* Decorative element */

.abad-tudastar__area-card-decoration {
    position: absolute;
    right: -90px;
    bottom: -110px;

    width: 290px;
    height: 290px;

    border: 1px solid rgba(88, 216, 255, .08);
    border-radius: 50%;

    box-shadow:
        0 0 0 35px rgba(88, 216, 255, .018),
        0 0 0 70px rgba(88, 216, 255, .012);

    pointer-events: none;
}

.abad-tudastar__area-card-decoration::after {
    content: "";
    position: absolute;
    inset: 65px;

    border: 1px solid rgba(214, 173, 69, .08);
    border-radius: 50%;
}


/* ============================================================
   ÚTMUTATÓ
   ============================================================ */

.abad-tudastar__guide {
    position: relative;
    padding: 10px 0 110px;
}

.abad-tudastar__guide-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
    align-items: center;
    gap: 60px;

    padding: 55px;

    border: 1px solid rgba(88, 216, 255, .10);
    border-radius: 22px;

    background:
        radial-gradient(
            circle at 12% 50%,
            rgba(12, 29, 120, .20),
            transparent 40%
        ),
        rgba(255, 255, 255, .025);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .15);
}

.abad-tudastar__guide-content h2 {
    margin-bottom: 18px;

    color: #ffffff;
    font-size: clamp(1.9rem, 3.2vw, 2.8rem);
    font-weight: 300;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.abad-tudastar__guide-content p {
    max-width: 620px;
    margin-bottom: 0;

    font-size: .96rem;
    line-height: 1.8;
}


/* Guide steps */

.abad-tudastar__guide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.abad-tudastar__guide-step {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-height: 150px;
    padding: 20px;

    border-left: 1px solid rgba(214, 173, 69, .28);

    background: rgba(255, 255, 255, .018);
}

.abad-tudastar__guide-step-number {
    margin-bottom: 28px;

    color: rgba(214, 173, 69, .70);

    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .15em;
}

.abad-tudastar__guide-step strong {
    margin-bottom: 6px;

    color: #ffffff;

    font-size: 1.05rem;
    font-weight: 600;
}

.abad-tudastar__guide-step > span:last-child {
    color: rgba(232, 239, 248, .55);

    font-size: .76rem;
    line-height: 1.5;
}


/* ============================================================
   ZÁRÓ RÉSZ
   ============================================================ */

.abad-tudastar__closing {
    position: relative;
    overflow: hidden;

    padding: 100px 0 120px;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(12, 29, 120, .25),
            transparent 55%
        );
}

.abad-tudastar__closing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;

    width: min(900px, 90%);
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(214, 173, 69, .28),
            transparent
        );

    transform: translateX(-50%);
}

.abad-tudastar__closing-content {
    max-width: 760px;
    margin-inline: auto;
}

.abad-tudastar__closing h2 {
    margin-bottom: 20px;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 300;
    letter-spacing: -.04em;
    line-height: 1.1;
}

.abad-tudastar__closing p {
    max-width: 620px;
    margin: 0 auto;

    font-size: 1rem;
    line-height: 1.8;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991.98px) {

    .abad-tudastar__hero {
        min-height: auto;
        padding: 100px 0 90px;
    }

    .abad-tudastar__hero .abad-tudastar__container {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .abad-tudastar__hero-content {
        max-width: 720px;
        margin-inline: auto;
        text-align: center;
    }

    .abad-tudastar__hero-content .abad-tudastar__eyebrow {
        justify-content: center;
    }

    .abad-tudastar__hero-lead {
        margin-inline: auto;
    }

    .abad-tudastar__hero-visual {
        max-width: 390px;
        margin-inline: auto;
    }

    .abad-tudastar__guide-box {
        grid-template-columns: 1fr;
    }

}


/* ============================================================
   MOBIL
   ============================================================ */

@media (max-width: 767.98px) {

    .abad-tudastar__container {
        width: min(100% - 28px, 600px);
    }


    /* Hero */

    .abad-tudastar__hero {
        padding: 80px 0 75px;
    }

    .abad-tudastar__hero-content h1 {
        font-size: clamp(2.25rem, 11vw, 3.2rem);
    }

    .abad-tudastar__hero-lead {
        font-size: .94rem;
        line-height: 1.7;
    }

    .abad-tudastar__hero-orbit {
        width: min(310px, 88vw);
    }

    .abad-tudastar__hero-center {
        width: 120px;
        height: 120px;
    }

    .abad-tudastar__hero-center strong {
        font-size: .92rem;
    }

    .abad-tudastar__hero-node {
        min-width: 88px;
        min-height: 38px;
        padding: 7px 11px;

        font-size: .58rem;
    }

    .abad-tudastar__hero-node--right {
        right: -7%;
    }


    /* Areas */

    .abad-tudastar__areas {
        padding: 75px 0 80px;
    }

    .abad-tudastar__section-heading {
        margin-bottom: 38px;
    }

    .abad-tudastar__section-heading h2 {
        font-size: 2rem;
    }

    .abad-tudastar__section-heading p {
        font-size: .92rem;
        line-height: 1.7;
    }

    .abad-tudastar__area-grid {
        grid-template-columns: 1fr;
    }

    .abad-tudastar__area-card,
    .abad-tudastar__area-card--large {
        grid-column: auto;
        min-height: 330px;
        padding: 24px;
    }

    .abad-tudastar__area-card-content {
        margin-top: 42px;
    }

    .abad-tudastar__area-card h3 {
        font-size: 1.7rem;
    }

    .abad-tudastar__area-card p {
        font-size: .9rem;
        line-height: 1.7;
    }


    /* Guide */

    .abad-tudastar__guide {
        padding: 0 0 80px;
    }

    .abad-tudastar__guide-box {
        gap: 40px;
        padding: 30px 24px;
        border-radius: 18px;
    }

    .abad-tudastar__guide-content h2 {
        font-size: 1.9rem;
    }

    .abad-tudastar__guide-content p {
        font-size: .9rem;
        line-height: 1.7;
    }

    .abad-tudastar__guide-steps {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .abad-tudastar__guide-step {
        min-height: auto;
    }


    /* Closing */

    .abad-tudastar__closing {
        padding: 75px 0 90px;
    }

    .abad-tudastar__closing h2 {
        font-size: 2rem;
    }

    .abad-tudastar__closing p {
        font-size: .9rem;
        line-height: 1.7;
    }

}


/* ============================================================
   EXTRA SMALL
   ============================================================ */

@media (max-width: 420px) {

    .abad-tudastar__hero-orbit {
        width: 275px;
    }

    .abad-tudastar__hero-node--right {
        right: -12%;
    }

    .abad-tudastar__hero-node {
        min-width: 82px;
        padding-inline: 9px;
    }

    .abad-tudastar__area-card,
    .abad-tudastar__area-card--large {
        padding: 22px;
    }

}


/* ============================================================
   MOZGÁSCSÖKKENTÉS
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .abad-tudastar__hero::before,
    .abad-tudastar__hero::after {
        animation: none;
    }

    .abad-tudastar__area-card,
    .abad-tudastar__area-link,
    .abad-tudastar__area-link i {
        transition: none;
    }

}