/*
Theme Name: Ale Kosmos!
Theme URI: https://wloskielove.pl
Author: Dziewczyna od Dizajnu
Description: Landing page dla kursu Ale Kosmos!
Version: 1.0
*/

@media (min-width: 801px) {
    .why-mobile-split {
        background: none !important;
    }
    
    .why-planet-mobile,
    .why-planet-mobile__star {
        display: none !important;
    }
}

/* --- RESET I BAZA --- */

@font-face {
    font-family: 'Havana';
    src: url('assets/fonts/subset-Havana-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-czarne-espresso: #1A1917;
    --color-lody-smietankowe: #F1ECE6;
    --color-pomidorowa-czerwien: #D93232;
    --color-lody-lawendowe: #D9C1D7;
    --color-fiolet-kursowy: #513E75;
    
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-handwriting: 'Havana', cursive;
}

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

html {
    scrollbar-gutter: stable;
    font-size: 57%;
    scroll-behavior: smooth;
    scroll-padding-top: 9.75rem;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-size: 1.6rem;
    font-family: var(--font-main);
    color: var(--color-lody-smietankowe);
    background-color: var(--color-fiolet-kursowy);
    line-height: 1.5;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 189.6rem;
    margin: 0 auto;
    padding: 0 15.6rem;
    width: 100%;
    box-sizing: border-box;
}

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

/* --- KLASY TEKSTOWE --- */

.heading-section {
    font-size: 6rem;
    font-weight: 500;
    line-height: 1.2;
}

.heading-small {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.heading-md {
    font-size: 3.6rem;
    font-weight: 400;
    line-height: 1.2;
}

.text-body {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 400;
}

.text-body-sm {
    font-size: 1.6rem;
    line-height: 1.5;
    font-weight: 400;
}

.text-body strong,
.text-body.font-bold,
.text-body .font-bold {
    font-weight: 600;
}

h1 strong, h2 strong, h3 strong, h4 strong, h5 strong, h6 strong {
    font-weight: 800;
}

em {
    font-style: italic;
}

.font-medium {
    font-weight: 500;
}

.text-kosmos {
    padding: 0 0.1em;
    white-space: nowrap;
    display: inline-block;
}

.bonus-highlight {
    letter-spacing: 0.1525em;
}

/* --- KLASY NARZĘDZIOWE --- */

.text-pomidorowa-czerwien {
    color: var(--color-pomidorowa-czerwien);
}

.text-czarne-espresso {
    color: var(--color-czarne-espresso);
}

.mt-auto {
    margin-top: auto;
}

.bg-gradient-card {
    background: linear-gradient(180deg, var(--color-lody-smietankowe) 0%, #F6F3EF 100%);
}

.bg-color-lawendowe {
    background-color: var(--color-lody-lawendowe);
}

.circle-shape-714 {
    width: 71.4rem;
    height: 71.4rem;
    border-radius: 50%;
}

.circle-shape-606 {
    width: 60.6rem;
    height: 60.6rem;
    border-radius: 50%;
}

.circle-shape-368 {
    width: 36.8rem;
    height: 36.8rem;
    border-radius: 50%;
}

.circle-shape-360 {
    width: 36rem;
    height: 36rem;
    border-radius: 50%;
}

.circle-shape-298 {
    width: 29.8rem;
    height: 29.8rem;
    border-radius: 50%;
}

.circle-shape-148 {
    width: 14.8rem;
    height: 14.8rem;
    border-radius: 50%;
}

.bg-color-primary {
    background-color: var(--color-pomidorowa-czerwien);
}

.shape-fx-glow-25 {
    filter: blur(2.5rem);
    pointer-events: none;
}

.shape-fx-glow-375 {
    filter: blur(3.75rem);
    pointer-events: none;
}

.bg-gradient-primary {
    background: linear-gradient(140deg, var(--color-fiolet-kursowy) 0%, var(--color-pomidorowa-czerwien) 100%);
}

.bg-gradient-primary-reverse {
    background: linear-gradient(320deg, var(--color-fiolet-kursowy) 0%, var(--color-pomidorowa-czerwien) 100%);
}

.bg-gradient-primary-horizontal {
    background: linear-gradient(90deg, var(--color-fiolet-kursowy) 0%, var(--color-pomidorowa-czerwien) 100%);
}

.bg-gradient-primary-horizontal-reverse {
    background: linear-gradient(270deg, var(--color-fiolet-kursowy) 0%, var(--color-pomidorowa-czerwien) 100%);
}

.bg-gradient-light-horizontal {
    background: linear-gradient(90deg, var(--color-lody-lawendowe) 0%, var(--color-lody-smietankowe) 100%);
}

.bg-gradient-light-horizontal-reverse {
    background: linear-gradient(270deg, var(--color-lody-lawendowe) 0%, var(--color-lody-smietankowe) 100%);
}

.bg-shape {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

/* --- WSPÓLNE KOMPONENTY --- */

.custom-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.custom-list--dense {
    gap: 2rem;
}

.custom-list li {
    position: relative;
    padding-left: 3.1rem;
}

.custom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.95rem;
    width: 1.1rem;
    height: 1.1rem;
    background-image: url("data:image/svg+xml,%3Csvg width='27' height='27' viewBox='0 0 27 27' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.2985 0.000218265L10.8015 0C10.8015 6.45944 6.3046 10.9987 0 10.9987L0 15.1013C6.3046 15.1013 10.8015 19.6403 10.8015 26.0998L15.2985 26.1C15.2985 19.6406 19.7954 15.1013 26.1 15.1013V10.9987C19.7954 10.9987 15.2985 6.45966 15.2985 0.000218265Z' fill='%23D93232'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2.4rem 7.8rem;
    border-radius: 10rem;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1;
    transition: all 0.25s ease;
    cursor: pointer;
    text-align: center;
}

button.btn {
    padding: 2.55rem 7.8rem 2.25rem;
}

.btn--primary {
    background-color: var(--color-pomidorowa-czerwien);
    color: var(--color-lody-smietankowe);
    border: 0.2rem solid var(--color-pomidorowa-czerwien);
}

.btn--primary:hover {
    background-color: #bf2828;
    border-color: #bf2828;
}

.btn--outline {
    background-color: transparent;
    color: var(--color-lody-smietankowe);
    border: 0.2rem solid var(--color-lody-smietankowe);
}

.btn--outline:hover {
    background-color: var(--color-lody-smietankowe);
    color: var(--color-fiolet-kursowy);
}

.btn--white {
    background-color: var(--color-lody-smietankowe);
    color: var(--color-fiolet-kursowy);
    border: 0.2rem solid var(--color-lody-smietankowe);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--white:hover {
    background-color: #F6F3EF;
    border-color: #F6F3EF;
    color: var(--color-fiolet-kursowy);
}

.btn--outline-white {
    background-color: transparent;
    border: 0.2rem solid var(--color-lody-smietankowe);
    color: var(--color-lody-smietankowe);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn--outline-white:hover {
    background-color: var(--color-lody-smietankowe);
    color: var(--color-fiolet-kursowy);
}

.btn--menu {
    padding: 1rem 2.4rem;
    line-height: 1;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
}

.button-group {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.button-group .btn {
    flex: 1 1 0;
    padding-left: 2rem;
    padding-right: 2rem;
}

.icon-star {
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

.icon-star img {
    width: 100%;
    height: auto;
    display: block;
}

.icon-star--xxs { width: 0.87rem; }
.icon-star--xs { width: 1.4rem; }
.icon-star--sm { width: 2.6rem; }
.icon-star--md { width: 4rem; }
.icon-star--lg { width: 5.2rem; }

.icon-star--blur { filter: blur(0.5rem); }

/* --- NAGŁÓWEK STRONY --- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    pointer-events: none;
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-container {
    position: relative;
    padding: 11.9rem 7.8rem 5.85rem;
    pointer-events: auto;
    transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 7.8rem;
    padding-left: 7.8rem;
    margin-left: 0;
    width: max-content;
    border-radius: 10rem;
    background-color: transparent;
    transition: gap 0.4s ease, padding 0.4s ease, margin 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 7.8rem;
    transition: gap 0.4s ease;
}

.nav-menu a {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-lody-smietankowe);
    transition: opacity 0.2s ease;
}

.nav-menu a:hover {
    opacity: 0.75;
}

.site-header.is-scrolled {
    padding-top: 2rem;
}

.site-header.is-scrolled .header-container {
    padding-top: 0;
    padding-bottom: 0;
}

.site-header.is-scrolled .header-left {
    gap: 3.6rem;
    padding: 1.2rem 1.2rem 1.2rem 2.4rem;
    margin-left: 5.4rem;
    background-color: rgba(81, 62, 117, 0.5);
    backdrop-filter: blur(2rem);
    -webkit-backdrop-filter: blur(2rem);
    box-shadow: 
        0 0.6rem 2rem rgba(24, 11, 44, 0.28),
        0 0.2rem 0.8rem rgba(81, 62, 117, 0.2),
        inset 0 0.1rem 0.1rem rgba(241, 236, 230, 0.15);
}

.site-header.is-scrolled .nav-menu {
    gap: 3.6rem;
}

.menu-toggle {
    display: none;
}

/* --- SEKCJA HERO --- */

.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 30.7rem;
    padding-bottom: 15.6rem;
    background-color: var(--color-fiolet-kursowy);
    overflow-x: hidden; 
    overflow-y: clip;
}

.hero-branding-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0 7.8rem;
    z-index: 20;
    pointer-events: none;
}

.site-branding {
    position: absolute;
    top: 0;
    right: 3.075rem;
    height: 6.95rem;
    width: auto;
    pointer-events: auto;
}

.site-branding .logo-link {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
    height: 6.95rem;
    width: 13rem;
}

.site-branding .logo-link:hover {
    opacity: 0.8;
}

.site-branding .logo {
    position: absolute;
    height: 3.875rem;
    width: auto;
    right: 0;
    bottom: 0;
}

.site-branding .logo-handwriting {
    position: absolute;
    left: 0;
    top: 1.25rem;
    font-family: var(--font-handwriting);
    font-size: 2.4rem;
    line-height: 0.92;
    color: var(--color-lody-smietankowe);
    transform: rotate(-15deg);
    text-align: left;
    display: inline-block;
}

.hero-bg-waves {
    position: absolute;
    top: -1.35rem;
    left: 0;
    width: 100%;
    height: 8.3rem;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-waves img {
    position: absolute;
    top: 0;
    left: -4.45rem;
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
}

.hero-bg-shape--top-right {
    position: absolute;
    left: 50%; 
    top: calc(-71.4rem + 6.95rem); 
    z-index: -1; 
}

.hero-bg-shape--bottom-left {
    top: 18.25rem;
    left: -35.7rem;
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    width: 100%;
    margin-top: auto;
    margin-bottom: 15.6rem;
}

.hero-content {
    flex: 1 1 auto;
    max-width: 78rem;
}

.heading-hero {
    margin-bottom: 7.8rem;
}

.heading-hero__main {
    display: block;
    font-size: 10.9rem;
    font-weight: 800;
    line-height: 1.04;
    font-style: italic;
    margin-bottom: 0;
}

.heading-hero__subtitle {
    display: block;
    font-size: 6.2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 0;
}

.heading-hero__subtitle strong {
    font-weight: 800;
}

.hero-text {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 7.8rem;
    color: var(--color-lody-smietankowe);
}

.hero-text p:first-child {
    font-weight: 600;
}

.hero-text p:not(:last-child) {
    margin-bottom: 5.6rem;
}

.hero-image-wrapper {
    flex: 0 0 86.4rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: calc(-15.6rem + 3.075rem); 
    transform: translateY(-15.1rem);
}

.hero-image-shape {
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-orbit--inner { z-index: 2; }
.hero-orbit--outer { z-index: 4; }

.hero-orbit img,
.hero-orbit svg {
    width: 100%;
    height: auto;
    display: block;
}

.hero-orbit-shape {
    width: 86.4rem;
    height: 71.4rem;
}

.hero-bottom-arc {
    position: absolute;
    width: 107.08rem;
    height: 81.15rem;
    z-index: 5;
    pointer-events: none;
    left: calc(50% - 35.7rem);
    top: calc(50% + 15.5rem);
}

.hero-bottom-arc img,
.hero-bottom-arc svg {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-glow-position {
    position: absolute;
    bottom: -24.45rem; 
    right: -17.8rem; 
    z-index: 6;
}

.icon-star--hero-left { 
    bottom: 10.4rem; 
    left: 2.6rem; 
    z-index: 15;
}

.icon-star--hero-orbit-top-right { 
    top: 2.6rem; 
    right: 15rem;
}

.icon-star--hero-orbit-right { 
    right: 4.9rem; 
    bottom: 2.6rem; 
    z-index: 5; 
}

.icon-star--hero-orbit-left { 
    left: 1.4rem; 
    top: 32rem; 
    z-index: 5; 
}

.hero-marquee-wrapper {
    position: relative;
    width: 100%;
    background-color: transparent;
    padding: 0;
    overflow: hidden;
    z-index: 10;
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: scrollMarquee 55s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.marquee-item {
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.1em;
    padding: 0 7.8rem;
    color: var(--color-lody-smietankowe);
    white-space: nowrap;
}

.marquee-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.marquee-star {
    width: 1.2rem;
    height: auto;
    display: block;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- SEKCJA FEATURES --- */

.features-section {
    position: relative;
    padding: 18.6rem 0 24.9rem;
    background: linear-gradient(90deg, var(--color-fiolet-kursowy) 15.6rem, var(--color-pomidorowa-czerwien) calc(100% - 15.6rem));
    overflow-x: clip;
}

.features-bg-circle {
    position: absolute;
    top: -4.4rem;
    left: 15.6rem;
    z-index: 1;
    background: linear-gradient(90deg, var(--color-fiolet-kursowy) 2rem, var(--color-pomidorowa-czerwien) calc(100% - 2rem));
}

.heading-outline {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    margin-bottom: 18.6rem;
}

.heading-outline img,
.heading-outline svg {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.features-container {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 15.6rem;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 11.7rem;
    row-gap: 0;
}

.feature-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
}

.feature-card__title {
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-lody-smietankowe);
    margin-bottom: 5.2rem;
    text-wrap: wrap; 
}

.feature-card__title strong {
    font-weight: 700;
}

.feature-card__star {
    position: static;
    margin-bottom: 5.2rem;
}

.feature-card__text {
    color: var(--color-lody-smietankowe);
}

.manifest-container {
    position: relative;
    z-index: 2;
    padding-top: 12rem;
}

.manifest-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 15.6rem;
    position: relative;
}

.manifest-content {
    flex: 0 0 80rem;
    width: 80rem;
    max-width: 100%;
    min-height: 0vw;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    gap: 7.8rem;
    padding-bottom: 11.7rem;
    position: relative;
}

.manifest-heading {
    font-size: clamp(3.2rem, 5.5vw, 8rem);
    font-size: 12.5cqw;
    font-weight: 500;
    font-style: italic;
    line-height: 1.1;
    color: var(--color-lody-smietankowe);
    position: relative;
    z-index: 2;
}

.manifest-heading__line {
    display: block;
    white-space: nowrap;
}

.manifest-paragraphs {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
    color: var(--color-lody-smietankowe);
    position: relative;
    z-index: 2;
}

.manifest-planet {
    position: absolute;
    top: 0;
    left: 2.6rem;
    width: 29.8rem;
    height: 29.8rem;
    pointer-events: none;
    z-index: 1;
}

.manifest-planet__circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(1.25rem);
    z-index: 2;
}

.manifest-planet__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40.082rem;
    height: 22.474rem;
    max-width: none;
    display: block;
}

.manifest-planet__orbit--back {
    z-index: 1;
}

.manifest-planet__orbit--front {
    z-index: 3;
    clip-path: polygon(-20% 75%, 120% 25%, 120% 120%, -20% 120%);
}

.star-planet {
    position: absolute;
    top: 72%;
    right: -6.5rem;
    z-index: 4;
}

.star-manifest-middle {
    right: -9.1rem;
    top: 12.3rem;
}

.star-manifest-bottom {
    left: 7.8rem;
    bottom: 12.6rem;
}

.manifest-video-wrapper {
    flex: 0 0 60.6rem;
    width: 60.6rem;
    height: 107.7rem;
    position: relative;
}

.manifest-video-capsule {
    width: 100%;
    height: 100%;
    border-radius: 50rem;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    cursor: pointer;
}

.manifest-video-capsule iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.manifest-video-media {
    width: 100%;
    height: 100%;
    position: relative;
}

.manifest-video-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.manifest-video-media iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.manifest-native-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.manifest-video-capsule.is-playing {
    background-color: var(--color-czarne-espresso);
}

.btn-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14.8rem;
    height: 14.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.btn-play:hover {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 0.9;
}

.icon-play-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.manifest-video-capsule {
    position: relative;
}

.manifest-video-capsule .manifest-video-btn {
    position: absolute;
    bottom: 5.85rem;
    left: 50%;
    transform: translateX(-50%) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    background-color: var(--color-lody-smietankowe);
    color: var(--color-czarne-espresso);
    padding: 0.4rem 0.4rem 0.4rem 0.6rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    z-index: 10;
    white-space: nowrap;
    transition: none !important;
}

.manifest-video-capsule .manifest-video-btn:hover,
.manifest-video-capsule .manifest-video-btn:active,
.manifest-video-capsule .manifest-video-btn:focus {
    transform: translateX(-50%) !important;
}

.manifest-video-capsule.is-playing .manifest-video-btn {
    display: flex;
}

.manifest-video-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 131.7rem;
    height: 131.7rem;
    z-index: -1;
    pointer-events: none;
}

.manifest-video-orbit svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    animation: rotateVideoText 50s linear infinite;
}

@keyframes rotateVideoText {
    0% { transform: rotate(-20deg); }
    100% { transform: rotate(340deg); }
}

.video-orbit-text {
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    fill: #89395A;
}

.manifest-video-glow-position {
    position: absolute;
    bottom: -13rem;
    right: -7.8rem;
    z-index: 3;
}

/* --- SEKCJA POZIOMY --- */

.levels-section {
    position: relative;
    padding: 15.6rem 0;
}

.levels-container {
    display: flex;
    flex-direction: column;
    gap: 2.9rem;
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 11.7rem;
    row-gap: 7.8rem;
}

.level-card {
    display: flex;
    flex-direction: column;
}

.level-card__graphic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
}

.level-card__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    pointer-events: none;
}

.level-card__badge {
    position: relative;
    z-index: 2;
    font-size: 6rem;
    font-weight: 800;
    color: var(--color-pomidorowa-czerwien);
    line-height: 0.95;
}

/* --- SEKCJA OPINIE --- */

.testimonials-section {
    position: relative;
    padding: 15.6rem 0;
    background-color: var(--color-lody-smietankowe);
    overflow-x: clip;
}

.testimonials-glow-left {
    position: absolute;
    top: -4.8rem;
    left: -4.8rem;
    z-index: 1;
}

.testimonials-glow-right {
    position: absolute;
    top: 15.6rem;
    right: -30.3rem;
    z-index: 1;
}

.testimonials-header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 7.8rem;
}

.testimonials-header .heading-section {
    margin-bottom: 4.68rem;
}

.testimonials-masonry-wrapper {
    position: relative;
    z-index: 2;
    max-height: 204rem;
    overflow: hidden;
    margin-bottom: 11.2rem;
    transition: max-height 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonials-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2.6rem;
    align-items: start;
}

.testimonials-col {
    display: flex;
    flex-direction: column;
    gap: 2.6rem;
}

.testimonials-fade-out {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60rem;
    background: linear-gradient(
        180deg,
        rgba(241, 236, 230, 0) 0%,
        rgba(241, 236, 230, 0.04) 12%,
        rgba(241, 236, 230, 0.14) 24%,
        rgba(241, 236, 230, 0.32) 38%,
        rgba(241, 236, 230, 0.58) 52%,
        rgba(241, 236, 230, 0.82) 66%,
        rgba(241, 236, 230, 0.95) 76%,
        var(--color-lody-smietankowe) 82%,
        var(--color-lody-smietankowe) 100%
    );
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.testimonials-fade-out .testimonials-expand-btn {
    pointer-events: auto;
}

.testimonials-expand-btn {
    pointer-events: auto;
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-czarne-espresso);
    cursor: pointer;
    padding: 0.8rem 1.6rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.testimonials-masonry-wrapper.is-expanded {
    max-height: 1000rem;
}

.testimonials-masonry-wrapper.is-expanded .testimonials-fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.testimonials-collapse-wrapper {
    display: none;
    justify-content: center;
    padding-top: 4rem;
}

.testimonials-collapse-btn {
    background: transparent;
    border: none;
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-czarne-espresso);
    cursor: pointer;
    padding: 0.8rem 1.6rem;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.testimonials-masonry-wrapper.is-expanded .testimonials-collapse-wrapper {
    display: flex;
}

.testimonial-card {
    padding: 2.6rem;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.testimonial-card__title {
    color: var(--color-czarne-espresso);
}

.testimonial-card__content {
    color: var(--color-czarne-espresso);
}

.testimonial-card__author {
    font-family: var(--font-handwriting);
    font-size: 2.4rem;
    color: var(--color-czarne-espresso);
    text-align: right;
    margin-top: auto;
}

.testimonial-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.testimonial-video-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.testimonial-video-wrapper iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    position: absolute;
    bottom: 0 !important;
    left: 0;
    top: 0 !important;
    margin: auto !important;
    border: none;
}

.testimonial-native-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.btn-play-rect {
    position: absolute;
    bottom: 2.6rem;
    right: 2.6rem;
    background-color: var(--color-lody-smietankowe);
    color: var(--color-czarne-espresso);
    padding: 0.4rem 0.4rem 0.4rem 0.6rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease;
}

.testimonials-action {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2.6rem;
    position: relative;
    z-index: 15;
}

.testimonials-action .btn {
    grid-column: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonials-floating-collapse-btn {
    position: fixed;
    bottom: 2.6rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--color-czarne-espresso);
    color: var(--color-lody-smietankowe);
    border: none;
    border-radius: 50px;
    padding: 1.2rem 2.4rem;
    font-family: var(--font-main);
    font-size: 1.4rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.testimonials-floating-collapse-btn.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* --- SEKCJA DLACZEGO --- */

.why-section {
    position: relative;
    padding: 15.6rem 0 13.6rem;
    overflow-x: clip;
    z-index: 2;
}

.why-arc-background {
    position: absolute;
    top: 0;
    right: -101.8rem;
    width: 203.6rem;
    height: auto;
    z-index: -1;
    pointer-events: none;
    display: flex;
    justify-content: center;
}

.why-arc-background img,
.why-arc-background svg {
    width: 100%;
    height: auto;
    display: block;
}

.why-hero {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: end;
    margin-bottom: 15.6rem;
    position: relative;
}

.why-hero__content {
    position: relative;
}

.why-hero__title {
    font-size: 11.6rem;
    font-weight: 800;
    line-height: 0.95;
    margin-bottom: 0;
}

.why-hero__star-top {
    top: -2.6rem;
    right: 11.7rem;
}

.why-hero__media {
    position: relative;
    height: 0;
    margin: 0 0 0 auto;
}

.why-hero__photo-wrapper {
    position: absolute;
    bottom: 0;
    right: -4.9rem;
    z-index: 2;
    overflow: hidden;
}

.why-hero__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why-hero__glow-top {
    position: absolute;
    top: -18rem;
    right: -7.3rem;
    z-index: 3;
}

.why-hero__solid-bottom {
    position: absolute;
    bottom: -7.4rem;
    right: 7.4rem;
    z-index: 3;
}

.why-hero__star-bottom {
    bottom: 0;
    left: -66.5rem;
    z-index: 3;
}

.why-contrast {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    column-gap: 15.6rem;
    position: relative;
    z-index: 2;
    margin-bottom: 15.6rem;
}

.why-contrast__divider {
    position: absolute;
    bottom: 3rem;
    right: -15.6rem;
    width: 15.6rem;
    height: 2px;
    border: none;
    background-color: var(--color-lody-smietankowe);
    z-index: 5;
    margin: 0;
}

.why-contrast__problem {
    position: relative;
    padding-right: 0;
    max-width: 65rem;
}

.why-contrast__lead {
    margin-bottom: 7.8rem;
}

.why-contrast__lead strong {
    font-weight: 700;
}

.why-contrast__heading {
    position: relative;
    z-index: 2;
}

.why-contrast__heading span:last-of-type {
    display: none;
}

.why-contrast__methods {
    display: flex;
    flex-direction: column;
}

.why-methods-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    margin: 0;
}

.why-methods-list__title {
    font-weight: 700;
    margin-bottom: 1.6rem;
}

.why-contrast__solution-wrapper {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.why-contrast__solution {
    max-width: calc(50% - 7.8rem);
    width: 100%;
}

.why-shape-arc {
    position: absolute;
    width: 107.08rem;
    height: 81.15rem;
    z-index: 1;
    pointer-events: none;
    top: 0;
    left: -46.8rem; 
}

.why-shape-arc img,
.why-shape-arc svg {
    width: 100%;
    height: 100%;
    display: block;
}

.why-shape-star {
    top: 7.8rem;
    left: 39.5rem; 
    z-index: 2;
}

.why-shape-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 126rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 9.75rem;
}

.why-shape-col--left {
    text-align: right;
    padding-right: 0;
}

.why-shape-col--right {
    text-align: left;
    padding-left: 0;
}

.why-shape-spacer {
    display: block;
    width: 29.7rem;
    height: 59.4rem;
}

.why-shape-spacer--left {
    float: right;
    shape-outside: circle(29.7rem at 100% 50%);
    margin-top: 0;
}

.why-shape-spacer--right {
    float: left;
    shape-outside: circle(29.7rem at 0% 50%);
    margin-top: 0;
}

.why-shape-center {
    position: absolute;
    top: 11.7rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 1;
}

.why-shape-block {
    position: relative;
    z-index: 2;
}

.why-shape-block:first-of-type {
    margin-top: 3.5rem;
}

.why-shape-block + .why-shape-block {
    margin-top: 15.6rem;
}

.why-shape-block__title {
    margin-bottom: 2rem;
}

.why-shape-block__title.first-child {
    padding-top: 1.65rem;
}

.why-planet-mobile {
    display: none;
}

/* --- SEKCJA MAGICZNY SKŁADNIK --- */

.magic-ingredient-section {
    background-color: var(--color-fiolet-kursowy);
    position: relative;
    padding: 15.6rem 0;
    overflow-x: clip;
}

.magic-ingredient-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
    gap: 15.6rem;
    position: relative;
}

.magic-ingredient__media {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.magic-ingredient__shape {
    /*max-width: 67.6rem;*/
    width: 100%;
}

.magic-text-shape {
    width: 100%;
    height: auto;
    display: block;
}

.magic-star-top-left {
    position: absolute;
    top: 15.6rem;
    left: 15.6rem;
}

.magic-star-bottom-right {
    position: absolute;
    bottom: 7.8rem;
    right: 15.6rem;
}

.magic-ingredient__content {
    display: flex;
    flex-direction: column;
    position: relative;
}

.magic-photo-wrapper {
    position: absolute;
    top: -30.3rem;
    right: -30.3rem;
    margin: 0;
    z-index: 2;
    overflow: hidden;
}

.magic-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.magic-text-blocks {
    display: flex;
    flex-direction: column;
    gap: 7.8rem;
}

.magic-text-blocks > p:first-of-type {
    padding-right: 15.7rem;
}

/* --- SEKCJA OFERTA --- */

.offer-section {
    position: relative;
    padding: 15.6rem 0;
    overflow-x: clip;
}

.offer-core-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15.6rem;
    align-items: stretch;
    position: relative;
}

.offer-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.offer-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 71.4rem;
    aspect-ratio: 714 / 1068;
    margin: 0 auto;
}

.offer-pill {
    position: absolute;
    inset: 0;
    border-radius: 50rem;
    overflow: hidden;
    z-index: 1;
}

.offer-pill .offer-photo {
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(770 / 714 * 100%);
    height: calc(1107 / 1068 * 100%);
    max-width: none;
    display: block;
}

.offer-circle {
    position: absolute;
    bottom: 0;
    right: calc(-55.78 / 714 * 100%);
    width: calc(111.56 / 714 * 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
}

.offer-photo-sync {
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc(770 / 111.56 * 100%);
    height: calc(1107 / 111.56 * 100%);
    max-width: none;
    display: block;
}

.offer-photo-overflow {
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(770 / 714 * 100%);
    height: calc(1107 / 1068 * 100%);
    pointer-events: none;
    z-index: 3;
}

.offer-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5.6rem;
}

.offer-title {
    margin-bottom: 0;
}

.offer-lists-wrapper {
    display: contents;
}

.offer-list-title {
    margin-bottom: 3rem;
}

.text-unbreakable-lines {
    white-space: nowrap;
    width: 0; 
}

.offer-transition {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 15.6rem;
    align-items: center;
    margin-top: 23.4rem;
    margin-bottom: 9.75rem;
}

.offer-transition__pattern {
    position: relative;
    width: 100%;
    height: 100%;
}

.offer-transition__pattern img {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 47.7rem;
    width: auto;
    max-width: none;
    margin: 0; 
    display: block;
}

.bonuses-wrapper {
    display: flex;
    flex-direction: column;
    gap: 9.75rem;
}

.bonuses-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15.6rem;
    row-gap: 0;
    grid-template-rows: auto 1fr;
}

.bonus-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
}

.bonus-card__header {
    display: flex;
    flex-direction: column;
}

.bonus-card__badge {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-pomidorowa-czerwien);
    margin-bottom: 4.2rem;
}

.bonus-card__title {
    margin-bottom: 4.2rem;
}

.bonus-card__content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.bonus-sublist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-left: 0;
}

.bonus-sublist li {
    position: relative;
    padding-left: 1.8rem;
}

.bonus-sublist li::before {
    content: '-';
    position: absolute;
    left: 0;
    top: 0;
}

/* --- SEKCJA PROGRAM --- */

.program-section {
    position: relative;
    background-color: var(--color-fiolet-kursowy);
    padding: 15.6rem 0;
    overflow-x: clip;
}

.program-container {
    display: flex;
    flex-direction: column;
    gap: 9.75rem;
    position: relative;
}

.program-main-title {
    font-size: 11.6rem;
    font-weight: 800;
    line-height: 0.95;
    margin: 0;
}

.program-star-1 {
    position: absolute;
    top: 0;
    left: -7.8rem;
    z-index: 1;
}

.program-star-2 {
    position: absolute;
    top: 25rem;
    left: 124.85rem;
    z-index: 1;
}

.program-star-3 {
    position: absolute;
    top: 0;
    right: 3.9rem;
    z-index: 1;
}

.program-deco-cat {
    position: absolute;
    top: -26.5rem;
    right: 7.8rem; 
    width: 60rem; 
    height: auto;
    pointer-events: none;
    z-index: 4;
}

.program-deco-ufo-cat {
    position: absolute;
    top: 20.25rem; 
    left: 80.5rem;
    width: auto;
    height: 12rem;
    pointer-events: none;
    z-index: 4;
}

.program-hero-grid {
    display: grid;
    grid-template-columns: 71.4rem minmax(0, 1fr);
    align-items: center;
    gap: 7.8rem;
    position: relative;
    margin-top: 5.85rem;
}

.program-deco-spaceman {
    position: absolute;
    bottom: -15.6rem;
    left: -15.6rem;
    width: 20rem;
    height: auto;
    pointer-events: none;
    z-index: 4;
}

.program-hero-content {
    position: relative;
    z-index: 3;
}

.program-hero-text {
    font-size: 4rem;
    line-height: 1.4;
}

.program-hero-text p {
    margin: 0;
}

.program-hero-media {
    position: relative;
    width: 100%;
}

.program-star-4 {
    position: absolute;
    bottom: 8.1rem;
    left: -5.1rem;
    z-index: 2;
}

.program-star-5 {
    position: absolute;
    top: 15.6rem;
    right: -3.9rem;
    z-index: 2;
}

.program-star-6 {
    position: absolute;
    bottom: -1.74rem; 
    right: 10.2rem;
    z-index: 2;
}

.program-laptop-wrapper {
    position: relative;
    width: 100%;
}

.program-laptop {
    position: relative;
    width: calc(100% * (3036 / 2448));
    margin-left: calc(-100% * (294 / 2448));
    aspect-ratio: 3036 / 1773;
}

.program-laptop__frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}

.program-laptop__screen {
    position: absolute;
    top: 5.2%;
    left: 11.7%;
    width: 76.4%;
    height: 81.5%;
    overflow: hidden;
    background-color: var(--color-lody-lawendowe);
    z-index: 1;
}

.program-video-cover {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.program-video-cover__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.program-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.program-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
    opacity: 0.95;
}

.program-play-svg {
    width: 27.5rem;
    height: auto;
    display: block;
}

.program-video-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.program-video-embed.is-active {
    display: block;
}

.program-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.program-video-btn {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: max-content !important;
    background-color: var(--color-lody-smietankowe);
    color: var(--color-czarne-espresso);
    padding: 0.4rem 0.4rem 0.4rem 0.6rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    z-index: 10;
    white-space: nowrap;
    transition: none !important;
}

.program-video-btn:hover,
.program-video-btn:active,
.program-video-btn:focus {
    transform: translateX(-50%) !important;
}

.program-laptop__screen.is-playing .program-video-btn {
    display: flex;
}

.program-native-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.program-tabs {
    justify-content: center;
    margin-bottom: 0; 
    margin-top: 5.85rem;
}

.program-tabs .btn {
    flex: 1;
    text-transform: none;
}

.program-accordion {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.program-accordion__item {
    border-bottom: 1px solid var(--color-pomidorowa-czerwien);
}

.program-accordion__item:first-child {
    border-top: 1px solid var(--color-pomidorowa-czerwien);
}

.program-accordion__header {
    width: 100%;
    display: grid;
    grid-template-columns: 71.4rem minmax(0, 1fr);
    gap: 7.8rem;
    align-items: start;
    padding: 5.85rem 0;
    background: transparent;
    border: none;
    color: inherit;
    font-family: inherit; 
    font-size: inherit;
    cursor: pointer;
    text-align: left;
    transition: padding 0.3s ease;
}

.program-accordion__item:not(.is-active) .program-accordion__header {
    padding: 5.85rem 0;
}

.program-accordion__title {
    grid-column: 1;
    grid-row: 1;
    font-size: 6rem;
    font-weight: 400;
    line-height: 0.94;
    text-transform: uppercase;
    margin: 0;
}

.program-accordion__content-preview {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-accordion__item.is-active .program-accordion__content-preview {
    grid-template-rows: 1fr;
}

.program-lessons {
    min-height: 0;
    overflow: hidden;
    padding-left: 4rem; 
    margin-left: -4rem;
    padding-right: 7.8rem;    
    list-style: none;
    counter-reset: custom-counter;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;    
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-accordion__item.is-active .program-lessons {
    opacity: 1;
}

.program-lessons li {
    position: relative;
    padding-left: 0; 
    counter-increment: custom-counter;
}

.program-lessons li::before {
    content: counter(custom-counter) ". ";
    position: absolute;
    left: -2.8rem; 
    top: 0;
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    display: inline-block;
}

.program-accordion__icon {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 6rem; 
    font-weight: 400;
    line-height: 0.94; 
    transition: transform 0.3s ease;
}

.program-accordion__item.is-active .program-accordion__icon {
    transform: rotate(180deg);
}

.program-deco-ufo-blurred {
    position: absolute;
    bottom: -56rem;
    right: -48rem;
    width: 91.8rem;
    height: auto;
    pointer-events: none;
    z-index: 1;
}

/* --- SEKCJA O MNIE --- */

.about-section {
    position: relative;
    background-color: var(--color-lody-smietankowe); 
    padding: 11.7rem 0;
    overflow-x: clip;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 15.6rem;
}

.about-media {
    position: relative;
    width: 100%;
}

.about-photo-wrapper {
    width: 100%;
    aspect-ratio: 714 / 1068;
    border-radius: 50rem;
    overflow: hidden;
    margin: 0;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 7.8rem;
}

.about-content h2 {
    text-wrap: nowrap;
    width: 0;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text p {
    margin: 0;
}

/* --- SEKCJA GWARANCJA --- */

.guarantee-section {
    position: relative;
    padding: 15.6rem 0;
    overflow-x: clip;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 15.6rem;
    position: relative;
    z-index: 2;
}

.guarantee-media {
    position: relative;
    width: 100%;
    display: block; 
}

.guarantee-text {
    position: relative;
    width: 100%; 
    height: auto;
    z-index: 2; 
    display: block;
}

.guarantee-cat {
    position: absolute;
    width: 44.25%;
    top: 10%;
    left: 36%;
    height: auto;
    display: block;
}

.guarantee-cat--bottom {
    z-index: 1;
}

.guarantee-cat--top {
    z-index: 3; 
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 85%, 0 36%);
}

.guarantee-star-top-right {
    position: absolute;
    top: 0;
    right: 0;
}

.guarantee-star-bottom-right {
    position: absolute;
    bottom: 15.6rem;
    right: 15.6rem;
}

.guarantee-content {
    display: flex;
    flex-direction: column;
    gap: 7.8rem;
}

.guarantee-heading {
    font-size: 3.9rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.guarantee-disclaimer {
    margin: 0;
}

/* --- SEKCJA CENNIK --- */

.pricing-section {
    position: relative;
    padding: 15.6rem 0;
    overflow-x: clip;
}

.pricing-container {
    display: flex;
    flex-direction: column;
    gap: 7.8rem;
}

.pricing-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
    column-gap: 7.8rem;
    align-items: center;
    width: 100%;
    margin-bottom: 7.8rem;
}

.pricing-title {
    grid-column: 1 / 4;
    margin: 0;
}

.pricing-tabs {
    grid-column: 4 / -1;
    width: 100%;
}

.pricing-tabs .btn {
    flex: 1;
}

.pricing-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto; 
    column-gap: 7.8rem;
    row-gap: 0;
}

.pricing-grid.is-active-tab {
    display: grid !important; 
}

.pricing-divider {
    width: 1px;
    background-color: var(--color-pomidorowa-czerwien);
    grid-row: 1 / span 4; 
}

.pricing-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / span 4; 
    min-width: 0;
}

.pricing-card__header {
    display: flex;
    flex-direction: column;
    margin-bottom: 6rem;
    min-width: 0;
}

.pricing-card__subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 4.2rem;
}

.pricing-card__price-wrapper {
    position: relative;
    width: fit-content;
    min-width: 0;
}

.pricing-card__price {
    font-size: var(--price-font-size, 11.6rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4.2rem;
    white-space: nowrap;
}

.pricing-card__price--old {
    position: absolute;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-decoration: line-through;
    top: -2rem;
    right: 0;
}

.pricing-card__body {
    display: contents; 
}

.pricing-card__lessons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 6rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.pricing-list {
    margin-bottom: 7.8rem;
    gap: 2rem;
}

.pricing-card__footer {
    display: flex;
    width: 100%;
}

.pricing-btn {
    width: 100%;
    justify-content: center;
    text-wrap: nowrap;
}

.pricing-disclaimers {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
}

.pricing-disclaimers p + p {
    margin-top: 1.6rem;
}

/* --- SEKCJA FAQ --- */

.faq-section {
    position: relative;
    padding: 15.6rem 0;
    overflow-x: clip;
}

.faq-container {
    display: flex;
    flex-direction: column;
}

.faq-section a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.4rem;
}

.faq-title {
    margin: 0 0 9.75rem 0;
}

.faq-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 9.75rem;
    width: calc((100% + 1px - 7.8rem) / 3);
}

.faq-tabs .btn {
    flex: 1;
}

.faq-tabs .btn--outline {
    background-color: transparent;
    border: 0.2rem solid var(--color-pomidorowa-czerwien);
    color: var(--color-pomidorowa-czerwien);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.faq-tabs .btn--outline:hover {
    background-color: var(--color-pomidorowa-czerwien);
    color: #ffffff;
}

.faq-tabs .btn--primary {
    border: 0.2rem solid var(--color-pomidorowa-czerwien);
}

.faq-panels-wrapper {
    overflow: hidden;
    will-change: height;
}

.faq-panel {
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-panel.is-active {
    opacity: 1;
}

.faq-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--color-pomidorowa-czerwien);
}

.faq-item {
    border-bottom: 1px solid var(--color-pomidorowa-czerwien);
    width: 100%;
}

.faq-item__header {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 15.6rem;
    align-items: start;
    width: 100%;
    padding: 3.9rem 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    text-align: left;
}

.faq-item__question {
    grid-column: 1;
    line-height: 1.5;
    color: var(--color-czarne-espresso);
}

.faq-item__answer-col {
    grid-column: 2;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    padding-right: 7rem;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-item.is-active .faq-item__answer-col {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-item__answer-inner {
    min-height: 0;
    overflow: hidden;
}

.faq-item__answer {
    line-height: 1.5;
    color: var(--color-czarne-espresso);
    margin: 0;
}

.faq-item__icon {
    position: absolute;
    right: 0;
    top: 3.9rem;
    font-family: var(--font-main);
    font-weight: 500;
    color: var(--color-czarne-espresso);
    display: inline-block;
    transition: transform 0.3s ease;
}

.faq-item.is-active .faq-item__icon {
    transform: rotate(180deg);
}

.faq-footer {
    margin-top: 7.8rem;
}

.faq-footer__text {
    line-height: 1.5;
    color: var(--color-czarne-espresso);
    margin: 0;
}

/* --- KONTENER CTA I STOPKI --- */

.site-bottom-wrapper {
    position: relative;
    overflow: clip;
}

/* --- SEKCJA CTA --- */

.cta-section {
    position: relative;
    padding: 15.6rem 0 20rem 0;
    background: linear-gradient(90deg, var(--color-fiolet-kursowy) 15.6rem, var(--color-pomidorowa-czerwien) calc(100% - 15.6rem));
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 15.6rem;
    position: relative;
    z-index: 2;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 5.46rem;
}

.cta-heading {
    font-size: 3.9rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.cta-subheading {
    font-size: 3.9rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding-right: 15.6rem;
    padding-left: 15.6rem;
    letter-spacing: 0.1em;
}

.cta-media {
    position: relative;
    width: 100%;
    display: block;
}

.cta-badge {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.cta-star-top-right {
    position: absolute;
    top: 7.8rem;
    right: 7.8rem;
    pointer-events: none;
    z-index: 2;
}

.cta-deco-ufo-blurred {
    position: absolute;
    bottom: -33rem;
    left: calc(-91.8rem + 27.3rem);
    width: 91.8rem;
    height: auto;
    transform: rotate(-30deg);
    pointer-events: none;
    z-index: 3;
}

.cta-astronaut {
    position: absolute;
    bottom: -6.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20rem;
    height: auto;
    z-index: 3;
    pointer-events: none;
}

/* --- STOPKA --- */

.footer {
    position: relative;
    padding: 11.7rem 0 20rem 0;
    overflow-x: clip;
    background: var(--color-fiolet-kursowy);
}

.footer-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    padding-right: 7.8rem;
    padding-left: 7.8rem;
    z-index: 2;
}

.footer-col--brand {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5.85rem;
}

.footer-logo {
    display: inline-block;
    width: 16.93rem;
    height: 7.75rem;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-copy {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

.footer-col--links {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: auto;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.footer-links li {
    font-size: 1.6rem;
    line-height: normal;
}

.footer-links a {
    display: block;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: normal;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-col--credits {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 2.4rem;
    text-align: right;
}

.footer-col--credits p {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.footer-col--credits a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-col--credits a:hover {
    opacity: 0.7;
}

.footer-col--credits strong em {
    font-style: italic;
    font-weight: 700;
}

.footer-bg-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8.3rem;
    line-height: 0;
    font-size: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.footer-bg-waves img {
    position: absolute;
    bottom: 0;
    left: -4.45rem;
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
    vertical-align: bottom;
}

/* --- PRZYCISK POWRÓT NA GÓRĘ --- */

.btn-back-to-top {
    position: fixed;
    bottom: 3.075rem;
    right: 3.075rem;
    width: 5.85rem;
    height: 5.85rem;
    border-radius: 50%;
    background-color: rgba(81, 62, 117, 0.5);
    backdrop-filter: blur(2rem);
    -webkit-backdrop-filter: blur(2rem);
    box-shadow: 
        0 0.6rem 2rem rgba(24, 11, 44, 0.28),
        0 0.2rem 0.8rem rgba(81, 62, 117, 0.2),
        inset 0 0.1rem 0.1rem rgba(241, 236, 230, 0.15);
    border: none;
    color: var(--color-lody-smietankowe);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1.5rem);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background-color: var(--color-pomidorowa-czerwien);
    color: var(--color-lody-smietankowe);
    transform: translateY(-0.3rem);
    box-shadow: 
        0 0.8rem 2.2rem rgba(217, 50, 50, 0.35),
        0 0.2rem 0.8rem rgba(24, 11, 44, 0.2),
        inset 0 0.1rem 0.1rem rgba(241, 236, 230, 0.25);
}

.btn-back-to-top__icon {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
    display: block;
    transform: translateY(-0.15rem);
}

/* --- ANIMACJE: GWIAZDY (OGÓLNE) --- */

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.35;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.icon-star--hero-left {
    animation: starTwinkle 3.2s ease-in-out infinite;
    will-change: transform, opacity;
}

.icon-star--hero-orbit-right {
    animation: starTwinkle 4.5s ease-in-out 1.2s infinite;
    will-change: transform, opacity;
}

.program-star-1 {
    animation: starTwinkle 3.8s ease-in-out 0.6s infinite;
    will-change: transform, opacity;
}

.program-star-2 {
    animation: starTwinkle 5s ease-in-out 2s infinite;
    will-change: transform, opacity;
}

/* --- ANIMACJE: SEKCJA MANIFEST --- */

@keyframes planetGentleFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-0.8rem, -1.8rem) rotate(1.5deg);
    }
}

@keyframes corePulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.95;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

.manifest-planet {
    animation: planetGentleFloat 12s ease-in-out infinite;
    will-change: transform;
}

.manifest-planet__circle {
    animation: corePulseGlow 7s ease-in-out infinite;
    will-change: transform, opacity;
}

/* --- ANIMACJE: SEKCJA POZIOMY --- */

@keyframes orbitWobble1 {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(7deg) scale(1.04);
    }
}

@keyframes orbitWobble2 {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(-8deg) scale(0.96);
    }
}

.level-card:nth-child(1) .level-card__orbit {
    animation: orbitWobble1 9s ease-in-out infinite;
    will-change: transform;
}

.level-card:nth-child(2) .level-card__orbit {
    animation: orbitWobble2 10.5s ease-in-out infinite;
    animation-delay: -3s;
    will-change: transform;
}

.level-card:nth-child(3) .level-card__orbit {
    animation: orbitWobble1 12s ease-in-out infinite;
    animation-delay: -6s;
    will-change: transform;
}

/* --- ANIMACJE: SEKCJA DLACZEGO --- */

@keyframes moonOrbitMotion {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(1.2rem, -1.6rem);
    }
    66% {
        transform: translate(-0.8rem, -0.9rem);
    }
}

.why-hero__solid-bottom {
    animation: moonOrbitMotion 10s ease-in-out infinite;
    will-change: transform;
}

@keyframes starDriftTwinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.85) translate(0, 0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) translate(0.4rem, -0.6rem);
    }
}

.why-hero__star-top {
    animation: starDriftTwinkle 4s ease-in-out infinite;
    will-change: transform, opacity;
}

/* --- ANIMACJE: SEKCJA PROGRAM --- */

@keyframes catFloating {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-1.2rem, -2rem) rotate(-2deg);
    }
    66% {
        transform: translate(1rem, -1rem) rotate(1.5deg);
    }
}

.program-deco-cat {
    animation: catFloating 9s ease-in-out infinite;
    will-change: transform;
}

.program-deco-ufo-cat.reveal-on-scroll {
    opacity: 0;
    transform: translate(8rem, -6rem) scale(0.3) rotate(20deg);
    filter: blur(1rem);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.1s cubic-bezier(0.34, 1.4, 0.64, 1),
                filter 0.8s ease;
    will-change: transform, opacity, filter;
}

.program-deco-ufo-cat.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
    filter: blur(0);
}

@keyframes spacemanZeroGravity {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(1rem, -2.2rem) rotate(-6deg);
    }
}

.program-deco-spaceman.reveal-on-scroll {
    opacity: 0;
    transform: translate(-12rem, 10rem) rotate(18deg) scale(0.8);
    transition: opacity 1.1s ease, transform 1.4s cubic-bezier(0.34, 1.25, 0.64, 1);
    will-change: transform, opacity;
}

@keyframes ufoAmbientDriftRight {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-2.5rem, -2rem);
    }
}

.program-deco-ufo-blurred.reveal-on-scroll {
    opacity: 0;
    transform: translate(10rem, 8rem) scale(0.9);
    transition: opacity 1.2s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.program-deco-ufo-blurred.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    animation: ufoAmbientDriftRight 16s ease-in-out infinite 1.4s;
}

/* --- ANIMACJE: SEKCJA GWARANCJA --- */

.guarantee-star-top-right {
    animation: starTwinkle 3.2s ease-in-out infinite;
    will-change: transform, opacity;
}

/* --- ANIMACJE: SEKCJA CTA --- */

@keyframes cosmicFloatCentered {
    0%, 100% {
        transform: translate(-50%, 0) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -1.6rem) rotate(-2.5deg);
    }
}

.cta-astronaut {
    animation: cosmicFloatCentered 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes ufoAmbientDriftLeft {
    0%, 100% {
        transform: rotate(-30deg) translate(0, 0);
    }
    50% {
        transform: rotate(-28deg) translate(2.5rem, -2rem);
    }
}

.cta-deco-ufo-blurred.reveal-on-scroll {
    opacity: 0;
    transform: rotate(-30deg) translate(-10rem, 8rem) scale(0.9);
    transition: opacity 1.2s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.cta-deco-ufo-blurred.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: rotate(-30deg) translate(0, 0) scale(1);
    animation: ufoAmbientDriftLeft 18s ease-in-out infinite 1.4s;
}

/* --- FIX NA UCIĘTE ZDJĘCIE W SAFARI --- */

/* 1. Wymuszenie na Safari poprawnego maskowania kółka */
.why-hero__photo-wrapper {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    transform: translateZ(0); /* wymusza akcelerację sprzętową, naprawia błędy z overflow */
}

/* 2. Zmuszenie obrazka do wypełnienia 100% kółka */
.why-hero__photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}