/*
|--------------------------------------------------------------------------
| ALL SERVICES PAGE & GLOBAL VARIABLES
|--------------------------------------------------------------------------
*/

:root {
    --rb-bg: #070709;
    --rb-bg-secondary: #0f1014;

    --rb-card: rgba(16, 16, 20, 0.82);

    --rb-border: rgba(255,255,255,0.08);

    /* Nowy, spójny motyw: Indigo / Cyber Violet */
    --rb-primary: #db0d15;
    --rb-primary-light: rgb(248, 65, 65);
    --rb-primary-glow: rgba(241, 99, 99, 0.22);

    --rb-text: #ffffff;
    --rb-muted: #9ca3af;

    --rb-radius: 24px;

    --rb-shadow:
        0 10px 40px rgba(0,0,0,0.35);

    --rb-transition: .35s ease;
}

/*
|--------------------------------------------------------------------------
| BASE
|--------------------------------------------------------------------------
*/

body.page-template-all-services {
    background: var(--rb-bg);
    color: var(--rb-text);
}

.rb-service-page {
    position: relative;
    overflow: hidden;
}

.rb-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

section {
    position: relative;
    z-index: 2;
}


main#main {
    padding: 0px;
}
/*
|--------------------------------------------------------------------------
| BACKGROUND EFFECTS
|--------------------------------------------------------------------------
*/

.rb-service-page::before {
    content: "";
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    /* width: 1200px;
    height: 1200px; */
    background:
        radial-gradient(
            circle,
            rgba(241, 99, 99, 0.15) 0%,
            rgba(241, 99, 99, 0.08) 30%,
            rgba(241, 99, 99, 0.02) 50%,
            transparent 70%
        );
    pointer-events: none;
    z-index: 0;
}

/*
|------------------------------------------------------------------
| Hero Main Styles & Background
|------------------------------------------------------------------
*/

.rb-service-hero {
    /* Twój nowy, spójny motyw */
    --rb-primary: #db0d15;
    --rb-primary-light: rgb(248, 65, 65);
    --rb-primary-glow: rgba(241, 99, 99, 0.22);

    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    
    display: flex;
    align-items: center;
}

.rb-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Animated Grid */
.rb-hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1; /* Nad tłem i kwadratami, ale pod tekstem */
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), transparent);
    animation: gridMove 16s linear infinite;
    pointer-events: none;
}

/*
|------------------------------------------------------------------
| Floating Squares (Kwadraty przesunięte o 200px w górę)
|------------------------------------------------------------------
*/

.circles {
    position: absolute;
    top: -200px; /* Przesunięcie o 200px w górę */
    left: 0;
    width: 100%;
    height: calc(100% + 200px); /* Kompensacja wysokości */
    margin: 0;
    padding: 0;
    z-index: 0;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: var(--rb-primary-glow); /* Twoja zmienna glow */
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.circles li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.circles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.circles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.circles li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.circles li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; animation-duration: 13s; }
.circles li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; animation-duration: 12s; }
.circles li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.circles li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.circles li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; }

/*
|------------------------------------------------------------------
| Left Content & Badge
|------------------------------------------------------------------
*/

.rb-service-hero__content {
    position: relative;
    z-index: 2; /* Gwarantuje, że teksty są na samym wierzchu */
}

.rb-service-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
}

.rb-service-badge__inner {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.rb-service-badge__inner::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        radial-gradient(circle at 30% 50%, rgba(219, 13, 21, 0.18), transparent 45%),
        radial-gradient(circle at 80% 30%, rgba(248, 65, 65, 0.18), transparent 40%);
    opacity: 0.6;
    transform: translateX(-20px);
    animation: badgeGlowMove 6s ease-in-out infinite;
    pointer-events: none;
}

.rb-service-badge__inner::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.12) 30%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0.12) 70%,
        transparent 100%
    );
    transform: translateX(-120%);
    animation: shimmerLine 5s infinite;
    pointer-events: none;
}

.rb-service-badge__inner:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* DOT (Scalony i dopasowany do Cyber Red) */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rb-primary); 
    box-shadow: 0 0 12px var(--rb-primary-light);
    position: relative;
    display: inline-block;
}

.pulse-dot::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--rb-primary-light);
    animation: pulseSoft 2.8s infinite;
    opacity: 0;
}

/*
|------------------------------------------------------------------
| Headings & Typography
|------------------------------------------------------------------
*/

.rb-service-hero h1 {
    margin: 0 0 24px;
    font-size: clamp(48px, 6vw, 96px) !important;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -3px;
    color: #fff;
    text-align: center;
    max-width: 1000px;
}



span.rb-btn__text {
    color: white;
}

.rb-service-hero p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.72);
}

.rb-service-hero__content p {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 42px;
}

p.animate-in.delay-3 {
    text-align: center;
    margin-bottom: 10px;
    padding-top: 15px;
}

/*
|------------------------------------------------------------------
| Buttons
|------------------------------------------------------------------
*/

.rb-service-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-bottom: 70px;
}

.rb-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 60px;
    padding: 0 34px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: .35s ease;
    overflow: hidden;
}

.rb-btn--glow {
    color: #ffffff;
    background: linear-gradient(135deg, var(--rb-primary) 0%, var(--rb-primary-light) 100%);
    box-shadow: 0 10px 40px rgba(219, 13, 21, 0.35);
}

.rb-btn--glow::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
    transform: skewX(-25deg);
    animation: buttonSweep 3s infinite;
}

.rb-btn--glow:hover {
    transform: translateY(-6px) scale(1.03);
}

.rb-btn--outline {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(14px);
}

.rb-btn--outline:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.28);
    background: rgba(255,255,255,0.08);
}

.rb-btn svg {
    width: 18px;
    height: 18px;
}

/* Delays */
.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .35s; }
.delay-3 { animation-delay: .55s; }
.delay-4 { animation-delay: .75s; }
.delay-5 { animation-delay: .95s; }

/*
|------------------------------------------------------------------
| Keyframes Animations
|------------------------------------------------------------------
*/

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 20%;
    }
    100% {
        transform: translateY(-1300px) rotate(720deg); /* Zwiększone, by kwadraty opuściły wyższy ekran */
        opacity: 0;
        border-radius: 50%;
    }
}

@keyframes badgeGlowMove {
    0%, 100% { transform: translateX(-25px); opacity: 0.4; }
    50% { transform: translateX(25px); opacity: 0.8; }
}

@keyframes shimmerLine {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

@keyframes pulseSoft {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

@keyframes shimmerText {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

@keyframes gridMove {
    from { transform: translateY(0); }
    to { transform: translateY(70px); }
}

@keyframes buttonSweep {
    100% { left: 150%; }
}

/*
|------------------------------------------------------------------
| Responsive
|------------------------------------------------------------------
*/

@media (max-width: 1100px) {
    .rb-service-hero__wrapper { grid-template-columns: 1fr; }
    .rb-service-hero__visual { order: -1; }
    .rb-image-container { max-width: 520px; margin: auto; }
    .ring-1 { width: 420px; height: 420px; }
    .ring-2 { width: 520px; height: 520px; }
    .ring-3 { width: 620px; height: 620px; }
}

@media (max-width: 768px) {
    .rb-service-hero { padding: 100px 0; }
    .rb-service-hero h1 { letter-spacing: -2px; }
    .rb-service-hero__buttons { flex-direction: column; }
    .rb-btn { width: 100%; }
    .ring-1 { width: 300px; height: 300px; }
    .ring-2 { width: 400px; height: 400px; }
    .ring-3 { width: 500px; height: 500px; }
}










/*
|------------------------------------------------------------------
| Animated Grid
|------------------------------------------------------------------
*/

.rb-hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;



    background-size: 70px 70px;

    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), transparent);

    animation: gridMove 16s linear infinite;
}

/*
|------------------------------------------------------------------
| Left Content
|------------------------------------------------------------------
*/

.rb-service-hero__content {
    position: relative;
    z-index: 2;
}

.rb-service-badge {
    display: inline-flex;
    align-items: center;

    margin-bottom: 28px;
}

.rb-service-badge__inner {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px);

    color: rgba(255, 255, 255, 0.85);

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0.3px;

    overflow: hidden;

    transition: all 0.4s ease;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.35);
}

/* delikatne "życie" badge */
.rb-service-badge__inner::before {
    content: "";

    position: absolute;
    inset: -1px;

    background:
        radial-gradient(
            circle at 30% 50%,
            rgba(255, 0, 0, 0.18),
            transparent 45%
        ),
        radial-gradient(
            circle at 80% 30%,
            rgba(255, 92, 92, 0.18),
            transparent 40%
        );

    opacity: 0.6;

    transform: translateX(-20px);

    animation: badgeGlowMove 6s ease-in-out infinite;

    pointer-events: none;
}

/* cienka "żywa linia" zamiast neonowego conic gradient */
.rb-service-badge__inner::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.12) 30%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0.12) 70%,
        transparent 100%
    );

    transform: translateX(-120%);

    animation: shimmerLine 5s infinite;

    pointer-events: none;
}

/* hover = premium lift */
.rb-service-badge__inner:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.06);

    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.45);
}


/* subtelny puls bez “gamingowego” efektu */
.pulse-dot::after {
    content: "";

    position: absolute;
    inset: -6px;

    border-radius: 50%;

    border: 1px solid rgba(255, 0, 0, 0.35);

    animation: pulseSoft 2.8s infinite;
    opacity: 0;
}

/*
|-----------------------------
| ANIMATIONS
|-----------------------------
*/

@keyframes badgeGlowMove {
    0% {
        transform: translateX(-25px);
        opacity: 0.4;
    }
    50% {
        transform: translateX(25px);
        opacity: 0.8;
    }
    100% {
        transform: translateX(-25px);
        opacity: 0.4;
    }
}

@keyframes shimmerLine {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

@keyframes pulseSoft {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.pulse-dot {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: #00ffb7;

    box-shadow:
        0 0 10px #00ffb7,
        0 0 25px #00ffb7;

    animation: pulseDot 1.8s infinite;
}

/*
|------------------------------------------------------------------
| Headings
|------------------------------------------------------------------
*/

.rb-service-hero h1 {
    margin: 0 0 24px;

    font-size: clamp(48px, 6vw, 96px);
    line-height: 1;
    font-weight: 900;

    letter-spacing: -3px;
    justify-self: anchor-center;
    color: #fff;
    text-align: center;
    max-width: 1100px;
}


span.rb-btn__text {
    color: white;
}
.rb-service-hero p {
    font-size: 18px;
    line-height: 1.8;

    color: rgba(255,255,255,0.72);
}

p.animate-in.delay-3 {
    text-align: center;
    margin-bottom: 10px;
    padding-top: 15px;
}


/*
|------------------------------------------------------------------
| Buttons
|------------------------------------------------------------------
*/

.rb-service-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.rb-btn {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 60px;

    padding: 0 34px;

    border-radius: 18px;

    text-decoration: none;

    font-weight: 700;
    font-size: 15px;

    transition: .35s ease;

    overflow: hidden;
}

.rb-btn--glow {
    color: #180404;

    background:
        linear-gradient(
            135deg,
            var(--rb-primary) 0%,
            var(--rb-primary-glow) 100%
        );

    box-shadow:
        0 10px 40px rgba(255, 0, 0, 0.25);
}

.rb-btn--glow::before {
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.6),
            transparent
        );

    transform: skewX(-25deg);

    animation: buttonSweep 3s infinite;
}

.rb-btn--glow:hover {
    transform: translateY(-6px) scale(1.03);
}

.rb-btn--outline {
    color: #fff;

    border: 1px solid rgba(255,255,255,0.14);

    background: rgba(255,255,255,0.04);

    backdrop-filter: blur(14px);
}

.rb-btn--outline:hover {
    transform: translateY(-6px);

    border-color: rgba(255,255,255,0.28);

    background: rgba(255,255,255,0.08);
}

.rb-btn svg {
    width: 18px;
    height: 18px;
}

.rb-service-hero__buttons{

    margin-bottom: 70px;
}

/*
|------------------------------------------------------------------
| Entrance Animations
|------------------------------------------------------------------
*/
.rb-service-hero__content p {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 42px;
}

.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .35s; }
.delay-3 { animation-delay: .55s; }
.delay-4 { animation-delay: .75s; }
.delay-5 { animation-delay: .95s; }

/*
|------------------------------------------------------------------
| Keyframes
|------------------------------------------------------------------
*/

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmerText {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 300% center;
    }
}

@keyframes blobFloat {
    0% {
        transform: translate(0,0) scale(1);
    }
    100% {
        transform: translate(80px,-40px) scale(1.15);
    }
}

@keyframes blobRotate {
    from {
        rotate: 0deg;
    }
    to {
        rotate: 360deg;
    }
}

@keyframes rotateBorder {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseDot {
    0%,100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: .6;
    }
}

@keyframes gridMove {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(70px);
    }
}

@keyframes buttonSweep {
    100% {
        left: 150%;
    }
}

@keyframes floatingImage {
    0%,100% {
        transform: translateY(0px) rotate(-1deg);
    }
    50% {
        transform: translateY(-18px) rotate(1deg);
    }
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateRingReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

@keyframes pulseRing {
    0%,100% {
        transform: scale(1);
        opacity: .4;
    }
    50% {
        transform: scale(1.08);
        opacity: .7;
    }
}

/*
|------------------------------------------------------------------
| Responsive
|------------------------------------------------------------------
*/

@media (max-width: 1100px) {

    .rb-service-hero__wrapper {
        grid-template-columns: 1fr;
    }

    .rb-service-hero__visual {
        order: -1;
    }

    .rb-image-container {
        max-width: 520px;
        margin: auto;
    }

    .ring-1 {
        width: 420px;
        height: 420px;
    }

    .ring-2 {
        width: 520px;
        height: 520px;
    }

    .ring-3 {
        width: 620px;
        height: 620px;
    }
}

@media (max-width: 768px) {

    .rb-service-hero {
        padding: 100px 0;
    }

    .rb-service-hero h1 {
        letter-spacing: -2px;
    }

    .rb-service-hero__buttons {
        flex-direction: column;
    }

    .rb-btn {
        width: 100%;
    }

    .ring-1 {
        width: 300px;
        height: 300px;
    }

    .ring-2 {
        width: 400px;
        height: 400px;
    }

    .ring-3 {
        width: 500px;
        height: 500px;
    }
}


/*
|--------------------------------------------------------------------------
| SECTION HEADINGS
|--------------------------------------------------------------------------
*/

.rb-section-heading {
    text-align: center;
    margin-bottom: 70px;
}

.rb-section-heading span {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--rb-primary-light);
    
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}



/*
|------------------------------------------------------------------
| FEATURES SECTION
|------------------------------------------------------------------
*/

.rb-service-features {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

.rb-service-features::before {
    content: "";
    position: absolute;
    top: -250px;
    left: -250px;
    width: 600px;
    height: 600px;
    background:
        radial-gradient(
            circle,
            rgba(241, 99, 99, 0.14) 0%,
            rgba(241, 99, 99, 0.06) 35%,
            transparent 72%
        );
    pointer-events: none;
    filter: blur(10px);
}

.rb-service-features::after {
    content: "";
    position: absolute;
    right: -200px;
    bottom: -200px;
    width: 500px;
    height: 500px;
    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.04) 0%,
            transparent 70%
        );
    pointer-events: none;
}

.rb-service-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

/*
|------------------------------------------------------------------
| SECTION HEADING
|------------------------------------------------------------------
*/

.rb-section-heading {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 950px;
    margin: 0 auto 80px;
}

.rb-section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;
    margin-bottom: 24px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            rgba(241,99,99,0.15),
            rgba(255,255,255,0.04)
        );

    border: 1px solid rgba(255,255,255,0.08);

    color: #ffb4b4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    backdrop-filter: blur(16px);
}

.rb-section-heading span::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rb-primary);
    box-shadow: 0 0 20px rgba(241,99,99,0.9);
}



.rb-section-description {
    margin: 0 auto;
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    line-height: 1.9;
}

/*
|------------------------------------------------------------------
| TECH BADGES
|------------------------------------------------------------------
*/

.rb-tech-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 40px;
}

.rb-badge {
    position: relative;

    padding: 14px 20px;

    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.02)
        );

    border: 1px solid rgba(255,255,255,0.08);

    color: #fff;
    font-size: 14px;
    font-weight: 600;

    overflow: hidden;

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.rb-badge::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(241,99,99,0.16),
            transparent 60%
        );

    opacity: 0;
    transition: .35s ease;
}

.rb-badge:hover {
    transform: translateY(-4px);
    border-color: rgba(241,99,99,0.35);
}

.rb-badge:hover::before {
    opacity: 1;
}

/*
|------------------------------------------------------------------
| FEATURE CARD
|------------------------------------------------------------------
*/

.rb-service-card {
    position: relative;

    padding: 42px;
    min-height: 360px;

    border-radius: 34px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.02)
        );

    border: 1px solid rgba(255,255,255,0.08);

    overflow: hidden;

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        transform .5s ease,
        border-color .5s ease,
        box-shadow .5s ease,
        background .5s ease;
}

.rb-service-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at top left,
            rgba(241,99,99,0.20),
            transparent 42%
        );

    opacity: 0;
    transition: opacity .5s ease;
}

.rb-service-card::after {
    content: "";

    position: absolute;
    top: 0;
    left: -140%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.08),
            transparent
        );

    transform: skewX(-18deg);
    transition: 1s ease;
}

.rb-service-card:hover {
    transform: translateY(-14px);

    border-color: rgba(241,99,99,0.30);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.07),
            rgba(255,255,255,0.025)
        );

    box-shadow:
        0 25px 90px rgba(0,0,0,0.42),
        0 0 45px rgba(241,99,99,0.14);
}

.rb-service-card:hover::before {
    opacity: 1;
}

.rb-service-card:hover::after {
    left: 160%;
}


/*
|------------------------------------------------------------------
| HEADER INSIDE CARD
|------------------------------------------------------------------
*/

.rb-service-card__top {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 28px;
}
/*
|------------------------------------------------------------------
| ICON
|------------------------------------------------------------------
*/

.rb-service-card__icon {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    width: 58px;
    height: 58px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            var(--rb-primary),
            #ff8f8f
        );

    box-shadow:
        0 10px 30px rgba(241,99,99,0.28),
        inset 0 1px 0 rgba(255,255,255,0.3);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.rb-service-card__icon svg {
    width: 26px;
    height: 26px;

    color: #fff;
}

.rb-service-card__icon::before {
    content: "";

    position: absolute;
    inset: 8px;

    border-radius: 14px;

}

.rb-service-card:hover .rb-service-card__icon {
    transform:
        translateY(-2px)
        rotate(-5deg)
        scale(1.04);

    box-shadow:
        0 18px 45px rgba(241,99,99,0.35),
        0 0 25px rgba(241,99,99,0.22);
}
/*
|------------------------------------------------------------------
| CARD TEXT
|------------------------------------------------------------------
*/

.rb-service-card h3 {
    position: relative;
    z-index: 2;

    margin: 0 0 18px;

    color: #fff;

    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.rb-service-card p {
    position: relative;
    z-index: 2;

    margin: 0;

    color: rgba(255,255,255,0.68);

    font-size: 16px;
    line-height: 1.9;
}

/*
|------------------------------------------------------------------
| TECH DETAILS
|------------------------------------------------------------------
*/

.rb-card-tech-details {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 16px;

    margin-top: 26px;
}

.rb-card-tech-details p {
    margin: 0;

    padding: 16px 18px;

    border-radius: 16px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.04),
            rgba(255,255,255,0.02)
        );

    border: 1px solid rgba(255,255,255,0.06);

    color: rgba(255,255,255,0.76);

    line-height: 1.7;
}

.rb-card-tech-details strong {
    color: #fff;
    font-weight: 700;
}

/*
|------------------------------------------------------------------
| RESPONSIVE
|------------------------------------------------------------------
*/

@media (max-width: 1100px) {

    .rb-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .rb-service-features {
        padding: 90px 0;
    }

    .rb-service-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rb-service-card {
        min-height: auto;
        padding: 34px;
        border-radius: 28px;
    }

    .rb-section-heading {
        margin-bottom: 60px;
    }

    .rb-section-heading h2 {
        font-size: 42px;
    }

    .rb-section-description {
        font-size: 16px;
    }

}
/*
|--------------------------------------------------------------------------
| PROCESS
|--------------------------------------------------------------------------
*/

.rb-process {
    padding-top: 120px;
    padding-bottom: 120px;
}

.rb-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.rb-process-card {
    position: relative;
    padding: 38px;
    border-radius: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--rb-transition);
}

.rb-process-card:hover {
    transform: translateY(-8px);
    border-color: rgba(241, 99, 99, 0.35);
    box-shadow: 0 20px 60px rgba(241, 99, 99, 0.15);
}

.rb-process-card strong {
    display: block;
    margin-bottom: 22px;
    font-size: 56px;
    line-height: 1;
    color: rgba(241, 99, 99, 0.2);
    font-weight: 800;
}

.rb-process-card h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.rb-process-card p {
    margin: 0;
    color: var(--rb-muted);
    line-height: 1.7;
}



/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 1200px) {
    .rb-service-grid { grid-template-columns: repeat(2, 1fr); }
    .rb-process-grid { grid-template-columns: repeat(2, 1fr); }
    .rb-service-hero__wrapper { gap: 50px; }
}

@media (max-width: 992px) {
    .rb-service-hero { min-height: auto; padding-top: 140px; padding-bottom: 80px; }
    .rb-service-hero__wrapper { grid-template-columns: 1fr; }
    .rb-service-hero__content { text-align: center; }
    .rb-service-hero__content p { margin-left: auto; margin-right: auto; }
    .rb-service-hero__buttons { justify-content: center; }
    .rb-service-hero__visual { order: -1; }
    .rb-service-hero__visual img { max-width: 100%; transform: none; }
    .rb-service-hero__visual img:hover { transform: translateY(-6px); }
}

@media (max-width: 768px) {
    .rb-container { padding-left: 18px; padding-right: 18px; }
    .rb-service-grid { grid-template-columns: 1fr; }
    .rb-process-grid { grid-template-columns: 1fr; }
    .rb-service-card, .rb-process-card { padding: 30px; }
    
    .rb-service-hero__content h1 { font-size: 52px; }
    .rb-section-heading h2 { font-size: 40px; }
    
}

@media (max-width: 560px) {
    .rb-service-hero__content h1 { font-size: 42px; }
    .rb-service-hero__content p { font-size: 16px; }
    .rb-btn { width: 100%; }
    .rb-service-hero__buttons { flex-direction: column; }
    .rb-service-card h3 { font-size: 24px; }
    .rb-process-card strong { font-size: 46px; }
 
}

/* ==========================================================================
   AI SECTION (Styled consistently with the global template variables)
   ========================================================================== */

.rb-ai-section {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    background: #b3b3b30a;
    animation: rb-bg-breathe 10s ease-in-out infinite;
}

@keyframes rb-bg-breathe {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.08); }
}

.rb-ai-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Center glow */
.rb-ai-glow--center {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(241, 99, 99, 0.18), transparent 60%);
    filter: blur(40px);
    animation: rb-float 6s ease-in-out infinite;
}

/* Conic left */
.rb-ai-conic--left {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: conic-gradient(
        from 90deg,
        transparent,
        rgba(241, 99, 99, 0.25),
        transparent
    );
    filter: blur(60px);
    opacity: 0.6;
    animation: rb-spin-slow 18s linear infinite, rb-pulse 6s ease-in-out infinite;
}

/* Conic right */
.rb-ai-conic--right {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: conic-gradient(
        from 270deg,
        transparent,
        rgba(241, 99, 99, 0.18),
        transparent
    );
    filter: blur(70px);
    opacity: 0.5;
    animation: rb-spin-slow 26s linear infinite reverse, rb-pulse 8s ease-in-out infinite;
}

/* Beam scanner line */
.rb-ai-beam {
    position: absolute;
    top: 35%;
    left: 50%;
    width: 520px;
    height: 2px;
    transform: translateX(-50%);
    background: rgba(241, 99, 99, 0.8);
    box-shadow: 0 0 30px rgba(241, 99, 99, 0.5);
    animation: rb-beam-move 4s ease-in-out infinite;
}

/* Orbits */
.rb-ai-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(241, 99, 99, 0.9);
    box-shadow: 0 0 25px rgba(241, 99, 99, 0.7);
}

.rb-ai-orb--1 { animation: rb-orbit 10s linear infinite; }
.rb-ai-orb--2 {
    width: 6px;
    height: 6px;
    opacity: 0.6;
    animation: rb-orbit 16s linear infinite reverse;
}

/* Radar waves */
.rb-ai-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(241, 99, 99, 0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rb-wave 4s ease-out infinite;
}

.rb-ai-wave:nth-child(2) { animation-delay: 1.3s; }
.rb-ai-wave:nth-child(3) { animation-delay: 2.6s; }

/* Overlays */
.rb-ai-fade-top {
    position: absolute;
    top: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, #07070a, transparent);
}

.rb-ai-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
    opacity: 0.12;
    animation: rb-noise-move 14s linear infinite;
}

.rb-ai-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.03),
        rgba(255,255,255,0.03) 1px,
        transparent 1px,
        transparent 4px
    );
    opacity: 0.2;
    mix-blend-mode: overlay;
}

/* Content typography */
.rb-ai-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.rb-ai-badge {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--rb-primary);
    color: var(--rb-primary);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.rb-ai-title {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    animation: rb-glitch 6s infinite;
}

.rb-ai-text {
    margin-top: 20px;
    font-size: 18px;
    color: rgba(255,255,255,0.75);
}

.rb-ai-line {
    width: 120px;
    height: 1px;
    margin: 30px auto;
    background: linear-gradient(to right, transparent, var(--rb-primary), transparent);
}

.rb-ai-subtext {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
}

/* Section AI Actions & Buttons override */
.rb-ai-actions {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

.rb-ai-actions .rb-btn--primary {
    background: var(--rb-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(241, 99, 99, 0.3);
}

.rb-ai-actions .rb-btn--primary:hover {
    background: #eb5454;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(241, 99, 99, 0.5);
}

.rb-ai-actions .rb-btn--secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.rb-ai-actions .rb-btn--secondary:hover {
    border-color: var(--rb-primary-light);
    color: var(--rb-primary-light);
}

/* Animations Keyframes */
@keyframes rb-spin-slow {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes rb-float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -55%); }
}

@keyframes rb-pulse {
    0%, 100% { opacity: 0.4; filter: blur(60px); }
    50% { opacity: 0.75; filter: blur(80px); }
}

@keyframes rb-beam-move {
    0% { transform: translateX(-60%) scaleX(0.8); opacity: 0.3; }
    50% { transform: translateX(-40%) scaleX(1.2); opacity: 1; }
    100% { transform: translateX(-60%) scaleX(0.8); opacity: 0.3; }
}

@keyframes rb-orbit {
    0% { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}

@keyframes rb-wave {
    0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

@keyframes rb-noise-move {
    0% { transform: translate(0,0); }
    100% { transform: translate(-5%, -5%); }
}

@keyframes rb-glitch {
    0%, 100% { text-shadow: 0 0 0 transparent; transform: translate(0); }
    20% { transform: translate(-1px, 1px); text-shadow: -2px 0 var(--rb-primary-light); }
    40% { transform: translate(1px, -1px); text-shadow: 2px 0 var(--rb-primary-light); }
    60% { transform: translate(-1px, 0px); }
}


/*
|--------------------------------------------------------------------------
| PROCESS SECTION - HORIZONTAL TIMELINE
|--------------------------------------------------------------------------
*/
.rb-process-section--horizontal {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/
.rb-process-header {
    text-align: center;
    margin-bottom: 80px;
}

/*
|--------------------------------------------------------------------------
| TRACK (HORIZONTAL LAYOUT)
|--------------------------------------------------------------------------
*/
.rb-process-track {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    max-width: 1200px; /* Opcjonalnie: zabezpieczenie szerokości */
    margin: 0 auto;
}

/*
|--------------------------------------------------------------------------
| ANIMATED LINE (BASE)
|--------------------------------------------------------------------------
*/
.rb-process-line {
    position: absolute;
    /* POPRAWKA: 20px paddingu + 36px (połowa wysokości kółka) = 56px */
    top: 56px; 
    /* POPRAWKA: Przy 5 elementach środek pierwszego i ostatniego wypada na 10% */
    left: 10%; 
    right: 10%; 
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    z-index: 1;
}

/* moving glow inside line */
.rb-process-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(219, 13, 21, 0.9),
        transparent
    );
    animation: rb-line-flow 2.8s linear infinite;
}

/*
|--------------------------------------------------------------------------
| STEP ITEM
|--------------------------------------------------------------------------
*/
.rb-process-item {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/*
|--------------------------------------------------------------------------
| NODE (NUMBER CIRCLE)
|--------------------------------------------------------------------------
*/
.rb-process-node {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2c2c2c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

/* glow dot connection */
.rb-process-node::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    bottom: -7px; 
    left: calc(50% - 4px);
    background: var(--rb-primary, #db0d15);
    box-shadow: 0 0 15px rgba(219, 13, 21, 0.8);
    z-index: 3;
}

/* hover glow */
.rb-process-item:hover .rb-process-node {
    border-color: rgba(219, 13, 21, 0.6);
    box-shadow: 0 0 25px rgba(219, 13, 21, 0.3);
    transform: translateY(-4px);
}

/*
|--------------------------------------------------------------------------
| NUMBER
|--------------------------------------------------------------------------
*/
.rb-process-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--rb-primary, #db0d15);
}

/*
|--------------------------------------------------------------------------
| CONTENT
|--------------------------------------------------------------------------
*/
.rb-process-content {
    margin-top: 26px;
    max-width: 240px;
}

.rb-process-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.rb-process-content p {
    font-size: 14px;
    color: var(--rb-muted, #94a3b8);
    line-height: 1.6;
}

/*
|--------------------------------------------------------------------------
| ANIMATIONS
|--------------------------------------------------------------------------
*/
@keyframes rb-line-flow {
    0% { left: -30%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@keyframes rb-line-flow-vertical {
    0% { top: -30%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE (MOBILE UPGRADE)
|--------------------------------------------------------------------------
*/
@media (max-width: 992px) {
    .rb-process-track {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .rb-process-line {
        display: block;
        top: 56px;
        bottom: 56px;
        left: 50%;
        right: auto;
        width: 2px;
        height: calc(100% - 112px);
        transform: translateX(-50%);
    }

    .rb-process-line::after {
        width: 100%;
        height: 30%;
        top: -30%;
        left: 0;
        background: linear-gradient(
            180deg,
            transparent,
            rgba(219, 13, 21, 0.9),
            transparent
        );
        animation: rb-line-flow-vertical 2.8s linear infinite;
    }

    .rb-process-item {
        padding: 0;
        width: 100%;
    }
    
    .rb-process-node::before {
        display: none; 
    }
}









/*
|------------------------------------------------------------------
| Call To Action (CTA) Section - Statyczna
|------------------------------------------------------------------
*/

.rb-service-cta {
    /* Twoje niezmienne zmienne kolorystyczne */
    --rb-primary: #db0d15;
    --rb-primary-light: rgb(248, 65, 65);
    --rb-primary-glow: rgba(241, 99, 99, 0.22);

    position: relative;
    width: 100%;
    padding: 120px 0;
    
    
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Box z zawartością (Glassmorphism) */
.rb-service-cta__box {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    
    /* Subtelne rozmycie tła */
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badge górny */
.rb-service-badge__inner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Statyczna czerwona kropka */

/* Nagłówek */
.rb-service-cta__box h2 {
    margin: 24px 0 16px;
    color: #ffffff;
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.5px;
}

/* Opis tekstowy */
.rb-service-cta__box p {
    max-width: 600px;
    margin: 0 0 40px;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.6;
}

/* Przycisk (Czysty, z klasycznym hoverem) */
.rb-btn--static {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 0 40px;
    border-radius: 16px;
    background: var(--rb-primary);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rb-btn--static .rb-btn__text {
    color: #ffffff; /* Ciemny tekst na białym przycisku dla doskonałego kontrastu */
    font-weight: 700;
    font-size: 15px;
}

/* Delikatny efekt uniesienia po najechaniu myszką */
.rb-btn--static:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/*
|------------------------------------------------------------------
| Responsive
|------------------------------------------------------------------
*/

@media (max-width: 768px) {
    .rb-service-cta {
        padding: 80px 0;
    }
    
    .rb-service-cta__box {
        padding: 40px 24px;
        border-radius: 24px;
    }
    
    .rb-service-cta__box h2 {
        letter-spacing: -1px;
    }
}















/* * =========================================
   GŁÓWNA SEKCJA I TŁO
   ========================================= */ 
.faq-section {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--rb-text);
    overflow: hidden;
    z-index: 1;
    border-radius: var(--rb-radius);
}

/* Animowane "lekkie" poświaty w tle sekcji */
.faq-section::before,
.faq-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.faq-section::before {
    top: -50px;
    left: -50px;
}

.faq-section::after {
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

/* =========================================
   NAGŁÓWEK (Tekst z efektem shimmer/neon)
   ========================================= */
.faq-header {
    text-align: center;
    position: relative;
}


.faq-header p {
    color: var(--rb-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* =========================================
   GRID Z KARTAMI
   ========================================= */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    perspective: 1000px; /* Dodaje głębię do animacji 3D */
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   POJEDYNCZA KARTA (SZCZEGÓŁY)
   ========================================= */
.faq-item {
    background-color: var(--rb-card);
    border: 1px solid var(--rb-border);
    border-radius: var(--rb-radius);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--rb-shadow);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    animation: slideUpFade 0.8s ease-out backwards;
}

/* Staggering - opóźnienie animacji wejścia dla kolejnych elementów */
.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

/* HOVER EFFECT - Karta unosi się i świeci */
.faq-item:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--rb-primary);
    box-shadow: 0 15px 40px var(--rb-primary-glow), 
                inset 0 0 20px rgba(255,255,255,0.02);
    background-color: var(--rb-bg-secondary);
}

/* Karta OTWARTA */
.faq-item[open] {
    border-color: var(--rb-primary-light);
    box-shadow: 0 0 25px var(--rb-primary-glow);
    background-color: rgba(27, 13, 15, 0.7); /* Delikatnie czerwonawy odcień tła */
}

/* =========================================
   TYTUŁ (PYTANIE I IKONA)
   ========================================= */
.faq-title {
    padding: 24px 30px;
    font-weight: 600;
    font-size: 1.15rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    color: var(--rb-text);
    transition: color 0.3s ease;
}

.faq-title:hover {
    color: var(--rb-primary-light);
}

.faq-title::-webkit-details-marker {
    display: none;
}

/* NEONOWA IKONA "+" (Zbudowana z pseudo-elementów) */
.faq-title::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--rb-primary-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(219, 13, 21, 0.1);
    border: 1px solid var(--rb-primary-glow);
    transition: all var(--rb-transition);
    text-shadow: 0 0 10px var(--rb-primary);
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item:hover .faq-title::after {
    background: var(--rb-primary);
    color: #fff;
    box-shadow: 0 0 15px var(--rb-primary-strong-glow);
    transform: rotate(90deg) scale(1.1);
}

/* IKONA "-" GDY OTWARTE */
.faq-item[open] .faq-title::after {
    content: '−';
    transform: rotate(360deg);
    background: var(--rb-primary);
    color: #fff;
    box-shadow: 0 0 20px var(--rb-primary-strong-glow);
    border-color: transparent;
}

/* =========================================
   TREŚĆ (ANIMOWANE ROZWIJANIE)
   ========================================= */
.faq-content {
    padding: 0 30px 30px 30px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--rb-muted);
    border-top: 1px solid transparent;
}

/* Magia animacji przy otwieraniu */
.faq-item[open] .faq-content {
    animation: expandContent 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    padding-top: 20px;
}

.faq-content p {
    margin: 0;
    position: relative;
    z-index: 2;
}

h3.faq-question-text {
    font-size: 18px;
    font-weight: 700;
}

/* =========================================
   KLATKI KLUCZOWE (ANIMACJE)
   ========================================= */

/* Pływające kule światła w tle */
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.2); }
}

/* Połyskujący gradient na nagłówku H2 */
@keyframes textShine {
    to { background-position: 200% center; }
}

/* Wjazd nagłówka z góry */
@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Wjazd kart z dołu z efektem fade */
@keyframes slideUpFade {
    0% { 
        opacity: 0; 
        transform: translateY(40px) scale(0.95); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Otwieranie treści z efektem slajdu i fade'a */
@keyframes expandContent {
    0% { 
        opacity: 0; 
        transform: translateY(-15px) scale(0.98); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}
