/* --- GLOBALNE STYLE (Stripe Look & Feel) --- */
:root {
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    --color-text-primary: #0d1a3a;
    --color-text-secondary: #425466;
    --color-brand-primary: #532ADC;
    --color-brand-hover: #3003C5;
    --color-background-light: #f6f9fc;
    --color-background-white: #ffffff;
    --color-border: #e6ebf1;
    --border-radius: 8px;
    --section-padding: 90px 0;
}

/* --- Reset --- */
body, html {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--color-background-white);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

svg[height="0"] {
    display: block;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-top: 0;
    margin-bottom: 24px;
}

a {
    text-decoration: none;
    color: var(--color-brand-primary);
    transition: color 0.2s ease;
}
a:hover {
    color: var(--color-brand-hover);
}

.cta-button {
    display: inline-block;
    background-color: var(--color-brand-primary);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.cta-button:hover {
    background-color: var(--color-brand-hover);
    transform: translateY(-2px);
    color: #ffffff;
}

.section-light {
    background-color: var(--color-background-light);
    padding: var(--section-padding);
}
.section-white {
    background-color: var(--color-background-white);
    padding: var(--section-padding);
}
.text-center { text-align: center; }

.section-subhead {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

/* --- KONTENER DLA GRADIENTU --- */
.header-gradient-wrapper {
    position: relative;
    overflow: hidden;
    background-color: var(--color-background-white); 
}

/* --- BAZOWY STYL (Wspólny dla obu) --- */
#gradient-canvas {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    bottom: 0; 
    clip-path: url(#curvedMask);
    /* Domyślne kolory (np. Warm/Performance) - zabezpieczenie */
    --gradient-color-1: #ff6e30; 
    --gradient-color-2: #6ec3f4; 
    --gradient-color-3: #7038ff;  
    --gradient-color-4: #ff2727;
}

/* --- WARIANT CIEPŁY (Loyka Performance) --- */
/* Używamy ID + Klasy dla zwiększenia priorytetu (specyficzności) */
#gradient-canvas.warm-variant {
    --gradient-color-1: #ff6e30; 
    --gradient-color-2: #6ec3f4; 
    --gradient-color-3: #7038ff;  
    --gradient-color-4: #ff2727;
}

/* --- WARIANT CHŁODNY (Loyka Ordering) --- */
#gradient-canvas.cool-variant {
    --gradient-color-1: #00c6ff; 
    --gradient-color-2: #532ADC; 
    --gradient-color-3: #0072ff;  
    --gradient-color-4: #00d2ff;
}

/* --- NAGŁÓWEK (Nawigacja) --- */
.main-nav {
    position: relative;
    z-index: 102;
    background-color: transparent;
    padding: 16px 0;
}
.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.main-nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    mix-blend-mode: difference;
}
.main-nav-logo img.nav-logo-image {
    height: 28px;
    display: block;
    mix-blend-mode: difference;
    filter: brightness(0) invert(1);
    max-height: 28px;
    width: auto;
}

.main-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.main-nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    mix-blend-mode: difference;
}
.main-nav-links a.nav-contact-btn {
    background-color: var(--color-brand-primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-weight: 600;
    mix-blend-mode: normal;
}
.main-nav-links a.nav-contact-btn:hover {
    background-color: var(--color-brand-hover);
    color: white;
}
.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
    mix-blend-mode: difference;
    background: rgba(255, 255, 255, 0.2); 
    backdrop-filter: blur(8px); 
    border-radius: var(--border-radius);
    padding: 4px 12px;
    align-items: center;
    justify-content: center;
    z-index: 101; 
}

/* Style dla nawigacji na podstronach (z tłem) */
.main-nav[style*="background"] .main-nav-links a {
    mix-blend-mode: normal !important;
    color: #ffffff !important;
}
.main-nav[style*="background"] .main-nav-logo,
.main-nav[style*="background"] .nav-logo-image {
    mix-blend-mode: normal !important;
    filter: none !important;
    opacity: 1 !important;
}

/* --- SEKCJA HERO --- */
.hero-section {
    padding: 50px 0 50px 0;
    position: relative;
    z-index: 2;
    background-color: transparent;
}
.hero-container-flex {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-text-content {
    flex: 1;
    text-align: left;
    z-index: 10;
}
.hero-visual-content {
    flex: 1;
    position: relative; 
    min-height: 600px;
}

.phone-frame, .tablet-frame {
    position: absolute; 
    overflow: hidden;
    background-color: #eaeaea;
    padding: 0; 
    border: 6px solid #eaeaea;
    box-sizing: border-box;
    border-radius: 24px;
}

.phone-frame {
    width: 243px; 
    height: auto; 
    aspect-ratio: 1169 / 2431;
    left: 20%;
    top: 50%;
    transform: translateY(calc(-50% + 60px));
    z-index: 10;
    box-shadow: 0 0 50px -6px rgba(0, 0, 0, 0.2);
}

.tablet-frame {
    width: 750px;
    height: auto;
    aspect-ratio: 2160 / 1620;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    box-shadow: 0 0 50px -6px rgba(10, 8, 8, 0.2);
}

.blur-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 18px;
}

.phone-frame img, 
.tablet-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.phone-frame img.hero-image-load.loaded,
.tablet-frame img.hero-image-load.loaded {
    opacity: 1;
}

.hero-text-content h1, 
.hero-text-content h2 {
    color: #ffffff;
    mix-blend-mode: normal;
    margin: 0;
}
.hero-text-content h1 {
    margin-bottom: 16px; 
}
.hero-text-content h2 {
    font-size: 2.25rem; 
    font-weight: 600;
    margin-bottom: 24px;
    background: none;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}
.hero-text-content .subhead {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 0 32px 0;
    color: var(--color-text-secondary);
    mix-blend-mode: normal; 
}
.hero-text-content .cta-button {
     position: relative;
     z-index: 10;
     mix-blend-mode: normal; 
}

/* --- SEKCJA Logo Bar --- */
.logo-bar-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
}
.logo-grid img {
    max-width: 100%;
    height: auto;
    max-height: 180px; 
    justify-self: center;
    filter: grayscale(100%) opacity(60%);
    transition: filter 0.2s ease;
}
.logo-grid img:hover {
    filter: grayscale(0%) opacity(100%);
}

/* --- SEKCJE INTERAKTYWNE (Split & Tabs) --- */
.content-split-section:nth-of-type(even) {
     background-color: var(--color-background-light);
}
.content-split-section:nth-of-type(odd) {
     background-color: var(--color-background-white);
}

.split-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}
.split-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px; 
    position: sticky; 
    top: 60px; 
}
.split-visual-content {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.content-block {
    padding: 10px 14px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent; 
}
.content-block.active {
    background-color: var(--color-background-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border-color: var(--color-border); 
}
.content-block.intro {
    background-color: transparent;
    box-shadow: none;
    cursor: default;
    border-color: transparent;
}
.content-block.intro h2 {
    font-size: 2.25rem;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}
.content-block.intro p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}
.content-block h3 {
    font-size: 1.25rem; 
    color: var(--color-brand-primary);
    margin-bottom: 8px;
}
.content-block p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 0;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--color-brand-primary);
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 16px;
    display: inline-block;
    margin-bottom: 24px;
}
.section-eyebrow.text-center {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

/* --- WIDEO I MASKI --- */
.video-wrapper-mask {
    overflow: hidden; 
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    width: 100%; 
}
.video-wrapper-mask video {
    transform: scale(1.02);
    width: 100%;
}
video {
    transition: opacity 0.5s ease-in;
    opacity: 0;
}
video:not(.lazy-video) {
    opacity: 1;
}

/* --- ELEMENTS WIZUALNE --- */
.visual-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.visual-item.active {
    opacity: 1;
    visibility: visible;
    position: relative; 
}
.split-visual-content > .visual-item.active ~ .visual-item.active {
    position: absolute;
}

/* --- Sekcja "Wyróżniki" (Toggle + Phones) --- */
.omni-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    background-color: var(--color-background-light);
    border-radius: var(--border-radius);
    padding: 4px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--color-border); 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.omni-toggle-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background-color: transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.omni-toggle-btn:not(.active):hover {
    background-color: var(--color-background-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.07);
}
.omni-toggle-btn.active {
    background-color: var(--color-brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(83, 42, 220, 0.3); 
}

.omni-phone-cluster {
    position: relative;
    height: 520px; 
    max-width: 400px;
    margin: 0 auto;
}
.omni-phone-cluster .visual-phone-frame {
    width: 243px;
    height: 486px;
    position: absolute;
    top: 0;
    left: 50%;
    transform-origin: bottom center;
    scale: 0.95; 
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.omni-phone-1 { 
    transform: translateX(-70%) rotate(-10deg);
    z-index: 1;
}
.omni-phone-2 { 
    transform: translateX(-30%) rotate(10deg);
    z-index: 2;
}
.omni-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px; 
    overflow: hidden;
    background-color: #FFF;
}
.omni-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
}
.omni-view.active {
    opacity: 1;
    visibility: visible;
}

#wyrozniki.content-split-section .split-container {
    align-items: center; 
}
#wyrozniki .split-text-content {
    position: static; 
}

/* --- Telefon wizualny (w sekcjach) --- */
.visual-phone-frame {
    padding: 6px; 
    background-color: #eaeaea;
    border-radius: 24px;
    box-shadow: 0 0 50px -6px rgba(0, 0, 0, 0.2);
    position: relative;
    max-width: 243px; 
    height: 486px;
    margin: 0 auto;
}
.visual-phone-frame::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit; 
    box-shadow: inset 0 0 6px 1px rgba(0, 0, 0, 0.15);
    pointer-events: none; 
}
.visual-phone-frame .video-wrapper-mask {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden; 
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.visual-phone-frame .video-wrapper-mask video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}
.visual-phone-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

/* --- Sekcja "Wygoda" (Kolaż) --- */
.activation-collage-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.collage-center {
    z-index: 10;
    position: relative;
    box-shadow: 0 20px 60px -10px rgba(0,0,0,0.3);
}
.floating-card {
    position: absolute;
    width: 200px; 
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    z-index: 5;
    object-fit: cover;
    background-color: #fff;
}
.floating-card:hover {
    transform: scale(1.05);
    z-index: 20;
}
/* Pozycjonowanie kart */
.card-1 { top: 5%; left: 10%; z-index: 12; transform: rotate(-5deg); }
.card-2 { top: 10%; right: 10%; z-index: 12; transform: rotate(-2deg); }
.card-3 { top: 20%; left: -10%; z-index: 12; transform: rotate(-2deg); }
.card-4 { top: 25%; right: 0%; z-index: 12; transform: rotate(3deg); }
.card-5 { bottom: 0%; left: 5%; z-index: 12; transform: rotate(4deg); }
.card-6 { bottom: 7%; right: 10%; z-index: 12; transform: rotate(-4deg); }
.card-7 { top: 40%; right: -5%; z-index: 12; transform: rotate(-3deg); }

/* Mobile Rotator (dla sekcji Wygoda) */
.mobile-convenience-rotator {
    display: none; /* Tylko na mobile */
}
.rotator-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid var(--color-border);
    overflow: hidden;
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
}
.rotator-image-container {
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-background-light);
    padding: 20px;
    box-sizing: border-box;
}
.rotator-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 12px;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    opacity: 1;
    transform: scale(1);
}
.rotator-image-container img.fade-out {
    opacity: 0;
    transform: scale(0.95);
}
.rotator-text-content {
    padding: 24px 20px;
}
.rotator-text-content p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 16px 0;
    min-height: 3.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}
.rotator-text-content p.fade-out {
    opacity: 0;
}
.rotator-progress-bar {
    width: 100%;
    height: 4px;
    background-color: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
}
.progress-fill {
    height: 100%;
    background-color: var(--color-brand-primary);
    width: 0%;
}

/* --- LISTY CECH (Feature List) --- */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.feature-list li {
    position: relative;
    padding-left: 30px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}
.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-brand-primary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
}
.feature-list li strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* --- PŁATNOŚCI (Logos) --- */
.payment-logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 24px 0 0 0;
    gap: 24px; 
    width: 100%;
    box-sizing: border-box;
    padding-top: 50px;
    padding-bottom: 50px;
}
.payment-logo-grid img {
    max-height: 50px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
}
.powered-by-stripe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}
.powered-by-stripe .powered-by-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}
.powered-by-stripe img {
    height: 20px;
    width: auto;
}

/* --- REFERENCJE --- */
.testimonial-section {
    padding: var(--section-padding);
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background-color: var(--color-background-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.testimonial-card::before {
    content: '“';
    position: absolute;
    z-index: 0;
    top: 10px;
    right: 20px;
    font-size: 10rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-border); 
    font-family: Georgia, Times, "Times New Roman", serif;
}
.testimonial-card > .testimonial-photo,
.testimonial-card > .testimonial-text,
.testimonial-card > .testimonial-signature {
    position: relative;
    z-index: 1;
}
.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}
.testimonial-card .testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin: 0 0 20px 0;
    padding: 0;
    flex-grow: 1;
}
.testimonial-card .testimonial-signature {
    font-size: 0.9rem;
}
.testimonial-card .author-name {
    display: block;
    font-weight: 600;
    color: var(--color-text-primary);
}
.testimonial-card .author-company {
    display: block;
    color: var(--color-text-secondary);
}

/* --- FORMULARZ KONTAKTOWY (CTA) --- */
.form-split-container {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    margin-top: 40px;
}
.form-split-text {
    flex: 1;
    text-align: left;
}
.form-split-text h2 {
    font-size: 2.75rem;
    margin-bottom: 20px;
}
.form-split-text .section-subhead {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    margin-bottom: 20px; 
}
.form-split-text p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}
.form-split-form {
    flex: 1;
}

.contact-form-wrapper {
    max-width: 100%; 
    margin: 0;
    text-align: left;
    background-color: var(--color-background-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 32px;
}
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 16px;
    align-items: flex-end; 
}
.form-input-group {
    display: flex;
    flex-direction: column;
}
.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}
.form-input {
    font-size: 1rem;
    padding: 16px 16px; 
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    color: var(--color-text-primary);
    background-color: var(--color-background-light);
    width: 100%;
    box-sizing: border-box; 
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input:focus {
    border-color: var(--color-brand-primary);
    box-shadow: 0 0 0 1px var(--color-brand-primary);
    outline: none;
}
.form-input::placeholder {
    color: #9a9a9a;
}
.form-submit-button {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem; 
    box-sizing: border-box;
    grid-column: 1 / -1; 
    margin-top: 8px;
    background-color: var(--color-brand-primary);
    color: #ffffff;
}
.form-submit-button:hover {
    background-color: var(--color-brand-hover);
}

.form-legal-section {
    margin-top: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.form-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-brand-primary);
}
.form-checkbox-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    cursor: pointer; 
}
.form-legal-toggle {
    font-size: 0.8rem;
    color: var(--color-text-primary);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin: 4px 0 0 0; 
}
.form-legal-fulltext {
    display: none; 
    font-size: 0.8rem; 
    color: var(--color-text-secondary);
    background-color: var(--color-background-light);
    border-radius: var(--border-radius);
    padding: 12px;
    max-height: 150px;
    overflow-y: auto;
    line-height: 1.6;
    border: 1px solid var(--color-border); 
    margin: 8px 0 0 0; 
}
.form-legal-fulltext a {
    color: var(--color-brand-primary);
    font-weight: 600;
}

/* --- STICKY CTA BAR --- */
.sticky-cta-bar {
    display: flex; 
    justify-content: flex-end; 
    position: fixed;
    bottom: 30px;
    right: 30px;
    left: auto;
    width: auto;
    background-color: transparent;
    padding: 0;
    box-shadow: none; 
    z-index: 999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none; 
}
.sticky-cta-bar.visible {
    transform: translateY(0);
    opacity: 1;
}
.sticky-cta-bar .cta-button {
    pointer-events: auto; 
    background-color: var(--color-brand-primary);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(83, 42, 220, 0.4);
    border-radius: 50px; 
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}
.sticky-cta-bar .cta-button:hover {
    background-color: var(--color-brand-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(83, 42, 220, 0.5);
}

/* --- STRONA INFORMACJE PRAWNE (Legal) --- */
.legal-page-wrapper {
    padding: 60px 20px;
    background-color: #fff;
}
.legal-container {
    max-width: 900px;
    margin: 0 auto;
}
.legal-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    align-items: flex-start;
}
.legal-nav-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    background-color: #f6f9fc;
    color: #532ADC;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    border: 1px solid #e6ebf1;
}
.legal-nav-btn:hover {
    background-color: #532ADC;
    color: #fff;
    border-color: #532ADC;
    transform: translateX(5px);
}
.legal-text-block {
    margin-bottom: 60px;
    border-bottom: 1px solid #e6ebf1;
    padding-bottom: 40px;
}
/* Zachowane klasy tekstowe dla treści prawnej */
.heading-10, .heading-11 {
    font-family: var(--font-family) !important;
    color: var(--color-text-primary) !important;
    margin-top: 40px !important;
    margin-bottom: 16px !important;
}
.heading-10 { font-size: 2rem !important; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.heading-11 { font-size: 1.25rem !important; font-weight: 600 !important; }
.paragraph-2 {
    font-family: var(--font-family) !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: var(--color-text-secondary) !important;
    max-width: 800px !important;
    margin-bottom: 1.5em !important;
}
.legal-text-block ul { margin-bottom: 15px; padding-left: 20px; color: #425466; }
.legal-text-block li { margin-bottom: 8px; }

/* --- STOPKA --- */
.main-footer {
    background-color: var(--color-background-white);
    border-top: 1px solid var(--color-border);
    padding: 40px 0 30px 0;
    color: var(--color-text-secondary);
}
.footer-container-simple {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 24px;
}
.footer-logo img.footer-logo-image {
    height: 28px;
    display: block;
    filter: none !important;
    mix-blend-mode: normal !important;
}
.footer-simple-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
}
.footer-simple-legal-links a {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-simple-legal-links a:hover {
    color: var(--color-brand-primary);
}
.footer-simple-legal-text {
    font-size: 0.8rem;
    color: #6c757d;
    text-align: center;
    line-height: 1.5;
    max-width: 800px;
}
.footer-simple-legal-text p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #6c757d;
    margin: 0;
}
.footer-simple-legal-text p a[href^="tel"],
.form-legal-fulltext a[href^="tel"] {
    color: inherit !important; 
    text-decoration: none !important; 
    pointer-events: none !important; 
}

/* --- RESPONSIVE (RWD) --- */
@media (max-width: 991px) {
    /* Tablet/Mobile Layout Adjustments */
    .split-container, 
    .split-container.reversed {
        flex-direction: column !important; 
        gap: 40px;
        margin-bottom: 80px;
    }
    .split-text-content {
        padding: 0 !important;
        text-align: left;
        position: static;
    }
    .split-visual-content {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    #wzrost-dochodowosci .split-visual-content {
        margin-top: 40px !important;
    }
    .chart-container {
        height: 300px !important;
        padding: 0 5px;
    }
    .case-study-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    .case-visual {
        position: static !important;
        order: -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .main-nav .container {
        position: relative;
    }
    .main-nav-links {
        display: none;
        flex-direction: column;
        position: fixed; 
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-background-white);
        padding: 80px 20px 40px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 100;
        gap: 20px;
        border-radius: 0;
        overflow-y: auto; 
        box-sizing: border-box; 
    }
    .main-nav-links.active {
        display: flex;
    }
    .main-nav-links a {
        color: var(--color-text-primary);
        mix-blend-mode: normal;
        padding: 10px 0;
        font-size: 1.25rem; 
        text-align: center; 
    }
    .main-nav-links a.nav-contact-btn {
        mix-blend-mode: normal;
        text-align: center;
        width: auto; 
        display: inline-block;
        padding: 14px 28px;
        border-radius: 999px;
        margin: 0 auto;
    }
    .nav-toggle {
        display: flex;
        width: 1.5rem; 
        text-align: center;
    }
    .nav-toggle.menu-open,
    .main-nav-links.active + .nav-toggle {
         color: var(--color-text-primary); 
         mix-blend-mode: normal;
         z-index: 101;
         position: relative;
    }

    /* Typography & Hero */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-container-flex {
        flex-direction: column-reverse;
    }
    .hero-text-content {
        text-align: left !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-text-content h1, .hero-text-content h2 {
        color: #ffffff !important; 
        mix-blend-mode: normal !important;
    }
    .hero-text-content .subhead {
        color: rgba(255, 255, 255, 0.85) !important;
        mix-blend-mode: normal !important;
    }
    .hero-text-content .cta-button {
        align-self: center;
        margin-top: 20px;
    }
    .hero-visual-content {
        display: none; 
    }
    
    /* Mobile Phone Display */
    .omni-phone-cluster {
        height: 360px; 
        width: 100%;
        max-width: 100%;
        margin: 20px auto 0 auto;
        overflow: visible;
    }
    .omni-phone-cluster .visual-phone-frame {
        position: absolute;
        top: 0; 
        bottom: auto; 
        left: 50%;
        width: 243px; 
        height: 486px;
        transform-origin: top center;
    }
    .omni-phone-1 { 
        display: block !important;
        z-index: 1;
        transform: translateX(-75%) translateY(20px) rotate(-10deg) scale(0.65) !important;
    }
    .omni-phone-2 {
        display: block !important;
        z-index: 2;
        transform: translateX(-25%) translateY(20px) rotate(10deg) scale(0.65) !important;
    }

    /* Content Blocks & Visuals */
    #gradient-canvas {
        clip-path: url(#curvedMaskMobile);
    }
    
    .content-block .visual-item {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
        margin-left: -14px; 
        margin-right: -14px;
        width: calc(100% + 28px); 
        max-width: calc(100% + 28px);
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .content-block .visual-phone-frame {
        height: 486px;
        max-width: 243px; 
        margin: 0 auto;
    }
    
    /* Hide split visuals that are moved inside blocks on mobile */
    .content-split-section:not(#platforma):not(#wyrozniki):not(#wygoda) .split-visual-content {
        display: none !important;
    }

    /* Forms & Grids */
    .contact-form-grid {
        grid-template-columns: 1fr; 
    }
    .form-submit-button {
        height: auto; 
    }
    .contact-form-wrapper {
        padding: 24px;
    }
    .form-split-container {
        flex-direction: column;
        gap: 40px;
    }
    .form-split-text {
        text-align: center;
    }
    .form-split-text .section-subhead {
        margin-left: auto;
        margin-right: auto;
    }
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .payment-logo-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
        gap: 24px;
        height: auto !important; 
    }
    .payment-logo-grid img {
        height: 40px;
        width: auto;
        margin-bottom: 20px;
        display: block; 
        margin-left: auto;
        margin-right: auto;
    }
    .payment-logo-grid img:nth-last-child(-n+2) {
        margin-bottom: 0;
    }
    .powered-by-stripe {
        margin-top: 20px;
    }
    .sticky-cta-bar {
        bottom: 20px;
        right: 20px;
    }
    .sticky-cta-bar .cta-button {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    /* Wygoda Section Mobile Overrides */
    #wygoda .activation-collage-wrapper,
    #wygoda .desktop-only-collage,
    #wygoda .floating-card,
    #wygoda .visual-phone-frame {
        display: none !important;
    }
    .mobile-convenience-rotator {
        display: block;
        width: 100%;
        padding: 20px 0;
    }
    .content-block #visual-satisfaction-payments {
        height: auto;
    }
    
    /* 1. Tło menu i ogólne ustawienia */
    .main-nav-links.active {
        display: flex;
        background-color: var(--color-background-white); /* Białe tło menu */
    }

    /* 2. Tekst dla zwykłych linków (np. EN, Opcje) */
    .main-nav-links.active a:not(.nav-contact-btn) {
        mix-blend-mode: normal !important; /* Wyłączamy blendowanie na białym tle */
        color: var(--color-text-primary) !important; /* Ciemny tekst */
    }

    /* 3. Przycisk Loyka Performance (Ghost) */
    .main-nav-links.active .nav-btn-ghost {
        border: 1px solid var(--color-border) !important;
        color: var(--color-text-primary) !important;
        background-color: transparent !important;
    }

    /* 4. Przycisk Bezpłatna Konsultacja (CTA) - powrót do białego tekstu */
    .main-nav-links.active a.nav-contact-btn {
        mix-blend-mode: normal !important;
        background-color: var(--color-brand-primary) !important; /* Fioletowe tło */
        color: #ffffff !important; /* Biały tekst */
        opacity: 1 !important;
    }

    /* 5. Przełącznik języka - aktywny element */
    .main-nav-links.active .lang-link.active {
        color: var(--color-brand-primary) !important;
        border-bottom: 2px solid var(--color-brand-primary) !important;
    }

    /* 6. Ikona zamknięcia menu (X) */
    .nav-toggle.menu-open {
        color: var(--color-text-primary) !important;
        mix-blend-mode: normal !important;
    }
}

@media (max-width: 480px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .payment-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .phone-frame {
        max-width: 220px;
        height: 440px;
    }
}

@media (max-width: 1100px) {
    .floating-card {
        width: 160px;
    }
    .activation-collage-wrapper {
        transform: scale(0.9);
    }
}

/* --- OSTATECZNA NAPRAWA WYKRESU --- */
#wzrost-dochodowosci .visual-item,
#wzrost-dochodowosci .chart-container,
#profitabilityChart {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
}

#wzrost-dochodowosci .visual-item {
    min-height: 400px !important;
}

#wzrost-dochodowosci .chart-container {
    height: 400px !important;
}

@media (max-width: 768px) {
    #wzrost-dochodowosci .chart-container,
    #wzrost-dochodowosci .visual-item {
        height: 300px !important;
        min-height: 300px !important;
    }
}

/* --- KOREKTA ODSTĘPÓW (Compact View) --- */
#wzrost-sprzedazy, 
#wzrost-satysfakcji {
    padding: 50px 0 !important; /* Zmniejszono ze 100px */
}

#wzrost-sprzedazy .split-container, 
#wzrost-satysfakcji .split-container {
    margin-bottom: 60px !important; /* Zmniejszono ze 100px */
}

/* Usuwamy margines pod ostatnim elementem, żeby nie było dziury przed kolejną sekcją */
#wzrost-sprzedazy .split-container:last-child, 
#wzrost-satysfakcji .split-container:last-child {
    margin-bottom: 0 !important;
}

/* Zmniejszamy nagłówki sekcji w tych miejscach, żeby pasowały do gęstszego układu */
#wzrost-sprzedazy h3, 
#wzrost-satysfakcji h3 {
    margin-bottom: 10px !important;
}

/* --- FAQ SECTION STYLES (Fixed Alignment) --- */
/* Ograniczamy szerokość treści, ale kontener główny zostaje szeroki */
#faq .container > div:first-child, 
.faq-wrapper {
    max-width: 800px; /* Czytelna szerokość tekstu */
    width: 100%;
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    border-color: var(--color-brand-primary);
}

.faq-item[open] {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-color: var(--color-brand-primary);
}

.faq-question {
    padding: 20px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-brand-primary);
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
    margin-left: 20px;
    flex-shrink: 0;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    border-top: 1px solid transparent;
    text-align: left;
}

.faq-item[open] .faq-answer {
    border-top-color: #f0f0f0;
    padding-top: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Efekt świecenia dla przycisku Growth */
.pricing-card.growth .plan-cta {
    background: linear-gradient(45deg, var(--color-brand-primary), #7038ff);
    box-shadow: 0 4px 15px rgba(83, 42, 220, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
}

.pricing-card.growth .plan-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.pricing-card.growth .plan-cta:hover::after {
    left: 100%;
    transition: 0.5s;
}

/* Subtelny gradient tekstu w Hero H1 */
h1 {
    background: -webkit-linear-gradient(45deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- NOWA NAWIGACJA (Title Bar) --- */

/* 1. Przełącznik Języka */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 25px; /* Odstęp od przycisków */
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.lang-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
    text-transform: uppercase;
}

.lang-link:hover {
    color: #fff;
}

.lang-link.active {
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid #fff; /* Opcjonalne podkreślenie aktywnego języka */
}

.lang-sep {
    opacity: 0.4;
    font-size: 0.8em;
}

/* 2. Przycisk Ghost (Przejdź do Loyka dla firm) - POPRAWIONY */
.nav-btn-ghost {
    display: inline-block;
    padding: 8px 16px; /* Taki sam padding jak w przycisku "Darmowa Konsultacja" */
    border: 1px solid rgba(255, 255, 255, 0.5); /* Subtelniejszy border */
    border-radius: var(--border-radius); /* Używamy zmiennej globalnej (8px), a nie 50px */
    background-color: transparent;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600; /* Taka sama waga czcionki */
    font-size: 0.95rem; /* Dopasowany rozmiar */
    transition: all 0.2s ease;
    margin-right: 15px;
    white-space: nowrap;
}

.nav-btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px); /* Taki sam efekt uniesienia jak w innych przyciskach */
}

/* --- ADJUST DLA MOBILE (RWD) --- */
@media (max-width: 991px) {
    .main-nav-links {
        /* Resetujemy układ flex dla menu mobilnego, jeśli jest inny */
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-top: 40px;
    }

    .lang-switch {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 1.1rem; /* Większe litery na mobile */
    }

    .nav-btn-ghost {
        margin-right: 0;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}