/* Reset i zmienne globalne */
/* CSS Version: 2.6.1 - Zwiększone wysokości phone-showcase i marginesy dolne aby zapobiec wychodzeniu mockupów poza sekcję hero na mobile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Performance optimizations */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:root {
    --primary-color: #3232C7;
    --secondary-color: #5A4FCF;
    --accent-color: #7B68EE;
    --text-dark: #2d3748;
    --text-light: #718096;
    --background-light: #f7fafc;
    --white: #ffffff;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Klasa do ukrywania elementów (np. sekcji aplikacji przed publikacją) */
.hidden-until-app-release {
    display: none !important;
}

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

/* Nagłówek i nawigacja */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    /* backdrop-filter: blur(10px); */
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    min-height: 70px;
    gap: 8px;
}

/* Style dla zewnętrznego logo SVG */
.logo-img {
    height: 55px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* Zabezpieczenie fontów w SVG logo */
.logo-img svg,
.logo-img svg text,
.logo-img svg tspan {
    font-family: 'Arial Rounded MT Bold', 'Arial Black', Arial, sans-serif !important;
    font-weight: bold !important;
}

/* Tekst logo obok SVG */
.logo h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    font-size: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    max-width: 120px;  /* Ogranicza szerokość kontenera dla proporcjonalnych przycisków */
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    flex: 1;  /* Oba przyciski zajmują równą przestrzeń */
    text-align: center;  /* Wycentrowanie tekstu */
}

.lang-btn:focus {
    outline: none;
    background: none;
    border: 2px solid transparent;
    color: var(--text-dark);
}

.lang-btn:active {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    transform: scale(0.95);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.lang-separator {
    color: var(--text-light);
    font-weight: 300;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    outline: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Sekcja główna */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background-light) 0%, #E8E6FF 100%);
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    padding-right: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Hero image */
.hero-image {
    position: relative;
    overflow: visible;
}

/* Showcase trzech telefonów z efektem głębi */
.phone-showcase {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    overflow: visible;
}

.phone-mockup {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    background: #1a1a1a;
    border-radius: 25px;
    padding: 10px 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Centralny telefon - zachowuje standardowy cień */
.phone-mockup.center {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.phone-mockup.center::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

/* Centralny telefon - największy, na pierwszym planie */
.phone-mockup.center {
    z-index: 3;
    transform: translateZ(0) scale(1.0);
}

.phone-mockup.center .phone-screenshot {
    width: 250px;
    height: 540px;
}

/* Lewy telefon - 95% wielkości centralnego dla lepszej proporcji */
.phone-mockup.left {
    z-index: 1;
    transform: translateX(-180px) translateZ(-50px) rotateY(15deg) scale(0.95);
    opacity: 0.7;
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.4),
        0 -5px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(0, 0, 0, 0.1),
        -4px 0 0 0px #666; /* lewa ścianka telefonu */
}

.phone-mockup.left .phone-screenshot {
    width: 237px; /* 95% z 250px */
    height: 513px; /* 95% z 540px */
}

/* Prawy telefon - 95% wielkości centralnego dla lepszej proporcji */
.phone-mockup.right {
    z-index: 1;
    transform: translateX(180px) translateZ(-50px) rotateY(-15deg) scale(0.95);
    opacity: 0.7;
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.4),
        0 -5px 15px rgba(0, 0, 0, 0.2),
        inset 0 0 30px rgba(0, 0, 0, 0.1),
        4px 0 0 0px #666; /* prawa ścianka telefonu */
}

.phone-mockup.right .phone-screenshot {
    width: 237px; /* 95% z 250px */
    height: 513px; /* 95% z 540px */
}

.phone-screenshot {
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* Usunięte style ramek - pozostawione tylko dla historii
.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 0;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: column;
}
*/

.phone-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px;
    position: relative;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.time {
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 5px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

/* Usunięte style content - pozostawione tylko dla historii
.phone-content {
    flex: 1;
    padding: 0;
    background: none;
    overflow: hidden;
    position: relative;
}

.phone-content .phone-screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
}
*/

.phone-navigation {
    background: #fff;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    border-top: 1px solid #eee;
}

.nav-item {
    padding: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-item.active {
    background: var(--primary-color);
    color: white;
}

.nav-item:hover:not(.active) {
    background: #f0f0f0;
}

/* Elementy ekranu Home */
.workout-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.workout-type {
    background: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}

.workout-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.workout-time {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.workout-exercises {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.exercise {
    color: #666;
    font-size: 0.9rem;
}

.workout-stats {
    display: flex;
    justify-content: space-around;
    background: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

/* Elementy ekranu Workout */
.current-exercise {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.exercise-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.exercise-reps {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

.reps-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.minus-btn, .plus-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.minus-btn:hover, .plus-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.count {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 60px;
    text-align: center;
}

.workout-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.control-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.control-btn.primary {
    background: var(--primary-color);
    color: white;
}

.control-btn.secondary {
    background: #f0f0f0;
    color: #666;
}

.control-btn:hover {
    transform: scale(1.1);
}

.timer-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.timer-progress {
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 25%;
    transition: width 1s ease;
}

/* Elementy ekranu Statistics */
.stats-overview {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    background: white;
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-name {
    font-size: 0.8rem;
    color: #666;
}

.chart-container {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 80px;
    margin-bottom: 10px;
}

.bar {
    width: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px 10px 0 0;
    position: relative;
    transition: height 1s ease;
}

.bar-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #666;
}

.achievements {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.achievement {
    background: white;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.achievement i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.achievement span {
    font-weight: 500;
}

/* Sekcje */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto;
    border-radius: 2px;
}

/* Sekcja o nas */
.about {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background: var(--white);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

/* Ikony Font Awesome */
.feature-icon i {
    font-size: 2rem;
}

/* Ikony emoji */
.feature-icon.emoji {
    background: none;
    color: initial;
    font-size: 3rem;
    width: auto;
    height: auto;
}

/* Kolorowe warianty ikon */
.feature-icon.red {
    background: linear-gradient(135deg, #C73932, #A52A23);
}

.feature-icon.green {
    background: linear-gradient(135deg, #32C76A, #28A555);
}

.feature-icon.yellow {
    background: linear-gradient(135deg, #C7AC32, #A5901B);
}

.feature-icon.blue {
    background: linear-gradient(135deg, #3232C7, #5A4FCF);
}

.feature-icon.purple {
    background: linear-gradient(135deg, #5A4FCF, #7B68EE);
}

.feature-icon.orange {
    background: linear-gradient(135deg, #ff9a56, #ffad56);
}

.feature-icon.pink {
    background: linear-gradient(135deg, #ff6b9d, #c44569);
}

/* Ikony z cieniem */
.feature-icon.shadow {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Sekcja usług */
.services {
    padding: 5rem 0;
    background: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.service-card.featured {
    border: 3px solid transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(135deg, var(--primary-color) 5%, var(--secondary-color) 95%) border-box;
    transform: scale(1.05);
}

.service-card.featured::before {
    content: var(--featured-badge-text, 'Included');
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary-color) 2%, var(--secondary-color) 98%);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg) translate(6px, 6px);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 0.25em;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

/* Sekcja kontakt */
.contact {
    padding: 5rem 0;
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-item {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-item strong {
    color: var(--text-dark);
}

.contact-form {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Kontaktní grafika */
.contact-graphic {
    margin: 3.375rem 0 1.5rem 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 625px;
    width: fit-content;
}

.feedback-illustration {
    width: 550px;
    height: 400px;
    opacity: 0.95;
    transition: all 0.4s ease;
}

.feedback-illustration:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* Animacje dla nowoczesnej grafiki */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.feedback-illustration:hover .notification-1,
.feedback-illustration:hover .notification-2,
.feedback-illustration:hover .notification-3,
.feedback-illustration:hover .notification-4 {
    animation: float 2s ease-in-out infinite;
}

.feedback-illustration:hover .notification-1 {
    animation-delay: 0s;
}

.feedback-illustration:hover .notification-2 {
    animation-delay: 0.5s;
}

.feedback-illustration:hover .notification-3 {
    animation-delay: 1s;
}

.feedback-illustration:hover .notification-4 {
    animation-delay: 1.5s;
}

#contact-svg circle[filter="url(#glow)"] {
    animation: pulse 2s ease-in-out infinite;
}

/* Stopka */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left {
    text-align: left;
}

.footer-left h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--white);
}

.app-badges {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

.app-badge {
    display: inline-block;
    transition: var(--transition);
}

.app-badge:hover {
    transform: scale(1.05);
}

.badge-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.footer-center {
    text-align: center;
    align-self: end;
}

.footer-right {
    text-align: right;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.link-group h5 {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.link-group a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--white);
    text-decoration: underline;
}

.link-group a.inactive-link {
    color: #718096;
    cursor: not-allowed;
    opacity: 0.6;
}

.link-group a.inactive-link:hover {
    color: #718096;
    text-decoration: none;
    cursor: not-allowed;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 0 auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: var(--shadow-hover);
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

/* PDF Modal */
.pdf-modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    padding: 1.5rem;
}

.pdf-language-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pdf-viewer-container {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.pdf-viewer-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Base styles for PDF viewers */
#pdf-iframe,
#pdf-embed,
#pdf-object {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    background: #f8f9fa;
    display: block;
}

/* Hide PDF toolbar and navigation for browsers that support it */
#pdf-iframe,
#pdf-embed,
#pdf-object {
    overflow: hidden;
}

/* Additional PDF styling to hide browser toolbar */
#pdf-iframe {
    min-height: 600px;
    /* Disable scrolling attribute via CSS */
    overflow: hidden;
}

/* CSS to hide PDF toolbar in supported browsers */
#pdf-iframe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: #f8f9fa;
    z-index: 1000;
    pointer-events: none;
}

#pdf-mobile-iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.pdf-mobile-viewer {
    width: 100%;
}

.pdf-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    border-radius: 8px 8px 0 0;
}

.pdf-mobile-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.pdf-mobile-actions {
    display: flex;
    gap: 0.5rem;
}

.pdf-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    color: var(--text-dark);
    transition: var(--transition);
}

.pdf-action-btn:focus {
    outline: none;
    background: none;
    border: 1px solid #dee2e6;
    color: var(--text-dark);
}

.pdf-action-btn:active {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
    transform: scale(0.95);
}

.pdf-action-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Clicked state for all buttons in PDF modal */
.btn-clicked {
    background-color: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
    transform: scale(0.95) !important;
    transition: all 0.1s ease !important;
}

/* Specific clicked states for different button types */
.pdf-modal-close.btn-clicked {
    background-color: #f0f0f0 !important;
    color: var(--text-dark) !important;
}

.mobile-pdf-btn.btn-clicked {
    filter: brightness(0.85) !important;
}

.pdf-fallback {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.pdf-fallback-icon {
    margin-bottom: 1rem;
    color: #6c757d;
    display: flex;
    justify-content: center;
}

.pdf-fallback h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.pdf-fallback p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.pdf-fallback-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pdf-fallback-actions .btn-primary,
.pdf-fallback-actions .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.pdf-fallback-actions .btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.pdf-fallback-actions .btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.pdf-fallback-actions .btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.pdf-fallback-actions .btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Mobile PDF Interface */
.mobile-pdf-interface {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: 400px;
    text-align: center;
}

.mobile-pdf-message {
    margin-bottom: 2rem;
}

.mobile-pdf-icon {
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.mobile-pdf-message h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.mobile-pdf-message p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.5;
    max-width: 300px;
}

.mobile-pdf-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 280px;
}

.mobile-pdf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
    background: none;
    outline: none;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.mobile-pdf-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.mobile-pdf-btn:focus {
    outline: none;
}

.mobile-pdf-btn:active {
    transform: scale(0.95);
    filter: brightness(0.9);
}

/* Better touch handling for mobile */
@media (hover: none) and (pointer: coarse) {
    /* Disable sticky hover on touch devices */
    .btn-secondary:hover {
        background: transparent;
        color: var(--primary-color);
    }
    
    .btn-primary:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .pdf-fallback-actions .btn-primary:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .pdf-fallback-actions .btn-secondary:hover {
        background: transparent;
        color: var(--primary-color);
    }
    
    .pdf-action-btn:hover {
        background: none;
        color: var(--text-dark);
        border-color: #dee2e6;
    }
    
    .pdf-modal-close:hover {
        background: none;
        color: #999;
    }
    
    .lang-btn:hover {
        background: none;
        color: var(--text-dark);
        border-color: transparent;
    }
    
    /* Zachowaj pomarańczowe tło dla aktywnego przycisku języka na mobile */
    .lang-btn.active {
        background: var(--primary-color) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
    }
    
    .lang-btn.active:hover {
        background: var(--primary-color) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
    }
    
    .mobile-pdf-btn:focus {
        outline: none;
        box-shadow: none;
    }
    
    .mobile-pdf-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .mobile-pdf-btn.primary:focus {
        background-color: var(--primary-color) !important;
        color: white !important;
    }
    
    .mobile-pdf-btn.primary:active {
        background-color: var(--primary-color) !important;
        color: white !important;
    }
}

.mobile-pdf-btn svg {
    flex-shrink: 0;
    pointer-events: none;
}

.mobile-pdf-btn span {
    pointer-events: none;
}

.mobile-pdf-btn.primary {
    background-color: var(--primary-color);
    color: white;
}

.mobile-pdf-btn.primary:focus {
    background-color: var(--primary-color);
    color: white;
}

.mobile-pdf-btn.primary:active {
    background-color: var(--primary-color);
    color: white;
}

.mobile-pdf-btn.primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pdf-modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    border-radius: 50%;
    transition: var(--transition);
}

.pdf-modal-close:focus {
    outline: none;
    background: none;
    color: #999;
}

.pdf-modal-close:active {
    background-color: #f0f0f0;
    color: var(--text-dark);
    transform: scale(0.95);
}

.pdf-modal-close:hover {
    background-color: #f0f0f0;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .pdf-modal-content {
        width: 98%;
        padding: 1rem;
        max-height: 98vh;
        margin: 1rem auto;
    }
    
    .pdf-viewer-container {
        min-height: 500px;
    }
    
    #pdf-embed,
    #pdf-iframe {
        height: 500px;
    }
    
    .pdf-mobile-viewer #pdf-mobile-iframe {
        height: 450px;
    }
    
    .pdf-fallback {
        padding: 2rem 1rem;
    }
    
    .pdf-fallback-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .pdf-fallback-actions .btn-primary,
    .pdf-fallback-actions .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .pdf-modal-content {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .pdf-viewer-container {
        min-height: calc(100vh - 120px);
    }
    
    #pdf-embed,
    #pdf-iframe {
        height: calc(100vh - 180px);
    }
    
    .pdf-mobile-viewer #pdf-mobile-iframe {
        height: calc(100vh - 220px);
    }
    
    .pdf-mobile-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #f8f9fa;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
}

.cookie-modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-hover);
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cookie-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.cookie-modal-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.cookie-modal-description a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-modal-description a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.cookie-categories {
    margin-bottom: 2rem;
}

.cookie-category {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.cookie-category:hover {
    border-color: var(--primary-color);
}

.cookie-category-header {
    background-color: #f8f9fa;
    padding: 1rem 1rem 1rem 0.95rem;  /* Lekko mniejszy lewy padding dla balansu */
    display: flex;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    /* Równy rozkład - title zajmuje przestrzeń, toggle się kurczy */
}

.cookie-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    /* Zajmuj pozostałą przestrzeń */
    flex: 1;
}

/* Basic styling for cookie checkbox */
.cookie-category-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;  /* Usuń wszystkie marginesy - użyj tylko gap */
    accent-color: var(--primary-color);
    cursor: default;
    /* Reset browser defaults */
    padding: 0;
    border: none;
    vertical-align: baseline;
}

.cookie-category-toggle input[type="checkbox"]:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Style for "Always Active" text */
.cookie-category-toggle span {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    user-select: none;
}

/* Container styling - simple and clean */
.cookie-category-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;  /* Średni gap między elementami */
    /* Bez marginesów - pozwól flexbox zarządzać spacing */
}

/* Reset dla label w cookie toggle */
.cookie-category-toggle label {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.cookie-category-details {
    padding: 1rem;
    background-color: var(--white);
    border-top: 1px solid #e2e8f0;
    display: none;
}

.cookie-category-details.active {
    display: block;
}

.cookie-category-details p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.cookie-tools {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

.cookie-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: var(--shadow);
}

.cookie-btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    box-shadow: var(--shadow-hover);
}

.cookie-btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cookie-btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cookie-btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid #e2e8f0;
}

.cookie-btn-outline:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsywność cookie modal */
@media (max-width: 768px) {
    .cookie-modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 95vh;
    }
    
    .cookie-modal-title {
        font-size: 1.3rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--text-dark);
}

.modal-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsywność stopki */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-left,
    .footer-right {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Wyśrodkowanie logów sklepów gdy formularz jest pod grafiką */
    .app-badges {
        justify-content: center;
    }
    
    .app-badges {
        align-items: center;
    }
    
}

/* Responsywność centralnego screenshotu */

@media (max-width: 1200px) {
    .hero-container {
        gap: 3rem;
    }
    
    .phone-showcase {
        height: 400px;
    }
    
    .phone-mockup.center .phone-screenshot {
        width: 220px;
        height: 480px;
    }
    
    .phone-mockup.left .phone-screenshot,
    .phone-mockup.right .phone-screenshot {
        width: 176px;
        height: 384px;
    }
}

@media (max-width: 1100px) {
    .hero-container {
        gap: 2rem;
    }
    
    .phone-showcase {
        height: 350px;
    }
    
    /* Centralny - skalowany do 95% */
    .phone-mockup.center {
        transform: translateZ(0) scale(0.95);
    }
    
    .phone-mockup.center .phone-screenshot {
        width: 237px; /* 95% z 250px */
        height: 513px; /* 95% z 540px */
    }
    
    /* Boczne = centralny × 0.95 */
    .phone-mockup.left {
        transform: translateX(-150px) translateZ(-50px) rotateY(15deg) scale(0.9025); /* 0.95 * 0.95 */
    }
    
    .phone-mockup.right {
        transform: translateX(150px) translateZ(-50px) rotateY(-15deg) scale(0.9025); /* 0.95 * 0.95 */
    }
    
    .phone-mockup.left .phone-screenshot,
    .phone-mockup.right .phone-screenshot {
        width: 225px; /* 90.25% z 250px */
        height: 487px; /* 90.25% z 540px */
    }
}

@media (max-width: 1000px) {
    .hero {
        min-height: 120vh;
        padding-top: 120px; /* Zwiększone z 80px aby zapewnić odstęp od fixed header */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
        padding-right: 0;
    }
    
    .hero-image {
        order: 2;
    }
    
    .phone-showcase {
        height: 320px;
        margin-top: 2rem;
        margin-bottom: 2rem; /* Dodany dolny margines aby mockupy nie wychodziły poza sekcję hero */
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    /* Zachowany stosunek 0.95 względem centralnego */
    .phone-mockup.center {
        transform: translateZ(0) scale(0.85);
        position: absolute;
        z-index: 3;
    }
    
    .phone-mockup.left {
        transform: translateX(-90px) translateZ(-30px) rotateY(12deg) scale(0.8075); /* 0.85 * 0.95 */
        position: absolute;
        z-index: 2;
        opacity: 0.8;
    }
    
    .phone-mockup.right {
        transform: translateX(90px) translateZ(-30px) rotateY(-12deg) scale(0.8075); /* 0.85 * 0.95 */
        position: absolute;
        z-index: 2;
        opacity: 0.8;
    }
    
    .phone-mockup.center .phone-screenshot {
        width: 212px; /* 85% z 250px */
        height: 459px; /* 85% z 540px */
    }
    
    .phone-mockup.left .phone-screenshot,
    .phone-mockup.right .phone-screenshot {
        width: 202px; /* 80.75% z 250px */
        height: 436px; /* 80.75% z 540px */
    }
    
    /* Usunięte efekty hover */
}

@media (max-width: 850px) {
    .hero-container {
        gap: 2.5rem;
    }
    
    .phone-showcase {
        height: 280px;
        position: relative;
        margin-bottom: 2.5rem; /* Dodany dolny margines aby mockupy nie wychodziły poza sekcję hero */
    }
    
    /* Zachowany stosunek 0.95 względem centralnego */
    .phone-mockup.center {
        transform: translateZ(0) scale(0.8);
    }
    
    .phone-mockup.left {
        transform: translateX(-75px) translateZ(-25px) rotateY(10deg) scale(0.76); /* 0.8 * 0.95 */
        opacity: 0.85;
    }
    
    .phone-mockup.right {
        transform: translateX(75px) translateZ(-25px) rotateY(-10deg) scale(0.76); /* 0.8 * 0.95 */
        opacity: 0.85;
    }
    
    .phone-mockup.center .phone-screenshot {
        width: 200px; /* 80% z 250px */
        height: 432px; /* 80% z 540px */
    }
    
    .phone-mockup.left .phone-screenshot,
    .phone-mockup.right .phone-screenshot {
        width: 190px; /* 76% z 250px */
        height: 410px; /* 76% z 540px */
    }
    
    /* Usunięte efekty hover */
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100px;  /* Zwiększone z 70px aby nie zachodzić na header */
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);  /* Dostosowana wysokość */
        background: var(--white);
        flex-direction: column;
        justify-content: start;
        padding-top: 2rem;
        padding-left: 20px;  /* Dopasowanie do pozycji logo */
        padding-right: 20px; /* Symetryczny margines */
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .language-switcher {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .lang-btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Upewnij się, że aktywny przycisk ma pomarańczowe tło na mobile */
    .lang-btn.active {
        background: var(--primary-color) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
    }
    
    .hero {
        min-height: 120vh;
        padding-top: 120px; /* Zwiększone z 80px aby zapewnić odstęp od fixed header w układzie jednokolumnowym */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .phone-showcase {
        height: 320px; /* Zwiększone z 280px dla lepszego zawierania mockupów */
        margin-bottom: 3rem; /* Dodany dolny margines aby mockupy nie wychodziły poza sekcję hero */
    }
    
    /* Zachowany stosunek 0.95 względem centralnego */
    .phone-mockup.center {
        transform: translateZ(0) scale(0.8);
    }
    
    .phone-mockup.left {
        transform: translateX(-75px) translateZ(-25px) rotateY(10deg) scale(0.76); /* 0.8 * 0.95 */
        opacity: 0.85;
    }
    
    .phone-mockup.right {
        transform: translateX(75px) translateZ(-25px) rotateY(-10deg) scale(0.76); /* 0.8 * 0.95 */
        opacity: 0.85;
    }
    
    .phone-mockup.center .phone-screenshot {
        width: 200px; /* 80% z 250px */
        height: 432px; /* 80% z 540px */
    }
    
    .phone-mockup.left .phone-screenshot,
    .phone-mockup.right .phone-screenshot {
        width: 190px; /* 76% z 250px */
        height: 410px; /* 76% z 540px */
    }
}

@media (max-width: 600px) {
    .hero-container {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 120vh;
        padding-top: 120px; /* Zwiększone z 80px aby zapewnić odstęp od fixed header w układzie jednokolumnowym */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .phone-showcase {
        height: 280px; /* Zwiększone z 240px dla lepszego zawierania mockupów */
        position: relative;
        margin-top: 3rem;  /* Zwiększony margin aby mockupy były niżej */
        margin-bottom: 4rem; /* Dodany dolny margines aby mockupy nie wychodziły poza sekcję hero na mobile */
    }
    
    /* Zachowany stosunek 0.95 względem centralnego */
    .phone-mockup.center {
        transform: translateZ(0) scale(0.8);
    }
    
    .phone-mockup.left {
        transform: translateX(-60px) translateZ(-20px) rotateY(8deg) scale(0.76); /* 0.8 * 0.95 */
        opacity: 0.9;
    }
    
    .phone-mockup.right {
        transform: translateX(60px) translateZ(-20px) rotateY(-8deg) scale(0.76); /* 0.8 * 0.95 */
        opacity: 0.9;
    }
    
    .phone-mockup.center .phone-screenshot {
        width: 200px; /* 80% z 250px */
        height: 432px; /* 80% z 540px */
    }
    
    .phone-mockup.left .phone-screenshot,
    .phone-mockup.right .phone-screenshot {
        width: 190px; /* 76% z 250px */
        height: 410px; /* 76% z 540px */
    }
    
    /* Usunięte efekty hover */
    
    .section-title {
        font-size: 2rem;
    }
    
    .timer-time {
        font-size: 2rem;
    }
    
    .chart-bars {
        height: 60px;
    }
    
    .stats-overview {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 360px) {
    .hero {
        min-height: 130vh; /* Zwiększone z 120vh dla bardzo małych ekranów aby mockupy się mieściły */
    }
    
    .hero-container {
        gap: 0.4rem;
    }
    
    .phone-showcase {
        margin-bottom: 5rem; /* Dodatkowy dolny margines na bardzo małych ekranach */
    }
}

/* Specjalny breakpoint dla iPhone'a w orientacji pionowej */
@media (max-width: 414px) and (max-height: 896px) {
    .hero {
        min-height: 140vh; /* Dodatkowa wysokość dla iPhone'a aby zapobiec wychodzeniu mockupów */
        padding-bottom: 2rem; /* Dodatkowy dolny padding */
    }
    
    .phone-showcase {
        margin-bottom: 6rem; /* Większy dolny margines na iPhone */
    }
}

@media (min-width: 1400px) {
    .hero-container {
        gap: 4rem;
    }
    
    .hero-content {
        max-width: 900px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-container {
        gap: 3.5rem;
    }
}

/* Animacje dodatkowe */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Kompensacja dla fixed header przy scrollowaniu do sekcji */
section[id] {
    scroll-margin-top: 80px; /* Wysokość headera + dodatkowy padding */
}

/* Responsywność logo */
@media (max-width: 768px) {
    .logo-img {
        height: 45px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 38px;
        max-width: 100px;
    }
}

/* Usunięte style phone-screenshot - już nie potrzebne */

/* Usunięte efekty hover dla telefonów bocznych */

/* Usunięte efekty hover dla wąższych ekranów */
@media (max-width: 1200px) {
}

@media (max-width: 1100px) {
}

/* Usuwam pseudo-elementy testowe */
.phone-mockup.left::after,
.phone-mockup.right::after {
    display: none;
}

/* Style box-shadow są teraz zintegrowane z klasami .left i .right powyżej */

/* Checkbox grupa */
.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
    cursor: pointer;
    color: var(--text-light);
    position: relative;
    padding-left: 32px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 0;
    transition: var(--transition);
    display: block;
    box-sizing: border-box;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    display: block;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label:hover .checkmark {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(50, 50, 199, 0.1);
}

.checkbox-label input[type="checkbox"]:focus + .checkmark {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(50, 50, 199, 0.1);
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.checkbox-label a:hover {
    color: var(--secondary-color);
}

/* Komunikat błędu dla checkboxa */
.checkbox-error {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.checkbox-group.error .checkmark {
    border-color: #e53e3e;
}

.checkbox-group.error .checkbox-error {
    display: block;
}

.checkbox-text {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Responsywność dla sekcji kontaktowej */
@media (max-width: 992px) {
    .contact-content {
        gap: 2rem;
    }
    
    .contact-graphic {
        max-width: 575px;  /* Zwiększone o 15% z 500px */
    }
    
    .feedback-illustration {
        width: 518px;   /* Zwiększone o 15% z 450px */
        height: 380px;  /* Zwiększone o 15% z 330px */
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-graphic {
        max-width: 460px;  /* Zwiększone o 15% z 400px */
        margin: 2rem auto 1rem auto;
    }
    
    .feedback-illustration {
        width: 437px;   /* Zwiększone o 15% z 380px */
        height: 322px;  /* Zwiększone o 15% z 280px */
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    /* Wyśrodkowanie przycisku "Wyślij wiadomość" gdy formularz jest pod grafiką */
    .contact-form .btn-primary {
        display: block;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .contact {
        padding: 2rem 0;
    }
    
    .contact-form {
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .contact-graphic {
        max-width: 405px;  /* Zwiększone o dodatkowe 10% z 368px (łącznie +26.5% z oryginału) */
        margin: 1.5rem auto 1rem auto;
    }
    
    .feedback-illustration {
        width: 380px;   /* Zwiększone o dodatkowe 10% z 345px (łącznie +26.5% z oryginału) */
        height: 278px;  /* Zwiększone o dodatkowe 10% z 253px (łącznie +26.5% z oryginału) */
    }
    
    .checkbox-label {
        font-size: 0.85rem;
        padding-left: 28px;
        line-height: 1.4;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
    }
    
    /* Wyśrodkowanie przycisku "Wyślij wiadomość" dla małych ekranów */
    .contact-form .btn-primary {
        display: block;
        margin: 0 auto;
    }
    
    /* Dodatkowa poprawka dla średnich smartfonów */
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        left: 50% !important;
        top: 50% !important;
        width: 5.5px !important;
        height: 9px !important;
        border-width: 0 1.8px 1.8px 0 !important;
        transform: translate(-50%, -65%) rotate(45deg) !important;
    }
    
    /* Cookie switch removed from 600px media query */
}

/* Oczyszczone - stare ultra-specyficzne reguły zostały zastąpione główną poprawką powyżej */

/* Cookie switch removed from 361px-479px media query */

@media (max-width: 480px) {
    .contact {
        padding: 1.5rem 0;
    }
    
    .contact-form {
        padding: 1rem;
        margin: 0 0.5rem;
        border-radius: 8px;
    }
    
    .contact-graphic {
        max-width: 354px;  /* Zwiększone o dodatkowe 10% z 322px (łącznie +26.5% z oryginału) */
        margin: 1rem auto 0.5rem auto;
    }
    
    .feedback-illustration {
        width: 329px;   /* Zwiększone o dodatkowe 10% z 299px (łącznie +26.5% z oryginału) */
        height: 241px;  /* Zwiększone o dodatkowe 10% z 219px (łącznie +26.5% z oryginału) */
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
        padding-left: 25px;
        line-height: 1.3;
    }
    
    .checkmark {
        width: 16px;
        height: 16px;
    }
    
    /* Poprawka pozycjonowania symbolu checked na smartfonach */
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        left: 50% !important;
        top: 50% !important;
        width: 5px !important;
        height: 8px !important;
        border-width: 0 1.5px 1.5px 0 !important;
        transform: translate(-50%, -65%) rotate(45deg) !important;
    }
    
    .checkbox-text {
        word-break: break-word;
    }
    
    /* Mobile styling for cookie checkbox */
    .cookie-category-toggle input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin: 0;
    }
    
    .cookie-category-toggle span {
        font-size: 0.75rem;
    }
    
    .cookie-category-toggle {
        gap: 0.25rem;  /* Mniejszy gap na mobile */
    }
    
    /* Mobile padding correction dla symetrii */
    .cookie-category-header {
        padding: 0.8rem 0.8rem 0.8rem 0.75rem;  /* Lekko mniejszy lewy padding */
    }
    
    .contact-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 360px) {
    .contact-form {
        margin: 0 0.25rem;
        padding: 0.8rem;
    }
    
    .contact-graphic {
        max-width: 276px;  /* Zwiększone o 15% z 240px */
    }
    
    .feedback-illustration {
        width: 253px;   /* Zwiększone o 15% z 220px */
        height: 184px;  /* Zwiększone o 15% z 160px */
    }
    
    .checkbox-label {
        font-size: 0.75rem;
        padding-left: 22px;
    }
    
    .checkmark {
        width: 14px;
        height: 14px;
    }
    
    /* Finalna poprawka pozycjonowania na bardzo małych ekranach */
    .checkbox-label input[type="checkbox"]:checked + .checkmark::after {
        left: 50% !important;
        top: 50% !important;
        width: 4px !important;
        height: 7px !important;
        border-width: 0 1.5px 1.5px 0 !important;
        transform: translate(-50%, -65%) rotate(45deg) !important;
    }
    
    /* Cookie switch removed from 360px media query */
}

/* Dedykowane poprawki dla popularnych rozmiarów mobilnych - usunięte przez agresywne poprawki */

/* Honeypot field - completely hidden from humans but accessible to bots */
#website {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    border: none !important;
    background: transparent !important;
}

/* Ultra-aggressive CSS removed - preparing for new cookie switch */

/* Zapobieganie zmniejszaniu sekcji hero poniżej minimalnej wysokości dla mockupów */
@media (max-width: 1000px) and (min-width: 600px) {
    .hero {
        min-height: max(100vh, 800px) !important;  /* Zwiększone z 750px do 800px */
        padding-bottom: 4rem;  /* Zwiększony padding z 3rem do 4rem */
    }
    
    .phone-showcase {
        margin-bottom: 3rem;  /* Dodatkowy margin dolny dla mockupów */
    }
}

/* Dla jeszcze węższych okien */
@media (max-width: 800px) and (min-width: 500px) {
    .hero {
        min-height: max(100vh, 850px) !important;  /* Zwiększone z 800px do 850px */
        padding-bottom: 5rem;  /* Zwiększony padding z 4rem do 5rem */
    }
    
    .phone-showcase {
        margin-bottom: 4rem;  /* Jeszcze większy margin dolny dla węższych okien */
    }
}
