:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --success-color: #4cc9f0;
    --text-light: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #e6136f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-links {
    display: flex;
    list-style: none;
    align-items: center; /* Dodane wyrównanie w pionie */
    margin: 0; /* Usunięcie domyślnego marginesu listy */
}

.nav-links li {
    margin-left: 2rem;
    display: flex; /* Dodane */
    align-items: center; /* Dodane */
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.75rem 0; /* Dodane wyrównanie wysokości z przyciskiem */
    display: inline-block; /* Dodane */
}

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

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-color);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 99;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(250,250,255,0.95) 0%, rgba(245,248,255,0.95) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(67, 97, 238, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(247, 37, 133, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(76, 201, 240, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundPulse 15s infinite alternate ease-in-out;
}

@keyframes backgroundPulse {
    0% {
        background-size: 100% 100%, 100% 100%, 100% 100%;
        background-position: 0% 0%, 100% 100%, 50% 50%;
    }
    100% {
        background-size: 150% 150%, 150% 150%, 120% 120%;
        background-position: 10% 10%, 90% 90%, 60% 40%;
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-text {
    padding: 2rem 1rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}



.hero-text h1 span {
    display: inline-block;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h1 span::before {
    display: none;
}

.hero-text:hover h1 span::before {
    display: none;
}

.hero-text h1 span {
    transform: none;
    transition: none;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}



.hero-badge {
    position: absolute;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 3;
    animation: float 6s infinite ease-in-out;
}

.hero-badge:nth-of-type(1) {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.hero-badge:nth-of-type(2) {
    top: 60%;
    right: 5%;
    animation-delay: 1s;
}

.hero-badge:nth-of-type(3) {
    bottom: 10%;
    left: 15%;
    animation-delay: 2s;
}

.hero-badge i {
    font-size: 1.2rem;
    color: var(--primary-color);
}


@media (max-width: 768px) {

    .hero {
        padding: 6rem 0;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }

    .hero-badge {
        display: none;
    }
    
}

.hero-image {
    flex: 1;
    text-align: center;
    position: relative;
}

.hero-image-container {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-image::before,
.hero-image::after {
    content: "";
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
}

.hero-image::before {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.15), rgba(76, 201, 240, 0.15));
    top: -50px;
    right: -80px;
    animation: blobAnimation 10s infinite alternate ease-in-out;
}

.hero-image::after {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.15), rgba(58, 12, 163, 0.15));
    bottom: -30px;
    left: -60px;
    animation: blobAnimation 15s infinite alternate-reverse ease-in-out;
}

@keyframes blobAnimation {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
        transform: translate(20px, 10px) rotate(120deg) scale(1.1);
    }
    66% {
        border-radius: 70% 30% 50% 50% / 30% 50% 50% 70%;
        transform: translate(-20px, 10px) rotate(240deg) scale(0.9);
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(76, 201, 240, 0.3);
    border-radius: 50%;
    animation: floatParticle var(--duration) infinite linear;
    opacity: var(--opacity);
    transform: scale(var(--scale));
}

.particle:nth-child(2n) {
    background: rgba(67, 97, 238, 0.3);
}

.particle:nth-child(3n) {
    background: rgba(247, 37, 133, 0.3);
}

@keyframes floatParticle {
    0% {
        transform: translate(var(--x), 0) rotate(0deg) scale(var(--scale));
        opacity: 0;
    }
    25% {
        opacity: var(--opacity);
    }
    75% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate(var(--x), 100vh) rotate(360deg) scale(var(--scale));
        opacity: 0;
    }
}

.mouse-tracker {
    position: absolute;
    inset: 0;
    z-index: 0;
}



@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Problems Section */
.problems {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(250,250,255,0.95) 0%, rgba(245,248,255,0.95) 100%);
}

.problems::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(247, 37, 133, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(58, 12, 163, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundMorph 15s infinite alternate ease-in-out;
}

@keyframes backgroundMorph {
    0% {
        background-size: 100% 100%, 100% 100%, 100% 100%;
        background-position: 80% 20%, 20% 80%, 50% 50%;
    }
    100% {
        background-size: 120% 120%, 120% 120%, 150% 150%;
        background-position: 85% 15%, 15% 85%, 45% 55%;
    }
}

.problems .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.problems .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.problems .section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.problem-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.problem-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.problem-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.problem-card:hover h3 {
    transform: translateX(5px);
    color: var(--accent-color);
}

.problem-card i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: block;
    transition: all 0.5s ease;
    position: relative;
}

.problem-card:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* SVG icon styles */
.problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.problem-icon svg {
    width: 100%;
    height: 100%;
    stroke: url(#icon-gradient);
    transition: all 0.5s ease;
}

.problem-card:hover .problem-icon svg {
    transform: scale(1.1);
    stroke-width: 1.8;
}

/* Individual icon customizations */
.optimization-icon svg {
    stroke: var(--primary-color);
}

.security-icon svg {
    stroke: var(--accent-color);
}

.redundancy-icon svg {
    stroke: #4cc9f0;
}

.integration-icon svg {
    stroke: #7209b7;
}

.responsive-icon svg {
    stroke: #f72585;
}

.scalability-icon svg {
    stroke: #3a0ca3;
}

.problem-card p {
    color: var(--gray-color);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.problem-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(76, 201, 240, 0.2), rgba(67, 97, 238, 0.2));
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    transition: all 0.5s ease;
    z-index: 0;
    opacity: 0;
}

.problem-card:hover::after {
    transform: scale(2.5);
    opacity: 0.1;
}

.floating-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.2;
    filter: blur(2px);
}

.floating-shape:nth-child(1) {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 10s infinite alternate ease-in-out;
}

.floating-shape:nth-child(2) {
    bottom: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-color), transparent);
    border-radius: 50% 50% 30% 70% / 50% 30% 70% 50%;
    animation: float 15s infinite alternate-reverse ease-in-out;
}

.problem-card .hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.problem-card:hover .hover-effect {
    transform: scaleX(1);
}

/* Services Section */
.services {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(250,250,255,0.95) 0%, rgba(245,248,255,0.95) 100%);
}

.services::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(76, 201, 240, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 37, 133, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(58, 12, 163, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundMorphServices 15s infinite alternate ease-in-out;
}

@keyframes backgroundMorphServices {
    0% {
        background-size: 100% 100%, 100% 100%, 100% 100%;
        background-position: 20% 20%, 80% 80%, 50% 50%;
    }
    100% {
        background-size: 120% 120%, 120% 120%, 150% 150%;
        background-position: 15% 15%, 85% 85%, 55% 45%;
    }
}

.services .container {
    position: relative;
    z-index: 1;
}

.services .section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
}

.services .section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.service-card:hover img {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    transform: translateX(5px);
    color: var(--accent-color);
}

.service-card p {
    color: var(--gray-color);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.service-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.2), rgba(76, 201, 240, 0.2));
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    transition: all 0.5s ease;
    z-index: 0;
    opacity: 0;
}

.service-card:hover::after {
    transform: scale(2.5);
    opacity: 0.1;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: white; /* Zmiana z rgba na solid color */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 15px;
    transition: all 0.5s ease;
    position: relative; /* Dodane */
    z-index: 1; /* Dodane */
}

.service-icon svg {
    width: 100%;
    height: 100%;
    color: var(--primary-color);
    stroke-width: 1.5;
    /* Usunięte backdrop-filter */
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    /* Specjalne style dla iOS */
    .service-icon {
        background: white; /* Upewniamy się, że tło jest nieprzezroczyste */
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* Aktualizacja efektu hover */
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.2);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.service-card:hover .service-icon svg {
    color: white;
}

.service-card .hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover .hover-effect {
    transform: scaleX(1);
}

/* Animation for Service Cards */
.animate-service-card {
    animation: fadeInUp 0.6s forwards ease-out;
    opacity: 0;
    transform: translateY(30px);
}

/* Initial state for animation */
.services-grid .service-card {
    opacity: 1; /* Zmiana z 0 na 1 */
    transform: translateY(0); /* Zmiana z 30px na 0 */
}

/* Process Section */
.process {
    padding: 5rem 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(67, 97, 238, 0.1), rgba(247, 37, 133, 0.1));
    border-radius: 50%;
    top: -150px;
    left: -150px;
    z-index: 0;
    animation: float 15s infinite alternate ease-in-out;
}

.process::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, rgba(76, 201, 240, 0.1), rgba(58, 12, 163, 0.1));
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    z-index: 0;
    animation: float 10s infinite alternate-reverse ease-in-out;
}

.animate-step {
    animation: fadeInUp 0.5s forwards ease-out;
    opacity: 0;
}

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

/* Glassmorphism effect for 2025 */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Neuomorphism effects */
.neuo-effect {
    border-radius: 20px;
    background: var(--light-color);
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
}

/* Modern gradient backgrounds */
.modern-gradient {
    background: linear-gradient(120deg, #4361ee, #3a0ca3, #f72585);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

/* Process section specific styles for 2025 */
.process .section-header h2 {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Holographic effect for step numbers */
.step-number::after {
    content: "";
    position: absolute;
    inset: -3px;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 50%;
    animation: holographic 3s infinite linear;
    z-index: 3;
}

@keyframes holographic {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.process .container {
    position: relative;
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 350px; /* Ograniczenie maksymalnej szerokości */
    margin: 0 auto; /* Wycentrowanie karty */
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: -15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-content {
    flex: 1;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.step h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 10px 0;
    line-height: 1.3;
}

.step p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    max-width: 100%; /* Zapewnienie, że tekst nie wychodzi poza kontener */
}

@media (max-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

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

    .step {
        padding: 20px;
        max-width: 100%; /* Pełna szerokość na mobile */
    }

    .step h4 {
        font-size: 1.1rem;
    }

    .step p {
        font-size: 0.9rem;
    }
}

/* Case Studies Section */
.case-studies {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(250,250,255,0.95) 0%, rgba(245,248,255,0.95) 100%);
}

.case-studies::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(247, 37, 133, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(58, 12, 163, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundMorph 15s infinite alternate ease-in-out;
}

@keyframes backgroundMorph {
    0% {
        background-size: 100% 100%, 100% 100%, 100% 100%;
        background-position: 80% 20%, 20% 80%, 50% 50%;
    }
    100% {
        background-size: 120% 120%, 120% 120%, 150% 150%;
        background-position: 85% 15%, 15% 85%, 45% 55%;
    }
}

.case-studies .container {
    position: relative;
    z-index: 1;
}

.case-studies .section-header h2 {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.case-study-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 80px; /* Zwiększona przestrzeń na przycisk */
}

.case-study-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.case-study-content h3 {
    margin: 15px 0;
    font-size: 1.4rem;
    line-height: 1.4;
}

.case-study-content p {
    margin: 0;
    line-height: 1.6;
    color: var(--gray-color);
}

.case-details-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
}

.case-study-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.case-study-card:hover::before {
    opacity: 1;
}

.case-study-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-card:hover .case-study-content h3 {
    color: var(--accent-color);
}

.case-study-card:hover .case-study-content p {
    color: var(--gray-color);
}

.case-study-card:hover .case-details-btn {
    background-color: var(--accent-color);
    color: white;
}

.case-study-card::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.2), rgba(76, 201, 240, 0.2));
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    transition: all 0.5s ease;
    z-index: 0;
    opacity: 0;
}

.case-study-card:hover::after {
    transform: scale(2.5);
    opacity: 0.1;
}

/* Dodaj animację dla case studies */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsywność dla case studies */
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-card {
        margin-bottom: 2rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--light-color);
}

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

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.author-info h4 {
    margin-bottom: 0.2rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.075) 0%, transparent 50%);
    z-index: 0;
    animation: ctaBackgroundMorph 15s infinite alternate ease-in-out;
}

@keyframes ctaBackgroundMorph {
    0% {
        background-size: 100% 100%, 100% 100%, 100% 100%;
        background-position: 20% 20%, 80% 80%, 50% 50%;
    }
    100% {
        background-size: 120% 120%, 120% 120%, 150% 150%;
        background-position: 25% 15%, 85% 75%, 45% 55%;
    }
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    animation: fadeInUp 0.6s forwards ease-out;
}

.cta h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
    border-radius: 2px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    animation: fadeInUp 0.6s forwards ease-out;
    animation-delay: 0.2s;
    opacity: 0;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: fadeInUp 0.6s forwards ease-out;
    animation-delay: 0.4s;
    opacity: 0;
}

.cta .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta .btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover::before {
    opacity: 1;
}

.cta .btn-primary::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 100%;
    top: 0;
    left: -100px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shineEffect 3s infinite;
}

.cta-small {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
    animation: fadeInUp 0.6s forwards ease-out;
    animation-delay: 0.6s;
    opacity: 0;
}

.cta::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.1) 0%,
        transparent 100%
    );
    pointer-events: none;
}

/* Floating particles for CTA */
.cta-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle var(--duration) infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translate(var(--x), -100%) rotate(0deg);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), 100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Media Queries for CTA */
@media (max-width: 768px) {
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Team Section */
.team {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(250,250,255,0.95) 0%, rgba(245,248,255,0.95) 100%);
}

.team::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(247, 37, 133, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(58, 12, 163, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundMorph 15s infinite alternate ease-in-out;
}

.team .container {
    position: relative;
    z-index: 1;
}

.team .section-header h2 {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-align: center;
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    padding: 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.team-member::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.team-member:hover::before {
    opacity: 1;
}

.team-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid rgba(255, 255, 255, 0.3);
    transition: all 0.5s ease;
}

.team-member:hover .team-img {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.team-member:hover h3 {
    color: var(--accent-color);
}

.team-role {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.team-member:hover .team-role {
    transform: translateX(5px);
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
}

.team-desc {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.team-member::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.2), rgba(76, 201, 240, 0.2));
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
    transition: all 0.5s ease;
    z-index: -1;
    opacity: 0;
}

.team-member:hover::after {
    transform: scale(2.5);
    opacity: 0.1;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        padding: 1.5rem;
    }

    .team-img {
        width: 150px;
        height: 150px;
    }
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(250,250,255,0.95) 0%, rgba(245,248,255,0.95) 100%);
}

.faq::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(247, 37, 133, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(58, 12, 163, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundMorph 15s infinite alternate ease-in-out;
}

.faq .container {
    position: relative;
    z-index: 1;
}

.faq .section-header h2 {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-align: center;
    margin-bottom: 1rem;
}

.faq-list {
    margin-top: 3rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.faq-answer ul {
    margin-top: 15px;
    padding-left: 20px;
    list-style-type: none;
}

.faq-answer ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: var(--text-color);
}

.faq-answer ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-answer p {
    margin-bottom: 10px;
}

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

@media (max-width: 768px) {
    .faq {
        padding: 3rem 0;
    }
    
    .faq-list {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
    
    .faq-answer ul {
        padding-left: 15px;
    }
    
    .faq-answer ul li {
        font-size: 0.95rem;
        padding-left: 15px;
    }
}

/* Blog Section
<section class="blog" id="blog">
    <div class="container">
        <div class="section-header">
            <h2>Blog</h2>
            <p>Najnowsze artykuły, porady i analizy dotyczące rozwoju aplikacji opartych na AI.</p>
        </div>
        <div class="blog-grid">
            <div class="blog-card">
                <div class="blog-image">
                    <img src="/api/placeholder/350/200" alt="Blog 1" />
                </div>
                <div class="blog-content">
                    <span class="blog-date">12 marca 2025</span>
                    <h3>5 najczęstszych problemów z kodem generowanym przez AI</h3>
                    <p>Poznaj typowe wyzwania i dowiedz się, jak je efektywnie rozwiązywać w swoich projektach.</p>
                    <a href="#" class="blog-link">Czytaj więcej</a>
                </div>
            </div>
            <div class="blog-card">
                <div class="blog-image">
                    <img src="/api/placeholder/350/200" alt="Blog 2" />
                </div>
                <div class="blog-content">
                    <span class="blog-date">5 marca 2025</span>
                    <h3>Jak zwiększyć wydajność aplikacji generowanej przez AI?</h3>
                    <p>Praktyczne wskazówki dotyczące optymalizacji i poprawy wydajności aplikacji.</p>
                    <a href="#" class="blog-link">Czytaj więcej</a>
                </div>
            </div>
            <div class="blog-card">
                <div class="blog-image">
                    <img src="/api/placeholder/350/200" alt="Blog 3" />
                </div>
                <div class="blog-content">
                    <span class="blog-date">28 lutego 2025</span>
                    <h3>Od prototypu do produktu - case study sukcesu aplikacji fintech</h3>
                    <p>Historia transformacji aplikacji płatniczej z prototypu AI do pełnowartościowego produktu.</p>
                    <a href="#" class="blog-link">Czytaj więcej</a>
                </div>
            </div>
        </div>
        <div class="blog-cta">
            <a href="#" class="btn btn-secondary">Zobacz wszystkie artykuły</a>
        </div>
    </div>
</section>  */

/* Contact Section */
.contact {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(250,250,255,0.95) 0%, rgba(245,248,255,0.95) 100%);
}

.contact::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(247, 37, 133, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(58, 12, 163, 0.05) 0%, transparent 50%);
    z-index: 0;
    animation: backgroundMorph 15s infinite alternate ease-in-out;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-header h2 {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 10px;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.5);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
    color: var(--accent-color);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--gray-color);
    line-height: 1.6;
}

.contact-form {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
    transform: translateY(-2px);
}

.contact-social {
    margin-top: 2rem;
}

.contact-social h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        
    }

    .contact-info {
        display: none;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .contact-item {
        margin-bottom: 0;
    }

    .contact-social {
        grid-column: 1 / -1;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Footer Styles */
.footer {
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(250,250,255,0.98) 0%, rgba(245,248,255,0.98) 100%);
}

.footer::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(76, 201, 240, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(247, 37, 133, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(58, 12, 163, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-brand .logo span {
    color: var(--accent-color);
}

.footer-brand p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--gray-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-color);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--gray-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* Styl dla przycisku kontakt w menu */
.nav-links .btn-contact {
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.nav-links .btn-contact:hover {
    background-color: #e6136f; /* Ciemniejszy odcień accent-color */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}
.checkbox-wrapper input[type="checkbox"] {
    margin-top: 4px;
}
.checkbox-wrapper label {
    font-size: 14px;
    line-height: 1.4;
}
.checkbox-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
}
.checkbox-wrapper a:hover {
    text-decoration: underline;
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-links {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 80px 20px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        position: relative;
        z-index: 101;
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: var(--primary-color);
    }
}

/* Process Section Responsive Styles */
@media (max-width: 992px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
    }

    .process-steps::before {
        /* Zmiana linii łączącej z poziomej na pionową */
        left: 50%;
        top: 0;
        bottom: 0;
        width: 3px;
        height: auto;
        transform: translateX(-50%);
        background: repeating-linear-gradient(
            180deg,
            var(--primary-color) 0px,
            var(--primary-color) 8px,
            transparent 8px,
            transparent 12px
        );
    }

    .step {
        width: 100%;
        max-width: 400px;
        margin-bottom: 3rem;
        position: relative;
        z-index: 2;
    }

    .step:last-child {
        margin-bottom: 0;
    }

    .step-content {
        margin-top: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .process {
        padding: 3rem 0;
    }

    .step {
        max-width: 300px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .step h4 {
        font-size: 1.1rem;
    }

    .step p {
        font-size: 0.9rem;
    }

    .process-steps::before {
        opacity: 0.2;
    }
}



@keyframes pulse-text {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.hero-text span {
    color: var(--accent-color);
    animation: pulse-text 2s infinite ease-in-out;
}

/* Case Study Cards */
.case-study-card.interactive {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.case-study-card.interactive:hover {
    transform: translateY(-10px);
}

.case-metrics {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Case Study Modal */
.case-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.case-modal-content {
    position: relative;
    background-color: white;
    margin: 2rem auto;
    padding: 2rem;
    width: 90%;
    max-width: 800px; /* Stały maksymalny rozmiar */
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    animation: modalSlideIn 0.3s ease forwards;
}

.modal-header {
    position: relative;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.case-modal-body {
    padding: 1.5rem;
}

@keyframes modalSlideIn {
    to {
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close-modal:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.case-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
    overflow-x: auto;
}

.case-nav-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: none;
    color: var(--gray-color);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.case-nav-btn::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.case-nav-btn.active {
    color: var(--primary-color);
}

.case-nav-btn.active::after {
    transform: scaleX(1);
}

.case-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.case-section.active {
    display: block;
}

.case-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-section h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-color);
}

.case-section p {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.case-section ul {
    list-style: none;
    padding: 0;
}

.case-section ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-color);
}

.case-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .case-modal-content {
        margin: 1rem auto;
        width: 90%;
    }
    
    .modal-header,
    .case-modal-body {
        padding: 1.5rem; /* Ten sam padding co na desktop */
    }

    .case-nav {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .case-nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .case-section h3 {
        font-size: 1.5rem;
    }
}

/* Dodaj style dla nagłówka modalu i przycisku zamykania */
.modal-header {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--gray-color);
    cursor: pointer;
    z-index: 1001; /* Wyższy z-index niż nawigacja */
    padding: 0.5rem;
    line-height: 1;
}

/* Aktualizacja stylów dla responsywności */
@media (max-width: 768px) {
    .modal-header {
        padding: 0.75rem;
    }

    .close-modal {
        right: 0.75rem;
        font-size: 1.75rem;
    }

    .case-nav {
        margin-top: 0; /* Usuń górny margines, bo mamy teraz header */
    }
}

.case-study-header p {
    color: var(--gray-color);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 1rem 0 2rem;
    max-width: 800px;
}

.case-study-header {
    text-align: center;
    margin-bottom: 3rem;
}

.case-study-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .case-study-header h2 {
        font-size: 2rem;
    }
    
    .case-study-header p {
        font-size: 1.1rem;
        margin: 1rem 0 1.5rem;
    }
}

/* Case Studies Page Styles */
.case-studies-hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.case-studies-detailed {
    padding: 5rem 0;
    background-color: var(--light-color);
    position: relative;
}

.case-studies-detailed .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.proof-of-concept-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.proof-of-concept-note {
    max-width: 800px;
    margin: 1rem auto;
    color: var(--gray-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.case-study-item {
    background-color: white;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.case-study-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(247, 37, 133, 0.05));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.case-study-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.case-study-header p {
    color: var(--gray-color);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 1rem auto 2rem;
    max-width: 800px;
}

.case-metrics {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: 500;
}

.case-study-content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.case-study-image {
    border-radius: 10px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
}

.case-study-details h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.case-study-details ul {
    list-style: none;
    margin: 1rem 0;
}

.case-study-details ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.case-study-details ul li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.cta-buttons .btn-primary:hover {
    background: var(--light-color);
    color: var(--accent-color);
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .case-study-content {
        flex-direction: column;
    }
    
    .case-study-item {
        padding: 1.5rem;
    }
    
    .case-study-header h2 {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* Case Studies Modal */
.case-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
}

.case-modal-content {
    position: relative;
    background-color: white;
    margin: 2rem auto;
    padding: 2rem;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    animation: modalSlideIn 0.3s ease forwards;
}

.modal-header {
    position: relative;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.case-modal-body {
    padding: 1.5rem;
}

@keyframes modalSlideIn {
    to {
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    color: var(--gray-color);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close-modal:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.case-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
    overflow-x: auto;
}

.case-nav-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: none;
    color: var(--gray-color);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.case-nav-btn::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.case-nav-btn.active {
    color: var(--primary-color);
}

.case-nav-btn.active::after {
    transform: scaleX(1);
}

.case-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.case-section.active {
    display: block;
}

.case-section h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-section h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-color);
}

.case-section p {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.case-section ul {
    list-style: none;
    padding: 0;
}

.case-section ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-color);
}

.case-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .case-modal-content {
        margin: 1rem auto;
        width: 90%;
    }
    
    .modal-header,
    .case-modal-body {
        padding: 1.5rem; /* Ten sam padding co na desktop */
    }

    .case-nav {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .case-nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .case-section h3 {
        font-size: 1.5rem;
    }
}

/* Dodaj style dla nagłówka modalu i przycisku zamykania */
.modal-header {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.close-modal {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--gray-color);
    cursor: pointer;
    z-index: 1001; /* Wyższy z-index niż nawigacja */
    padding: 0.5rem;
    line-height: 1;
}

/* Aktualizacja stylów dla responsywności */
@media (max-width: 768px) {
    .modal-header {
        padding: 0.75rem;
    }

    .close-modal {
        right: 0.75rem;
        font-size: 1.75rem;
    }

    .case-nav {
        margin-top: 0; /* Usuń górny margines, bo mamy teraz header */
    }
}

.service-features {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 5px;
}

.service-features span {
    font-size: 0.9rem;
    color: var(--gray-color);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.package-card {
    background: white;
    position: relative;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    padding-top: 15px; /* Dodane, żeby zrobić miejsce na badge */
}

.package-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 4px 12px; /* Zmniejszony padding */
    border-radius: 16px; /* Zmniejszony radius */
    font-size: 0.8rem; /* Zmniejszona czcionka */
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.2);
    z-index: 1;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.package-features li {
    margin: 12px 0;
    font-size: 0.95rem;
    color: var(--gray-color);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.package-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 20px 0;
    padding-right: 70px; /* Dodane miejsce dla badge */
}

.services-usp {
    margin-top: 80px;
    text-align: center;
}

.services-usp h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.usp-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.usp-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.usp-item span {
    font-size: 24px;
    color: var(--primary-color);
}

.usp-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--gray-color);
}

@media (max-width: 768px) {
    .service-features span,
    .package-features li {
        font-size: 0.9rem;
    }

    .package-card h3 {
        font-size: 1.2rem;
    }

    .services-usp h3 {
        font-size: 1.5rem;
    }

    .usp-item {
        padding: 20px;
    }

    .usp-item p {
        font-size: 0.95rem;
    }
}

.services-cta {
    text-align: center;
    margin-top: 60px;
    padding: 20px 0;
}

.services-cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
}

.services-cta .cta-note {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .services-cta {
        margin-top: 40px;
    }
    
    .services-cta .btn {
        font-size: 1rem;
        padding: 0.8rem 1.6rem;
    }
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        var(--primary-color), 
        var(--accent-color)
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.timeline-number {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 0 20px rgba(67, 97, 238, 0.3);
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    margin-left: auto;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.timeline-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin: 10px 0;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--gray-color);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        padding-left: 60px;
    }
    
    .timeline-number {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 0 !important;
    }
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

.contact-form button[type="submit"] {
    display: block;
    margin: 30px auto 0;
    min-width: 200px;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem 0;
    transition: bottom 0.5s ease;
}

.cookie-consent-banner.show {
    bottom: 0;
}

.cookie-consent-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
    margin-right: 2rem;
}

.cookie-consent-text h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.cookie-consent-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--gray-color);
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.cookie-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.cookie-btn-primary:hover {
    background-color: #e6136f;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-consent-text {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

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

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background-color: white;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    padding: 2rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-color);
}

.cookie-close-modal:hover {
    color: var(--primary-color);
}

.cookie-settings-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.cookie-settings-options {
    margin-bottom: 2rem;
}

.cookie-option {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.cookie-option input {
    margin-top: 0.3rem;
    margin-right: 1rem;
    transform: scale(1.2);
}

.cookie-option label {
    flex: 1;
}

.cookie-option label strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.cookie-option label p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.cookie-settings-buttons {
    display: flex;
    justify-content: flex-end;
}

/* Case Studies Page Specific Styles */
.case-studies-hero {
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(247, 37, 133, 0.05) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.case-studies-detailed {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.case-study-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.case-study-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.case-study-header {
    margin-bottom: 2rem;
}

.case-study-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.case-study-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.case-study-tags span {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.case-study-content {
    padding: 2rem;
}

.case-study-image {
    border-radius: 10px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
}

.case-study-details h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.case-study-details ul {
    list-style: none;
    margin: 1rem 0;
}

.case-study-details ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.case-study-details ul li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

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

.cta-buttons .btn-primary:hover {
    background: var(--light-color);
    color: var(--accent-color);
}

.cta-buttons .btn-secondary {
    border-color: white;
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .case-study-content {
        flex-direction: column;
    }
    
    .case-study-item {
        padding: 1.5rem;
    }
    
    .case-study-header h2 {
        font-size: 1.5rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* Dodatkowe style dla case studies */
.case-study-content {
    display: block;
    padding: 2rem;
}

.case-section {
    margin-bottom: 2rem;
    opacity: 1 !important;
    visibility: visible !important;
}

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

.consent-group {
    margin-top: 15px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 15px;
}
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.checkbox-wrapper label {
    font-size: 11px;
    color: #666;
    line-height: 1.3;
    flex: 1;
}
.checkbox-wrapper input[type="checkbox"] {
    margin-top: 2px;
    width: 12px;
    height: 12px;
}
.checkbox-wrapper a {
    color: #4285f4;
    text-decoration: none;
}
.checkbox-wrapper a:hover {
    text-decoration: underline;
}

/* Packages Section */
.packages-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    flex-wrap: wrap;
}

.package-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

@media (max-width: 992px) {
    .packages-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .package-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .package-card {
        flex: 0 0 100%;
    }
}