/* Zmienne kolorów i styli */
:root {
    /* Light Theme Variables */
    --light-primary: #00A6ED;
    --light-primary-light: #60cdf8;
    --light-secondary: #0056a3;
    --light-bg: #FFFFFF;
    --light-bg-secondary: #F5F8FA;
    --light-text: #1A202C;
    --light-text-secondary: #4A5568;
    --light-border: #E2E8F0;
    --light-accent: #02CCAD;
    --light-card-bg: #FFFFFF;
    --light-card-border: #E2E8F0;
    --light-input-bg: #F5F8FA;
    --light-header-bg: rgba(255, 255, 255, 0.95);
    --light-footer-bg: #F5F8FA;
    --light-sticky-bg: rgba(255, 255, 255, 0.95);
    
    /* Dark Theme Variables */
    --dark-primary: #00A6ED;
    --dark-primary-light: #60cdf8;
    --dark-secondary: #002D62;
    --dark-bg: #111827;
    --dark-bg-secondary: #0A0F1A;
    --dark-text: #F3F4F6;
    --dark-text-secondary: #9CA3AF;
    --dark-border: rgba(255, 255, 255, 0.1);
    --dark-accent: #00FFCA;
    --dark-card-bg: rgba(17, 24, 39, 0.7);
    --dark-card-border: rgba(255, 255, 255, 0.05);
    --dark-input-bg: rgba(255, 255, 255, 0.05);
    --dark-header-bg: rgba(10, 15, 26, 0.95);
    --dark-footer-bg: #0A0F1A;
    --dark-sticky-bg: rgba(10, 15, 26, 0.95);
    
    /* Default Theme (Light) */
    --primary: var(--light-primary);
    --primary-light: var(--light-primary-light);
    --secondary: var(--light-secondary);
    --bg: var(--light-bg);
    --bg-secondary: var(--light-bg-secondary);
    --text: var(--light-text);
    --text-secondary: var(--light-text-secondary);
    --border: var(--light-border);
    --accent: var(--light-accent);
    --card-bg: var(--light-card-bg);
    --card-border: var(--light-card-border);
    --input-bg: var(--light-input-bg);
    --header-bg: var(--light-header-bg);
    --footer-bg: var(--light-footer-bg);
    --sticky-bg: var(--light-sticky-bg);
}

/* Przełączenie na ciemny motyw */
html[data-theme='dark'] {
    --primary: var(--dark-primary);
    --primary-light: var(--dark-primary-light);
    --secondary: var(--dark-secondary);
    --bg: var(--dark-bg);
    --bg-secondary: var(--dark-bg-secondary);
    --text: var(--dark-text);
    --text-secondary: var(--dark-text-secondary);
    --border: var(--dark-border);
    --accent: var(--dark-accent);
    --card-bg: var(--dark-card-bg);
    --card-border: var(--dark-card-border);
    --input-bg: var(--dark-input-bg);
    --header-bg: var(--dark-header-bg);
    --footer-bg: var(--dark-footer-bg);
    --sticky-bg: var(--dark-sticky-bg);
}

/* Podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header i nawigacja */
header {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
    display: inline-block; 
    padding-bottom: 8px; 
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0; /* Przenosimy indykator na sam dół elementu */
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

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

.theme-switch {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: background-color 0.3s;
    position: relative;
}

.theme-switch:hover {
    background-color: var(--input-bg);
}

.theme-switch svg {
    width: 20px;
    height: 20px;
    fill: var(--text);
    transition: fill 0.3s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#darkIcon, #mobileDarkIcon {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
}

#lightIcon, #mobileLightIcon {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

/* Stany dla ciemnego motywu */
html[data-theme='dark'] #darkIcon,
html[data-theme='dark'] #mobileDarkIcon {
    opacity: 0;
    visibility: hidden;
}

html[data-theme='dark'] #lightIcon,
html[data-theme='dark'] #mobileLightIcon {
    opacity: 1;
    visibility: visible;
}

/* Przyspieszenie tranzycji motywu */
body, 
html[data-theme='light'], 
html[data-theme='dark'] {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Lepsze style dla mobilnej wersji przełącznika */
#mobileThemeSwitch {
    margin: 0;
}

/* Przyciski */
.btn {
    background-color: var(--primary);
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 166, 237, 0.25);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s;
}

.btn:hover:before {
    left: 100%;
}

.btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 166, 237, 0.3);
}

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

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

.btn-secondary:hover {
    background-color: var(--text);
    color: var(--bg);
}

/* Sekcja Hero */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg);
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 166, 237, 0.1), transparent 50%);
    z-index: 1;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 204, 173, 0.1), transparent 60%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.badge {
    background-color: var(--input-bg);
    border: 1px solid var(--border);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-secondary);
}

.badge-featured {
    background-color: rgba(0, 166, 237, 0.1);
    border: 1px solid rgba(0, 166, 237, 0.3);
    color: var(--primary);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.floating-card {
    position: absolute;
    background-color: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.card-top-left {
    top: -30px;
    left: -20px;
}

.card-bottom-right {
    bottom: -30px;
    right: -20px;
}

.floating-card-title {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.floating-card-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Sekcje */
.section {
    padding: 100px 0;
    position: relative;
    background-color: var(--bg);
}

.section-alt {
    background-color: var(--bg-secondary);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* Karty korzyści */
.benefit-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(0, 166, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text);
}

.benefit-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Case study */
.case-study {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.case-study h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text);
}

.case-study p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.case-study ul {
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.case-study li {
    margin-bottom: 8px;
}

/* Elementy funkcji */
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    gap: 30px;
}

.feature-content {
    flex: 1;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--text);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 15px;
}

.feature-item ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.feature-item li {
    margin-bottom: 8px;
}

.tip-box {
    background-color: rgba(0, 166, 237, 0.1);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 4px;
    margin-top: 20px;
}

.tip-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.tip-box p {
    margin-bottom: 0;
}

/* Tabele */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    text-align: left;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

.comparison-table .check {
    color: #4CAF50;
    font-weight: bold;
}

.comparison-table .x {
    color: #F44336;
}

/* Statystyki */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.stat-card p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Testimoniale */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.testimonial-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.testimonial-content:before {
    content: '"';
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    left: -5px;
    top: -20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text);
}

.author-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Pakiety */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.package-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.package-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.package-card.featured:before {
    content: 'Polecany';
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.package-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.package-price {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.package-price span {
    font-size: 16px;
    color: var(--text-secondary);
}

.package-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.package-features li {
    margin-bottom: 10px;
    color: var(--text-secondary);
    padding-left: 25px;
    position: relative;
}

.package-features li:before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
}

.package-card .btn {
    width: 100%;
}

/* Błędy do uniknięcia */
.mistake-box {
    background-color: rgba(244, 67, 54, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.mistake-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.mistake-list {
    list-style: none;
}

.mistake-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.mistake-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #F44336;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.mistake-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #F44336;
}

.mistake-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 50px auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.faq-question {
    font-size: 18px;
    padding: 20px 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
}

.faq-question:after {
    content: '+';
    font-size: 22px;
    color: var(--primary);
}

.faq-item.active .faq-question:after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 0 20px;
    max-height: 1000px;
}

.faq-answer p {
    color: var(--text-secondary);
}

/* CTA */
.cta-section {
    background: linear-gradient(to right, var(--secondary), var(--primary));
    border-radius: 12px;
    padding: 80px;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    color: white;
}

.cta-section:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 60%);
    top: -150px;
    right: -150px;
    z-index: 1;
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.cta-section .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    padding: 80px 0 30px;
    margin-top: 100px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-about {
    padding-right: 40px;
}

.footer-about .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-about p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--input-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    background-color: var(--primary);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: var(--text);
}

.social-link:hover svg {
    fill: white;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--sticky-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 15px 0;
    z-index: 99;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hover-glow:hover {
    text-shadow: 0 0 10px rgba(0, 166, 237, 0.5);
}

/* Animowane kształty */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 166, 237, 0.05);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: 10%;
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
}

.shape-4 {
    width: 400px;
    height: 400px;
    top: 20%;
    right: -200px;
}

/* Responsywność */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .feature-item {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-section {
        padding: 40px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .copyright {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Karty usług bezpieczeństwa */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.security-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.security-card:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background-color: var(--primary);
    transition: height 0.3s ease;
}

.security-card:hover:before {
    height: 100%;
}

.security-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.security-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(0, 166, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.security-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text);
}

.security-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.security-features {
    margin-top: 20px;
}

.security-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.feature-icon {
    color: var(--primary);
    margin-right: 10px;
}

.security-card .btn {
    margin-top: 20px;
    width: 100%;
}

/* Sekcja podejścia */
.approach-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.approach-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    color: var(--text);
}

.approach-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 18px;
}

.approach-steps {
    margin-top: 30px;
}

.approach-step {
    display: flex;
    margin-bottom: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 166, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    margin-bottom: 6px;
    color: var(--text);
}

.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.approach-image {
    position: relative;
}

.approach-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Sekcja klientów */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 40px;
    align-items: center;
}

.client-logo {
    height: 40px;
    opacity: 0.6;
    transition: all 0.3s;
    filter: grayscale(100%);
}

html[data-theme='dark'] .client-logo {
    filter: grayscale(100%) brightness(1000%);
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Slider z testimonialami */
.testimonials-slider {
    margin-top: 60px;
    position: relative;
}

/* Karty wyzwań */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.challenge-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
}

.challenge-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #E53E3E;
}

.challenge-card p {
    color: var(--text-secondary);
}

.challenge-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    font-weight: 800;
    color: rgba(229, 62, 62, 0.1);
}

/* Formularz kontaktowy */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

input, 
textarea, 
select {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    background-color: var(--input-bg);
    border: 1px solid var(--border);
    color: var(--text);
    transition: all 0.3s;
}

input:focus, 
textarea:focus, 
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 166, 237, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.contact-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

/* Responsywność dla strony kontaktu */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Ukrywanie modalu */
#fallbackModal {
    display: none !important;
}

/* Uzupełnienia dla informacji kontaktowych */
.contact-info {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
    margin-right: 10px;
}

.contact-info span {
    color: var(--text-secondary);
}

/* Uzupełnienia dla przycisków w CTA */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Doprecyzowanie stylów dla autora testimoniali */
.author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text);
}

.author-info p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Style dla kalendly (popup) */
.calendly-overlay .calendly-popup {
    border-radius: 12px;
    overflow: hidden;
}

/* Uzupełnienie dla wyróżnionych elementów */
.hover-glow {
    transition: text-shadow 0.3s ease;
}

.hover-glow:hover {
    text-shadow: 0 0 10px rgba(0, 166, 237, 0.5);
}

/* Poprawka dla wyświetlania FAQ */
.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

/* Poprawka dla małych ekranów */
@media (max-width: 768px) {
    .approach-container {
        grid-template-columns: 1fr;
    }
    
    .approach-image {
        order: -1;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
}

 /* Style dla komunikatu o plikach cookie */
 .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text);
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 0;
}

.cookie-link {
    color: var(--primary);
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    white-space: nowrap;
}

/* Style dla modalu z ustawieniami plików cookie */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.cookie-modal.visible {
    display: flex;
}

.cookie-modal-content {
    background-color: var(--card-bg);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 22px;
    color: var(--text);
}

.cookie-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
}

.cookie-modal-body {
    padding: 20px;
}

.cookie-modal-body p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.cookie-option {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cookie-option-header h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: var(--text);
}

.cookie-option-header p {
    margin: 0;
    font-size: 14px;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: .4s;
    border-radius: 34px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: var(--primary);
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-switch.disabled {
    opacity: 0.6;
}

.cookie-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    text-align: right;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-option-header {
        flex-direction: column;
    }
    
    .cookie-switch {
        margin-top: 10px;
    }
}