/* --- LOKALNE CZCIONKI (NO JUMP FIX) --- */

/* 1. OUTFIT */
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    font-display: block;
    /* ZMIANA: block zamiast swap */
    src: url('fonts/outfit-v15-latin-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('fonts/outfit-v15-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 500;
    font-display: block;
    src: url('fonts/outfit-v15-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url('fonts/outfit-v15-latin-700.woff2') format('woff2');
}

/* 2. SYNE */
@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('fonts/syne-v24-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 600;
    font-display: block;
    src: url('fonts/syne-v24-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 700;
    font-display: block;
    src: url('fonts/syne-v24-latin-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Syne';
    font-style: normal;
    font-weight: 800;
    font-display: block;
    src: url('fonts/syne-v24-latin-800.woff2') format('woff2');
}

/* 3. GOLDMAN */
@font-face {
    font-family: 'Goldman';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('fonts/goldman-v21-latin-regular.woff2') format('woff2');
}

/* 4. POLLER ONE */
@font-face {
    font-family: 'Poller One';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('fonts/poller-one-v25-latin-regular.woff2') format('woff2');
}

/* 5. JETBRAINS MONO */
@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 500;
    font-display: block;
    src: url('fonts/jetbrains-mono-v24-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('fonts/jetbrains-mono-v24-latin-500.woff2') format('woff2');
}

/* 6. MATERIAL SYMBOLS */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/material-symbols.woff2') format('woff2');
    font-display: block;
}



/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --brand-blue: #0047FF;
    --brand-neon: #2E86FF;
    --brand-dark: #050505;
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-gray: #9ca3af;
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Syne', sans-serif;
    --brand-3d: #0d42ff;
    --brand-mid-3d: #0036d6;
    --brand-dark-3d: #001866;
    --size-3d: 270px;
    --shape-common: 35px 35px 140px 35px;
}

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    height: auto;
    aspect-ratio: attr(width) / attr(height);
    display: block;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-blue);
}

/* --- IKONY (Brute Force Fix) --- */
.icon {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 20;
    pointer-events: none;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.icon path {
    transition: fill 0.3s ease;
}

.btn-hero:hover .icon,
.btn-hero:hover .icon path,
.btn-scroll:hover .icon,
.btn-scroll:hover .icon path {
    fill: #ffffff !important;
}

.btn-scroll:hover .icon {
    animation: bounce 1s infinite;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: none;
    will-change: transform, left, top;
    /* Optymalizacja */
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-blue);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}

/* --- UTILS --- */
.text-brand-blue {
    color: var(--brand-blue);
}

.text-brand-neon {
    color: var(--brand-neon);
}

.font-bold {
    font-weight: 700;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem;
    transition: padding 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 1.5rem;
}

.navbar-container {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    transition: background 0.3s, padding 0.3s;
    position: relative;
    overflow: hidden;
}

.navbar.scrolled .navbar-container {
    background: rgba(0, 0, 0, 0.8);
}

.scroll-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-neon), #ffffff);
    border-radius: 0 40px 40px 0;
    z-index: 10;
    pointer-events: none;
    transition: width 0.1s linear;
    will-change: width;
}

.logo {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #d1d5db;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
}

.btn-contact {
    padding: 0.5rem 1.5rem;
    background-color: var(--brand-blue);
    border-radius: 9999px;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-contact:hover {
    background-color: white;
    color: var(--brand-dark);
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 6rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

#dna-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background-color: rgba(0, 71, 255, 0.1);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid #1f2937;
    background-color: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(4px);
    width: fit-content;
}

.status-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #22c55e;
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.badge-text {
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.gradient-text {
    background-size: 200% auto;
    background-image: linear-gradient(to right, var(--brand-blue), #60a5fa, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShine 5s linear infinite;
    will-change: background-position;
}

.subtitle-box {
    border-left: 2px solid var(--brand-blue);
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #d1d5db;
}

.roles {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-neon);
}

.dot-sep {
    width: 4px;
    height: 4px;
    background-color: #4b5563;
    border-radius: 50%;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
    position: relative;
    z-index: 50;
}

.btn-hero {
    position: relative;
    padding: 1rem 2rem;
    background: white;
    color: black;
    font-weight: 700;
    border-radius: 9999px;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-hero:hover {
    box-shadow: 0 0 40px -10px rgba(255, 255, 255, 0.6);
}

.btn-hero span {
    z-index: 10;
    position: relative;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-out;
    z-index: 0;
}

.btn-hero:hover::before {
    transform: scaleX(1);
}

.btn-hero:hover span {
    color: white;
    transition: color 0.3s;
}

.btn-scroll {
    background: none;
    border: none;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
}

.btn-scroll:hover {
    color: white;
}

.btn-scroll:hover .material-symbols-outlined {
    animation: bounce 1s infinite;
}

/* --- 3D ANIMATION STYLES --- */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    pointer-events: none;
}

.tilt-wrapper {
    position: relative;
    width: var(--size-3d);
    height: var(--size-3d);
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-top: 150px;
    will-change: transform;
}

.scene {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: cinematic-turn 16s infinite linear;
    will-change: transform;
}

.stage-block {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: sandwich-explode 10s ease-in-out infinite;
    will-change: transform;
}

.stage-1 {
    z-index: 3;
    --move-z: 280px;
}

.stage-2 {
    z-index: 2;
    --move-z: 120px;
}

.stage-3 {
    z-index: 1;
    --move-z: -40px;
}

.layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--shape-common);
    transform: translateZ(calc(var(--i) * 1px));
}

.stage-1 .layer {
    background-color: var(--brand-3d);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stage-2 .layer {
    background-color: var(--brand-mid-3d);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.stage-3 .layer {
    background-color: var(--brand-dark-3d);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.top-face {
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
}

.logo-container {
    width: 57%;
    height: 57%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.svg-logo {
    width: 100%;
    height: 100%;
    display: block;
}

.text-container {
    text-align: center;
    transform: rotateZ(-45deg);
}

.text-label-small {
    font-size: 14px;
    color: #00f3ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    display: block;
}

.text-label-big {
    font-size: 28px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    display: block;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.floor-shadow {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(rgba(0, 0, 0, 0.8), transparent 70%);
    transform: translateZ(-150px);
    animation: shadow-pulse 10s ease-in-out infinite;
}

.visual-blob-1,
.visual-blob-2 {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.visual-blob-1 {
    top: 25%;
    right: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(0, 71, 255, 0.2);
    filter: blur(80px);
}

.visual-blob-2 {
    bottom: 0;
    right: 25%;
    width: 12rem;
    height: 12rem;
    background: rgba(168, 85, 247, 0.2);
    filter: blur(60px);
}

.bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    background: linear-gradient(to top, #000, transparent);
    z-index: 20;
    pointer-events: none;
}

/* 3D Plasma Beam Effect */
.stage-3::before,
.stage-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--shape-common);
    background: linear-gradient(to bottom, rgba(0, 71, 255, 0.6) 0%, rgba(46, 134, 255, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    box-shadow: 0 0 30px rgba(0, 71, 255, 0.4), inset 0 0 20px rgba(0, 243, 255, 0.2);
    transform-origin: center center;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
    animation: plasma-beam 10s ease-in-out infinite;
}

.stage-3::before {
    filter: blur(10px);
}

.stage-2::before {
    background: linear-gradient(to bottom, rgba(13, 66, 255, 0.5) 0%, rgba(0, 0, 0, 0) 80%);
    filter: blur(15px);
}

/* --- ANIMATIONS --- */
@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

@keyframes pulse {
    50% {
        opacity: .5;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(-25%);
    }

    50% {
        transform: none;
    }
}

@keyframes cinematic-turn {
    0% {
        transform: rotateX(55deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(55deg) rotateZ(360deg);
    }
}

@keyframes sandwich-explode {

    0%,
    15% {
        transform: translateZ(0);
    }

    35%,
    75% {
        transform: translateZ(var(--move-z));
    }

    90%,
    100% {
        transform: translateZ(0);
    }
}

@keyframes shadow-pulse {

    0%,
    15% {
        opacity: 0.8;
        transform: translateZ(-150px) scale(1);
    }

    35%,
    75% {
        opacity: 0.3;
        transform: translateZ(-150px) scale(1.3);
    }

    90%,
    100% {
        opacity: 0.8;
        transform: translateZ(-150px) scale(1);
    }
}

@keyframes plasma-beam {

    0%,
    15% {
        opacity: 0;
        transform: translateZ(-1px) scale(0.9);
    }

    35%,
    75% {
        opacity: 1;
        transform: translateZ(-140px) scale(0.95);
    }

    90%,
    100% {
        opacity: 0;
        transform: translateZ(-1px) scale(0.9);
    }
}

/* --- REMGRAFIK MODULE --- */
#remgrafik-module {
    --c-black: #000;
    --c-white: #fff;
    --c-electric: #0047FF;
    --c-darkgray: #0a0a0a;
    --c-gray-400: #9ca3af;
    --c-gray-500: #6b7280;
    --badge-bg: rgba(17, 24, 39, 0.5);
    --status-green: #22c55e;
    --bun-color: #FFC107;
    --meat-color: #A0522D;
    --veg-color: #2ECC71;
    --f-syne: 'Syne', sans-serif;
    --f-outfit: 'Outfit', sans-serif;
    --f-goldman: 'Goldman', cursive;
    --font-logo: 'Poller One', serif;
    --font-code: 'JetBrains Mono', monospace;
    --shadow-glow: 0 0 20px rgba(0, 71, 255, 0.3);
    --shadow-strong: 0 0 40px rgba(0, 71, 255, 0.5);
    --trans-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-card: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    background-color: var(--c-black);
    color: var(--c-white);
    font-family: var(--f-outfit);
    width: 100%;
    position: relative;
    overflow: clip;
    isolation: isolate;
    line-height: 1.5;
    text-align: left;
}

#remgrafik-module * {
    box-sizing: border-box;
}

#remgrafik-module h1,
#remgrafik-module h2,
#remgrafik-module h3,
#remgrafik-module h4,
#remgrafik-module h5,
#remgrafik-module h6 {
    margin: 0;
    padding: 0;
    font-family: var(--f-syne);
}

#remgrafik-module p,
#remgrafik-module ul,
#remgrafik-module li {
    margin: 0;
    padding: 0;
}

#remgrafik-module a,
#remgrafik-module button {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    display: inline-block;
}

#remgrafik-module input:focus,
#remgrafik-module textarea:focus {
    outline: none;
    border-color: var(--c-electric);
}

#remgrafik-module .container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    width: 100%;
}

#remgrafik-module .container-new {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Backgrounds */
#remgrafik-module .bg-grid,
#remgrafik-module .ambient-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    height: 100%;
    width: 100%;
}

#remgrafik-module .bg-grid {
    z-index: 0;
    opacity: 0.15;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: translateZ(0);
}

#remgrafik-module .ambient-bg {
    overflow: hidden;
    z-index: 1;
}

#remgrafik-module .blob-blue-dark,
#remgrafik-module .blob-blue-light {
    position: absolute;
    border-radius: 9999px;
    transform: translateZ(0);
}

#remgrafik-module .blob-blue-dark {
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 24, 102, 0.3);
    filter: blur(100px);
}

#remgrafik-module .blob-blue-light {
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(46, 134, 255, 0.15);
    filter: blur(120px);
}

/* Layers */
#remgrafik-module .main-content,
#remgrafik-module .viewport-section,
#remgrafik-module .code-section-wrapper,
#remgrafik-module .portfolio-section {
    position: relative;
    z-index: 10;
}

/* PROJECT BAR (Fixed Global) */
#project-bar {
    position: fixed !important;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 56rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

#project-bar.visible {
    transform: translateX(-50%) translateY(0) !important;
    opacity: 1 !important;
    pointer-events: auto;
}

#project-bar.hidden-force {
    transform: translateX(-50%) translateY(150%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#project-bar .bar-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 0.5rem;
}

#project-bar .bar-icon-wrap {
    background: rgba(0, 71, 255, 0.2);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#project-bar .bar-icon-wrap .material-symbols-outlined {
    color: #0047FF;
    font-size: 1.25rem;
}

#project-bar .bar-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
}

#project-bar .bar-label {
    font-size: 0.7rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 2px;
}

#project-bar .bar-count {
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
}

#project-bar .bar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#project-bar .selected-icons-preview {
    display: none;
    gap: 0.5rem;
}

#project-bar .selected-icons-preview .material-symbols-outlined {
    font-size: 1.25rem;
    color: #ffffff;
}

#project-bar .btn-cta {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    border-radius: 9999px;
    background: #ffffff;
    color: #000000;
    padding: 0.75rem 2rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

#project-bar .btn-cta:hover {
    background: #0047FF;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(0, 71, 255, 0.4);
}

/* Sections */
#remgrafik-module .main-content {
    padding: 4rem 1.5rem 5rem;
}

#remgrafik-module .hero-section {
    margin-bottom: 5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: flex-end;
}

#remgrafik-module .subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

#remgrafik-module .subtitle-line {
    height: 1px;
    width: 3rem;
    background: var(--c-electric);
}

#remgrafik-module .subtitle-text {
    color: var(--c-electric);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.875rem;
    font-weight: 700;
}

#remgrafik-module .hero-title,
#remgrafik-module .faq-headline,
#remgrafik-module .footer-headline {
    font-family: var(--f-syne);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.05em;
    font-size: 3.75rem;
    cursor: default;
}

#remgrafik-module .gradient-text,
#remgrafik-module .faq-headline .highlight,
#remgrafik-module .footer-headline .highlight {
    color: transparent;
    background-image: linear-gradient(to right, var(--c-white), var(--c-gray-500));
    -webkit-background-clip: text;
    background-clip: text;
}

#remgrafik-module .highlight {
    color: var(--c-electric);
}

#remgrafik-module .hero-desc {
    color: var(--c-gray-400);
    font-size: 1.125rem;
    line-height: 1.625;
    max-width: 42rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

/* Services Grid */
#remgrafik-module .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

#remgrafik-module .service-card {
    position: relative;
    height: 400px;
    background: var(--c-darkgray);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: var(--trans-card);
    will-change: transform, box-shadow, border-color;
    contain: layout paint;
    /* Optimization */
}

#remgrafik-module .service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--c-electric);
}

#remgrafik-module .service-card.active {
    border-color: var(--c-electric) !important;
    box-shadow: 0 0 30px rgba(0, 71, 255, 0.2) !important;
    background: rgba(0, 71, 255, 0.03) !important;
}

#remgrafik-module .card-image-wrapper {
    height: 50%;
    width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

#remgrafik-module .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--c-darkgray), transparent);
    z-index: 10;
}

#remgrafik-module .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.7s, opacity 0.7s;
    display: block;
}

#remgrafik-module .service-card:hover .card-img {
    opacity: 1;
    transform: scale(1.1);
}

#remgrafik-module .card-icon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    padding: 0.5rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--trans-default);
    display: flex;
    align-items: center;
    justify-content: center;
}

#remgrafik-module .service-card:hover .card-icon-badge {
    border-color: var(--c-electric);
}

#remgrafik-module .card-content {
    padding: 1.5rem;
    flex-grow: 1;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#remgrafik-module .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: var(--trans-default);
    color: white;
}

#remgrafik-module .service-card:hover .card-title {
    color: var(--c-electric);
}

#remgrafik-module .card-desc {
    color: var(--c-gray-400);
    font-size: 0.875rem;
    line-height: 1.625;
}

#remgrafik-module .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

#remgrafik-module .card-footer-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-gray-500);
    transition: var(--trans-default);
}

#remgrafik-module .service-card:hover .card-footer-label {
    color: var(--c-white);
}

#remgrafik-module .selection-indicator {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--trans-default);
}

#remgrafik-module .service-card:hover .selection-indicator,
#remgrafik-module .service-card.active .selection-indicator {
    background: var(--c-electric);
    border-color: var(--c-electric);
}

#remgrafik-module .indicator-icon {
    font-size: 0.875rem;
    opacity: 0;
    color: var(--c-black);
    transition: opacity 0.3s;
}

#remgrafik-module .service-card:hover .indicator-icon,
#remgrafik-module .service-card.active .indicator-icon {
    opacity: 1;
    color: var(--c-white);
}

/* Buttons & Modal */
#remgrafik-module .btn-cta,
#remgrafik-module .btn-submit {
    font-family: var(--f-syne);
    font-weight: 700;
    border-radius: 9999px;
    transition: var(--trans-default);
}

#remgrafik-module .btn-cta {
    background: var(--c-white);
    color: var(--c-black);
    padding: 0.75rem 2rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

#remgrafik-module .btn-cta:hover {
    background: var(--c-electric);
    color: var(--c-white);
    box-shadow: var(--shadow-glow);
}

#remgrafik-module .btn-submit {
    width: 100%;
    background: var(--c-white);
    color: var(--c-black);
    font-size: 1.125rem;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
}

#remgrafik-module .btn-submit:hover {
    background: var(--c-electric);
    color: var(--c-white);
}

#contact-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 99998;
}

#contact-modal .modal-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    width: 100%;
    max-width: 42rem;
    padding: 2rem;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 71, 255, 0.3);
    color: white;
    font-family: 'Outfit', sans-serif;
    z-index: 99996;
}

#contact-modal .close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: #9ca3af;
    transition: all 0.3s;
    background: none;
    border: none;
    cursor: pointer;
}

#contact-modal .close-btn:hover {
    color: #fff;
}

#contact-modal .modal-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Syne', sans-serif;
}

#contact-modal .modal-desc {
    color: #9ca3af;
    margin-bottom: 2rem;
}

#contact-modal .selected-tags-box {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#contact-modal .tags-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #0047FF;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

#contact-modal .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#contact-modal .tag {
    background: rgba(0, 71, 255, 0.1);
    color: #0047FF;
    border: 1px solid rgba(0, 71, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

#contact-modal .btn-submit {
    width: 100%;
    background: #ffffff;
    color: #000000;
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'Syne', sans-serif;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

#contact-modal .btn-submit:hover {
    background: #0047FF;
    color: #ffffff;
}

#remgrafik-module .form-grid,
#contact-modal .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

#remgrafik-module input,
#remgrafik-module textarea,
#contact-modal input,
#contact-modal textarea {
    width: 100%;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}

#remgrafik-module .checkbox-wrapper,
#contact-modal .checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
    cursor: pointer;
}

#remgrafik-module .checkbox-wrapper input[type="checkbox"],
#contact-modal input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    accent-color: #0047FF;
    cursor: pointer;
}

#remgrafik-module .checkbox-wrapper a,
#contact-modal .checkbox-wrapper a {
    color: #fff;
    text-decoration: underline;
    transition: color 0.3s;
}

#remgrafik-module .checkbox-wrapper a:hover,
#contact-modal .checkbox-wrapper a:hover {
    color: #0047FF;
}

/* Process */
#remgrafik-module .section-process {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

#remgrafik-module .process-title {
    font-family: var(--f-syne);
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 5rem;
    color: var(--c-white);
}

#remgrafik-module .process-steps-new {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

#remgrafik-module .step-item {
    flex: 1;
    text-align: center;
}

#remgrafik-module .step-number {
    font-size: 6rem;
    font-weight: 900;
    color: var(--c-electric) !important;
    margin-bottom: 0.5rem;
    line-height: 1;
    font-family: var(--f-syne);
}

#remgrafik-module .step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-white);
    margin-bottom: 0.5rem;
    font-family: var(--f-syne);
}

#remgrafik-module .step-desc {
    color: var(--c-gray-400);
    font-size: 0.875rem;
    font-family: var(--f-outfit);
}

#remgrafik-module .process-divider {
    display: none;
    width: 4rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 3rem;
}

#remgrafik-module .resonik-highlight {
    font-family: var(--f-goldman);
    font-size: 3em;
    font-weight: 700;
    color: var(--c-electric);
    display: inline-block;
    vertical-align: middle;
    margin-top: -14px;
    margin-left: 8px;
    text-shadow: 0px 0px 15px rgba(0, 71, 255, 0.4);
}

/* Viewport Sections */
#remgrafik-module .viewport-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

#remgrafik-module .bg-number {
    position: absolute;
    left: -1rem;
    top: -3rem;
    opacity: 0.1;
    user-select: none;
    pointer-events: none;
}

#remgrafik-module .bg-number span {
    font-family: var(--f-syne);
    font-size: 8rem;
    font-weight: 800;
    color: var(--brand-blue);
}

#remgrafik-module .analysis-card {
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--brand-blue);
    transition: all 500ms;
}

#remgrafik-module .analysis-card:hover {
    border-color: var(--c-white);
    padding-left: 2rem;
}

#remgrafik-module .label-text {
    font-family: var(--f-syne);
    color: var(--brand-blue);
    font-weight: 900;
    letter-spacing: 0.1em;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

#remgrafik-module .main-title {
    font-family: var(--f-syne);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: white;
}

#remgrafik-module .blue-gradient-text {
    background: linear-gradient(90deg, var(--brand-blue) 0%, #60a5fa 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#remgrafik-module .portfolio-subtitle {
    font-family: var(--f-outfit);
    font-weight: 300;
    color: var(--c-gray-500);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

#remgrafik-module .description {
    font-family: var(--f-outfit);
    font-weight: 400;
    color: var(--c-gray-500);
    line-height: 1.625;
    max-width: 30rem;
}

#remgrafik-module .tags-container.mt-2 {
    margin-top: 2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

#remgrafik-module .glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 71, 255, 0.2);
}

#remgrafik-module .tag.portfolio-tag {
    background: var(--badge-bg);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #dbeafe;
    border: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
}

#remgrafik-module .tag.portfolio-tag .material-symbols-outlined {
    font-size: 0.875rem;
    color: var(--brand-neon);
}

#remgrafik-module .split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

#remgrafik-module .visual-column {
    position: relative;
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Radar & Floats */
#remgrafik-module .radar-container {
    position: relative;
    width: 100%;
    max-width: 20rem;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#remgrafik-module .radar-ring {
    position: absolute;
    border-radius: 9999px;
    border: 1px solid;
}

#remgrafik-module .ring-1 {
    inset: 0;
    border-color: rgba(13, 66, 255, 0.3);
}

#remgrafik-module .ring-2 {
    inset: 12%;
    border-color: rgba(0, 54, 214, 0.3);
}

#remgrafik-module .ring-3 {
    inset: 25%;
    border-color: rgba(0, 24, 102, 0.5);
}

#remgrafik-module .radar-scan-wrapper {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    overflow: hidden;
    opacity: 0.3;
}

#remgrafik-module .radar-scan {
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent 0deg, var(--brand-blue) 360deg);
    border-radius: 9999px;
    animation: scan 4s linear infinite;
    will-change: transform;
}

#remgrafik-module .core-dot {
    position: relative;
    z-index: 10;
    width: 1rem;
    height: 1rem;
    background: var(--c-white);
    border-radius: 9999px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

#remgrafik-module .pulse-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    border: 1px solid;
    opacity: 0;
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

#remgrafik-module .pulse-circle.primary {
    border-color: var(--brand-blue);
}

#remgrafik-module .pulse-circle.secondary {
    border-color: var(--brand-neon);
    animation-delay: 1s;
}

#remgrafik-module .float-card {
    position: absolute;
    padding: 0.75rem;
    border-radius: 0.5rem;
    animation: float 4s ease-in-out infinite;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
}

#remgrafik-module .float-card-top {
    top: -10%;
    right: -5%;
}

#remgrafik-module .float-card-bottom {
    bottom: -5%;
    left: -5%;
    animation-delay: 1s;
}

#remgrafik-module .card-label {
    font-size: 0.65rem;
    color: var(--c-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#remgrafik-module .card-value {
    font-family: var(--f-syne);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-white);
}

#remgrafik-module .progress-bar {
    width: 100%;
    background: #1f2937;
    height: 0.25rem;
    margin-top: 0.25rem;
    border-radius: 9999px;
    overflow: hidden;
}

#remgrafik-module .progress-fill {
    background: var(--brand-blue);
    height: 100%;
    width: 24%;
}

#remgrafik-module .trend-value {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--status-green);
    font-size: 1rem;
    font-weight: 700;
}

#remgrafik-module .svg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
    mix-blend-mode: screen;
}

#remgrafik-module .draw-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 3s ease-in-out forwards;
}

/* Burgo */
#remgrafik-module .burgo-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    justify-content: center;
    align-items: center;
}

#remgrafik-module .delicate-frame {
    position: relative;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(0, 71, 255, 0.3);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 0 30px rgba(0, 71, 255, 0.1), inset 0 0 30px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

#remgrafik-module .delicate-frame::before,
#remgrafik-module .delicate-frame::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 3px solid var(--brand-neon);
}

#remgrafik-module .delicate-frame::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
    border-radius: 6px 0 0 0;
}

#remgrafik-module .delicate-frame::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 6px 0;
}

#remgrafik-module .logo-flex-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-direction: column;
}

#remgrafik-module .burger-icon-box {
    position: relative;
    width: 120px;
    height: 120px;
}

#remgrafik-module .burger-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

#remgrafik-module .burger-line {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 130;
    stroke-dashoffset: 130;
    animation: vectorCycle 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

#remgrafik-module .bun-top {
    stroke: var(--bun-color);
}

#remgrafik-module .filling {
    stroke: var(--veg-color);
    animation-delay: 0.1s;
}

#remgrafik-module .meat {
    stroke: var(--meat-color);
    animation-delay: 0.15s;
}

#remgrafik-module .bun-bottom {
    stroke: var(--bun-color);
    animation-delay: 0.2s;
}

#remgrafik-module .dot-anim {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    box-shadow: 0 0 15px #fff;
    z-index: 10;
    animation: dotCycle 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

#remgrafik-module .burger-text-logo {
    font-family: var(--font-logo);
    font-size: 3.5rem;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1;
    opacity: 0;
    transform: translateX(-30px);
    animation: textReveal 8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    text-shadow: 0 0 20px rgba(0, 71, 255, 0.5);
}

#remgrafik-module .burgo-text-content {
    flex: 1;
    width: 100%;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

#remgrafik-module .burgo-text-content h2 {
    font-family: var(--f-syne);
    font-size: 2rem;
    color: var(--c-white);
    margin-bottom: 1rem;
    font-weight: 800;
}

#remgrafik-module .burgo-text-content .description {
    font-size: 1rem;
    max-width: none;
    color: #d1d5db;
    width: 100%;
}

/* Marquee */
#remgrafik-module .logo-marquee-section {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0 3rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#remgrafik-module .marquee-track {
    display: flex;
    width: max-content;
    gap: 5rem;
    animation: marqueeScroll 30s linear infinite;
    will-change: transform;
}

#remgrafik-module .partner-logo {
    height: 3.5rem;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%) brightness(1.2);
    transition: all 0.3s ease;
}

#remgrafik-module .partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(1);
}

#remgrafik-module .realizations-caption {
    text-align: center;
    font-family: var(--f-outfit);
    color: var(--c-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    opacity: 0.7;
    font-weight: 500;
}

/* Symbols & Code */
#remgrafik-module .symbol-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

#remgrafik-module .orbit-ring {
    position: absolute;
    inset: 0;
    border: 1px dashed var(--brand-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: spin-slow 20s linear infinite;
    will-change: transform;
}

#remgrafik-module .core-glow {
    position: absolute;
    inset: 20%;
    background: var(--brand-blue);
    filter: blur(80px);
    opacity: 0.4;
    animation: pulse 3s infinite;
}

#remgrafik-module .center-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--c-black);
    border: 1px solid var(--brand-neon);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 71, 255, 0.3);
    z-index: 2;
}

#remgrafik-module .center-box span {
    font-size: 3rem;
    color: var(--brand-neon);
}

#remgrafik-module .float-tag {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: white;
    animation: float 5s ease-in-out infinite;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#remgrafik-module .tag-1 {
    top: 0;
    right: 0;
    border-color: var(--brand-blue);
}

#remgrafik-module .tag-2 {
    bottom: 20px;
    left: 0;
    animation-delay: 1.5s;
}

#remgrafik-module .code-section-wrapper {
    position: relative;
    width: 100%;
}

#remgrafik-module .code-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
}

#remgrafik-module .code-desc-col {
    flex: 1;
    position: sticky;
    top: 25vh;
    padding-bottom: 4rem;
}

#remgrafik-module .code-desc-col h3 {
    color: var(--brand-neon);
    font-family: var(--f-syne);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#remgrafik-module .code-desc-col h2 {
    font-family: var(--f-syne);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

#remgrafik-module .code-desc-col p {
    color: var(--c-gray-500);
    line-height: 1.7;
    margin-bottom: 2rem;
}

#remgrafik-module .stats-row {
    display: flex;
    gap: 2rem;
}

#remgrafik-module .stat-box h4 {
    font-family: var(--f-syne);
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.2rem;
}

#remgrafik-module .stat-box span {
    font-size: 0.8rem;
    color: var(--brand-neon);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#remgrafik-module .code-scroll-track {
    flex: 1.5;
    height: 300vh;
    position: relative;
}

#remgrafik-module .code-sticky-container {
    position: sticky;
    top: 15vh;
    width: 100%;
}

#remgrafik-module .code-window-panel {
    background: rgba(5, 5, 5, 0.95);
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, border-color 0.3s;
}

#remgrafik-module .code-window-panel:hover {
    border-color: var(--brand-neon);
    transform: translateY(-5px);
}

#remgrafik-module .window-bar {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#remgrafik-module .dots {
    display: flex;
    gap: 0.5rem;
}

#remgrafik-module .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

#remgrafik-module .dot.r {
    background: #ff5f56;
}

#remgrafik-module .dot.y {
    background: #ffbd2e;
}

#remgrafik-module .dot.g {
    background: #27c93f;
}

#remgrafik-module .filename {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: var(--c-gray-500);
}

#remgrafik-module .code-content {
    padding: 2rem;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

#remgrafik-module .code-block {
    font-family: var(--font-code);
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre;
    margin: 0;
}

#remgrafik-module .layer-absolute {
    position: absolute;
    top: 2rem;
    left: 2rem;
}

#remgrafik-module .layer-bg {
    color: #333;
    z-index: 0;
    user-select: none;
}

#remgrafik-module .layer-gradient {
    z-index: 10;
    font-weight: 500;
    background: linear-gradient(90deg, #fff, #2E86FF, #0047FF, #fff);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 8s linear infinite;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.1s linear;
    will-change: clip-path;
}

#remgrafik-module .layer-ghost {
    opacity: 0;
    pointer-events: none;
    position: relative;
}

#remgrafik-module .progress-container {
    width: 100%;
    height: 2px;
    background: #111;
    margin-top: 1rem;
    position: relative;
}

#remgrafik-module .code-progress-bar {
    height: 100%;
    background: var(--brand-neon);
    width: 0%;
    will-change: width;
}

/* Portfolio */
#remgrafik-module .portfolio-section {
    padding: 8rem 0;
    position: relative;
}

#remgrafik-module .portfolio-header {
    text-align: center;
    margin-bottom: 5rem;
}

#remgrafik-module .portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    width: 100%;
}

#remgrafik-module a.browser-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    position: relative;
    will-change: transform;
    contain: layout paint;
}

#remgrafik-module a.browser-card:hover {
    transform: translateY(-15px);
    border-color: var(--brand-neon);
    box-shadow: 0 20px 40px rgba(0, 71, 255, 0.15);
}

#remgrafik-module .browser-header {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 0.4rem;
    align-items: center;
    flex-shrink: 0;
    z-index: 2;
}

#remgrafik-module .browser-address-bar {
    margin-left: 1rem;
    height: 8px;
    width: 50%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

#remgrafik-module .browser-content {
    height: 250px;
    position: relative;
    background: #080808;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#remgrafik-module .browser-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
    opacity: 0.8;
    will-change: transform;
}

#remgrafik-module a.browser-card:hover .browser-content img {
    transform: scale(1.05);
    opacity: 1;
}

#remgrafik-module .card-info {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

#remgrafik-module .card-title-port {
    font-family: var(--f-syne);
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.5rem;
}

#remgrafik-module .card-cat {
    font-size: 0.8rem;
    color: var(--brand-neon);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#remgrafik-module .visit-btn {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--c-gray-500);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

#remgrafik-module a.browser-card:hover .visit-btn {
    color: white;
}

#remgrafik-module .graphic-layers-container {
    position: relative;
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

#remgrafik-module .layer-plate {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    transition: transform 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    will-change: transform;
}

#remgrafik-module .graphic-layers-container:hover .layer-bottom {
    transform: rotateX(60deg) rotateZ(-30deg) translateZ(-50px) translateY(20px);
    opacity: 0.5;
}

#remgrafik-module .graphic-layers-container:hover .layer-middle {
    transform: rotateX(60deg) rotateZ(-30deg) translateZ(0px);
    opacity: 0.8;
}

#remgrafik-module .graphic-layers-container:hover .layer-top {
    transform: rotateX(60deg) rotateZ(-30deg) translateZ(80px) translateY(-20px);
}

#remgrafik-module .layer-bottom,
#remgrafik-module .layer-middle,
#remgrafik-module .layer-top {
    transform: rotateX(60deg) rotateZ(-30deg) translateZ(0);
    animation: float-layers 6s ease-in-out infinite;
}

#remgrafik-module .layer-bottom {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#remgrafik-module .layer-middle {
    background: transparent;
    border: 1px dashed var(--brand-neon);
    animation-delay: 0.2s;
}

#remgrafik-module .layer-top {
    background: rgba(0, 71, 255, 0.1);
    border: 1px solid var(--brand-blue);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation-delay: 0.4s;
}

#remgrafik-module .grid-lines {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

#remgrafik-module .vector-shape {
    width: 50%;
    height: 50%;
    border: 2px solid var(--brand-neon);
    border-radius: 50%;
}

#remgrafik-module .typo-content {
    font-family: var(--f-syne);
    font-weight: 800;
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 0 20px var(--brand-blue);
}

#remgrafik-module .graphic-gallery-section {
    padding-bottom: 8rem;
    position: relative;
    border-radius: 1.5rem;
    padding: 3rem;
    margin-top: 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #020202 0%, #000a1f 50%, #002c9e 100%);
    border: 1px solid rgba(0, 71, 255, 0.25);
    box-shadow: 0 0 80px -20px rgba(0, 71, 255, 0.25);
}

#remgrafik-module .graphic-gallery-section .realizations-caption {
    text-align: left;
    margin-bottom: 4rem;
    transform: translateY(-10px);
    display: block;
}

#remgrafik-module .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    grid-auto-flow: dense;
}

#remgrafik-module .g-item {
    position: relative;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    will-change: transform;
    contain: layout paint;
}

#remgrafik-module .g-item:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue);
    box-shadow: 0 10px 40px -10px rgba(0, 71, 255, 0.3);
    z-index: 2;
}

#remgrafik-module .g-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    opacity: 0.8;
    will-change: transform;
}

#remgrafik-module .g-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

#remgrafik-module .g-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    font-size: 0.7rem;
    color: #fff;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* FAQ */
#remgrafik-module .faq-modern-section {
    position: relative;
    background: var(--c-black);
    color: var(--c-white);
    padding-bottom: 6rem;
    overflow: hidden;
}

#remgrafik-module .faq-modern-section .container-new {
    padding: 5rem 1.5rem;
}

#remgrafik-module .main-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

#remgrafik-module .faq-headline {
    margin-bottom: 2rem;
    color: var(--c-white);
}

#remgrafik-module .faq-description {
    color: var(--c-gray-400);
    font-family: var(--f-outfit);
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 400px;
}

#remgrafik-module .faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

#remgrafik-module .faq-item:hover {
    border-color: var(--c-electric);
    padding-left: 1.5rem;
    background: linear-gradient(90deg, rgba(0, 71, 255, 0.05) 0%, transparent 100%);
}

#remgrafik-module .faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

#remgrafik-module .faq-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#remgrafik-module .faq-number {
    font-family: monospace;
    color: var(--c-electric);
    font-size: 0.9rem;
    opacity: 0.7;
}

#remgrafik-module .faq-question {
    font-family: var(--f-syne);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--c-white);
    transition: color 0.3s;
}

#remgrafik-module .icon-plus {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s;
}

#remgrafik-module .faq-item.active .icon-plus {
    transform: rotate(45deg);
    color: var(--c-electric);
}

#remgrafik-module .faq-item.active .faq-question {
    color: var(--c-electric);
}

#remgrafik-module .faq-content-text {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0.5;
    transition: grid-template-rows 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}

#remgrafik-module .faq-content-text.open {
    grid-template-rows: 1fr;
    opacity: 1;
}

#remgrafik-module .faq-inner {
    overflow: hidden;
}

#remgrafik-module .faq-answer-p {
    padding-top: 1.5rem;
    color: var(--c-gray-400);
    font-family: var(--f-outfit);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
}

#remgrafik-module .view-all-wrapper {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 2rem;
}

#remgrafik-module .view-all-wrapper::before,
#remgrafik-module .view-all-wrapper::after {
    content: '';
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    flex: 1;
}

#remgrafik-module .view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--f-syne);
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--c-white);
    position: relative;
}

#remgrafik-module .view-all-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--c-electric);
    transition: width 0.3s ease;
}

#remgrafik-module .view-all-link:hover {
    color: var(--c-electric);
}

#remgrafik-module .view-all-link:hover::after {
    width: 100%;
}

#remgrafik-module .view-all-link:hover .arrow-icon {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Footer */
#remgrafik-module .footer-contact-section {
    background: var(--c-darkgray);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    content-visibility: auto;
}

#remgrafik-module .footer-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

#remgrafik-module .footer-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

#remgrafik-module .footer-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

#remgrafik-module .footer-desc-text {
    color: var(--c-gray-400);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 35rem;
}

#remgrafik-module .footer-contact-info p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

#remgrafik-module .footer-card {
    background: var(--c-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3.5rem;
    width: 100%;
    box-shadow: var(--shadow-strong);
}

#remgrafik-module .footer-card input,
#remgrafik-module .footer-card textarea {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

#remgrafik-module .footer-card .btn-submit {
    padding: 1.25rem;
    font-size: 1.25rem;
}

#remgrafik-module .static-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

#remgrafik-module .contact-service-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--c-gray-400);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--trans-default);
    font-family: var(--f-outfit);
}

#remgrafik-module .contact-service-toggle:hover {
    border-color: var(--c-electric);
    color: var(--c-white);
}

#remgrafik-module .contact-service-toggle.active {
    background: rgba(0, 71, 255, 0.1);
    border-color: var(--c-electric);
    color: var(--c-electric);
    font-weight: 700;
}

#remgrafik-module .hero-title:hover .glitch-content {
    animation: glitch 0.3s cubic-bezier(.25, .46, .45, .94) both infinite;
    color: var(--c-electric);
}

.glitch-content {
    display: inline-block;
}

/* --- CONSOLIDATED MEDIA QUERIES (POPRAWIONA KOLEJNOŚĆ) --- */

/* 1. Mobile Small (min 600px) */
@media (min-width: 600px) {
    #remgrafik-module .logo-flex-container {
        flex-direction: row;
        gap: 2rem;
    }
}

/* 2. Tablet (min 768px) */
@media (min-width: 768px) {

    .cursor-dot,
    .cursor-outline {
        display: block;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    #remgrafik-module .hero-title,
    #remgrafik-module .faq-headline,
    #remgrafik-module .footer-headline {
        font-size: 6rem;
        line-height: 1;
    }

    #remgrafik-module .hero-desc {
        font-size: 1.25rem;
    }

    /* Bazowo 2 kolumny na tablecie */
    #remgrafik-module .services-grid,
    #remgrafik-module .form-grid,
    #contact-modal .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #remgrafik-module .selected-icons-preview {
        display: flex;
    }

    #remgrafik-module .process-steps-new {
        flex-direction: row !important;
        gap: 2rem;
    }

    #remgrafik-module .process-divider {
        display: block !important;
        margin-top: 0;
    }

    #remgrafik-module .bg-number span {
        font-size: 12rem;
    }

    #remgrafik-module .delicate-frame {
        padding: 4rem 3rem;
    }

    #remgrafik-module .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
    }

    #remgrafik-module .g-item.tall {
        grid-row: span 2;
    }

    #remgrafik-module .g-item.wide {
        grid-column: span 2;
    }

    #remgrafik-module .faq-title-wrapper {
        flex-direction: row;
        align-items: baseline;
        gap: 2rem;
    }

    #remgrafik-module .faq-answer-p {
        padding-left: 3.5rem;
    }
}

/* 3. Desktop / Tablet Large (min 1024px) */
@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    h1 {
        font-size: 4.5rem;
    }

    .hero-visual {
        height: 700px;
        justify-content: center;
    }

    #remgrafik-module .hero-section {
        grid-template-columns: repeat(2, 1fr);
    }

    /* TU JEST POPRAWKA: Nadpisujemy na 4 kolumny dla desktopu */
    #remgrafik-module .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    #remgrafik-module .main-title {
        font-size: 4.5rem;
    }

    #remgrafik-module .portfolio-subtitle {
        font-size: 1.25rem;
    }

    #remgrafik-module .split-layout {
        grid-template-columns: 1fr 1fr;
    }

    #remgrafik-module .visual-column {
        height: 600px;
    }

    #remgrafik-module .burgo-layout {
        flex-direction: row;
        align-items: center;
        gap: 5rem;
    }

    #remgrafik-module .burger-icon-box {
        width: 160px;
        height: 160px;
    }

    #remgrafik-module .burger-text-logo {
        font-size: 5.5rem;
    }

    #remgrafik-module .burgo-text-content {
        border-top: none;
        border-left: 2px solid rgba(255, 255, 255, 0.1);
        padding-top: 0;
        padding-left: 3rem;
    }

    #remgrafik-module .burgo-text-content h2 {
        font-size: 3rem;
    }

    #remgrafik-module .burgo-text-content .description {
        font-size: 1.2rem;
    }

    #remgrafik-module .code-layout {
        flex-direction: row;
        align-items: flex-start;
    }

    #remgrafik-module .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #remgrafik-module .main-wrapper {
        flex-direction: row;
        gap: 5rem;
    }

    #remgrafik-module .left-col {
        width: 35%;
    }

    #remgrafik-module .right-col {
        width: 65%;
    }

    #remgrafik-module .sticky-content {
        position: sticky;
        top: 150px;
    }

    #remgrafik-module .footer-layout {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    #remgrafik-module .footer-left {
        align-items: flex-start;
        text-align: left;
    }
}

/* Mobile Optimization (< 1024px) */
@media (max-width: 1024px) {
    .hero {
            /* Fallback dla starych przeglądarek */
            height: 100vh;
            /* Nowoczesna jednostka: dopasowuje się do paska adresu */
            height: 100dvh;
    
            min-height: auto;
            padding-top: 70px;
            align-items: flex-start;
            overflow: hidden;
        }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        width: 100%;
        gap: 0;
        padding-bottom: 2rem;
    }

    .hero-text-side {
        display: contents;
    }

    .badge {
        order: 1;
        transform: scale(0.85);
        margin-bottom: 0.5rem;
        margin-top: 5vh;
    }

    h1 {
        order: 2;
        font-size: 2.4rem;
        line-height: 1;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .subtitle-box {
        order: 3;
        border: none;
        padding: 0;
        align-items: center;
        text-align: center;
        gap: 0.2rem;
        margin-bottom: 0;
        max-width: 95%;
    }

    .subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
        color: #9ca3af;
        margin-bottom: 0.2rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .roles {
        justify-content: center;
        font-size: 0.65rem;
        margin-top: 0.2rem;
    }

    .hero-visual {
        order: 4;
        width: 100%;
        height: 25vh;
        min-height: 180px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 5;
        pointer-events: none;
        margin-top: 5vh;
    }

    .tilt-wrapper {
        transform: scale(0.45) !important;
        margin-top: 0;
    }

    .cta-group {
        order: 5;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: auto;
        padding-bottom: 3rem;
        position: relative;
        z-index: 50;
    }

    .btn-hero {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
        width: auto;
    }

    .btn-hero svg,
    .btn-scroll svg {
        width: 18px;
        height: 18px;
    }

    .btn-scroll {
        font-size: 0.75rem;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.05);
        padding: 0.6rem 0.8rem;
        border-radius: 99px;
    }

    .visual-blob-1,
    .visual-blob-2 {
        opacity: 0.2;
        transform: scale(0.6);
    }

    .hero-glow {
        opacity: 0.4;
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    .navbar-container {
        justify-content: flex-end;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    #remgrafik-module .view-all-wrapper {
        gap: 1rem;
    }

    #remgrafik-module .radar-container,
    #remgrafik-module .graphic-layers-container,
    #remgrafik-module .progress-container {
        display: none !important;
    }

    #remgrafik-module .service-card,
    #remgrafik-module button,
    #remgrafik-module a {
        -webkit-tap-highlight-color: transparent;
    }

    #remgrafik-module .viewport-section,
    #remgrafik-module .portfolio-section,
    #remgrafik-module .faq-modern-section,
    #remgrafik-module .footer-contact-section {
        padding: 3rem 0 !important;
        overflow: hidden;
    }

    #remgrafik-module .container,
    #remgrafik-module .container-new {
        width: 100% !important;
        padding: 0 10vw !important;
        margin: 0 auto !important;
    }

    #remgrafik-module .code-section-wrapper .container {
        padding: 0 2.5rem !important;
    }

    #remgrafik-module .visual-column {
        height: auto !important;
        min-height: 0 !important;
        max-width: 100% !important;
        transform: scale(0.9);
    }

    #remgrafik-module .symbol-wrapper {
        max-width: 100% !important;
        transform: scale(0.9);
    }

    #remgrafik-module .burgo-layout {
        flex-direction: column-reverse !important;
        gap: 2rem !important;
    }

    #remgrafik-module .burgo-text-content {
        border-top: none !important;
        padding-top: 0 !important;
        margin-bottom: 1rem !important;
    }

    #remgrafik-module .resonik-highlight {
        font-size: 1.5em !important;
        margin: -4px 0 0 4px !important;
    }

    #remgrafik-module .main-title {
        font-size: 2rem !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    #remgrafik-module .footer-headline {
        font-size: 2.5rem !important;
        word-wrap: break-word;
    }

    #remgrafik-module .service-card:hover {
        transform: none !important;
        box-shadow: none !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        background: var(--c-darkgray) !important;
    }

    #remgrafik-module .service-card:hover .selection-indicator {
        background: transparent !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
    }

    #remgrafik-module .service-card:hover .indicator-icon {
        opacity: 0 !important;
    }

    #remgrafik-module .service-card:hover .card-title {
        color: var(--c-white) !important;
    }

    #remgrafik-module .service-card.active {
        border-color: var(--c-electric) !important;
        box-shadow: 0 0 30px rgba(0, 71, 255, 0.2) !important;
        background: rgba(0, 71, 255, 0.03) !important;
    }

    #remgrafik-module .service-card.active .selection-indicator {
        background: var(--c-electric) !important;
        border-color: var(--c-electric) !important;
    }

    #remgrafik-module .service-card.active .indicator-icon {
        opacity: 1 !important;
        color: var(--c-white) !important;
    }

    #remgrafik-module .service-card.active .card-title {
        color: var(--c-electric) !important;
    }

    #remgrafik-module .code-scroll-track {
        height: auto !important;
        display: block !important;
    }

    #remgrafik-module .code-sticky-container {
        position: relative !important;
        top: 0 !important;
    }

    #remgrafik-module .code-window-panel,
    #remgrafik-module .code-window-panel:hover {
        transition: none !important;
        transform: none !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    #remgrafik-module .layer-gradient {
        clip-path: inset(0 0 0 0) !important;
        transition: none !important;
        animation: none !important;
        background: linear-gradient(90deg, #2E86FF, #0047FF) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        opacity: 1 !important;
        z-index: 20 !important;
    }

    #remgrafik-module .footer-card {
        background: rgba(10, 10, 10, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 1.25rem !important;
        margin-top: 1.5rem !important;
        border-radius: 1rem !important;
    }

    #remgrafik-module .form-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    #remgrafik-module .footer-card input,
    #remgrafik-module .footer-card textarea {
        font-size: 16px !important;
        border-radius: 0.5rem !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        width: 100%;
    }

    #remgrafik-module .footer-card input {
        height: 3rem !important;
        padding: 0 1rem !important;
        margin: 0 !important;
    }

    #remgrafik-module .footer-card input[type="tel"] {
        margin-bottom: 0.75rem !important;
    }

    #remgrafik-module .footer-card textarea {
        padding: 0.75rem 1rem !important;
        min-height: 80px !important;
        height: 5rem !important;
    }

    #remgrafik-module .checkbox-wrapper {
        margin-top: 0.75rem !important;
        font-size: 0.75rem !important;
    }

    #remgrafik-module .checkbox-wrapper input[type="checkbox"] {
        width: 1rem !important;
        height: 1rem !important;
    }

    #remgrafik-module .btn-submit {
        width: 100% !important;
        margin-top: 1rem !important;
        padding: 0.8rem !important;
        font-size: 1rem !important;
        border-radius: 0.5rem !important;
        height: auto !important;
    }

    #remgrafik-module .selected-tags-box {
        margin-bottom: 1rem !important;
        padding: 0.5rem !important;
    }

    #remgrafik-module .tags-label {
        margin-bottom: 0.25rem !important;
    }
}

@media (max-width: 600px) {

    .bar-label,
    .selected-icons-preview {
        display: none;
    }

    #project-bar {
        padding: 0.75rem;
        width: 95%;
    }

    .bar-icon-wrap {
        width: 2rem;
        height: 2rem;
    }

    .bar-count {
        font-size: 0.9rem;
    }

    #project-bar .btn-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-height: 700px) and (max-width: 1024px) {
    .hero-visual {
        height: 110px;
    }

    h1 {
        font-size: 1.7rem;
    }

    .tilt-wrapper {
        transform: scale(0.60) !important;
    }
}

@media (max-height: 600px) and (max-width: 1024px) {
    .badge {
        margin-top: 80px;
    }

    .hero-visual {
        margin-top: 2vh;
        height: 150px;
    }

    .cta-group {
        padding-bottom: 1rem;
    }
}

/* ==========================================================================
   RATUNKOWY BLOK ANIMACJI (REPAIR KIT)
   Wklej to na SAMYM KOŃCU pliku style.css
   ========================================================================== */

/* 1. KEYFRAMES (Upewniamy się, że definicje istnieją i są poprawne) */
@keyframes scan {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes vectorCycle {

    0%,
    10% {
        stroke-dashoffset: 130;
    }

    30% {
        stroke-dashoffset: 0;
    }

    70% {
        stroke-dashoffset: 0;
        opacity: 1;
    }

    85%,
    100% {
        stroke-dashoffset: -130;
        opacity: 0;
    }
}

@keyframes dotCycle {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    5% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }

    12% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }

    83% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    88% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 1;
    }

    95%,
    100% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
}

@keyframes textReveal {

    0%,
    35% {
        opacity: 0;
        transform: translateX(-30px);
    }

    45%,
    70% {
        opacity: 1;
        transform: translateX(0);
    }

    85%,
    100% {
        opacity: 0;
        transform: translateX(15px);
    }
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.333%);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.33);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes float-layers {

    0%,
    100% {
        transform: rotateX(60deg) rotateZ(-30deg) translateZ(0) translateY(0);
    }

    50% {
        transform: rotateX(60deg) rotateZ(-30deg) translateZ(30px) translateY(-10px);
    }
}

/* 2. LOGIKA SCROLLOWANIA (Tylko dla kontenerów!) */
@keyframes autoReveal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Aplikujemy efekt wejścia TYLKO do głównych bloków */
#remgrafik-module section>.container,
#remgrafik-module section>.container-new,
#remgrafik-module .logo-marquee-section {
    animation: autoReveal linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 25%;
}

/* 3. NAPRAWA "GLITCH CONTENT" (Nagłówek) */
/* Resetujemy animację wejścia dla spanów wewnątrz nagłówka, żeby nie kolidowała z glitchem */
#remgrafik-module .glitch-content,
#remgrafik-module .gradient-text {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* Przywracamy animację gradientu */
#remgrafik-module .gradient-text {
    background-size: 200% auto;
    animation: textShine 5s linear infinite !important;
}

/* 4. IZOLACJA ANIMACJI PĘTLOWYCH (CRITICAL FIX) */
/* Te elementy muszą ignorować scroll-timeline i używać zwykłego czasu */

/* Radar */
#remgrafik-module .radar-scan {
    animation: scan 4s linear infinite !important;
    animation-timeline: auto !important;
    /* To jest klucz do naprawy */
}

#remgrafik-module .pulse-circle {
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite !important;
    animation-timeline: auto !important;
}

/* Burgo */
#remgrafik-module .burger-line {
    animation: vectorCycle 8s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
    animation-timeline: auto !important;
    stroke-dasharray: 130 !important;
    /* Wymuszamy startowe wartości SVG */
}

#remgrafik-module .dot-anim {
    animation: dotCycle 8s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
    animation-timeline: auto !important;
}

#remgrafik-module .burger-text-logo {
    animation: textReveal 8s cubic-bezier(0.65, 0, 0.35, 1) infinite !important;
    animation-timeline: auto !important;
}

/* Marquee */
#remgrafik-module .marquee-track {
    animation: marqueeScroll 30s linear infinite !important;
    animation-timeline: auto !important;
    width: max-content !important;
    /* Zabezpieczenie szerokości */
}

/* 3D Layers (Projekty Graficzne) */
#remgrafik-module .layer-bottom,
#remgrafik-module .layer-middle,
#remgrafik-module .layer-top {
    animation: float-layers 6s ease-in-out infinite !important;
    animation-timeline: auto !important;
}

/* 5. OBSŁUGA STARSZYCH PRZEGLĄDAREK (Bezpieczniejsza wersja) */
@supports not (animation-timeline: view()) {

    /* Jeśli przeglądarka nie umie w scroll-animations, po prostu pokaż wszystko */
    #remgrafik-module section>.container,
    #remgrafik-module section>.container-new,
    #remgrafik-module .logo-marquee-section {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

/* --- TŁO: KRATKA (NOTES) --- */
.notebook-bg {
    /* 1. Kolor bazowy (czarny) */
    background-color: #000000;

    /* 2. Rysowanie linii (pionowe i poziome) */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);

    /* 3. Wielkość kratki (30px na 30px) */
    background-size: 30px 30px;

    /* 4. Pozycjonowanie (żeby kratka nie "skakała" między sekcjami) */
    background-attachment: fixed;
    background-position: center top;
}
}
/* --- MOBILE OPTIMIZATION (< 1024px) --- */
@media (max-width: 1024px) {

    /* 1. Ustawienia układu */
    .hero {
        height: 100vh;
        min-height: auto;
        padding-top: 70px;
        align-items: flex-start;
        overflow: hidden;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        height: 100%;
        width: 100%;
        gap: 0;
        padding-bottom: 2rem;
    }

    .hero-text-side {
        display: contents;
    }

    /* 2. Teksty i Nagłówki */
    .badge {
        order: 1;
        transform: scale(0.85);
        margin-bottom: 0.5rem;
        margin-top: 5vh;
    }

    h1 {
        order: 2;
        font-size: 2.4rem;
        line-height: 1;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .subtitle-box {
        order: 3;
        border: none;
        padding: 0;
        align-items: center;
        text-align: center;
        gap: 0.2rem;
        margin-bottom: 0;
        max-width: 95%;
    }

    .subtitle {
        font-size: 0.8rem;
        line-height: 1.3;
        color: #9ca3af;
        margin-bottom: 0.2rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .roles {
        justify-content: center;
        font-size: 0.65rem;
        margin-top: 0.2rem;
    }

    /* 3. OBIEKT 3D - WIĘKSZY I NIŻEJ */
    .hero-visual {
        order: 4;
        width: 100%;
        height: 35vh;
        /* Troszkę więcej miejsca */
        min-height: 200px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 5;
        pointer-events: none;
        margin-top: 5vh;
    }

    .tilt-wrapper {
        /* ZMIANA: Powiększenie do 0.42 i przesunięcie w dół o 15% */
        transform: scale(0.52) translateY(30%) !important;
        margin-top: 0;
    }

    /* --- TURBO MODE (Wyłączamy ciężkie efekty) --- */
    .visual-blob-1,
    .visual-blob-2,
    .hero-glow {
        display: none !important;
    }

    .stage-3::before,
    .stage-2::before {
        display: none !important;
        animation: none !important;
    }

    .layer {
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }

    .floor-shadow {
        opacity: 0.4 !important;
        animation: none !important;
    }

    /* 4. Przyciski */
    .cta-group {
        order: 5;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: auto;
        padding-bottom: 3rem;
        position: relative;
        z-index: 50;
    }

    .btn-hero {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
        width: auto;
    }

    .btn-hero svg,
    .btn-scroll svg {
        width: 18px;
        height: 18px;
    }

    .btn-scroll {
        font-size: 0.75rem;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.05);
        padding: 0.6rem 0.8rem;
        border-radius: 99px;
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    .navbar-container {
        justify-content: flex-end;
        position: relative;
    }

    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    /* ODSTĘPY MIĘDZY SEKCJAMI (ZMNIEJSZONE) */
    #remgrafik-module .viewport-section,
    #remgrafik-module .portfolio-section,
    #remgrafik-module .faq-modern-section,
    #remgrafik-module .footer-contact-section {
        padding: 1 rem 0 !important;
        /* Zmniejszone z 3rem */
        overflow: hidden;
    }

    #remgrafik-module .view-all-wrapper {
        gap: 1rem;
    }

    #remgrafik-module .radar-container,
    #remgrafik-module .graphic-layers-container,
    #remgrafik-module .progress-container {
        display: none !important;
    }

    #remgrafik-module .service-card,
    #remgrafik-module button,
    #remgrafik-module a {
        -webkit-tap-highlight-color: transparent;
    }

    #remgrafik-module .container,
    #remgrafik-module .container-new {
        width: 100% !important;
        padding: 0 1.5rem !important;
        margin: 0 auto !important;
    }

    #remgrafik-module .code-section-wrapper .container {
        padding: 0 1.5rem !important;
    }

    #remgrafik-module .visual-column {
        height: auto !important;
        min-height: 0 !important;
        max-width: 100% !important;
        transform: scale(0.9);
    }

    #remgrafik-module .symbol-wrapper {
        max-width: 100% !important;
        transform: scale(0.9);
    }

    #remgrafik-module .burgo-layout {
        flex-direction: column-reverse !important;
        gap: 2rem !important;
    }

    #remgrafik-module .burgo-text-content {
        border-top: none !important;
        padding-top: 0 !important;
        margin-bottom: 1rem !important;
    }

    #remgrafik-module .resonik-highlight {
        font-size: 1.5em !important;
        margin: -4px 0 0 4px !important;
    }

    #remgrafik-module .main-title {
        font-size: 2rem !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }

    #remgrafik-module .footer-headline {
        font-size: 2.5rem !important;
        word-wrap: break-word;
    }

    #remgrafik-module .service-card:hover {
        transform: none !important;
        box-shadow: none !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        background: var(--c-darkgray) !important;
    }

    #remgrafik-module .service-card:hover .selection-indicator {
        background: transparent !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
    }

    #remgrafik-module .service-card:hover .indicator-icon {
        opacity: 0 !important;
    }

    #remgrafik-module .service-card:hover .card-title {
        color: var(--c-white) !important;
    }

    #remgrafik-module .service-card.active {
        border-color: var(--c-electric) !important;
        box-shadow: 0 0 30px rgba(0, 71, 255, 0.2) !important;
        background: rgba(0, 71, 255, 0.03) !important;
    }

    #remgrafik-module .service-card.active .selection-indicator {
        background: var(--c-electric) !important;
        border-color: var(--c-electric) !important;
    }

    #remgrafik-module .service-card.active .indicator-icon {
        opacity: 1 !important;
        color: var(--c-white) !important;
    }

    #remgrafik-module .service-card.active .card-title {
        color: var(--c-electric) !important;
    }

    #remgrafik-module .code-scroll-track {
        height: auto !important;
        display: block !important;
    }

    #remgrafik-module .code-sticky-container {
        position: relative !important;
        top: 0 !important;
    }

    #remgrafik-module .code-window-panel,
    #remgrafik-module .code-window-panel:hover {
        transition: none !important;
        transform: none !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    #remgrafik-module .layer-gradient {
        clip-path: inset(0 0 0 0) !important;
        transition: none !important;
        animation: none !important;
        background: linear-gradient(90deg, #2E86FF, #0047FF) !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        opacity: 1 !important;
        z-index: 20 !important;
    }

    #remgrafik-module .footer-card {
        background: rgba(10, 10, 10, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        padding: 1.25rem !important;
        margin-top: 1.5rem !important;
        border-radius: 1rem !important;
    }

    #remgrafik-module .form-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    #remgrafik-module .footer-card input,
    #remgrafik-module .footer-card textarea {
        font-size: 16px !important;
        border-radius: 0.5rem !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        width: 100%;
    }

    #remgrafik-module .footer-card input {
        height: 3rem !important;
        padding: 0 1rem !important;
        margin: 0 !important;
    }

    #remgrafik-module .footer-card input[type="tel"] {
        margin-bottom: 0.75rem !important;
    }

    #remgrafik-module .footer-card textarea {
        padding: 0.75rem 1rem !important;
        min-height: 80px !important;
        height: 5rem !important;
    }

    #remgrafik-module .checkbox-wrapper {
        margin-top: 0.75rem !important;
        font-size: 0.75rem !important;
    }

    #remgrafik-module .checkbox-wrapper input[type="checkbox"] {
        width: 1rem !important;
        height: 1rem !important;
    }

    #remgrafik-module .btn-submit {
        width: 100% !important;
        margin-top: 1rem !important;
        padding: 0.8rem !important;
        font-size: 1rem !important;
        border-radius: 0.5rem !important;
        height: auto !important;
    }

    #remgrafik-module .selected-tags-box {
        margin-bottom: 1rem !important;
        padding: 0.5rem !important;
    }

    #remgrafik-module .tags-label {
        margin-bottom: 0.25rem !important;
    }

       
    
}

/* Styl dla nowego tła zamiast obrazka */
.card-gradient-bg {
    width: 100%;
    height: 100%;
    /* Gradient pasujący do Twojej strony */
    background: linear-gradient(135deg, #a1c4fd 0%, #ffdb91 100%);
    display: block;
}

/* Upewnij się, że wrapper ma odpowiednie wymiary */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px; /* Dostosuj wysokość do swoich potrzeb */
    overflow: hidden;
}

/* 1. TŁO MODALA (Cały ekran) */
#confirmation-modal {
    display: none;
    /* WAŻNE: Domyślnie ukryty! */
    position: fixed;
    /* Przyklejony do ekranu */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Półprzezroczyste czarne tło */
    z-index: 99999;
    /* Zawsze na wierzchu */

    /* Centrowanie okienka */
    justify-content: center;
    align-items: center;
}

/* Klasa dodawana przez JS, żeby pokazać modal */
#confirmation-modal.active {
    display: flex;
    /* Zmienia się z none na flex, żeby wycentrować */
    animation: fadeIn 0.3s ease-in-out;
}

/* 2. SAMO OKIENKO (Biała karta) */
.modal-content-new {
    background: #ffffff;
    color: #333;
    /* Ciemny tekst */
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Przycisk zamknięcia (X) */
.modal-close-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.modal-close-new:hover {
    color: #000;
}

/* Animacja pojawiania się */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.material-icon-svg {
    width: 2em;       /* Ikona przyjmie wielkość tekstu */
    height: 2em;
    fill: currentColor; /* Ikona przyjmie kolor tekstu */
    display: inline-block;
    vertical-align: middle;
}

