:root {
    --primary-bg: #0A192F;
    --secondary-bg: #112240;
    --accent-color: #64FFDA;
    --text-color: #CCD6F6;
    --text-light: #8892B0;
    --heading-font: 'AR One Sans', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    --logo-font: 'Tektur', sans-serif;
    --transition-speed: 0.3s;
    --animation-delay: 0.1s; /* Opóźnienie dla efektu stagger */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    background-color: var(--primary-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

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

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.2; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; color: var(--text-color); }
h4 { font-size: 1.2rem; color: var(--text-color); }

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 160px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

/* linia pod tytułem sekcji */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}


/* === Header / Nawigacja === */
.site-header {
    background-color: rgba(10, 25, 47, 0.85);
    padding: 15px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(136, 146, 176, 0.2);
}

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

.logo-slogan > p {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
}

.logo {
    font-family: var(--logo-font);
    font-size: 1.5rem;
    color: var(--accent-color);
}

.logo-subtitle {
    font-family: var(--logo-font);
}

.site-header nav ul {
    list-style: none;
    display: flex;
}

.site-header nav ul li {
    margin-left: 25px;
}

.site-header nav ul li a {
    font-family: var(--heading-font);
    font-size: 0.9rem;
    color: var(--text-color);
    padding: 5px 0;
    position: relative; /* Dla animacji podkreślenia */
    transition: color var(--transition-speed);
}

.site-header nav ul li a::after { /* Podkreślenie przy najechaniu */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) ease-out;
}

.site-header nav ul li a:hover::after {
    width: 100%;
}

.site-header nav ul li a.active {
    color: var(--accent-color);
    /* font-weight: 700; */
}

.site-header nav ul li a.active::after {
    width: 100%;
    background-color: var(--accent-color);
}


/* === Sekcja Hero === */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#tsparticles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}
.hero-content h1 {
    position: relative; /* Crucial for positioning the ::before pseudo-element */
    color: var(--text-color);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    display: inline-block;
    /* Make sure the original text is visible below the mask */
    z-index: 1;
}

/* The duplicate text layer with the shine color and mask */
.hero-content h1::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    color: var(--accent-color);

    -webkit-mask-image: linear-gradient(
        100deg,
        transparent 30%,
        white 50%,
        transparent 70%
    );
    mask-image: linear-gradient(
        100deg,
        transparent 30%,
        white 50%,
        transparent 70%
    );

    -webkit-mask-size: 200% 100%; /* Mask is twice as wide as the text */
    mask-size: 200% 100%;

    animation: text-shine-mask 5s infinite linear;
    animation-delay: 1.5s;

    pointer-events: none;
    display: block;
}


@keyframes text-shine-mask {
    0% {
        -webkit-mask-position: 0% 0; /* Mask starts positioned left */
        mask-position: 0% 0;
    }
    100% {
        -webkit-mask-position: 200% 0; /* Mask moves fully across to the right */
        mask-position: 200% 0;
    }
}

/* Style for the highlighted part within the base text */
/* It will still be overridden by the ::before element's shine */
.hero-content h1 .highlight {
    color: var(--accent-color);
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 12px 30px;
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, transform var(--transition-speed) ease;
    margin-top: 20px;
}

.cta-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-3px);
    color: var(--accent-color);
}

/* === Sekcja Usługi === */
.services-section {
    background-color: var(--secondary-bg);
}

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

.service-card {
    background-color: var(--primary-bg);
    padding: 30px;
    border-radius: 5px;
    border: 1px solid rgba(136, 146, 176, 0.2);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* === Sekcja Proces (Timeline) === */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
}

/* Linia osi czasu */
.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: rgba(100, 255, 218, 0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px; /* Wycentrowanie linii */
    z-index: -1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    right: -7.5px; /* Pozycjonowanie na linii */
    background-color: var(--primary-bg);
    border: 3px solid var(--accent-color);
    top: 25px; /* Dopasuj do wysokości tekstu */
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -7.5px;
}

/* Dopasowanie zawartości, by nie nachodziła na linię */
.timeline-item:nth-child(odd) .timeline-content {
    padding-right: 25px;
}
.timeline-item:nth-child(even) .timeline-content {
    padding-left: 25px;
}

/* Ukrycie kropki dla responsywności - na małych ekranach */
@media screen and (max-width: 768px) {
    .process-timeline::after {
        left: 20px; /* Linia po lewej stronie */
    }
    .timeline-item {
        width: 100%;
        padding-left: 50px; /* Odsuń tekst od linii */
        padding-right: 15px;
        left: 0 !important; /* Wszystkie elementy po lewej */
        text-align: left !important; /* Wyrównanie do lewej */
    }
    .timeline-dot {
        left: 12.5px !important; /* Kropka na linii po lewej */
    }
     .timeline-item:nth-child(odd) .timeline-content,
     .timeline-item:nth-child(even) .timeline-content {
        padding-left: 25px;
        padding-right: 0;
    }
}


/* === Sekcja Kontakt === */
.contact-section {
    background-color: var(--secondary-bg);
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-bg);
    border: 1px solid rgba(136, 146, 176, 0.3);
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.contact-form button.cta-button {
    display: block;
    width: auto;
    margin: 20px auto 0;
}

/* flip */
.contact-form-container {
    perspective: 1000px;
    max-width: 600px;
    margin: 40px auto 0;
}

.contact-form-flipper {
    position: relative;
    width: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    display: grid;
}

.contact-form-container.flipped .contact-form-flipper {
    transform: rotateY(180deg);
}

.contact-form-front,
.contact-form-back {
    /* Both front and back occupy the same grid cell */
    grid-column: 1 / 1;
    grid-row: 1 / 1;

    width: 100%;
    /* height: 100%; */ /* REMOVE THIS if you want content to define height */

    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;

    background-color: var(--secondary-bg);
    padding: 30px;
    border-radius: 5px;
    border: 1px solid rgba(136, 146, 176, 0.2);
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
}

.contact-form-front {
    z-index: 2;
    justify-content: flex-start;
    align-items: stretch;
}
.contact-form-front .form-group {
    align-items: flex-start;
}


.contact-form-back {
    transform: rotateY(180deg);
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

#formResponseMessage {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.6;
}

#formResponseMessage.success {
    color: #28a745;
}

#formResponseMessage.error {
    color: #dc3545;
}

#formResetButton {
    margin-top: 20px;
}

/* === Stopka === */
.site-footer {
    background-color: var(--primary-bg);
    text-align: center;
    padding: 30px 0;
    margin-top: 0px;
    border-top: 1px solid rgba(136, 146, 176, 0.1);
}

.site-footer p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* === Animacje na Scroll === */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.fade-in {
    transform: translateY(30px); /* Start lekko poniżej */
}

.animate-on-scroll.slide-in-left {
    transform: translateX(-50px); /* Start z lewej */
}

.animate-on-scroll.slide-in-right {
    transform: translateX(50px); /* Start z prawej */
}

/* Stan widoczny - dodawany przez JS */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0); /* Powrót do pozycji 0,0 */
}

/* Efekt opóźnienia dla elementów siatki (stagger) */
.animate-on-scroll.stagger:nth-child(1) { transition-delay: calc(1 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(2) { transition-delay: calc(2 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(3) { transition-delay: calc(3 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(4) { transition-delay: calc(4 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(5) { transition-delay: calc(5 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(6) { transition-delay: calc(6 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(7) { transition-delay: calc(7 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(8) { transition-delay: calc(8 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(9) { transition-delay: calc(9 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(10) { transition-delay: calc(10 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(11) { transition-delay: calc(11 * var(--animation-delay)); }
.animate-on-scroll.stagger:nth-child(12) { transition-delay: calc(12 * var(--animation-delay)); }


/* === Responsywność === */
@media screen and (max-width: 768px) {
    .site-header .container {
        flex-direction: column; /* Logo nad nawigacją */
        align-items: center;
    }
    .site-header nav ul {
        margin-top: 15px;
        padding-left: 0;
    }
    .site-header nav ul li {
        margin: 0 10px;
    }
     h1 { font-size: 2rem; }
     h2 { font-size: 1.8rem; }
}

@media screen and (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr; /* Jedna kolumna na małych ekranach */
    }
     .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
     }
}

/* === Sekcja "Dlaczego My?" === */
.simple-about-section {
    background-color: var(--secondary-bg);
    padding: 160px 0;
}

.simple-about-section p {
    color: var(--text-light);
}


/* === Sekcja Testimonials === */
.testimonials-section {
    background-color: var(--secondary-bg);
    padding: 160px 0;
}

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

.testimonial-card {
    background-color: var(--primary-bg);
    padding: 30px;
    border-radius: 5px;
    border: 1px solid rgba(136, 146, 176, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--accent-color);
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 15px;
    flex-grow: 1; /* Helps align author text at bottom if quotes vary length */
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.testimonial-author strong {
    color: var(--text-color);
    font-weight: 600;
}

.logo-bar {
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid rgba(136, 146, 176, 0.1);
    padding-top: 40px;
}

.logo-bar h4 {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
    font-weight: 400;
}

.logo-bar img {
    max-height: 40px;
    width: auto;
    margin: 0 15px;
    opacity: 0.7; /* Make logos subtle */
    filter: grayscale(100%); /* Optional: make logos grayscale for uniformity */
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.logo-bar img:hover {
    opacity: 1;
    filter: none;
}


/* === Sekcja Kontakt (Enhancements) === */
.contact-section {
    background-color: var(--primary-bg);
}

.contact-form label {
    font-weight: 600;
}

.contact-alternative {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-alternative a {
    color: var(--accent-color);
}

/* === Footer Enhancements === */
.site-footer p a {
    color: var(--text-light);
    font-size: 0.85rem;
    text-decoration: underline;
}
.site-footer p a:hover {
    color: var(--accent-color);
}


.service-icon svg {
   width: 48px;
   height: 48px;
   color: var(--accent-color);
   margin-bottom: 15px;
}


/* === Sekcja Korzyści  === */
.benefits-section {
    background-color: var(--primary-bg);
    padding: 160px 0;
}

.benefits-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 40px;
}

@media screen and (min-width: 768px) {
    .benefits-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 50px;
    }
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--secondary-bg);
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid rgba(100, 255, 218, 0.1);
}

.benefit-icon {
    flex-shrink: 0;
    margin-right: 20px;
    color: var(--accent-color);
}

.benefit-icon svg {
    width: 36px;
    height: 36px;
}

.benefit-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.benefit-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.why-us-explanation {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px;
}


@media (max-width: 600px) {
    .site-header {
        border-bottom: 1px solid rgba(136, 146, 176, 0.8);
    }

    .site-header > nav > ul {
        display: none;
    }
}



/* === Sekcja Korzyści (Benefits) - Dodatek Statystyki === */
.benefits-stats {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(136, 146, 176, 0.1);
    text-align: center;
}

.stats-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background-color: var(--primary-bg);
    padding: 25px 20px;
    border-radius: 8px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(10, 25, 47, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(2, 12, 27, 0.5);
}

.stat-icon {
    color: var(--accent-color);
    margin-bottom: 15px;
}
.stat-icon svg {
    width: 40px;
    height: 40px;
}

.stat-number {
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
    display: inline-block;
}

.stat-percent {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--accent-color);
    margin-left: 2px;
    font-weight: 600;
    vertical-align: super;
}

.stat-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.stat-description strong {
    color: var(--text-color);
    font-weight: 600;
}

.stat-description .keyword {
    color: var(--accent-color);
    font-weight: 600;
}

.stat-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
    margin-top: 2rem;
}



/* === Modal Styles === */
.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: opacity 0.3s ease-in-out, visibility 0s 0.3s; /* Delay visibility change */
    backdrop-filter: blur(5px);
}

.modal.open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease-in-out, visibility 0s 0s; /* Visibility changes immediately */
}

.modal-content {
    background-color: var(--secondary-bg);
    margin: auto;
    padding: 30px 40px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);

    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease-in-out 0.1s, opacity 0.3s ease-in-out 0.1s; /* delay to start after modal background fades in */
}

.modal.open .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close-button {
    color: var(--text-light);
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 15px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close-button:hover,
.modal-close-button:focus {
    color: var(--accent-color);
    text-decoration: none;
}

#modalTitle {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.8rem;
}

.modal-source-info p {
    margin-bottom: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.modal-source-info p strong {
    color: var(--text-light);
}

.modal-source-info a {
    color: var(--accent-color);
    text-decoration: underline;
}

.modal-source-info a:hover {
    color: #fff;
}

#modalExtraInfo {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(136, 146, 176, 0.2);
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}
#modalExtraInfo em {
    color: var(--text-color);
}



/* === Sekcja Trendów AI w Polsce === */
.ai-trends-section {
    background-color: var(--secondary-bg);
    padding: 70px 0;
    text-align: center;
}

.ai-trends-section .section-title .highlight {
    color: var(--accent-color);
}

.trends-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 750px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
}

.ai-trends-section h2 span.subtitle {
    font-size: 20px;
    margin-top: 6px;
    margin-bottom: 20px;
    display: block;
}


.stat-item-statement {
    justify-content: center;
}

.stat-statement-text {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;

    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    padding-bottom: 1rem;
}

.stat-statement-text .highlight {
    color: var(--accent-color);
    font-weight: 600;
}



.why-trust-section {
    background-color: var(--primary-bg);
    padding: 160px 0;
}


section {
    scroll-margin-top: 60px;
}



.privacy-policy {
    max-width: 1000px;
    margin: 40px auto;
}

.privacy-policy h1 {
    font-size: 2rem;
}

.privacy-policy h2 {
    font-size: 1.5rem;
}

.privacy-policy ul,
.privacy-policy ol {
    padding-left: 20px;
}

.privacy-policy h4 {
    margin: 20px 0 0;
}


/* === Cookie Banner Styles === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    padding: 20px 0;
    z-index: 2000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    border-top: 1px solid rgba(136, 146, 176, 0.2);

    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    font-size: 0.9rem;
}

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

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

@media screen and (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.cookie-text {
    margin: 0;
    line-height: 1.5;
    flex-grow: 1;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .cookie-text {
        text-align: left;
        margin-right: 20px;
    }
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-text a:hover {
    color: #fff;
}

.cookie-banner-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-accept-button {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.cookie-decline-button, .cookie-settings-button {
    display: inline-block;
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.cookie-decline-button:hover, .cookie-settings-button:hover {
    background-color: rgba(136, 146, 176, 0.1);
    color: var(--text-color);
    border-color: var(--text-color);
}
