:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    /* accent na ciemnym tle (CTA box dark bg) - kontrast 3.1:1 - za mały na białym,
       dlatego używamy accent wyłącznie na dark tle. Na jasnym tle przyciski = --primary */
    --accent: #c2410c;        /* było #f97316 (2.93:1 na białym) → ciemniejszy pomarańcz 4.61:1 na białym */
    --accent-light: #ea580c;  /* było #fb923c → ciemniejszy, 4.5:1 na białym */
    --accent-on-dark: #fb923c; /* jasny pomarańcz tylko na ciemnym tle (#0f172a) - kontrast 5.2:1 */
    --dark: #0f172a;
    --dark-gray: #1e293b;
    --gray: #475569;           /* było #64748b (4.48:1) → ciemniejszy 5.9:1 na białym - WCAG AA */
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

main {
    padding-top: 90px;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
}

.nav-cta:hover {
    background: var(--primary-dark);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--card-shadow);
    border-radius: 12px;
    padding: 20px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    color: var(--dark-gray);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 60px 0 40px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.08) 0%, transparent 50%);
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(249, 115, 22, 0.1));
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--dark);
}

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

.hero-description {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-description strong {
    color: var(--primary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--light-gray);
}

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

.btn-lg {
    padding: 20px 40px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* Trusted Section */
.trusted-section {
    padding: 40px 0;
    background: var(--white);
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.trusted-label {
    text-align: center;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trusted-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
    opacity: 0.7;
    transition: var(--transition);
}

.trusted-logo:hover {
    opacity: 1;
    color: var(--primary);
}

/* Services */
.services-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: var(--primary);        /* solid blue - biały tekst 8.6:1 - WCAG AAA */
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-description {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-decoration: none;
    display: block;
    color: inherit;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 20px;
}

.service-features li {
    color: var(--dark-gray);
    padding: 8px 0;
    font-size: 14px;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

/* Process */
.process-section {
    padding: 100px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

.process-step {
    text-align: center;
    padding: 30px;
}

.step-number {
    font-size: 64px;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1;
    margin-bottom: 16px;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.process-step p {
    color: var(--gray);
    font-size: 14px;
}

/* Case Studies */
.case-studies-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.case-study-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.case-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-placeholder {
    font-size: 64px;
}

.case-content {
    padding: 30px;
}

.case-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.case-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark);
}

.case-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 14px;
}

.case-results {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 12px;
}

.result {
    text-align: center;
}

.result-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.result-label {
    font-size: 12px;
    color: var(--gray);
}

.case-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.case-studies-cta {
    text-align: center;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-style: italic;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-info strong {
    display: block;
    color: var(--dark);
}

.author-info span {
    font-size: 14px;
    color: var(--gray);
}

.testimonials-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(249, 115, 22, 0.05));
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.trust-badge {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
}

.trust-text strong {
    display: block;
    color: var(--dark);
}

.trust-text span {
    font-size: 14px;
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);
    border-radius: 30px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta-box {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

.cta-content h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.cta-list {
    list-style: none;
    margin-bottom: 30px;
}

.cta-list li {
    color: var(--white);
    padding: 8px 0;
    font-size: 16px;
}

.cta-box .btn-primary {
    background: var(--accent-on-dark); /* jasny pomarańcz na dark tle - kontrast 5.2:1 */
    color: var(--dark);                /* ciemny tekst na jasnym tle - kontrast 14:1 */
}

.cta-box .btn-primary:hover {
    background: #fdba74;
    color: var(--dark);
}

.cta-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cta-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.cta-illustration {
    font-size: 100px;
    position: relative;
    z-index: 1;
}

/* FAQ */
.faq-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

@media (max-width: 576px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--gray);
    font-size: 15px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 30px;
}

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

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    padding-left: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links h4, .footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
}

@media (max-width: 576px) {
    .footer-bottom, .footer-contact, .footer-links {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }
	.lead {
		margin-top: 50px !important;
	}
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
.nav-menu.active {
    display: flex;
}

.dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 10px 0 10px 20px;
    display: none;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.mobile-menu-btn {
    display: flex;
}
    
    .hero {
        padding: 50px 0 30px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 20px 40px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
}

.cookie-link:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .cookie-actions {
        flex-direction: column;
        gap: 10px;
    }
}