@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
    --blue: #53baff;
    --teal: #42e2c4;
    --text: #edf5ff;
    --muted: #c0cede;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #07111e;
    color: var(--text);
    font-family: 'Manrope', 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* TŁO */

.background {
    position: fixed;
    inset: 0;
    z-index: -2;

    background-image:
        linear-gradient(
            180deg,
            rgba(3, 9, 18, .25),
            rgba(3, 9, 18, .15) 45%,
            rgba(3, 9, 18, .65)
        ),
        url('assen-bg.png');

    background-size: cover;
    background-position: center;
    transform: scale(1.015);
}

.background::after {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        ellipse at center,
        transparent 15%,
        rgba(1, 7, 15, .38) 100%
    );
}

/* GÓRNY PANEL */

.topbar {
    height: 78px;
    position: relative;
    z-index: 5;

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

    padding: 0 clamp(22px, 4vw, 68px);

    background: rgba(3, 10, 20, .48);
    border-bottom: 1px solid rgba(181, 220, 255, .20);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

    font-size: 25px;
    letter-spacing: .08em;
    font-weight: 400;
}

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

    display: grid;
    place-items: center;

    color: #a9dfff;
    font-size: 37px;
    font-weight: 300;

    border-bottom: 2px solid rgba(83, 186, 255, .8);
    text-shadow: 0 0 18px rgba(83, 186, 255, .65);
}

.home-icon {
    display: inline-flex;
    padding: 9px;
    transition: .25s ease;
}

.home-icon:hover {
    color: var(--blue);
    transform: translateY(-2px);
}

.home-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.back-link {
    color: #d7e5f4;
    font-size: 13px;
    transition: color .2s ease;
}

.back-link:hover {
    color: var(--teal);
}

/* STRONA GŁÓWNA */

.landing {
    min-height: calc(100vh - 78px);
    max-width: 1500px;
    margin: 0 auto;

    padding: clamp(45px, 7vh, 85px) clamp(22px, 5vw, 76px) 25px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    width: 100%;
    text-align: center;
}

.hero h1 {
    margin: 0;

    font-size: clamp(80px, 11vw, 150px);
    line-height: 1;
    letter-spacing: .035em;
    font-weight: 300;

    color: #f0f7ff;

    text-shadow:
        0 0 18px rgba(125, 199, 255, .6),
        0 0 55px rgba(47, 151, 226, .32);
}

.hero p {
    margin: 12px 0 0;

    color: #d4e5f7;
    font-size: 11px;
    letter-spacing: .42em;
    font-weight: 600;
}

.hero p span {
    color: var(--teal);
    padding: 0 8px;
}

.hero-line {
    width: min(660px, 72%);
    height: 1px;
    margin: 30px auto 0;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(83, 186, 255, .65),
        rgba(66, 226, 196, .65),
        transparent
    );

    position: relative;
}

.hero-line span {
    position: absolute;
    width: 10px;
    height: 10px;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%) rotate(45deg);

    background: #e9faff;
    box-shadow: 0 0 12px 4px rgba(83, 186, 255, .8);
}

/* DWIE GŁÓWNE STREFY */

.portals {
    width: 100%;

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

    gap: clamp(22px, 5vw, 90px);

    margin: clamp(35px, 6vh, 68px) auto 0;
}

.portal {
    min-height: 285px;
    padding: 25px 22px 28px;

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

    position: relative;
    overflow: hidden;

    text-align: center;

    border: 1px solid rgba(188, 220, 255, .26);
    border-radius: 4px 18px 4px 18px;

    background: linear-gradient(
        145deg,
        rgba(5, 19, 38, .68),
        rgba(4, 12, 25, .48)
    );

    box-shadow:
        0 18px 65px rgba(0, 0, 0, .18),
        inset 0 0 35px rgba(79, 158, 220, .06);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

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

.portal::before {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    top: 0;
    height: 2px;

    background: var(--accent);
    box-shadow: 0 0 16px 2px var(--accent);
}

.portal::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;

    background: radial-gradient(
        ellipse at 50% 0,
        var(--glow),
        transparent 68%
    );

    transition: opacity .35s ease;
    pointer-events: none;
}

.portal:hover {
    transform: translateY(-7px);
    border-color: var(--accent);

    box-shadow:
        0 22px 75px rgba(0, 0, 0, .3),
        0 0 28px var(--glow);
}

.portal:hover::after {
    opacity: 1;
}

.portal > * {
    position: relative;
    z-index: 1;
}

.private {
    --accent: var(--blue);
    --glow: rgba(65, 164, 255, .18);
}

.business {
    --accent: var(--teal);
    --glow: rgba(66, 226, 196, .16);
}

.portal-caption {
    color: #c3d6e9;
    font-size: 9px;
    letter-spacing: .3em;
    margin-bottom: 12px;
}

.portal h2 {
    margin: 0;

    text-transform: uppercase;
    font-weight: 500;

    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: .28em;
    padding-left: .28em;

    color: var(--accent);
    text-shadow: 0 0 20px var(--glow);
}

.portal-line {
    width: 62px;
    height: 1px;
    margin: 17px 0 18px;

    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.portal p {
    margin: 0;
    color: #d6e2ef;
    font-size: 14px;
    line-height: 1.75;
}

.portal-arrow {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-top: 21px;

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

    color: var(--accent);
    font-size: 24px;

    box-shadow: 0 0 17px var(--glow);
    transition: .25s ease;
}

.portal:hover .portal-arrow {
    background: var(--glow);
    transform: translateY(3px);
}

/* STOPKA */

.footer {
    margin-top: auto;
    padding-top: 38px;

    width: min(850px, 90%);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;

    color: rgba(221, 235, 248, .72);
    font-size: 9px;
    letter-spacing: .42em;
}

.footer span {
    height: 1px;
    flex: 1;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(200, 225, 250, .48)
    );
}

.footer span:last-child {
    transform: scaleX(-1);
}

.footer b {
    color: var(--teal);
    font-weight: 400;
}

/* PODSTRONY */

.inner-page {
    min-height: 100vh;
}

.inner-page .background::after {
    background: rgba(2, 10, 20, .38);
}

.private-page .background::after {
    background:
        linear-gradient(90deg, rgba(2, 10, 24, .38), rgba(2, 10, 24, .62)),
        radial-gradient(ellipse at 24% 40%, rgba(35, 119, 204, .16), transparent 60%);
}

.business-page .background::after {
    background:
        linear-gradient(90deg, rgba(2, 10, 20, .62), rgba(2, 10, 20, .38)),
        radial-gradient(ellipse at 78% 40%, rgba(30, 183, 158, .18), transparent 60%);
}

.content {
    width: min(1120px, calc(100% - 44px));
    margin: 0 auto;

    padding: clamp(65px, 10vh, 115px) 0 70px;
}

.section-label {
    margin: 0 0 17px;

    color: #d4e5f7;
    font-size: 11px;
    letter-spacing: .35em;
    font-weight: 600;
}

.content h1 {
    margin: 0;

    font-size: clamp(38px, 6vw, 66px);
    font-weight: 300;

    text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}

.private-page .content h1 {
    color: #d9edff;
}

.business-page .content h1 {
    color: #d8fff4;
}

.intro {
    max-width: 680px;

    color: #d1deeb;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.8;

    margin: 18px 0 42px;
}

/* KARTY */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.card {
    min-height: 250px;
    padding: 26px 25px;

    background: rgba(4, 13, 25, .66);

    border: 1px solid rgba(190, 220, 245, .22);
    border-top: 2px solid var(--teal);

    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);

    box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
}

.private-page .card {
    border-top-color: var(--blue);
}

.card-icon {
    display: inline-block;
    min-height: 35px;

    color: var(--teal);
    font-size: 27px;
}

.private-page .card-icon {
    color: var(--blue);
}

.card-label {
    margin: 14px 0 9px;

    color: #9fb6c9;
    font-size: 9px;
    letter-spacing: .22em;
}

.card h2 {
    margin: 0 0 12px;

    font-size: 20px;
    font-weight: 500;
}

.card p:last-child {
    margin: 0;

    color: #c2d0de;
    font-size: 13px;
    line-height: 1.8;
}

.return-link {
    display: inline-block;
    margin-top: 35px;
    padding: 12px 0;

    color: #d4e7f6;
    font-size: 13px;

    border-bottom: 1px solid rgba(190, 220, 245, .45);
    transition: .2s ease;
}

.return-link:hover {
    color: var(--teal);
    border-color: var(--teal);
}

/* TELEFONY I MNIEJSZE EKRANY */

@media (max-width: 760px) {

    .topbar {
        height: 66px;
        padding: 0 20px;
    }

    .brand {
        font-size: 21px;
        gap: 13px;
    }

    .brand-symbol {
        width: 34px;
        height: 34px;
        font-size: 30px;
    }

    .landing {
        min-height: calc(100vh - 66px);
        padding: 9vh 20px 20px;
    }

    .hero h1 {
        font-size: clamp(64px, 17vw, 105px);
    }

    .hero p {
        font-size: 9px;
        letter-spacing: .25em;
    }

    .portals {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 34px;
    }

    .portal {
        min-height: 220px;
        padding: 22px;
    }

    .portal h2 {
        font-size: 26px;
    }

    .portal-arrow {
        width: 38px;
        height: 38px;
        margin-top: 14px;
    }

    .footer {
        margin-top: 34px;
        gap: 10px;
        font-size: 7px;
        letter-spacing: .2em;
    }

    .content {
        padding-top: 65px;
    }

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

    .card {
        min-height: 0;
    }
}

/* SZACUNEK DLA USTAWIEŃ OGRANICZAJĄCYCH RUCH */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}