/* === ZMIENNE I PODSTAWOWE STYLE === */
:root {
    --main-color: #cdff00;
    --background-color: #10110e;
    --dark-bg-variant: #151613;
    --text-color: #c5c5c5;
    --heading-color: #ffffff;
    --container-padding: 6%;
    --border-radius: 12px;
    --glow-color: rgba(205, 255, 0, 0.5);
    --glow-color2: rgba(65, 85, 157, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* --- KLUCZOWA POPRAWKA DLA URZĄDZEŃ MOBILNYCH --- */
html, body { 
    width: 100%;
    overflow-x: hidden; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    background-color: var(--background-color); 
    color: var(--text-color); 
}
body.loading { overflow: hidden; }
h1, h2, h3, h4 { color: var(--heading-color); font-weight: 700; }
.highlight { color: var(--main-color); }
.container { max-width: 1200px; margin: 0 auto; padding: 120px var(--container-padding); }
.section-title { font-size: clamp(2.5rem, 6vw, 3.5rem); text-align: center; margin-bottom: 20px; line-height: 1.2; }
.section-subtitle { text-align: center; max-width: 700px; margin: 0 auto 60px auto; font-size: 1.1rem; line-height: 1.6; }

/* === PRELOADER, TŁO === */
#star-animation-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--background-color); z-index: 10000; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease; }
.preloader.fade-out { opacity: 0; }
.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border-color);
    border-top-color: var(--main-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === HEADER === */
.header { 
    position: fixed; 
    width: 100%; 
    top: 0; 
    left: 0; 
    z-index: 1000; 
    transition: background-color: 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease; 
}
.header.scrolled, .header.open { 
    background: rgba(21, 22, 19, 0.8); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--container-padding); max-width: 1320px; margin: 0 auto; transition: padding 0.3s ease; }
.logo img { height: 30px; }
.nav { display: flex; align-items: center; justify-content: center; flex-grow: 1; }
.nav-link { color: var(--heading-color); text-decoration: none; margin: 0 15px; font-weight: 500; position: relative; padding: 5px 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--main-color); transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }
.discord-icon { height: 20px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.nav-button { background: var(--main-color); color: #000; padding: 12px 25px; border-radius: var(--border-radius); text-decoration: none; font-weight: 700; transition: all 0.3s ease; border: none; white-space: nowrap; }
.nav-button:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--glow-color); }

/* === SEKCJA HERO === */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; text-align: center; }
.star-dust-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(var(--main-color), transparent 1px), radial-gradient(var(--text-color), transparent 1px); background-size: 400px 400px, 200px 200px; background-position: 0 0, 100px 100px; animation: starDust 60s linear infinite; opacity: 0.05; }
@keyframes starDust { from { background-position: 0 0, 100px 100px; } to { background-position: 400px 400px, 300px 300px; } }
.hero-text h1 { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 900; line-height: 1.1; }
.hero-text h1 span { display: inline-block; }
.hero-text p { font-size: 1.2rem; max-width: 600px; margin: 30px auto 40px; }
.cta-button { display: inline-block; background-color: var(--main-color); color: #000; padding: 18px 40px; border-radius: var(--border-radius); text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: all 0.3s ease; border: 2px solid var(--main-color); position: relative; overflow: hidden; }
.cta-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: 0.5s; }
.cta-button:hover { background-color: transparent; color: var(--main-color); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.cta-button:hover::before { left: 100%; }
.blob { position: absolute; background: linear-gradient(45deg, var(--main-color), #869400); border-radius: 50%; filter: blur(100px); opacity: 0.15; animation: move 20s infinite alternate; }
.blob1 { width: 500px; height: 500px; top: -150px; left: -150px; }
.blob2 { width: 400px; height: 400px; bottom: -200px; right: -100px; animation-duration: 25s; animation-direction: alternate-reverse; }
.blob3 { width: 300px; height: 300px; top: 50%; right: 20%; animation-duration: 15s; }
@keyframes move { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(100px, 50px) rotate(180deg); } }

/* --- Spadające gwiazdy --- */
.shooting-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}
.shooting-stars span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1), 0 0 0 8px rgba(255,255,255,0.1), 0 0 20px #fff;
    animation: shoot 3s linear infinite;
    opacity: 0;
}
.shooting-stars span::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
}
@keyframes shoot {
    0% { transform: rotate(315deg) translateX(300px); opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { transform: rotate(315deg) translateX(-1500px); opacity: 0; }
}
.shooting-stars span:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.shooting-stars span:nth-child(2) { top: 80%; left: 30%; animation-delay: -5s; animation-duration: 9.5s; }
.shooting-stars span:nth-child(3) { top: 10%; left: 70%; animation-delay: -10.5s; animation-duration: 15.5s; }
.shooting-stars span:nth-child(4) { top: 90%; left: 60%; animation-delay: -2.5s; }
.shooting-stars span:nth-child(5) { top: 50%; left: 50%; animation-delay: -3.8s; animation-duration: 5.2s; }
.shooting-stars span:nth-child(6) { top: 30%; left: 85%; animation-delay: -6.2s; }


/* === NOWA SEKCJA "O NAS" === */
.about {
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg-variant);
}
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 1;
}
.title-with-icon {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}
.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background-color: #2b3a0c;
    border: 2px solid var(--main-color);
    border-radius: 24px;
    color: var(--main-color);
    font-size: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.icon-container:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 0 25px var(--glow-color);
}
.title-with-icon .section-title {
    margin-bottom: 0;
    text-align: left;
}
.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 500px;
}
.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.feature-item {
    background: linear-gradient(145deg, #181916, #121310);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.feature-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: conic-gradient(from 90deg at 40% -25%, var(--main-color), #4d5512, #1f2205, #1f2205, var(--main-color));
    filter: blur(15px);
    border-radius: var(--border-radius);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}
.feature-item:hover::before {
    opacity: 0.5;
}
.feature-item h4 {
    color: var(--heading-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
}
.feature-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}
.feature-icon-wrapper {
    margin-bottom: 15px;
}
.feature-icon {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--main-color), #a2c200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* --- Latające ikony Adobe (Tylko PC) --- */
.floating-icons-container {
    display: none;
}
@media (min-width: 993px) {
    .floating-icons-container {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
        overflow: hidden;
        perspective: 1000px;
    }
    .floating-icon {
        position: absolute;
        width: 70px;
        height: 70px;
        opacity: 0.05;
        transform-style: preserve-3d;
        filter: 
            drop-shadow(1px 1px 0px #000) 
            drop-shadow(2px 2px 0px #000) 
            drop-shadow(3px 3px 0px #000) 
            drop-shadow(4px 4px 0px #000)
            drop-shadow(5px 5px 8px rgba(0,0,0,0.5));
    }
    .floating-icon:nth-child(1) { top: 10%; left: 5%; animation: float3D_1 25s ease-in-out infinite; }
    .floating-icon:nth-child(2) { top: 30%; left: 80%; animation: float3D_2 30s ease-in-out infinite; }
    .floating-icon:nth-child(3) { top: 70%; left: 15%; animation: float3D_1 35s ease-in-out infinite reverse; }
    .floating-icon:nth-child(4) { top: 80%; left: 60%; animation: float3D_2 28s ease-in-out infinite; }
    .floating-icon:nth-child(5) { top: 5%; left: 40%; animation: float3D_2 40s ease-in-out infinite; }
    .floating-icon:nth-child(6) { top: 50%; left: 90%; animation: float3D_1 22s ease-in-out infinite; }
    .floating-icon:nth-child(7) { top: 85%; left: 5%; animation: float3D_2 33s ease-in-out infinite reverse; }
    .floating-icon:nth-child(8) { top: 55%; left: 45%; animation: float3D_1 26s ease-in-out infinite; }

    @keyframes float3D_1 {
        0% { transform: translate3d(0, 0, -50px) rotateX(0) rotateY(0) rotateZ(0); }
        50% { transform: translate3d(50px, 80px, 30px) rotateX(180deg) rotateY(20deg) rotateZ(90deg); }
        100% { transform: translate3d(0, 0, -50px) rotateX(360deg) rotateY(0) rotateZ(360deg); }
    }
    @keyframes float3D_2 {
        0% { transform: translate3d(0, 0, 0) rotateX(0) rotateY(0) rotateZ(0); }
        50% { transform: translate3d(-60px, -40px, 80px) rotateX(-20deg) rotateY(180deg) rotateZ(-45deg); }
        100% { transform: translate3d(0, 0, 0) rotateX(0) rotateY(360deg) rotateZ(360deg); }
    }
}


/* === DOŚWIADCZENIE === */
.experience { background-color: var(--dark-bg-variant); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.stat-item { border: 1px solid var(--border-color); padding: 30px 20px; border-radius: var(--border-radius); transition: background-color: 0.3s ease, border-color: 0.3s ease; }
.stat-item:hover { background-color: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.2); }
.stat-item .number { font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 900; color: var(--heading-color); }
.stat-item .text { font-size: 1.1rem; }

/* === SEKCJA USŁUGI === */
.services { background-color: var(--dark-bg-variant); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: #1a1b18; padding: 40px; border-radius: var(--border-radius); border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 0 30px rgba(0,0,0,0.2); }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), var(--glow-color), transparent 40%); opacity: 0; transition: opacity 0.4s ease; }
.service-card:hover::before { opacity: 0.3; }
.service-card h3, .service-card ul, .service-card p { position: relative; z-index: 2; }
.service-card h3 { color: var(--main-color); }
.service-card ul { list-style: none; margin: 20px 0; }
.service-card ul li { margin-bottom: 12px; padding-left: 25px; position: relative; }
.service-card ul li::before { content: '✓'; color: var(--main-color); position: absolute; left: 0; }
.service-note { font-style: italic; opacity: 0.7; }

/* === SEKCJA 'NASZ PROCES' === */
.process { background-color: var(--background-color); }
.process-grid { 
    display: flex; 
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; 
    border-top: 1px solid var(--border-color); 
    padding-top: 60px; 
}
.process-step { 
    padding: 20px; 
    position: relative; 
    text-align: left; 
    flex-basis: 270px;
    flex-grow: 1;
    max-width: 300px;
}
.process-number { 
    font-size: 1.5rem; 
    font-weight: 700; 
    color: var(--main-color); 
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.process-number i {
    color: #c9f802;
    font-size: 1.3rem;
}
.process-title { 
    font-size: 1.5rem; 
    margin-bottom: 10px; 
    color: var(--heading-color); 
}
.process-description { line-height: 1.7; }

/* === SEKCJA ARSENAŁ === */
.arsenal {
    background-color: var(--background-color);
    padding-top: 60px;
}
.arsenal-container {
    text-align: center;
}
.arsenal-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(30px, 6vw, 70px);
    margin-top: 60px;
}
.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.tool-item img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.tool-item:hover img {
    transform: scale(1.1);
}
.tool-item p {
    font-weight: 500;
    color: var(--text-color);
}

/* === SEKCJA PORTFOLIO === */
.portfolio { background-color: var(--dark-bg-variant); }
.portfolio .container { padding-top: 60px; padding-bottom: 60px; overflow: visible; }
.portfolio-swiper { width: 100%; overflow: visible; }
.portfolio-swiper .swiper-slide {
    width: clamp(400px, 70vw, 854px);
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease, filter 0.6s ease;
    opacity: 0;
    filter: blur(5px);
    transform: scale(0.8);
    overflow: hidden;
}
.portfolio-swiper .swiper-slide-active,
.portfolio-swiper .swiper-slide-next,
.portfolio-swiper .swiper-slide-prev {
    opacity: 0.3;
    filter: blur(3px);
    transform: scale(0.85);
}
.portfolio-swiper .swiper-slide-active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    z-index: 1;
}
.portfolio-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.portfolio-swiper .swiper-slide:hover img {
    transform: scale(1.05);
}
.portfolio .swiper-button-next, 
.portfolio .swiper-button-prev {
    color: var(--main-color);
}
.portfolio-autoplay-controls,
.testimonial-autoplay-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
}
.testimonial-autoplay-controls {
    margin-top: 20px;
}
.autoplay-progress {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}
.progress-ring__circle {
    transition: stroke-dashoffset 0.1s linear;
}
.progress-ring__background {
    stroke: #333;
}
.portfolio-progress-ring__progress,
.testimonial-progress-ring__progress {
    stroke: var(--main-color);
    stroke-linecap: round;
}
.progress-time {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
}
.progress-time s {
    font-size: 0.9rem;
    font-weight: 500;
}
.progress-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.label-title {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
}
.label-seconds {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
}


/* === SEKCJA ZESPÓŁ === */
.team { background-color: var(--background-color); }
.team-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; }
.team-card-container { perspective: 1000px; }
.team-card { display: flex; flex-direction: column; background: #1a1b18; padding: 30px; border-radius: var(--border-radius); text-align: center; width: 320px; border: 1px solid var(--border-color); transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); transform-style: preserve-3d; }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px auto; border: 3px solid var(--main-color); transition: transform 0.3s ease; }
.team-card-container:hover .team-card { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.team-card > * { transform: translateZ(20px); }
.team-name { font-size: 1.5rem; margin-bottom: 5px; }
.team-role { display: inline-block; background-color: #333; color: var(--main-color); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 500; margin-bottom: 15px; }
.team-bio { flex-grow: 1; }
.team-social-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; padding: 10px 20px; border: 1px solid var(--border-color); border-radius: var(--border-radius); text-decoration: none; color: var(--text-color); transition: all 0.3s ease; }
.team-social-link:hover { background-color: var(--main-color); color: #000; border-color: var(--main-color); }
.team-social-link svg { stroke: currentColor; }

/* === SEKCJA OPINII === */
.testimonials { padding-bottom: 120px; }
#testimonials > .container { padding-bottom: 40px; }
.testimonial-swiper-container { 
    position: relative;
    width: 100%;
}
.testimonial-swiper-container::before,
.testimonial-swiper-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.testimonial-swiper-container::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-bg-variant) 20%, transparent);
}
.testimonial-swiper-container::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-bg-variant) 20%, transparent);
}
.testimonial-swiper { 
    overflow: visible; 
    padding: 20px 0; 
}
.testimonial-swiper .swiper-slide {
    width: clamp(320px, 90%, 500px);
    height: auto;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.6s ease, filter 0.6s ease;
    opacity: 0.4;
    filter: blur(3px);
    transform: scale(0.9);
}
.testimonial-swiper .swiper-slide-active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
    z-index: 1;
}
.testimonial-slide-content { 
    background: linear-gradient(145deg, #181916, #121310);
    padding: 40px; 
    border-radius: var(--border-radius); 
    border: 1px solid var(--border-color); 
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.testimonial-brand-tag { 
    align-self: flex-start;
    background: var(--main-color); 
    color: #000;
    font-size: 0.75rem; 
    font-weight: 700; 
    padding: 6px 12px; 
    border-radius: 6px; 
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(205, 255, 0, 0.4); /* cień */
    transition: box-shadow 0.3s ease; /* płynne przejście cienia */
}
.testimonial-text { 
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.7; 
    margin-bottom: 30px;
    flex-grow: 1;
    color: var(--heading-color);
}
.testimonial-author { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}
.author-avatar { width: 50px; height: 50px; border-radius: 50%; }
.author-name { font-weight: 700; color: var(--heading-color);}
.author-title { 
    font-size: 0.9rem; 
    opacity: 0.7; 
    display: flex; /* Dodane dla wyrównania ikonki */
    align-items: center; /* Dodane dla wyrównania ikonki */
}
.author-date { font-size: 0.8rem; opacity: 0.5; margin-top: 2px; }
.testimonial-swiper-container .swiper-button-next, 
.testimonial-swiper-container .swiper-button-prev {
    color: var(--main-color);
    top: 50%;

    
    
    transform: translateY(-50%);
    z-index: 3;
}
.testimonial-swiper-container .swiper-button-prev {
    left: calc(50% - 320px);
    right: auto;
}
.testimonial-swiper-container .swiper-button-next {
    right: calc(50% - 320px);
    left: auto;
}
.testimonial-swiper-container .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 20px;
}
.testimonial-swiper-container .swiper-pagination-bullet {
    background-color: #fff;
    opacity: 0.4;
    transition: all 0.3s ease;
}
.testimonial-swiper-container .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

/* NOWOŚĆ: Style dla ikonki w tekście */
.inline-icon {
    display: inline-block;
    height: 2em; /* Dopasuj wysokość do tekstu */
    width: auto;
    vertical-align: middle; /* Wyrównaj w pionie */
    margin: 0 4px; /* Dodaj mały odstęp */
}

/* === FAQ === */
.faq { background: var(--background-color); }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-question { width: 100%; background: none; border: none; padding: 25px 0; text-align: left; display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; color: var(--heading-color); font-weight: 500; transition: color 0.3s ease; cursor: pointer; }
.faq-item.active .faq-question { color: var(--main-color); }
.faq-icon { font-size: 1.5rem; color: var(--main-color); transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; }
.faq-answer p { padding: 0 0 25px 0; line-height: 1.7; }

/* === STOPKA === */
.footer { background-color: #000; color: #a0a0a0; }
.footer-container { padding-top: 100px; padding-bottom: 40px; }
.footer-cta-section { text-align: center; margin-bottom: 100px; }
.footer-title { font-size: clamp(2.5rem, 6vw, 4rem); color: var(--heading-color); max-width: 800px; margin: 0 auto 40px auto; line-height: 1.2; }
.footer-cta-button { display: inline-block; background-color: var(--main-color); color: #000; padding: 18px 40px; border-radius: var(--border-radius); text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: all 0.3s ease; }
.footer-cta-button:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--glow-color); }
.footer-main { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
.footer-about { max-width: 300px; }
.footer-logo { height: 45px; margin-bottom: 20px; }
.footer-about p { line-height: 1.6; }
.footer-nav-grid { display: flex; gap: 80px; }
.footer-nav-col { display: flex; flex-direction: column; }
.footer-col-title { color: #fff; font-size: 1.1rem; margin-bottom: 20px; font-weight: 500; }
.footer-link { color: #a0a0a0; text-decoration: none; margin-bottom: 15px; transition: color 0.3s ease; white-space: nowrap; }
.footer-link:hover { color: var(--main-color); }
.footer-bottom-bar { display: flex; justify-content: space-between; align-items: center; }
.footer-copyright { font-size: 0.9rem; }
.footer-socials { display: flex; gap: 30px; }
.footer-social-link { color: #a0a0a0; text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.footer-social-link:hover { color: var(--main-color); }

/* === Pływający Przycisk Kontaktowy === */
.floating-contact-button {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    background-color: rgba(56, 70, 27, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
    color: #fff;
    padding: 12px 20px 12px 12px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(205, 255, 0, 0.1);
    transition: all 0.3s ease;
}
.floating-contact-button:hover {
    background-color: rgba(160, 210, 60, 0.3);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.194);
    transform: translateX(-50%) translateY(-3px);
}
.floating-contact-button .icon-wrapper {
    background-color: transparent;
    border-radius: 0;
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-right: 15px;
}
.floating-contact-button .icon-wrapper::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.665);
}
.floating-contact-button .icon-main,
.floating-contact-button .icon-hover {
    position: static;
    width: 28px;
    height: 28px;
}
.floating-contact-button .icon-main { display: none; }
.floating-contact-button .icon-hover { opacity: 1; }
.floating-contact-button .text {
    padding: 0 0 0 15px;
    white-space: nowrap;
}
.floating-contact-button:hover .icon-wrapper,
.floating-contact-button:hover .icon-main,
.floating-contact-button:hover .icon-hover {
    background-color: transparent;
    opacity: 1;
}

/* === ANIMACJE === */
.anim-on-scroll { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.19, 1, 0.22, 1); transition-delay: var(--delay, 0s); }
.anim-on-scroll[data-animation="fade-in"] { transform: translateY(20px); }
.anim-on-scroll[data-animation="slide-up"] { transform: translateY(40px); }
.anim-on-scroll[data-animation="slide-up-left"] { transform: translateX(50px); }
.anim-on-scroll[data-animation="slide-up-right"] { transform: translateX(-50px); }
.anim-on-scroll.is-visible { opacity: 1; transform: translate(0, 0); }
.anim-reveal-words span { transform: translateY(100%); opacity: 0; animation: revealWord 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards; }
.anim-reveal-words span:nth-child(1) { animation-delay: 0.1s; }
.anim-reveal-words span:nth-child(2) { animation-delay: 0.2s; }
.anim-reveal-words span:nth-child(3) { animation-delay: 0.3s; }
.anim-reveal-words span:nth-child(4) { animation-delay: 0.4s; }
.anim-reveal-words span:nth-child(5) { animation-delay: 0.5s; }
@keyframes revealWord { to { transform: translateY(0); opacity: 1; } }
.anim-reveal-up { transform: translateY(40px); opacity: 0; animation: revealUp 1s cubic-bezier(0.19, 1, 0.22, 1) forwards; animation-delay: var(--delay, 0s); }
@keyframes revealUp { to { transform: translateY(0); opacity: 1; } }

/* === HAMBURGER MENU & RESPONSIVE DESIGN === */
.hamburger-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}
.hamburger-menu-button span {
    width: 100%;
    height: 3px;
    background-color: var(--heading-color);
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.hamburger-menu-button.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger-menu-button.active span:nth-child(2) { opacity: 0; }
.hamburger-menu-button.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
    background: rgba(21, 22, 19, 0.8); 
    backdrop-filter: blur(10px); 

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 20px;  
}
.mobile-nav.open {
    max-height: 100vh;
    opacity: 1;
}
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 0px var(--container-padding) 15px;
}
.mobile-nav-link {
    color: var(--heading-color);
    text-decoration: none;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease;
}
.mobile-nav-link:last-of-type {
    border-bottom: none;
}
.mobile-nav-link:hover { color: var(--main-color); }
.mobile-nav-link.discord-link { display: flex; align-items: center; gap: 10px; }

/* NOWE STYLE DLA PRZYCISKÓW W MENU MOBILNYM */
.mobile-nav-buttons-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
}
.mobile-nav-button {
    background: var(--main-color);
    color: #000;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid #819420b2;
    white-space: nowrap;
    text-align: center;
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.mobile-nav-button.icon-only {
    width: 60px; 
    height: 60px;
    padding: 0;
    background-color: #2b3a0c;
    border: 2px solid var(--main-color);
}
.discord-icon-button {
    height: 30px;
    width: 30px;
}
.mobile-nav-button.start-project-button {
    flex-grow: 1;
}
.mobile-nav-button:hover { transform: scale(1.02); box-shadow: 0 0 20px var(--glow-color); }
.mobile-nav-button.icon-only:hover { transform: scale(1.02); box-shadow: 0 0 20px var(--glow-color2); }

@media (max-width: 992px) {
    .nav { justify-content: flex-end; }
    .nav-link:not(.discord-link) { display: none; }
    .about-container { grid-template-columns: 1fr; gap: 40px; }
    .about-text { text-align: center; }
    .about-intro { margin-left: auto; margin-right: auto; }
    .title-with-icon { justify-content: center; }
    .footer-main { flex-direction: column; }
    .testimonial-swiper-container .swiper-button-prev { left: 10px; }
    .testimonial-swiper-container .swiper-button-next { right: 10px; }
}

@media (max-width: 768px) {
    .header .header-container {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .nav { display: none; }
    .header-actions { display: none; }
    .hamburger-menu-button { display: flex; }
    .container { padding: 80px 5%; }
    .portfolio .swiper-button-next, .portfolio .swiper-button-prev { display: none; }
    .testimonial-swiper-container .swiper-button-next, 
    .testimonial-swiper-container .swiper-button-prev { display: none; }
    .footer-nav-grid { flex-direction: column; gap: 40px; }
    .footer-bottom-bar { flex-direction: column; gap: 20px; }
    .floating-contact-button { bottom: 20px; }
    .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .portfolio-swiper .swiper-slide { width: 90vw; }
    .testimonial-swiper .swiper-slide { width: 80vw; }
}