:root {
    /* Color Palette - Light & Pink/Purple */
    --bg-color: #f5f6f8;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent-blue: #8b5cf6;
    --accent-blue-hover: #7c3aed;
    --accent-cyan: #ec4899;

    /* Glassmorphism / Soft UI */
    --glass-bg: #ffffff;
    --glass-border: rgba(139, 92, 246, 0.1);
    --glass-blur: 40px;
    --glass-shadow: 0 10px 30px rgba(31, 38, 135, 0.05);

    /* Layout */
    --container-width: 1200px;
    --section-spacing: 70px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    font-family: 'Outfit', sans-serif;
}

body,
html {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Sub-page layout fix — position: relative gives hero-bg an anchor point */
.cennik-page,
.privacy-container {
    position: relative;
}

.cennik-page>.hero-bg,
.privacy-container>.hero-bg {
    overflow: hidden;
}

/* Hero Section Container */
.hero-section {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 70px 5% 0;
    overflow: visible;
    z-index: 1;
}

/* Background Mesh & Blobs */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    border-radius: 50%;
    animation: blob-float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, rgba(139, 92, 246, 0) 70%);
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, rgba(236, 72, 153, 0) 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.2) 0%, rgba(30, 58, 138, 0) 70%);
    animation-delay: -10s;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

@keyframes blob-float {
    0% {
        transform: translateY(0) scale(1);
    }

    33% {
        transform: translateY(-50px) scale(1.1);
    }

    66% {
        transform: translateY(20px) scale(0.9);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

/* Hero Content */
.hero-content {
    flex: 1;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero-seo-title {
    font-size: 25px;
    font-weight: 200;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: -25px;
    color: var(--text-primary);
    position: relative;
    z-index: 10;
}

.hero-title {
    display: block;
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: 30px;
    letter-spacing: -1px;
    margin-top: 20px;
}

.gradient__text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-glow {
    position: relative;
}

.text-glow::after {
    content: 'nowoczesną';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(15px);
    opacity: 0.5;
    z-index: -1;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
    font-weight: 300;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-glass {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    max-width: 250px;
    margin-left: 0;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(236, 72, 153, 0.9));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.15);
}

/* 3D Abstract Visuals */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    height: 600px;
}

.abstract-composition {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    animation: rotate-scene 30s infinite linear;
}

.shape {
    position: absolute;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-cube {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    margin: -75px 0 0 -75px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    transform: translateZ(50px) rotateX(45deg) rotateY(45deg);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.1);
    animation: float-shape 6s infinite ease-in-out alternate;
}

.sphere-gradient {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 70%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f472b6, #8b5cf6 60%, #4c1d95);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.55), 0 0 25px rgba(236, 72, 153, 0.35), inset -10px -10px 20px rgba(0, 0, 0, 0.15);
    transform: translateZ(120px);
    animation: float-shape 5s infinite ease-in-out alternate-reverse;
}

.torus-ring {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 10%;
    border-radius: 50%;
    border: 15px solid transparent;
    background: linear-gradient(135deg, var(--accent-blue), transparent) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    transform: translateZ(-50px) rotateX(60deg) rotateY(-20deg);
    animation: float-shape 7s infinite ease-in-out alternate;
}

.glass-panel {
    width: 250px;
    height: 180px;
    top: 10%;
    left: 10%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    transform: translateZ(-100px) rotateZ(-15deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    animation: float-shape 8s infinite ease-in-out alternate-reverse;
}

.floating-orb {
    width: 40px;
    height: 40px;
    bottom: 20%;
    right: 20%;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 20px #ffffff, 0 0 40px var(--accent-blue);
    transform: translateZ(150px);
    animation: float-orb 4s infinite cubic-bezier(0.4, 0, 0.2, 1) alternate;
}

@keyframes rotate-scene {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes float-shape {
    0% {
        transform: translateY(0) scale(1) var(--init-transform, rotateX(0));
    }

    100% {
        transform: translateY(-20px) scale(1.05) var(--init-transform, rotateX(0));
    }
}

@keyframes float-orb {
    0% {
        transform: translateZ(150px) translateY(0);
    }

    100% {
        transform: translateZ(150px) translateY(-30px);
    }
}

@media (max-width: 995px) {
    .hero-section {
        flex-direction: column;
        padding-top: 140px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 995px) {

    .hero-section,
    .hero-content {
        text-align: left;
        align-items: flex-start;
    }

    .hero-seo-title {
        text-align: left;
        font-size: 16px;
        margin-bottom: -15px;
    }

    .hero-title {
        text-align: left;
        font-size: clamp(38px, 10vw, 50px);
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .hero-desc {
        text-align: left;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Header Adjustments */
header {
    box-sizing: border-box;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5000px;
    width: 80%;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    color: var(--text-primary);

    /* Liquid Glass Effect */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);

    z-index: 9999;
    height: 80px;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Home Page Header (Initial Transparent State) */
.home-page header {
    top: 15px;
    width: 85%;
    max-width: 1500px;
    padding: 0 50px;
    border-radius: 5000px;
    height: 80px;

    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid rgba(255, 255, 255, 0);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0),
        inset 0 1px 0 0 rgba(255, 255, 255, 0),
        inset 0 0 20px rgba(255, 255, 255, 0);
}

/* Home Page Header (Hidden Up State) */
.home-page header.hidden-up {
    transform: translate(-50%, -100%);
    opacity: 0;
    pointer-events: none;
}

/* Home Page Header (Scrolled State) */
.home-page header.scrolled {
    top: 15px;
    width: 80%;
    max-width: 1400px;
    border-radius: 5000px;
    padding: 0 50px;

    /* Restore Liquid Glass */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);

    height: 80px;
}

nav {
    display: flex;
    align-items: center;
}

nav>a {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 20px;
    font-size: 18px;
    transition: 300ms;
    font-weight: 600;
}

nav>a:hover {
    color: var(--accent-blue);
    transform: translateY(-2px) scale(1.05);
}

#projekty {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
    padding-top: 50px;
    scroll-margin-top: 100px;
    box-sizing: border-box;
}

#projekty>h2 {
    font-size: 35px;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 40px;
}

h2 {
    color: var(--text-primary);
}

#kafelki {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.kafelek {
    height: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(31, 38, 135, 0.05);
}

.kafelek:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.kafelek__obraz {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(139, 92, 246, 0.05);
}

.kafelek__obraz>img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.1));
}

.kafelek:hover .kafelek__obraz>img {
    transform: scale(1.08);
}

.kafelek>.kafelek__tytul {
    color: var(--text-primary);
    font-weight: 800;
    font-size: 24px;
    padding: 25px 25px 10px 25px;
    margin: 0;
}

.kafelek>.kafelek__opis {
    flex-grow: 1;
    color: var(--text-secondary);
    padding: 0 25px;
    margin: 0 0 25px 0;
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kafelek__przyciski {
    padding: 0 25px 25px 25px;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.kafelek__podglad {
    width: 100%;
    text-align: center;
    display: block;
}



.kafelek__data {
    color: var(--accent-cyan);
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
}

.kafelek__opis_krotki {
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 15px;
    font-weight: 500;
}

#kontakt {
    margin-top: var(--section-spacing);
    padding: 40px 20px;
    scroll-margin-top: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact__container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    align-items: stretch;
}

/* ─── Formularz kontaktowy ──────────────────────────────────── */
#kontakt__formularz {
    flex: 1.6;
    margin-top: 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.05);
    box-sizing: border-box;
}

#kontakt__formularz>h2 {
    font-size: 45px;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    line-height: 1.1;
    text-align: center;
}

.formularz__opis {
    color: var(--text-secondary);
    text-align: center;
    font-size: 17px;
    margin: 0 auto 50px auto;
    max-width: 600px;
    line-height: 1.6;
}

#kontakt__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#kontakt__formularz__lewy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#kontakt__formularz__lewy .form__group:nth-child(3) {
    grid-column: span 2;
}

#kontakt__formularz__prawy {
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    #kontakt__formularz__lewy {
        grid-template-columns: 1fr;
    }

    #kontakt__formularz__lewy .form__group:nth-child(3) {
        grid-column: span 1;
    }
}

/* Label */
.kontakt__formularz__label {
    display: block;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.required {
    color: var(--accent-cyan);
}

/* Grupy pól */
.form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0;
    position: relative;
    padding-bottom: 18px;
    /* rezerwacja miejsca na błąd */
}

/* Inputy */
#kontakt__form input[type="text"],
#kontakt__form input[type="email"],
#kontakt__form textarea {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: 'Outfit', sans-serif;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    outline: none;
}

#kontakt__form input[type="text"]::placeholder,
#kontakt__form input[type="email"]::placeholder,
#kontakt__form textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

#kontakt__form input[type="text"]:focus,
#kontakt__form input[type="email"]:focus,
#kontakt__form textarea:focus {
    border-color: var(--accent-blue);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

#kontakt__form input[type="text"].input--error,
#kontakt__form input[type="email"].input--error,
#kontakt__form textarea.input--error {
    border-color: #f87171;
    background: rgba(248, 113, 113, 0.05);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15);
}

#kontakt__form textarea {
    height: 170px;
    resize: vertical;
    min-height: 120px;
}

/* Błędy walidacji — absolute, bez przesuwania layoutu */
.form__error {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 12px;
    color: #f87171;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.form__error.visible {
    opacity: 1;
}

/* Checkbox RODO */
.rodo__group {
    margin-top: auto;
}

.rodo__label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    position: relative;
}

.rodo__label input[type="checkbox"] {
    display: none;
}

.rodo__checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.03);
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
    position: relative;
    margin-top: 1px;
}

.rodo__checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: 2px solid var(--text-primary);
    border-top: none;
    border-left: none;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rodo__label input:checked~.rodo__checkmark {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

.rodo__label input:checked~.rodo__checkmark::after {
    transform: rotate(45deg) scale(1);
}

.rodo__text {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.rodo__text a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: opacity 0.2s;
}

.rodo__text a:hover {
    opacity: 0.75;
}

/* Przycisk wysyłania — rozciągnięty na pełną szerokość formularza */
.form__submit__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    margin-top: 10px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    grid-column: 1 / -1;
    /* rozciąga na obie kolumny grida */
}

.form__submit__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.4s;
}

.form__submit__btn:hover:not(:disabled) {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.45);
}

.form__submit__btn:hover::before {
    opacity: 1;
}

.form__submit__btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form__submit__btn .btn__text,
.form__submit__btn .btn__icon,
.form__submit__btn .btn__loading {
    position: relative;
    z-index: 1;
}

.btn__loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Powiadomienie — fixed overlay, nie przesuwa strony */
.form__notification {
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 28px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    transition: opacity 0.4s;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.1);
    max-width: 90%;
    width: fit-content;
    box-sizing: border-box;
}

.form__notification.success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
}

.form__notification.error {
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #f87171;
}

.form__notification.fade-out {
    opacity: 0;
}

.notification__icon {
    font-size: 22px;
}

.contact__featured {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured__header p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.featured__header h2 {
    font-size: 35px;
}

.featured__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured__card {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 25px 30px;
    border-radius: 20px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 4px 20px rgba(31, 38, 135, 0.04);
}

.featured__card .card__glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--brand-color);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
}

.featured__card:hover .card__glow {
    opacity: 0.15;
}

.featured__card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(31, 38, 135, 0.05);
    box-shadow: 0 15px 30px -5px rgba(31, 38, 135, 0.08), 0 0 20px rgba(31, 38, 135, 0.05);
}

.featured__card i {
    font-size: 45px;
    color: var(--text-primary);
    background: var(--brand-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 1;
    transition: 0.3s;
    width: 60px;
    text-align: center;
}

.card__content {
    margin-left: 25px;
    display: flex;
    flex-direction: column;
    z-index: 1;
    flex: 1;
}

.card__title {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.card__value {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
}

.card__arrow {
    font-size: 20px !important;
    -webkit-text-fill-color: var(--text-secondary) !important;
    background: none !important;
    opacity: 0;
    transform: translateX(-20px);
    transition: 0.4s ease !important;
    z-index: 1;
}

.featured__card:hover .card__arrow {
    opacity: 1;
    transform: translateX(0);
    -webkit-text-fill-color: var(--brand-color) !important;
}

.contact__others {
    flex: 1;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    backdrop-filter: blur(var(--glass-blur));
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.05);
}

.contact__others h3 {
    margin-top: 0;
    color: var(--text-primary);
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 600;
}

.others__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.other__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.other__item i {
    font-size: 18px;
    transition: 0.3s;
}

.other__item:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
    transform: translateY(-3px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 20px rgba(31, 38, 135, 0.05);
}

.other__item:hover i {
    color: var(--brand-color);
    filter: drop-shadow(0 0 8px var(--brand-color));
}

footer {
    margin-top: 60px;
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    padding: 60px 20px 20px 20px;
    color: var(--text-primary);
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    text-decoration: none;
    color: var(--text-primary);
}

.footer__info p {
    color: var(--text-secondary);
}

.footer__links {
    display: flex;
    gap: 25px;
}

.footer__links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer__links a:hover {
    color: var(--accent-cyan);
}

.footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

.discord {
    --brand-color: #5865F2;
}

.github {
    --brand-color: #f0f6fc;
}

.email {
    --brand-color: #ea4335;
}

.youtube {
    --brand-color: #FF0000;
}

.skript {
    --brand-color: #00ff41;
}

.tiktok {
    --brand-color: #ff0050;
}

.steam {
    --brand-color: #66c0f4;
}

.spotify {
    --brand-color: #1DB954;
}

/* ─── Polityka Prywatności ────────────────────────────────────── */
.privacy-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: 100px auto 60px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-sizing: border-box;
}

.privacy__header {
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 30px;
}

.privacy__header h1 {
    font-size: 50px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.privacy__header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.privacy__content {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 50px;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.04);
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 17px;
    box-sizing: border-box;
    width: 100%;
}

.privacy__content h2 {
    color: var(--text-primary);
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.privacy__content h2:first-child {
    margin-top: 0;
}

.privacy__content p {
    margin-bottom: 15px;
}

.privacy__content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.privacy__content li {
    margin-bottom: 8px;
    position: relative;
    list-style: none;
}

.privacy__content li::before {
    content: '•';
    color: var(--accent-cyan);
    position: absolute;
    left: -15px;
    font-size: 20px;
    top: -2px;
}

.privacy__content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.privacy__content code {
    background: rgba(0, 0, 0, 0.03);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: var(--accent-cyan);
}

.privacy-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.privacy-link:hover {
    color: var(--accent-cyan);
    text-decoration: underline;
}

/* ─── Timeline (szkolne.html) ────────────────────────────────── */
#szkolne-timeline {
    padding: 40px 20px 70px 20px;
}

.timeline__header {
    text-align: center;
    margin-bottom: 50px;
}

.timeline__label {
    display: inline-block;
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 50px;
    background: rgba(6, 182, 212, 0.06);
}

.timeline__header h2 {
    font-size: 42px;
    color: var(--text-primary);
    margin: 10px 0 14px 0;
    line-height: 1.2;
}

.timeline__header p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Pionowa linia osi czasu */
.timeline__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(139, 92, 246, 0.4) 5%,
            rgba(6, 182, 212, 0.5) 50%,
            rgba(139, 92, 246, 0.4) 95%,
            transparent 100%);
    pointer-events: none;
}

/* Każdy element osi czasu */
.timeline__item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline__item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Karta po lewej */
.timeline__item--left {
    flex-direction: row;
    justify-content: flex-start;
}

.timeline__item--left .timeline__card {
    margin-right: calc(50% + 50px);
    margin-left: 0;
}

/* Karta po prawej */
.timeline__item--right {
    flex-direction: row;
    justify-content: flex-end;
}

.timeline__item--right .timeline__card {
    margin-left: calc(50% + 50px);
    margin-right: 0;
}

/* Punkt na osi */
.timeline__dot {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline__dot i {
    color: #fff;
    font-size: 18px;
}

.timeline__item:hover .timeline__dot {
    transform: translateX(-50%) scale(1.15);
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.65);
}

.timeline__dot--last {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.timeline__item:hover .timeline__dot--last {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.7);
}

/* Karta projektu */
.timeline__card {
    width: calc(50% - 80px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.06);
    transition: var(--transition-smooth);
    position: relative;
    box-sizing: border-box;
}

.timeline__card:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 16px 48px rgba(31, 38, 135, 0.09), 0 0 20px rgba(139, 92, 246, 0.08);
    transform: translateY(-4px);
}

.timeline__card--featured {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(255, 245, 235, 0.8));
}

.timeline__card--featured:hover {
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 16px 48px rgba(31, 38, 135, 0.09), 0 0 25px rgba(245, 158, 11, 0.12);
}

.card__featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #f59e0b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding: 4px 12px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    background: rgba(245, 158, 11, 0.08);
}

.timeline__date {
    display: block;
    color: var(--accent-cyan);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.timeline__title {
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.timeline__desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 18px 0;
}

/* Tagi technologii */
.timeline__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    padding: 4px 10px;
    transition: 0.2s;
}

.tag--accent {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.08);
    border-color: rgba(6, 182, 212, 0.2);
}

/* Przycisk w karcie */
.timeline__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.timeline__btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    color: var(--accent-cyan);
    transform: translateX(4px);
}

.timeline__btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.timeline__btn:hover i {
    transform: translateX(4px);
}

.timeline__btn--gradient {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border: none;
    color: #fff;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.timeline__btn--gradient:hover {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #fff;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.5);
    border: none;
}

/* Ulepszony przycisk szkolne na index.html */
#button__szkolne_container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

#button__szkolne {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 16px 36px;
    color: var(--text-primary);
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition-smooth);
    cursor: pointer;
    backdrop-filter: blur(var(--glass-blur));
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#button__szkolne:hover {
    transform: translateY(-5px);
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    color: var(--accent-cyan);
}

/* ─── Tablet breakpoint — oś czasu jednokolumnowa ──────────── */
@media screen and (max-width: 900px) {
    .timeline__line {
        left: 44px;
        /* 24px od lewej krawędzi kontentu + 20px paddingu .timeline */
    }

    .timeline__dot {
        left: 24px;
        width: 44px;
        height: 44px;
        top: 18px;
        transform: translateX(-50%);
    }

    .timeline__item--left .timeline__card,
    .timeline__item--right .timeline__card {
        margin-left: 72px;
        margin-right: 0;
        width: calc(100% - 72px);
        box-sizing: border-box;
    }
}

@media screen and (max-width: 995px) {
    header {
        width: 100%;
        padding: 15px 20px;
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        border-radius: 0;
        top: 0;
        height: auto;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav>a {
        margin: 5px 10px;
        font-size: 16px;
    }

    main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 20vh;
    }

    #main__text {
        text-align: center;
    }

    #main__buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    #button__projects,
    #button__contact {
        width: 100%;
    }

    .hero-visual {
        display: none;
    }

    #kafelki {
        display: flex;
        width: 100%;
        align-items: stretch;
    }

    .cennik-teaser__box {
        width: 100%;
        padding: 30px 20px;
    }

    .cennik-teaser__content h2 {
        font-size: 30px;
    }

    .cennik-teaser__content p {
        font-size: 15px;
    }

    .cennik-btn-glow {
        padding: 14px 24px;
        font-size: 16px;
        text-align: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .kafelek {
        flex: 1 1 100%;
    }

    .contact__container {
        flex-direction: column;
        gap: 40px;
    }

    .featured__header h2 {
        font-size: 35px;
    }

    .featured__card {
        padding: 20px;
    }

    .card__value {
        font-size: 18px;
    }

    .featured__card i {
        font-size: 35px;
    }

    .contact__others {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .others__grid {
        justify-content: center;
    }

    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer__links {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Formularz - mobile */
    #kontakt__form {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #kontakt__formularz {
        margin-top: 50px;
        padding-top: 40px;
    }

    #kontakt__formularz>h2 {
        font-size: 32px;
    }

    .form__submit__btn {
        font-size: 16px;
        padding: 14px 24px;
    }

    /* Powiadomienie - mobile */
    .form__notification {
        padding: 14px 20px;
        font-size: 13.5px;
        bottom: 20px;
        gap: 12px;
        border-radius: 14px;
    }

    .notification__icon {
        font-size: 20px;
    }

    /* Polityka Prywatności - mobile */
    .privacy-container {
        margin: 80px auto 60px auto;
        padding: 0 15px;
        gap: 25px;
        align-items: stretch;
        text-align: left;
    }

    .privacy__header h1 {
        font-size: 30px;
        line-height: 1.2;
    }

    .privacy__header p {
        font-size: 14px;
        margin-top: 10px;
    }

    .privacy__content {
        padding: 30px 20px;
        font-size: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: justify;
    }

    .privacy__content h2 {
        font-size: 22px;
        margin-top: 30px;
        line-height: 1.3;
        text-align: left;
    }
}

/* ─── CENNIK - MAIN STYLES ──────────────────────────────────── */
.cennik-page {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 140px;
    overflow: hidden;
}

#cennik {
    width: 100%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

#cennik .cennik__title {
    font-size: 45px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

#cennik p.cennik__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
}

/* --- Cennik Teaser (Index.html) --- */
.cennik-teaser {
    width: 100%;
    margin: 0px 0 60px 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.cennik-teaser__box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    background: var(--glass-bg);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 60px;
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cennik-teaser__box::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: var(--accent-blue);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    z-index: 0;
}

.cennik-teaser__content {
    flex: 1;
    position: relative;
    z-index: 1;
    text-align: left;
}

.cennik-teaser__content h2 {
    font-size: 40px;
    margin: 0 0 15px 0;
    color: var(--text-primary);
}

.cennik-teaser__content p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
}

.cennik-teaser__action {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.cennik-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: white !important;
    padding: 18px 35px;
    border-radius: 100px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
}

.cennik-btn-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cennik-btn-glow:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
}

.cennik-btn-glow:hover::after {
    opacity: 1;
}

.cennik-btn-glow span,
.cennik-btn-glow i {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .cennik-teaser__box {
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .cennik-teaser__content {
        text-align: center;
    }

    .cennik-teaser__content p {
        margin: 0 auto;
    }
}

.pricing-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    /* responsive fallback handled by media query below */
    width: 100%;
    max-width: 1200px;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 28px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(50px) saturate(180%);
    transition: var(--transition-smooth);
    position: relative;
    text-align: left;
    box-sizing: border-box;
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.pricing-card:hover {
    box-shadow: 0 25px 50px rgba(31, 38, 135, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(139, 92, 246, 0.4);
}

.pricing-card.highlighted {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15), 0 20px 40px rgba(31, 38, 135, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    z-index: 2;
}

.pricing-card.highlighted:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.2), 0 30px 60px rgba(31, 38, 135, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    border-color: var(--accent-blue);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #ffffff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.pricing-card h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.pricing-card h3 span {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-card .price {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 20px 0 30px 0;
}

.pricing-card .features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.pricing-card .features li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.pricing-card .features i {
    color: var(--accent-blue);
    margin-top: 5px;
    font-size: 0.9em;
}

.pricing-card .features svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.65;
    transform: scale(0.85);
}

.pricing-btn {
    display: inline-block;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
    background: rgba(139, 92, 246, 0.08);
    color: var(--accent-blue);
    border: 1px solid rgba(139, 92, 246, 0.2);
    margin-top: auto;
}

.pricing-btn:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.pricing-btn.primary {
    position: relative;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    overflow: hidden;
    z-index: 1;
}

.pricing-btn.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.pricing-btn.primary:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.pricing-btn.primary:hover::after {
    opacity: 1;
}

/* SEO Text Layout */
.seo-text {
    margin-top: 80px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: left;
    max-width: 1200px;
    box-sizing: border-box;
    width: 100%;
}

.seo-text h2,
.seo-text h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 26px;
}

.seo-text p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.seo-text p:last-child {
    margin-bottom: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Ad-ons / Maintenance */
.pricing-addons {
    margin-top: 80px;
    margin-bottom: -10px;
    width: 100%;
    max-width: 1200px;
    text-align: center;
    box-sizing: border-box;
}

.pricing-addons h3 {
    font-size: 35px;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.addons-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.addon-card {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px 25px;
    backdrop-filter: blur(var(--glass-blur));
    text-align: left;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.addon-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(31, 38, 135, 0.05);
}

.addon-card i {
    font-size: 32px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.addon-card h4 {
    font-size: 22px;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.addon-card .addon-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.addon-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Pricing */
@media (max-width: 900px) {
    .cennik-page {
        padding-top: 20px;
    }

    #cennik {
        margin-top: 0px;
    }

    #cennik .cennik__title {
        font-size: 32px;
        padding: 0 20px;
    }

    #cennik p.cennik__subtitle {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .pricing-cards {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .pricing-card.highlighted {
        transform: scale(1);
    }

    .pricing-card.highlighted:hover {
        transform: scale(1);
    }

    .pricing-card {
        width: 100%;
        max-width: 500px;
        min-width: unset;
        box-sizing: border-box;
        padding: 30px 20px;
    }
}

.badge-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-blue);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-bottom: 20px !important;
    border: 1px solid rgba(139, 92, 246, 0.2);
}


.nav-cta {
    position: relative;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #ffffff !important;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    margin-left: 15px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.nav-cta:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

.nav-cta:hover::after {
    opacity: 1;
}

nav>a.active {
    color: var(--accent-blue);
    position: relative;
}

nav>a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 2px;
}

/* Swiper specific styles */
.projectsSwiper {
    width: 100%;
    padding-bottom: 60px !important;
    padding-top: 20px !important;
    overflow: hidden;
}

.swiper-slide {
    height: auto !important;
    /* ensures cards stretch equally */
}

.swiper-pagination-bullet {
    background: var(--accent-blue) !important;
    opacity: 0.5;
    width: 12px;
    height: 12px;
    transition: all 0.3s;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan)) !important;
    width: 24px;
    border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-blue) !important;
    background: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.15);
    transition: all 0.3s;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

@media (max-width: 995px) {

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* =========================================
   3D PROJECT CAROUSEL
   ========================================= */

#projekty {
    overflow: hidden;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    padding-bottom: 50px;
}

.projekty__heading {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    margin-top: 0;
}

.projekty__heading h2 {
    font-size: 52px;
    margin-bottom: 12px;
    line-height: 1.1;
    margin-top: 0;
}

.projekty__subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

.c3d__scene {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.c3d__scene.is-dragging {
    cursor: grabbing;
}

.c3d__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.c3d__card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 420px;
    border-radius: 28px;
    overflow: hidden;
    cursor: grab;
    will-change: transform, opacity, filter;
    transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1),
        opacity 0.7s ease,
        filter 0.7s ease,
        box-shadow 0.7s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.c3d__card:active {
    cursor: grabbing;
}

.c3d__card-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    box-sizing: border-box;
    position: relative;
}

.c3d__card-inner::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: var(--card-accent, rgba(139, 92, 246, 0.2));
    filter: blur(70px);
    z-index: 0;
    pointer-events: none;
}

.c3d__logo-wrap {
    position: relative;
    z-index: 1;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    transition: transform 0.5s ease;
}

.c3d__logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6));
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.c3d__card.is-active .c3d__logo-wrap {
    transform: translateY(-6px);
}

.c3d__name {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 8px;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.c3d__tag {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.c3d__cta {
    position: absolute;
    z-index: 2;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #fff !important;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.c3d__card.is-active:hover .c3d__cta {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.c3d__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    color: #8b5cf6;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.c3d__nav i {
    transition: transform 0.3s ease;
}

.c3d__nav--prev:hover i {
    transform: translateX(-2px);
}

.c3d__nav--next:hover i {
    transform: translateX(2px);
}

.c3d__nav--prev {
    left: calc(50% - 300px);
}

.c3d__nav--next {
    right: calc(50% - 300px);
}

.c3d__nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.c3d__dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 32px;
}

.c3d__dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: rgba(139, 92, 246, 0.25);
    cursor: pointer;
    transition: all 0.35s;
    border: none;
    padding: 0;
}

.c3d__dot.is-active {
    background: #8b5cf6;
    width: 30px;
}

@media (max-width: 900px) {
    .c3d__scene {
        height: 430px;
    }

    .c3d__card {
        width: 270px;
        height: 370px;
    }

    .c3d__nav--prev {
        left: 10px;
    }

    .c3d__nav--next {
        right: 10px;
    }

    .projekty__heading h2 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .c3d__scene {
        height: 390px;
    }

    .c3d__card {
        width: 240px;
        height: 340px;
    }

    .c3d__card-inner {
        padding: 30px 15px 50px 15px;
    }

    /* More space at bottom for CTA */
    .c3d__nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .c3d__nav--prev {
        left: 15px;
    }

    .c3d__nav--next {
        right: 15px;
    }

    .projekty__heading h2 {
        font-size: 30px;
    }

    .c3d__cta {
        bottom: 15px;
        /* Better margin from bottom */
        padding: 10px 22px;
        font-size: 13px;
        transform: translateX(-50%) translateY(10px);
    }

    .c3d__card.is-active .c3d__cta {
        opacity: 1;
        pointer-events: all;
        transform: translateX(-50%) translateY(0);
    }
}

.hamburger {
    display: none;
}

@media (max-width: 995px) {

    /* Mobile Menu Fixes */
    header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        height: 65px !important;
        border-radius: 0 !important;
        top: 0 !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    header.menu-open {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom-color: transparent !important;
        box-shadow: none !important;
    }

    .home-page header {
        width: 100% !important;
        box-sizing: border-box !important;
        height: 65px !important;
        padding: 0 20px !important;
        border-radius: 0 !important;
        top: 0 !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .home-page header.scrolled {
        width: 100% !important;
        box-sizing: border-box !important;
        height: 65px !important;
        padding: 0 20px !important;
        border-radius: 0 !important;
        top: 0 !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
        backdrop-filter: blur(50px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(50px) saturate(180%) !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
        z-index: 10000;
        /* margin-left: auto puts it on the right if flex-end, but space-between is enough */
    }

    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    nav {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.5) 100%) !important;
        backdrop-filter: blur(50px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(50px) saturate(180%) !important;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 9998;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: clip-path;
    }

    nav.active {
        clip-path: inset(0 0 0 0);
    }

    nav>a {
        margin: 15px 0 !important;
        font-size: 24px !important;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
    }

    nav.active>a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-cta {
        margin-top: 30px !important;
        font-size: 20px !important;
    }

    .logo-text {
        font-size: 22px;
        z-index: 10000;
        position: relative;
    }
}