/* LoftLab brand layer: preserves the template layout while applying the LoftLab identity. */
:root {
    --color-primary: #1769ff;
    --bs-primary-rgb: 23, 105, 255;
    --color-secondary: #edf5ff;
    --bs-secondary-rgb: 237, 245, 255;
    --color-tertiary: #08c7f4;
    --font-family-primary: Mabry Pro,IBM Plex Sans Arabic,sans-serif;
    --font-family-secondary: PolySans,IBM Plex Sans Arabic,serif;
    --font-family-tertiary: Mabry Pro,IBM Plex Sans Arabic,serif;
    --font-family-serif: Playfair Display,IBM Plex Sans Arabic,serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #101a2b;
}

.loftylab-logo {
    display: block;
    width: 148px;
    max-width: 42vw;
    padding: .35rem .55rem;
    border-radius: .7rem;
    background: #061226;
}

.loftylab-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 76px;
    object-fit: contain;
}

.loftylab-logo--small {
    width: 116px;
}

.loftylab-nav a {
    transition: color .2s ease, opacity .2s ease;
}

.loftylab-nav a:hover,
.loftylab-nav a:focus-visible {
    color: #1769ff;
}

.loftylab-hero {
    background: linear-gradient(135deg, #edf5ff 0%, #f8fbff 52%, #e4f9ff 100%);
}

.loftylab-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -140px;
    top: 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 199, 244, .22), rgba(23, 105, 255, 0) 68%);
    pointer-events: none;
}

.loftylab-eyebrow {
    color: #1769ff;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 700;
}

.loftylab-hero h1 span {
    background: linear-gradient(100deg, #1769ff 0%, #00b9ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.loftylab-hero-copy {
    max-width: 720px;
}

.loftylab-hero-visual {
    position: relative;
    max-width: 440px;
    margin: 0 auto;
}

.loftylab-hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% -6% -6% 8%;
    border-radius: 2rem;
    background: linear-gradient(145deg, #08182e, #1769ff);
    transform: rotate(4deg);
    box-shadow: 0 22px 60px rgba(8, 24, 46, .22);
}

.loftylab-hero-visual img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 7px solid #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(8, 24, 46, .2);
}

.loftylab-hero-logo {
    position: absolute;
    z-index: 2;
    left: -26px;
    bottom: 26px;
    width: 150px;
    padding: 11px 14px;
    border-radius: 1rem;
    background: #061226;
    box-shadow: 0 12px 30px rgba(8, 24, 46, .24);
}

.loftylab-hero-logo img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.loftylab-proof-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .7rem 1.5rem;
    color: #33435a;
}

.loftylab-proof-list span::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    margin-right: .45rem;
    border-radius: 50%;
    background: #dff8ff;
    color: #1769ff;
    font-weight: 700;
}

.loftylab-section-kicker {
    color: #1769ff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.loftylab-service-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.loftylab-service-card {
    border: 1px solid rgba(23, 105, 255, .1);
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(17, 44, 88, .06);
}

.loftylab-service-card:nth-child(even) .loftylab-service-image {
    filter: none;
}

.loftylab-about {
    position: relative;
    background: #061226;
    color: #ffffff;
}

.loftylab-about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(23, 105, 255, .32), transparent 35%), radial-gradient(circle at 90% 90%, rgba(8, 199, 244, .18), transparent 32%);
    pointer-events: none;
}

.loftylab-about-photo {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 1.5rem;
    border: 6px solid rgba(255, 255, 255, .9);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .25);
}

.loftylab-about-content {
    position: relative;
    z-index: 1;
}

.loftylab-stat {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .06);
}

.loftylab-stat strong {
    display: block;
    color: #08c7f4;
    font-size: 1.35rem;
}

.loftylab-feature-pill {
    min-height: 72px;
    border: 1px solid rgba(23, 105, 255, .1);
}

.loftylab-pricing {
    background: linear-gradient(135deg, #061226, #102f66) !important;
}

.loftylab-price-card {
    min-height: 100%;
}

.loftylab-price-card--featured {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .22);
}

.loftylab-price-note {
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
}

.loftylab-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.loftylab-portfolio-card {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    border: 1px solid rgba(23, 105, 255, .12);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 44, 88, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.loftylab-portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(23, 105, 255, .12);
}

.loftylab-portfolio-card strong {
    color: #1769ff;
    font-size: 1.05rem;
}

.loftylab-blog-image {
    filter: none;
}

.loftylab-contact-card {
    background: linear-gradient(135deg, #edf5ff, #ffffff);
    border: 1px solid rgba(23, 105, 255, .12);
    border-radius: 1.5rem;
}

.loftylab-contact-link {
    color: #1769ff;
    font-weight: 700;
}

.loftylab-contact-link:hover {
    color: #08a6d7;
}

.loftylab-example-label {
    display: inline-flex;
    align-items: center;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: #eaf7ff;
    color: #1769ff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.loftylab-footer {
    background: #061226;
    color: rgba(255, 255, 255, .8);
}

.loftylab-footer a:not(.btn) {
    color: rgba(255, 255, 255, .8);
}

.loftylab-footer a:not(.btn):hover {
    color: #08c7f4;
}

@media (max-width: 991.98px) {
    .loftylab-hero-visual {
        max-width: 360px;
    }

    .loftylab-portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .loftylab-price-card--featured {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .loftylab-logo {
        width: 116px;
    }

    .loftylab-hero-logo {
        left: -4px;
        bottom: 16px;
        width: 125px;
    }

    .loftylab-proof-list {
        align-items: flex-start;
        flex-direction: column;
        gap: .6rem;
    }

    .loftylab-portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Oryginalne proporcje hero z wariantu index-10, z grafiką LoftLab. */
#hero_header {
    position: relative;
}

#hero_header .loftylab-eyebrow {
    display: inline-block;
}

#hero_header h1 span {
    background: linear-gradient(100deg, #1769ff 0%, #00b9ef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#hero_header .hero-scroll-scene {
    min-height: 360px;
}

#hero_header .loftylab-hero-main-image {
    display: block;
    width: 100%;
    height: clamp(280px, 42vw, 520px);
    object-fit: cover;
    object-position: center 24%;
}

#hero_header .hero-ten-01,
#hero_header .hero-ten-02,
#hero_header .hero-ten-03 {
    z-index: 2;
}

.loftylab-pillars {
    background: linear-gradient(180deg, #f8fbff 0%, #edf5ff 100%);
}

.loftylab-pillars-grid {
    align-items: stretch;
}

.loftylab-pillar-card {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid rgba(23, 105, 255, .12);
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(17, 44, 88, .06);
}

.loftylab-pillar-card--featured {
    border-color: rgba(23, 105, 255, .28);
    box-shadow: 0 18px 50px rgba(23, 105, 255, .12);
    transform: translateY(-8px);
}

.loftylab-pillar-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #061226;
    color: #08c7f4;
    font-weight: 700;
}

.loftylab-pillar-card h3 {
    margin-bottom: .6rem;
}

.loftylab-pillar-card > p {
    min-height: 4.5rem;
    color: #506078;
}

.loftylab-pillar-table {
    width: 100%;
    margin-top: 1.25rem;
    border-collapse: separate;
    border-spacing: 0 .45rem;
    text-align: left;
}

.loftylab-pillar-table caption {
    margin-bottom: .5rem;
    color: #1769ff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: left;
    text-transform: uppercase;
}

.loftylab-pillar-table tr {
    background: #f5f9ff;
}

.loftylab-pillar-table th,
.loftylab-pillar-table td {
    padding: .65rem .7rem;
    vertical-align: top;
    border-top: 1px solid rgba(23, 105, 255, .08);
    border-bottom: 1px solid rgba(23, 105, 255, .08);
    font-size: .88rem;
}

.loftylab-pillar-table th {
    width: 34%;
    color: #15243b;
    font-weight: 700;
    border-left: 1px solid rgba(23, 105, 255, .08);
}

.loftylab-pillar-table td {
    color: #506078;
    border-right: 1px solid rgba(23, 105, 255, .08);
}

.loftylab-pillar-table tr th:first-child {
    border-radius: .65rem 0 0 .65rem;
}

.loftylab-pillar-table tr td:last-child {
    border-radius: 0 .65rem .65rem 0;
}

@media (max-width: 991.98px) {
    #hero_header .hero-scroll-scene {
        min-height: 300px;
    }

    .loftylab-pillar-card--featured {
        transform: none;
    }
}

@media (max-width: 575.98px) {
    #hero_header .hero-scroll-scene {
        min-height: 230px;
    }

    #hero_header .loftylab-hero-main-image {
        height: 260px;
    }

    .loftylab-pillar-card {
        padding: 1.1rem;
    }

    .loftylab-pillar-card > p {
        min-height: 0;
    }

    .loftylab-pillar-table th,
    .loftylab-pillar-table td {
        display: block;
        width: 100%;
        border: 0;
        border-left: 1px solid rgba(23, 105, 255, .08);
        border-right: 1px solid rgba(23, 105, 255, .08);
    }

    .loftylab-pillar-table th {
        padding-bottom: .2rem;
        border-radius: .65rem .65rem 0 0;
    }

    .loftylab-pillar-table td {
        padding-top: .2rem;
        border-bottom: 1px solid rgba(23, 105, 255, .08);
        border-radius: 0 0 .65rem .65rem;
    }
}

/* Korekty czytelności, geometrii kart i wyrównania cennika. */
.loftylab-logo img,
.loftylab-service-image,
.loftylab-blog-image,
.loftylab-hero-main-image,
#hero_header .hero-ten-01 img,
#hero_header .hero-ten-02 img,
#hero_header .hero-ten-03 img {
    filter: none !important;
    image-rendering: auto;
}

.loftylab-stat {
    width: 170px;
    height: 170px;
    min-width: 170px;
    min-height: 170px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50%;
}

.loftylab-stat strong {
    margin-bottom: .35rem;
    line-height: 1.1;
}

.loftylab-stat span {
    max-width: 112px;
    line-height: 1.25;
}

#key_features .features-items > div {
    display: flex;
    justify-content: center;
}

.loftylab-feature-pill {
    width: 180px;
    height: 180px;
    min-height: 180px;
    padding: 1rem !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 50% !important;
}

.loftylab-feature-pill .icon-box {
    flex: 0 0 auto;
    margin-bottom: .55rem;
}

.loftylab-feature-pill h3 {
    max-width: 132px;
    line-height: 1.2;
}

#cennik .row {
    justify-content: center;
}

#cennik .row > div {
    display: flex;
    justify-content: center;
}

#cennik .loftylab-price-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
}

#cennik .loftylab-price-card > hr {
    width: 100%;
}

#cennik .loftylab-price-card > ul {
    width: 100%;
    align-items: center;
}

#cennik .loftylab-price-card > ul li {
    max-width: 310px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .loftylab-stat {
        width: 155px;
        height: 155px;
        min-width: 155px;
        min-height: 155px;
    }

    .loftylab-feature-pill {
        width: 165px;
        height: 165px;
        min-height: 165px;
    }
}

@media (max-width: 575.98px) {
    .loftylab-stat {
        width: 145px;
        height: 145px;
        min-width: 145px;
        min-height: 145px;
    }

    .loftylab-feature-pill {
        width: 155px;
        height: 155px;
        min-height: 155px;
    }
}

/* Final refinements: transparent logo, left-aligned package lists, elongated benefit pills and hero metrics. */
.loftylab-logo {
    background: transparent;
    padding: 0;
}

.loftylab-logo img {
    filter: drop-shadow(0 1px 2px rgba(6, 18, 38, .38));
}

#cennik .loftylab-price-card > ul {
    align-items: flex-start;
    text-align: left;
}

#cennik .loftylab-price-card > ul li {
    width: 100%;
    max-width: 320px;
    align-self: flex-start;
    text-align: left;
    line-height: 1.35;
}

#key_features .features-items > div {
    display: flex;
    justify-content: center;
}

#key_features .loftylab-feature-pill {
    width: 100%;
    max-width: 340px;
    height: auto;
    min-height: 72px;
    padding: .75rem 1rem !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    border-radius: 999px !important;
}

#key_features .loftylab-feature-pill .icon-box {
    flex: 0 0 40px;
    margin: 0 .25rem 0 0;
}

#key_features .loftylab-feature-pill h3 {
    max-width: none;
    line-height: 1.25;
    text-align: left;
}

.loftylab-hero-widget {
    width: 100%;
    min-height: 112px;
    padding: .85rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .15rem;
    overflow: hidden;
    border: 1px solid rgba(23, 105, 255, .16);
    border-radius: 1rem;
    background: #ffffff;
    color: #061226;
    box-shadow: 0 16px 30px rgba(6, 18, 38, .18);
}

.loftylab-hero-widget strong {
    font-size: 1.45rem;
    line-height: 1;
}

.loftylab-widget-label,
.loftylab-widget-caption,
.loftylab-hero-widget small {
    font-size: .7rem;
    line-height: 1.2;
}

.loftylab-widget-label {
    color: #1769ff;
    font-weight: 700;
}

.loftylab-widget-caption,
.loftylab-hero-widget small {
    color: #53647c;
}

.loftylab-mini-chart {
    height: 36px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-top: .35rem;
}

.loftylab-mini-chart i {
    display: block;
    flex: 1;
    min-height: 6px;
    border-radius: 4px 4px 1px 1px;
    background: linear-gradient(180deg, #08c7f4, #1769ff);
}

.loftylab-hero-widget--review {
    background: linear-gradient(145deg, #ffffff, #edf8ff);
}

.loftylab-widget-stars {
    color: #ffb400;
    letter-spacing: .08em;
    font-size: .85rem;
}

.loftylab-widget-quote {
    max-width: 230px;
    color: #33435a;
    font-size: .76rem;
    line-height: 1.25;
}

.loftylab-hero-widget--reach {
    border-color: rgba(8, 199, 244, .42);
    background: linear-gradient(145deg, #061226, #1769ff);
    color: #ffffff;
}

.loftylab-hero-widget--reach .loftylab-widget-label,
.loftylab-hero-widget--reach .loftylab-widget-caption {
    color: #c5f7ff;
}

.loftylab-widget-sparkline {
    height: 28px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-top: .25rem;
}

.loftylab-widget-sparkline i {
    display: block;
    width: 18%;
    border-radius: 8px 8px 2px 2px;
    background: #08c7f4;
}

.loftylab-widget-sparkline i:nth-child(1) { height: 28%; }
.loftylab-widget-sparkline i:nth-child(2) { height: 44%; }
.loftylab-widget-sparkline i:nth-child(3) { height: 38%; }
.loftylab-widget-sparkline i:nth-child(4) { height: 66%; }
.loftylab-widget-sparkline i:nth-child(5) { height: 100%; }

@media (max-width: 575.98px) {
    #key_features .loftylab-feature-pill {
        max-width: 340px;
    }
}

/* Dekoracyjne gradienty hero poprawiające kontrast logo i głównej kompozycji. */
#hero_header {
    isolation: isolate;
}

#hero_header::before,
#hero_header::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: clamp(300px, 42vw, 620px);
    height: clamp(300px, 42vw, 620px);
    border-radius: 50%;
    pointer-events: none;
}

#hero_header::before {
    top: -26%;
    left: -18%;
    background: radial-gradient(circle at 50% 50%, rgba(6, 18, 38, .62) 0%, rgba(54, 69, 91, .34) 36%, rgba(237, 245, 255, 0) 72%);
}

#hero_header::after {
    right: -19%;
    bottom: -29%;
    background: radial-gradient(circle at 50% 50%, rgba(6, 18, 38, .48) 0%, rgba(23, 105, 255, .22) 38%, rgba(237, 245, 255, 0) 72%);
}

#hero_header > .section-outer {
    position: relative;
    z-index: 1;
}

/* Korekta warstwowania gradientu: tło hero i poświata bezpośrednio za logo. */
#hero_header::before,
#hero_header::after {
    display: none;
}

#hero_header > .position-absolute.top-0.start-0.end-0 {
    z-index: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(6, 18, 38, .68) 0%, rgba(54, 69, 91, .34) 25%, rgba(237, 245, 255, 0) 58%),
        radial-gradient(circle at 100% 100%, rgba(6, 18, 38, .48) 0%, rgba(23, 105, 255, .2) 28%, rgba(237, 245, 255, 0) 62%),
        #edf5ff !important;
}

#top.uc-header {
    background: radial-gradient(circle at 8% 50%, rgba(6, 18, 38, .5) 0%, rgba(54, 69, 91, .2) 25%, rgba(237, 245, 255, 0) 55%);
}

#top .uc-navbar-container,
#top .uc-navbar-main,
#top .uc-navbar {
    background-color: transparent !important;
}

#top .uc-navbar-left {
    position: relative;
    z-index: 1;
}

#top .uc-navbar-left::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: 230px;
    height: 112px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(6, 18, 38, .48) 0%, rgba(54, 69, 91, .22) 42%, rgba(237, 245, 255, 0) 75%);
    pointer-events: none;
}

/* Lżejszy gradient hero i ostre badge zamiast rozmytych avatarów z demo. */
#hero_header > .position-absolute.top-0.start-0.end-0 {
    background:
        radial-gradient(circle at 0% 0%, rgba(6, 18, 38, .28) 0%, rgba(54, 69, 91, .16) 25%, rgba(237, 245, 255, 0) 58%),
        radial-gradient(circle at 100% 100%, rgba(6, 18, 38, .22) 0%, rgba(23, 105, 255, .12) 28%, rgba(237, 245, 255, 0) 62%),
        #edf5ff !important;
}

#top.uc-header {
    background: radial-gradient(circle at 8% 50%, rgba(6, 18, 38, .16) 0%, rgba(54, 69, 91, .08) 25%, rgba(237, 245, 255, 0) 55%);
}

#top .uc-navbar-left::before {
    display: none;
}

.loftylab-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: .15rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #061226, #1769ff);
    color: #ffffff;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
    text-align: center;
    box-shadow: 0 5px 14px rgba(6, 18, 38, .18);
}

/* Oryginalne twarze hero: wymuszony, równy kształt koła. */
#hero_header .cstack.rounded-circle {
    overflow: hidden;
}

#hero_header .cstack.rounded-circle > img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0 !important;
    object-fit: cover;
    border-radius: 50%;
}

/* Twarze z jednego kolażu people_faces.jpg, kadrowane przez przesunięcie tła. */
.hero-face-crop {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-image: url('../images/loftylab/people_faces.jpg');
    background-repeat: no-repeat;
    background-size: 800% 500%;
    background-color: #edf5ff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
}

.hero-face-crop--1 { background-position: 0% 0%; }
.hero-face-crop--2 { background-position: 28.571% 0%; }
.hero-face-crop--3 { background-position: 57.142% 25%; }
.hero-face-crop--4 { background-position: 85.714% 50%; }
.hero-face-crop--5 { background-position: 14.285% 75%; }
.hero-face-crop--6 { background-position: 71.428% 100%; }
