/* ==========================================================================
   DESIGN SYSTEM & THEME CONFIGURATION V2
   ========================================================================== */

/* Fonts are preloaded and loaded via <link> in HTML <head> for optimal performance */

:root {
    --transition-speed: 0.6s;
    --transition-easing: cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height: 80px;
    --container-width: 1200px;
}

/* --------------------------------------------------------------------------
   THEME 1: LUXURY ELEGANT (.theme-elegant)
   -------------------------------------------------------------------------- */
.theme-elegant {
    /* Fonts */
    --font-title: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', Georgia, serif;

    /* Palette (Light mode: Sage Green & Gold V3) */
    --bg-primary: #f7f9f6;       /* Alabaster Warm White */
    --bg-secondary: #ffffff;     /* Pure White */
    --bg-accent: #eef3ed;        /* Soft Sage Green Background */
    --text-primary: #132416;     /* Deep Forest Green (Highly readable text) */
    --text-secondary: #5c6e60;   /* Muted Sage Grey */
    --accent: #bfa36c;           /* Satin Gold */
    --accent-secondary: #d1b77f; /* Champagne Gold */
    --accent-rgb: 191, 163, 108;
    --border-color: rgba(191, 163, 108, 0.25);

    /* Interface styles */
    --radius: 12px;
    --btn-radius: 40px;
    --card-shadow: 0 15px 35px rgba(19, 36, 22, 0.06);
    --theme-glow: 0 0 20px rgba(191, 163, 108, 0.2);
    --bg-switcher: rgba(255, 255, 255, 0.85);
    --border-switcher: rgba(191, 163, 108, 0.4);

    /* Logo styling */
    --logo-color: #132416;
    --logo-ear-color: #bfa36c;
    --logo-nose-color: #132416;
    --logo-font: 'Playfair Display', serif;
}

/* --------------------------------------------------------------------------
   THEME 2: CYBERPUNK READABLE (.theme-cyberpunk)
   -------------------------------------------------------------------------- */
.theme-cyberpunk {
    /* Fonts (Chakra Petch & Fira Code with full Polish diacritics support) */
    --font-title: 'Chakra Petch', sans-serif;
    --font-body: 'Fira Code', monospace;

    /* Palette (White body text for high readability) */
    --bg-primary: #030307;
    /* Cyber Void */
    --bg-secondary: #090912;
    /* Neon Grid Base */
    --bg-accent: #0f0f22;
    /* Subsystem Box */
    --text-primary: #ffffff;
    /* Solid White for high contrast */
    --text-secondary: #e2e8f0;
    /* Muted Light Gray (Highly readable) */
    --accent: #ff007f;
    /* Neon Pink */
    --accent-secondary: #00f0ff;
    /* Neon Cyan */
    --accent-rgb: 255, 0, 127;
    --border-color: #00f0ff;
    /* Cyan Grid Boundaries */

    /* Interface styles */
    --radius: 0px;
    /* Anti-organic hard angles */
    --btn-radius: 0px;
    --card-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
    --theme-glow: 0 0 30px rgba(255, 0, 127, 0.55);
    --bg-switcher: #090912;
    --border-switcher: #ff007f;

    /* Logo styling */
    --logo-color: #00f0ff;
    --logo-ear-color: #ff007f;
    --logo-nose-color: #ffe600;
    --logo-font: 'Chakra Petch', sans-serif;
}

/* --------------------------------------------------------------------------
   THEME 3: CZASY PRL - KRONIKA & KARTKI SKLEPOWE (.theme-minimalist)
   -------------------------------------------------------------------------- */
.theme-minimalist {
    /* Fonts */
    --font-title: 'Special Elite', 'Oswald', cursive;
    --font-body: 'Courier Prime', monospace;

    /* Palette (Coarse greyish newsprint paper, communist stamp red, carbon ink) */
    --bg-primary: #e5dec9;
    /* Szary papier pakowy / Gazeta PRL */
    --bg-secondary: #d8cea9;
    /* Karton tekturowy / Teczka biurowa */
    --bg-accent: #cbbe94;
    /* Szara tektura akcentowa */
    --text-primary: #181512;
    /* Tusz z kalki maszynowej */
    --text-secondary: #3e382b;
    /* Wyblakły tusz z taśmy */
    --accent: #b71c1c;
    /* Czerwony pieczątkowy PRL */
    --accent-hover: #8e1414;
    /* Głęboka czerwień tuszowa */
    --accent-secondary: #c28b1e;
    /* Żółć tabliczek sklepowych */
    --accent-rgb: 183, 28, 28;
    --border-color: #181512;
    /* Grube czarne linie druku */

    /* Interface styles */
    --radius: 0px;
    --btn-radius: 0px;
    --card-shadow: 4px 4px 0px #181512;
    --theme-glow: none;
    --bg-switcher: #d8cea9;
    --border-switcher: #181512;

    /* Logo styling */
    --logo-color: #b71c1c;
    --logo-ear-color: #181512;
    --logo-nose-color: #c28b1e;
    --logo-font: 'Special Elite', cursive;
}


/* ==========================================================================
   RESET & TRANSITIONS
   ========================================================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px; /* Offset for persistent bottom switcher bar */
}

/* Fallback transition dla przeglądarek bez obsługi View Transitions API */
body.theme-fallback-transition,
body.theme-fallback-transition header,
body.theme-fallback-transition section,
body.theme-fallback-transition footer {
    transition: background-color var(--transition-speed) var(--transition-easing),
        color var(--transition-speed) var(--transition-easing),
        border-color var(--transition-speed) var(--transition-easing);
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Scroll Animation (widoczne domyślnie bez JS dla SEO; ukrywane tylko gdy aktywny jest JS) */
.scroll-animate {
    opacity: 1;
    transform: translateY(0);
}

html.js-enabled .scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-easing),
        transform 0.8s var(--transition-easing);
}

html.js-enabled .scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html.js-enabled .scroll-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Headings */
h1,
h2,
h3 {
    font-family: var(--font-title);
    font-weight: 700;
}


/* ==========================================================================
   DYNAMIC PREVIEW HERO SECTION (V3)
   ========================================================================== */

.hero-section {
    display: flex;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: relative;
    padding-top: var(--header-height);
    padding-bottom: 75px; /* Offset for bottom switcher bar centering */
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    width: 100%;
}

.hero-text-content {
    flex: 1.1;
    display: flex;
    flex-direction: column;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 20px;
    font-family: var(--font-title);
    color: var(--text-primary);
    letter-spacing: -1px;
}

.theme-elegant .hero-title {
    font-weight: 500;
}

.theme-minimalist .hero-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.6;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-preview-wrapper {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* --------------------------------------------------------------------------
   PREVIEW BROWSER FRAME & MORPHING CONTENT
   -------------------------------------------------------------------------- */

.preview-browser {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    background-color: var(--bg-secondary);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    animation: browser-float 6s infinite ease-in-out;
}

@keyframes browser-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.browser-header {
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background-color: var(--bg-accent);
    border-bottom: 1px solid var(--border-color);
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.browser-dots .dot.red { background-color: #ff5f56; }
.browser-dots .dot.yellow { background-color: #ffbd2e; }
.browser-dots .dot.green { background-color: #27c93f; }

.browser-address-bar {
    flex: 1;
    margin: 0 24px;
    text-align: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-secondary);
    padding: 2px 0;
    font-family: var(--font-body);
}

.browser-content {
    flex: 1;
    padding: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Miniature Webpage inside Browser Mockup */
.mock-page {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 16px;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.mock-logo {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mock-logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0079f3, #ffdf5d);
}

.mock-logo-text {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-title);
}

.mock-nav {
    display: flex;
    gap: 8px;
}

.mock-nav span {
    width: 18px;
    height: 4px;
    background-color: var(--text-secondary);
    opacity: 0.4;
    border-radius: 2px;
}

.mock-hero {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1.2;
}

.mock-hero-text {
    flex: 1.2;
}

.mock-title-line-1, .mock-title-line-2, .mock-desc-line-1, .mock-desc-line-2 {
    background-color: var(--text-primary);
    border-radius: 2px;
}

.mock-title-line-1 {
    height: 8px;
    width: 85%;
    margin-bottom: 6px;
}

.mock-title-line-2 {
    height: 8px;
    width: 65%;
    margin-bottom: 10px;
}

.mock-desc-line-1 {
    height: 4px;
    width: 95%;
    opacity: 0.4;
    margin-bottom: 4px;
}

.mock-desc-line-2 {
    height: 4px;
    width: 70%;
    opacity: 0.4;
    margin-bottom: 14px;
}

.mock-btn {
    height: 18px;
    width: 55px;
    background-color: var(--accent);
    border-radius: var(--btn-radius);
    box-shadow: var(--theme-glow);
}

.mock-hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mock-shape-container {
    position: relative;
    width: 64px;
    height: 64px;
}

.mock-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: all var(--transition-speed) var(--transition-easing);
}

/* Elegant shape: Organic leaf gold gradient */
.theme-elegant .mock-shape.shape-1 {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%;
    animation: mock-leaf-sway 4s infinite ease-in-out;
}

@keyframes mock-leaf-sway {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.05); }
}

/* Cyberpunk shape: Neon glowing rotated box */
.theme-cyberpunk .mock-shape.shape-1 {
    border: 2px solid var(--accent-secondary);
    transform: rotate(45deg);
    box-shadow: 0 0 10px var(--accent-secondary);
}

/* Czasy PRL preview mockup: Gazette / TV Rubin mockup */
.theme-minimalist .preview-browser {
    border: 3px solid #181512;
    box-shadow: 6px 6px 0px #b71c1c;
    background-color: #d8cea9;
    position: relative;
}

.theme-minimalist .preview-browser::after {
    content: "ZATWIERDZONO. CENZURA N°-08";
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-family: 'Special Elite', cursive;
    font-size: 0.65rem;
    font-weight: 700;
    color: #b71c1c;
    border: 2px double #b71c1c;
    padding: 2px 8px;
    transform: rotate(-5deg);
    pointer-events: none;
    z-index: 10;
    letter-spacing: 0.5px;
}

.theme-minimalist .browser-header {
    background-color: #a48c69;
    border-bottom: 2px solid #181512;
}

.theme-minimalist .browser-address-bar {
    background-color: #e5dec9;
    border: 2px solid #181512;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    color: #181512;
}

.theme-minimalist .mock-shape.shape-1 {
    background-color: var(--accent);
    border: 2px solid #181512;
    box-shadow: 3px 3px 0 #181512;
    border-radius: 0;
}

.mock-grid {
    display: flex;
    gap: 12px;
    flex: 1;
}

.mock-card {
    flex: 1;
    background-color: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mock-card-img {
    height: 25px;
    background-color: var(--bg-secondary);
    border-radius: calc(var(--radius) - 6px);
    margin-bottom: 8px;
    border: 1px solid var(--border-color);
}

.mock-card-line-1, .mock-card-line-2 {
    height: 4px;
    background-color: var(--text-primary);
    border-radius: 1px;
}

.mock-card-line-1 {
    width: 80%;
    margin-bottom: 4px;
    opacity: 0.7;
}

.mock-card-line-2 {
    width: 50%;
    opacity: 0.5;
}


/* ==========================================================================
   BUTTONS (GLOBAL SPECIFICATIONS V2)
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--btn-radius);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Elegant Buttons (Satin luxury gold) */
.theme-elegant .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: #06060c;
    box-shadow: var(--theme-glow);
}

.theme-elegant .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(205, 160, 82, 0.45);
}

.theme-elegant .btn-secondary {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.theme-elegant .btn-secondary:hover {
    background-color: rgba(205, 160, 82, 0.08);
    transform: translateY(-2px);
}

/* Cyberpunk Buttons (Highly interactive neon glow) */
.theme-cyberpunk .btn-primary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--accent-secondary);
    box-shadow: -4px 4px 0px var(--accent);
}

.theme-cyberpunk .btn-primary:hover {
    box-shadow: 0 0 18px var(--accent);
    transform: translate(-2px, 2px);
}

.theme-cyberpunk .btn-secondary {
    background: transparent;
    border-color: var(--text-secondary);
    color: var(--text-secondary);
    box-shadow: -4px 4px 0px var(--accent-secondary);
}

.theme-cyberpunk .btn-secondary:hover {
    box-shadow: 0 0 15px var(--accent-secondary);
    transform: translate(-2px, 2px);
}

/* Czasy PRL Buttons (Stempel i Maszynopis) */
.theme-minimalist .btn-primary {
    background-color: #b71c1c;
    color: #ffffff;
    font-family: 'Special Elite', cursive;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #181512;
    box-shadow: 4px 4px 0 #181512;
    border-radius: 0;
}

.theme-minimalist .btn-primary:hover {
    background-color: #181512;
    color: #e5dec9;
    box-shadow: 6px 6px 0 #b71c1c;
    transform: translate(-2px, -2px);
}

.theme-minimalist .btn-secondary {
    background-color: #d8cea9;
    color: #181512;
    font-family: 'Special Elite', cursive;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #181512;
    box-shadow: 4px 4px 0 #181512;
    border-radius: 0;
}

.theme-minimalist .btn-secondary:hover {
    background-color: #cbbe94;
    color: #b71c1c;
    box-shadow: 6px 6px 0 #181512;
    transform: translate(-2px, -2px);
}


/* ==========================================================================
   THEME SWITCHER FLOATING WIDGET
   ========================================================================== */

/* ==========================================================================
   PERSISTENT SWITCHER BOTTOM BAR (V3)
   ========================================================================== */

.theme-switcher-bar-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.theme-switcher-bar {
    width: 100%;
    height: 65px;
    display: flex;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.12);
    border-top: 1px solid var(--border-color);
}

.switcher-bar-btn {
    flex: 0.925;
    height: 100%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.switcher-bar-btn:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: -5px;
    z-index: 2;
}

.switcher-bar-btn.active {
    flex: 1.15;
}

.btn-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.btn-lbl {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 1. Elegant Segment */
.bar-btn-elegant {
    background-color: #f7f9f6;
    color: #132416;
    border-right: 1px solid rgba(191, 163, 108, 0.15);
    font-family: 'Playfair Display', Georgia, serif;
}

.bar-btn-elegant .btn-lbl {
    font-family: 'Playfair Display', Georgia, serif;
    text-transform: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0px;
}

.bar-btn-elegant .btn-color-dot {
    background-color: #bfa36c;
}

.bar-btn-elegant.active {
    background-color: #eef3ed;
    box-shadow: inset 0 4px 0px #bfa36c;
}

/* 2. Cyberpunk Segment */
.bar-btn-cyberpunk {
    background-color: #030307;
    color: #e2e8f0;
    border-right: 1px solid rgba(0, 240, 255, 0.15);
    font-family: 'Chakra Petch', sans-serif;
}

.bar-btn-cyberpunk .btn-lbl {
    font-family: 'Chakra Petch', sans-serif;
}

.bar-btn-cyberpunk .btn-color-dot {
    background-color: #ff007f;
}

.bar-btn-cyberpunk.active {
    background-color: #0d0d1e;
    color: #00f0ff;
    box-shadow: inset 0 4px 0px #00f0ff;
}

/* 3. Czasy PRL Segment */
.bar-btn-minimalist {
    background-color: #d8cea9;
    color: #181512;
    font-family: 'Special Elite', cursive;
    text-transform: uppercase;
}

.bar-btn-minimalist .btn-lbl {
    font-family: 'Special Elite', cursive;
    letter-spacing: 0.5px;
}

.bar-btn-minimalist .btn-color-dot {
    background-color: #b71c1c;
    border: 1px solid #181512;
}

.bar-btn-minimalist.active {
    background-color: #e5dec9;
    box-shadow: inset 0 4px 0px #b71c1c;
    font-weight: 700;
}

/* 4. Switcher tooltip bubble */
.switcher-bar-tooltip {
    position: absolute;
    top: -42px;
    left: 20px;
    z-index: 1001;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    pointer-events: none;
    white-space: nowrap;
    animation: tooltip-bounce 2s infinite ease-in-out;
}

.theme-elegant .switcher-bar-tooltip {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    border-color: var(--accent);
}

.theme-cyberpunk .switcher-bar-tooltip {
    font-family: 'Fira Code', monospace;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.theme-minimalist .switcher-bar-tooltip {
    font-family: 'Courier Prime', monospace;
    border: 2px solid #181512;
    box-shadow: 4px 4px 0px #b71c1c;
    border-radius: 0;
    background-color: #d8cea9;
    color: #181512;
    font-weight: 700;
}

.switcher-bar-tooltip::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 30px;
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: var(--border-color) transparent transparent;
    display: block;
    width: 0;
}

.switcher-bar-tooltip::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 30px;
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: var(--bg-secondary) transparent transparent;
    display: block;
    width: 0;
    z-index: 1;
}

.theme-minimalist .switcher-bar-tooltip::after,
.theme-minimalist .switcher-bar-tooltip::before {
    border-color: #111111 transparent transparent;
}

@keyframes tooltip-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Bottom bar hover expansion effect V3.2 */
@media (hover: hover) {
    .theme-switcher-bar:hover .switcher-bar-btn {
        flex: 0.85;
    }

    .theme-switcher-bar .switcher-bar-btn:hover {
        flex: 1.3;
    }
}

/* 5. Switcher tooltip bubble right V3.2 */
.switcher-bar-tooltip-right {
    position: absolute;
    top: -92px; /* Extra height to prevent wrapping collisions */
    right: 20px;
    z-index: 1001;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 10px 28px 10px 16px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    max-width: 340px;
    white-space: normal;
    line-height: 1.4;
    pointer-events: auto; /* Clickable */
    animation: tooltip-bounce 2s infinite ease-in-out;
}

.tooltip-close-btn {
    position: absolute;
    top: 4px;
    right: 6px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.7;
    z-index: 2;
}

.tooltip-close-btn:hover {
    color: var(--text-primary);
    opacity: 1;
    transform: scale(1.15);
}

.theme-cyberpunk .tooltip-close-btn {
    color: var(--accent-secondary);
}

.theme-minimalist .tooltip-close-btn {
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    color: #181512;
}

.switcher-bar-tooltip-right a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
}

.switcher-bar-tooltip-right a:hover {
    opacity: 0.8;
}

.theme-elegant .switcher-bar-tooltip-right {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    border-color: var(--accent);
}

.theme-cyberpunk .switcher-bar-tooltip-right {
    font-family: 'Fira Code', monospace;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.theme-minimalist .switcher-bar-tooltip-right {
    font-family: 'Courier Prime', monospace;
    border: 2px solid #181512;
    box-shadow: 4px 4px 0px #b71c1c;
    border-radius: 0;
    background-color: #d8cea9;
    color: #181512;
    font-weight: 700;
}

.switcher-bar-tooltip-right::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 40px;
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: var(--border-color) transparent transparent;
    display: block;
    width: 0;
}

.switcher-bar-tooltip-right::before {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 40px;
    border-width: 5px 5px 0;
    border-style: solid;
    border-color: var(--bg-secondary) transparent transparent;
    display: block;
    width: 0;
    z-index: 1;
}

.theme-minimalist .switcher-bar-tooltip-right::after,
.theme-minimalist .switcher-bar-tooltip-right::before {
    border-color: #111111 transparent transparent;
}


/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99;
    border-bottom: 1px solid var(--border-color);
}

.theme-elegant .site-header {
    background-color: rgba(247, 249, 246, 0.85);
}

.theme-cyberpunk .site-header {
    background-color: rgba(3, 3, 7, 0.85);
}

.theme-minimalist .site-header {
    background-color: rgba(245, 242, 235, 0.95);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* SVG Logo adapts dynamically to header themes */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    max-height: 44px;
    width: auto;
}

.logo-cheek-left {
    fill: #0079f3 !important;
}

.logo-cheek-right {
    fill: #ffdf5d !important;
}

.logo-ear {
    fill: var(--logo-ear-color);
}

.logo-nose {
    fill: var(--logo-nose-color);
}

.logo-text {
    fill: var(--logo-color);
    font-family: var(--logo-font);
}

/* Navigation Links */
.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.theme-elegant .nav-link:hover,
.theme-elegant .nav-link.active {
    color: var(--accent);
}

.theme-cyberpunk .nav-link:hover,
.theme-cyberpunk .nav-link.active {
    color: var(--accent-secondary);
}

.theme-minimalist .nav-link:hover,
.theme-minimalist .nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.nav-toggle::before {
    content: "";
    position: absolute;
    inset: -10px;
}

.nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}


/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */

.benefits-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 72px auto;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.theme-elegant .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.theme-minimalist .section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    border-bottom: 3px double #b71c1c;
    padding-bottom: 14px;
    color: #181512;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.theme-minimalist .section-subtitle {
    font-family: 'Courier Prime', monospace;
    text-align: left;
    margin-top: 14px;
    font-size: 1.05rem;
    color: #3e382b;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Benefit Card styling */
.benefit-card {
    background-color: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 48px 36px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Czasy PRL Editorial grid */
.theme-minimalist .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.theme-minimalist .benefit-card {
    background-color: #d8cea9;
    border: 2px dashed #181512;
    box-shadow: 4px 4px 0px #181512;
    border-radius: 0;
    text-align: left;
    padding: 36px 24px;
    position: relative;
}

.theme-minimalist .benefit-card::after {
    content: "KONTROLA JAKOŚCI";
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: 'Special Elite', cursive;
    font-size: 0.6rem;
    color: #b71c1c;
    border: 1.5px double #b71c1c;
    padding: 2px 6px;
    transform: rotate(3deg);
    opacity: 0.85;
}

.theme-minimalist .benefit-card:hover {
    background-color: #cbbe94;
    transform: translateY(-4px);
    box-shadow: 6px 6px 0px #b71c1c;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}

.benefit-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px auto;
}

.theme-cyberpunk .benefit-icon-wrapper {
    border-radius: 0;
    border: 1px solid var(--accent);
    background-color: transparent;
}

.theme-minimalist .benefit-icon-wrapper {
    border-radius: 0;
    background-color: #b71c1c;
    color: #ffffff;
    border: 2px solid #181512;
    margin: 0 0 24px 0;
    box-shadow: 3px 3px 0 #181512;
}

.benefit-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.theme-elegant .benefit-title {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.theme-minimalist .benefit-title {
    font-size: 1.6rem;
    letter-spacing: -0.7px;
}

.benefit-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ==========================================================================
   PORTFOLIO SECTION
   ========================================================================== */

.portfolio-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.project-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
}

.theme-cyberpunk .project-card {
    background-color: #090912;
    border: 1px solid var(--accent-secondary);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
    border-radius: 0;
}

.theme-cyberpunk .project-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.45), inset 0 0 15px rgba(255, 0, 127, 0.1);
    transform: translateY(-6px);
}

.project-mockup {
    background-color: var(--bg-accent);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.theme-cyberpunk .project-mockup {
    border-bottom: 1px solid var(--accent-secondary);
    background-color: #0f0f22;
}

.mockup-header {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.theme-cyberpunk .mockup-header {
    border-bottom: 1px solid var(--accent-secondary);
    background-color: #030307;
}

.mockup-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.mockup-header .dot.red { background-color: #ff5f56; }
.mockup-header .dot.yellow { background-color: #ffbd2e; }
.mockup-header .dot.green { background-color: #27c93f; }

.mockup-url {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-left: 8px;
}

.theme-cyberpunk .mockup-url {
    color: var(--accent-secondary);
    font-family: 'Fira Code', monospace;
}

.theme-minimalist .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.theme-minimalist .project-card {
    background-color: #d8cea9;
    border: 2px dashed #b71c1c;
    box-shadow: 5px 5px 0px #181512;
    border-radius: 0;
    position: relative;
}

.theme-minimalist .project-card::before {
    content: "TOWAR DEFICYTOWY";
    position: absolute;
    top: 38px;
    right: 12px;
    z-index: 5;
    font-family: 'Special Elite', cursive;
    font-size: 0.6rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #b71c1c;
    border: 1px solid #181512;
    padding: 2px 6px;
    transform: rotate(-3deg);
    box-shadow: 2px 2px 0 #181512;
}

.theme-minimalist .project-mockup {
    border: none;
    border-bottom: 2px solid #181512;
}

.theme-minimalist .mockup-header {
    border-bottom: 2px solid #181512;
    background-color: #a48c69;
}

.theme-minimalist .mockup-url {
    font-family: 'Courier Prime', monospace;
    color: #181512;
    font-weight: 700;
}

.mockup-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-position: top;
    object-fit: cover;
    transition: transform 2.5s ease, object-position 2.5s ease;
}

.project-card:hover .mockup-img {
    transform: scale(1.03);
    object-position: bottom;
}

/* Project descriptions */
.project-info {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.theme-minimalist .project-info {
    padding: 24px;
}

.project-category {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.project-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.theme-elegant .project-name {
    font-family: 'Playfair Display', serif;
}

.theme-minimalist .project-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.theme-minimalist .project-desc {
    font-family: 'Courier Prime', monospace;
    color: #423d33;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-family: var(--font-title);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    background-color: rgba(var(--accent-rgb), 0.08);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 4px;
}

.theme-cyberpunk .tag {
    background-color: transparent;
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

.theme-minimalist .tag {
    font-family: 'Courier Prime', monospace;
    border-radius: 0;
    background-color: #cbbe94;
    border: 1px solid #181512;
    color: #181512;
    font-weight: 700;
}

/* Portfolio — visit site link */
.project-visit-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 0;
    margin-bottom: 20px;
    padding: 8px 16px;
    font-family: var(--font-title);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    background-color: transparent;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    align-self: flex-start;
}

.project-visit-btn:hover,
.project-visit-btn:focus-visible {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.project-visit-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.theme-cyberpunk .project-visit-btn {
    background-color: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: #000;
    border-radius: 0;
    font-weight: 800;
}

.theme-cyberpunk .project-visit-btn:hover,
.theme-cyberpunk .project-visit-btn:focus-visible {
    background-color: transparent;
    color: var(--accent-secondary);
}

.theme-minimalist .project-visit-btn {
    background-color: #b71c1c;
    border: 2px solid #181512;
    color: #ffffff;
    font-family: 'Special Elite', cursive;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    box-shadow: 3px 3px 0 #181512;
    margin-top: 0;
}

.theme-minimalist .project-visit-btn:hover,
.theme-minimalist .project-visit-btn:focus-visible {
    background-color: #181512;
    color: #e5dec9;
    box-shadow: 4px 4px 0 #b71c1c;
}


/* ==========================================================================
   PRICING SECTION
   ========================================================================== */

.pricing-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}

/* Czasy PRL style for Pricing table */
.theme-minimalist .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border: none;
}

.pricing-card {
    background-color: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 48px 36px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    position: relative;
}

.theme-minimalist .pricing-card {
    background-color: #d8cea9;
    border: 2px solid #181512;
    box-shadow: 4px 4px 0px #181512;
    border-radius: 0;
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.03);
    z-index: 2;
}

.theme-elegant .pricing-card.featured {
    background-color: #ffffff;
    border: 2px solid var(--accent);
    box-shadow: 0 20px 40px rgba(191, 163, 108, 0.22);
}

.theme-elegant .pricing-card.featured .pricing-badge {
    background-color: var(--accent);
    color: #ffffff;
}

.theme-minimalist .pricing-card.featured {
    background-color: #e5dec9;
    border: 3px solid #b71c1c;
    box-shadow: 6px 6px 0px #181512;
    transform: none;
    position: relative;
}

.theme-minimalist .pricing-card.featured::before {
    content: "CENA URZĘDOWA";
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-family: 'Special Elite', cursive;
    font-size: 0.65rem;
    color: #b71c1c;
    border: 2px double #b71c1c;
    padding: 3px 8px;
    transform: rotate(-4deg);
    font-weight: 700;
    opacity: 0.9;
}

.pricing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: rgba(var(--accent-rgb), 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.theme-cyberpunk .pricing-badge {
    border-radius: 0;
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

.theme-minimalist .pricing-badge {
    border-radius: 0;
    background-color: #b71c1c;
    color: #ffffff;
    border: 2px solid #181512;
    font-family: 'Special Elite', cursive;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 2px 2px 0 #181512;
}

.pack-name {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.theme-elegant .pack-name {
    font-family: 'Playfair Display', serif;
}

.pack-price {
    font-family: var(--font-title);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.price-prefix {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-right: 6px;
}

.price-currency {
    font-size: 1.6rem;
    font-weight: 600;
}

.price-suffix {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 6px;
}

.theme-minimalist .pack-price {
    color: var(--accent);
}

.pack-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pack-features li {
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
    padding-left: 24px;
    line-height: 1.4;
}

.pack-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.theme-minimalist .pack-features li {
    color: #444444;
}

.theme-minimalist .pack-features li::before {
    color: var(--accent);
}

.pack-features li.disabled {
    color: var(--text-secondary);
    opacity: 0.4;
}

.pack-features li.disabled::before {
    content: "✗";
    color: var(--text-secondary);
}

.btn-pricing {
    width: 100%;
}


/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */

.process-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 64px auto 0 auto;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 40px;
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 54px;
    position: relative;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 2px solid var(--accent);
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: var(--card-shadow);
}

.theme-cyberpunk .step-number {
    border-radius: 0;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.theme-minimalist .step-number {
    border-radius: 0;
    background-color: #c8231a;
    color: #ffffff;
    border: 2px solid #1c1917;
    font-family: 'Special Elite', cursive;
    box-shadow: 3px 3px 0 #1c1917;
}

.step-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 36px;
    box-shadow: var(--card-shadow);
    flex-grow: 1;
}

.theme-minimalist .step-content {
    background-color: transparent;
    border: 1px solid #111111;
    border-radius: 0;
}

.step-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--accent);
}

.theme-elegant .step-title {
    font-family: 'Playfair Display', serif;
}

.theme-minimalist .step-title {
    color: #111111;
    font-weight: 700;
}

.step-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.theme-minimalist .step-desc {
    color: #444444;
}

/* ==========================================================================
   FAQ SECTION (Często Zadawane Pytania)
   ========================================================================== */

.faq-section {
    padding: 110px 0;
    position: relative;
    background-color: var(--bg-primary);
}

.faq-accordion {
    max-width: 860px;
    margin: 44px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    gap: 16px;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question-text {
    flex-grow: 1;
    line-height: 1.4;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-accent);
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.2s ease, color 0.2s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background-color: var(--accent);
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-inner {
    padding: 0 28px 24px 28px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-answer-inner p {
    margin: 0;
}

/* Theme 1: Luxury Elegant */
.theme-elegant .faq-item {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.theme-elegant .faq-question {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Theme 2: Cyberpunk */
.theme-cyberpunk .faq-section {
    background-color: #030307;
}

.theme-cyberpunk .faq-item {
    background-color: rgba(12, 12, 28, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.25);
    border-radius: 0;
}

.theme-cyberpunk .faq-item:hover,
.theme-cyberpunk .faq-item.active {
    border-color: #00f0ff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.theme-cyberpunk .faq-question {
    font-family: 'Chakra Petch', sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-cyberpunk .faq-icon {
    border-radius: 0;
    border: 1px solid #00f0ff;
    background: transparent;
    color: #00f0ff;
}

.theme-cyberpunk .faq-item.active .faq-icon {
    background-color: #ff007f;
    border-color: #ff007f;
    color: #ffffff;
}

.theme-cyberpunk .faq-answer-inner {
    font-family: 'Fira Code', monospace;
    color: #9aa8b8;
}

/* Theme 3: Czasy PRL */
.theme-minimalist .faq-section {
    background-color: #f5f2eb;
}

.theme-minimalist .faq-item {
    background-color: #e5dec9;
    border: 2px solid #181512;
    border-radius: 0;
    box-shadow: 4px 4px 0 #181512;
}

.theme-minimalist .faq-item:hover,
.theme-minimalist .faq-item.active {
    border-color: #181512;
    box-shadow: 6px 6px 0 #b71c1c;
}

.theme-minimalist .faq-question {
    font-family: 'Oswald', sans-serif;
    font-size: 1.15rem;
    color: #181512;
    text-transform: uppercase;
}

.theme-minimalist .faq-icon {
    border-radius: 0;
    border: 2px solid #181512;
    background-color: #d8cea9;
    color: #b71c1c;
    font-family: 'Special Elite', cursive;
}

.theme-minimalist .faq-item.active .faq-icon {
    background-color: #b71c1c;
    color: #ffffff;
    border-color: #181512;
}

.theme-minimalist .faq-answer-inner {
    font-family: 'Courier Prime', monospace;
    color: #2b2520;
    font-weight: 500;
}


/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 16px 0 36px 0;
}

.theme-minimalist .contact-intro {
    color: #444444;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-cyberpunk .detail-icon {
    border-radius: 0;
    border: 1px solid var(--accent-secondary);
    color: var(--accent-secondary);
}

.theme-minimalist .detail-icon {
    border-radius: 0;
    background-color: #111111;
    color: #ffffff;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-family: var(--font-title);
    letter-spacing: 0.5px;
}

.detail-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.theme-minimalist .detail-link {
    color: #111111;
    border-bottom: 2px solid #111111;
    align-self: flex-start;
}

.detail-link:hover {
    color: var(--accent);
}

/* Contact Form wrapper */
.contact-form-wrapper {
    background-color: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 44px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.theme-minimalist .contact-form-wrapper {
    background-color: #d8cea9;
    border: 2px solid #181512;
    box-shadow: 6px 6px 0px #181512;
    border-radius: 0;
    position: relative;
}

.theme-minimalist .contact-form-wrapper::before {
    content: "FORMULARZ ZGŁOSZENIOWY N°-04";
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: 'Special Elite', cursive;
    font-size: 0.6rem;
    font-weight: 700;
    color: #b71c1c;
    border: 1.5px double #b71c1c;
    padding: 2px 8px;
    transform: rotate(-2deg);
    opacity: 0.9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-title);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.theme-minimalist .form-group label {
    color: #181512;
    font-family: 'Special Elite', cursive;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: calc(var(--radius) - 6px);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.theme-cyberpunk .form-group input,
.theme-cyberpunk .form-group select,
.theme-cyberpunk .form-group textarea {
    font-family: var(--font-body);
}

.theme-minimalist .form-group input,
.theme-minimalist .form-group select,
.theme-minimalist .form-group textarea {
    border: 2px solid #181512;
    border-radius: 0;
    background-color: #e5dec9;
    color: #181512;
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.15);
}

.theme-cyberpunk .form-group input:focus,
.theme-cyberpunk .form-group select:focus,
.theme-cyberpunk .form-group textarea:focus {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    border-color: #00f0ff;
}

.theme-minimalist .form-group input:focus,
.theme-minimalist .form-group select:focus,
.theme-minimalist .form-group textarea:focus {
    background-color: #ffffff;
    border-color: #b71c1c;
    box-shadow: 3px 3px 0 #181512;
}

.form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bfa36c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px !important;
}

.theme-cyberpunk .form-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.theme-minimalist .form-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23181512' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.highlight-package {
    animation: pulse-package 1.5s ease;
}

@keyframes pulse-package {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); border-color: var(--accent); box-shadow: 0 0 15px rgba(191, 163, 108, 0.4); }
}

.error-msg {
    color: #ff5f56;
    font-size: 0.75rem;
    display: none;
    margin-top: 4px;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #ff5f56;
}

.form-group.has-error .checkbox-container {
    color: #ff5f56;
}

.form-group.has-error .error-msg {
    display: block;
}

/* RODO Checkbox & Privacy Link */
.form-group-checkbox {
    margin-top: 4px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--accent);
}

.theme-cyberpunk .checkbox-container input[type="checkbox"] {
    accent-color: #ff007f;
}

.theme-minimalist .checkbox-container input[type="checkbox"] {
    accent-color: #b71c1c;
    border-radius: 0;
}

.checkbox-text {
    font-family: var(--font-body);
}

.theme-minimalist .checkbox-text {
    font-family: 'Courier Prime', monospace;
    color: #181512;
    font-size: 0.8rem;
}

.privacy-link {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.privacy-link:hover {
    opacity: 0.8;
}

.theme-cyberpunk .privacy-link {
    color: #00f0ff;
}

.theme-minimalist .privacy-link {
    color: #b71c1c;
}

/* General Form Error Alert */
.form-error-alert {
    background-color: rgba(255, 95, 86, 0.12);
    border: 1px solid #ff5f56;
    color: #ff5f56;
    padding: 12px 16px;
    border-radius: calc(var(--radius) - 6px);
    font-size: 0.85rem;
    font-family: var(--font-body);
    line-height: 1.4;
    display: none;
}

.theme-minimalist .form-error-alert {
    background-color: #ffd8d8;
    border: 2px solid #b71c1c;
    color: #b71c1c;
    border-radius: 0;
    font-family: 'Courier Prime', monospace;
    font-weight: 700;
}

.theme-cyberpunk .form-error-alert {
    background-color: rgba(255, 0, 127, 0.15);
    border: 1px solid #ff007f;
    color: #ff007f;
    border-radius: 0;
    font-family: 'Fira Code', monospace;
}

.footer-privacy-link {
    color: var(--accent);
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.footer-privacy-link:hover {
    opacity: 0.8;
}

.footer-sep {
    opacity: 0.4;
    margin: 0 6px;
}

.btn-submit {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-submit {
    transition: transform 0.3s ease;
}

.btn-submit:hover .icon-submit {
    transform: translate(4px, -4px);
}

/* Google reCAPTCHA v3 Disclaimer & Badge */
.recaptcha-disclaimer {
    font-size: 0.72rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 14px;
    line-height: 1.45;
    font-family: var(--font-body);
}

.recaptcha-disclaimer a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

.theme-minimalist .recaptcha-disclaimer {
    font-family: 'Courier Prime', monospace;
    font-size: 0.7rem;
    color: #181512;
}

.theme-minimalist .recaptcha-disclaimer a {
    color: #b71c1c;
}

.theme-cyberpunk .recaptcha-disclaimer {
    font-family: 'Fira Code', monospace;
    font-size: 0.68rem;
    color: #e2e8f0;
}

.theme-cyberpunk .recaptcha-disclaimer a {
    color: #00f0ff;
}

/* Hide floating badge since visible terms are present (official Google guidelines) */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Success Card */
.form-success-card {
    position: relative;
    width: 100%;
    min-height: 440px;
    background-color: transparent;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 15px;
    z-index: 10;
    box-sizing: border-box;
}

.theme-minimalist .form-success-card {
    background-color: transparent;
}

.form-success-card.active {
    display: flex;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon-wrapper {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: rgba(39, 201, 63, 0.12);
    color: #27c93f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px auto 20px auto;
    flex-shrink: 0;
}

.theme-cyberpunk .success-icon-wrapper {
    border-radius: 0;
    border: 2px solid #00f0ff;
    color: #00f0ff;
    background-color: transparent;
}

.theme-minimalist .success-icon-wrapper {
    border-radius: 0;
    border: 2px solid #111111;
    color: #111111;
    background-color: transparent;
}

.form-success-card h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.25;
}

.theme-minimalist .form-success-card h3 {
    font-family: 'Special Elite', cursive;
    color: #181512;
}

.theme-cyberpunk .form-success-card h3 {
    font-family: 'Chakra Petch', sans-serif;
    color: #00f0ff;
    text-transform: uppercase;
}

.form-success-card p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 440px;
}

.theme-minimalist .form-success-card p {
    font-family: 'Courier Prime', monospace;
    color: #181512;
}

.theme-cyberpunk .form-success-card p {
    font-family: 'Fira Code', monospace;
    color: #e2e8f0;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0 0;
}

.theme-minimalist .site-footer {
    background-color: #ffffff;
    border-top: 2px solid #111111;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo-text {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: 16px;
}

.footer-brand-desc {
    color: var(--text-secondary);
    max-width: 360px;
    font-size: 0.9rem;
}

.footer-details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.theme-minimalist .footer-details {
    align-items: flex-start;
    text-align: left;
}

.footer-company-name {
    font-size: 1rem;
    margin-bottom: 8px;
}

.footer-nip {
    font-family: var(--font-title);
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 8px;
}

.theme-minimalist .footer-nip {
    color: #111111;
}

.footer-address {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
}

.theme-minimalist .footer-bottom {
    border-top: 1px solid #111111;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
}


/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {

    .nav-menu {
        gap: 18px;
    }

    .nav-link {
        font-size: 0.78rem;
    }

    .benefits-grid,
    .portfolio-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .theme-minimalist .benefits-grid,
    .theme-minimalist .portfolio-grid,
    .theme-minimalist .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {

    :root {
        --header-height: 64px;
    }

    .site-header {
        z-index: 1005;
    }

    .header-container {
        padding: 0 18px;
    }

    .logo-svg {
        max-height: 36px;
    }

    /* Mobile Menu Toggle */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - var(--header-height) - 60px);
        max-height: calc(100dvh - var(--header-height) - 60px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 10px 20px 14px;
        gap: 2px;
        border-top: none;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 100;
    }

    .theme-elegant .nav-menu {
        background-color: rgba(247, 249, 246, 0.98);
        box-shadow: 0 14px 30px rgba(19, 36, 22, 0.12);
    }

    .theme-cyberpunk .nav-menu {
        background-color: rgba(9, 9, 18, 0.98);
        border-bottom: 1px solid var(--accent-secondary);
        box-shadow: 0 12px 28px rgba(0, 240, 255, 0.2);
    }

    .theme-minimalist .nav-menu {
        background-color: #e5dec9;
        border-bottom: 2px solid #181512;
        box-shadow: 0 6px 0 #181512;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        font-size: 0.92rem;
        line-height: 1.3;
        padding: 8px 20px;
        text-align: center;
    }

    .nav-link::after {
        left: 20px;
        bottom: 4px;
    }

    .nav-link.active::after {
        width: calc(100% - 40px);
    }

    /* Hero Section for mobile */
    .hero-section {
        height: auto;
        padding-top: calc(var(--header-height) + 40px);
        padding-bottom: 60px;
    }

    .hero-container {
        flex-direction: column;
        gap: 40px;
    }

    .hero-text-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-preview-wrapper {
        width: 100%;
        max-width: 100%;
    }

    /* Layout stacks */
    .benefits-grid,
    .portfolio-grid,
    .pricing-grid,
    .contact-container,
    .footer-container {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .theme-minimalist .benefits-grid,
    .theme-minimalist .portfolio-grid,
    .theme-minimalist .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
        border: none;
    }

    .theme-minimalist .benefit-card,
    .theme-minimalist .pricing-card {
        border: 1px solid #111111;
        border-radius: 0;
    }

    .footer-details {
        align-items: center;
        text-align: center;
    }

    .footer-container {
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .timeline-line {
        left: 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .process-step {
        gap: 16px;
    }

    .step-content {
        padding: 16px 20px;
    }

    /* Switcher Bar mobile tweaks */
    .theme-switcher-bar {
        height: calc(58px + env(safe-area-inset-bottom, 0px));
    }

    .switcher-bar-btn,
    .switcher-bar-btn.active,
    .theme-switcher-bar:hover .switcher-bar-btn,
    .theme-switcher-bar .switcher-bar-btn:hover,
    .theme-switcher-bar:hover .switcher-bar-btn.active,
    .theme-switcher-bar .switcher-bar-btn.active:hover {
        flex: 1;
    }

    .switcher-bar-btn {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 8px 6px calc(6px + env(safe-area-inset-bottom, 0px));
        min-width: 0;
    }

    .switcher-bar-btn:focus-visible {
        outline-width: 2px;
        outline-offset: -3px;
    }

    .btn-color-dot {
        width: 8px;
        height: 8px;
    }

    .btn-lbl {
        font-size: 0.68rem;
        letter-spacing: 0.5px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .bar-btn-elegant .btn-lbl {
        font-size: 0.78rem;
        letter-spacing: 0.1px;
    }

    .bar-btn-minimalist .btn-lbl {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .switcher-bar-tooltip {
        top: auto;
        bottom: calc(100% + 10px);
        left: 10px;
        max-width: calc(100vw - 20px);
        white-space: normal;
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .switcher-bar-tooltip-right {
        top: auto;
        bottom: calc(100% + 10px);
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 0.68rem;
        padding: 8px 26px 8px 12px;
    }

    .faq-section {
        padding: 70px 0;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.95rem;
    }

    .faq-answer-inner {
        padding: 0 18px 18px 18px;
        font-size: 0.88rem;
    }

    .cookie-banner {
        bottom: 70px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        padding: 18px 16px;
    }

    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-banner-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .btn-lbl {
        font-size: 0.62rem;
        letter-spacing: 0.2px;
    }

    .bar-btn-elegant .btn-lbl {
        font-size: 0.72rem;
        letter-spacing: 0;
    }

    .bar-btn-minimalist .btn-lbl {
        font-size: 0.64rem;
        letter-spacing: 0.2px;
    }
}

/* ==========================================================================
   COOKIE CONSENT BANNER & SETTINGS
   ========================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 85px;
    right: 24px;
    left: auto;
    max-width: 440px;
    width: calc(100% - 48px);
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px 26px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.16);
    z-index: 1002;
    animation: cookieSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookieSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-banner-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cookie-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.cookie-title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin: 0;
}

.cookie-desc {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 18px 0;
}

.cookie-desc a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-desc a:hover {
    opacity: 0.8;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-cookie-all,
.btn-cookie-necessary {
    padding: 10px 18px;
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--btn-radius);
    transition: all 0.25s ease;
}

/* Theme 2: Cyberpunk */
.theme-cyberpunk .cookie-banner {
    background-color: #090912;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
    border-radius: 0;
}

.theme-cyberpunk .cookie-title {
    font-family: 'Chakra Petch', sans-serif;
    color: #00f0ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-cyberpunk .cookie-desc {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #e2e8f0;
}

.theme-cyberpunk .cookie-desc a {
    color: #00f0ff;
}

/* Theme 3: Czasy PRL */
.theme-minimalist .cookie-banner {
    background-color: #d8cea9;
    border: 2px solid #181512;
    box-shadow: 6px 6px 0px #181512;
    border-radius: 0;
}

.theme-minimalist .cookie-title {
    font-family: 'Special Elite', cursive;
    color: #181512;
    text-transform: uppercase;
}

.theme-minimalist .cookie-desc {
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    color: #181512;
    font-weight: 600;
}

.theme-minimalist .cookie-desc a {
    color: #b71c1c;
}

/* Footer Cookie Settings Button */
.footer-cookie-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: var(--accent);
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.footer-cookie-btn:hover {
    opacity: 0.8;
}

.theme-cyberpunk .footer-cookie-btn {
    color: #00f0ff;
}

.theme-minimalist .footer-cookie-btn {
    color: #b71c1c;
}


/* ==========================================================================
   PRIVACY POLICY PAGE (polityka-prywatnosci.html)
   ========================================================================== */

.privacy-page {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 90px;
    min-height: 80vh;
}

.privacy-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--card-shadow);
    max-width: 900px;
    margin: 0 auto;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.privacy-title {
    font-family: var(--font-title);
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.2;
}

.privacy-updated {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    font-family: var(--font-body);
}

.privacy-section-block {
    margin-bottom: 32px;
}

.privacy-section-block h2 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.privacy-section-block p,
.privacy-section-block li {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 12px;
}

.privacy-section-block ul {
    padding-left: 24px;
    margin-bottom: 14px;
}

.privacy-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-title);
    transition: transform 0.2s ease;
}

.privacy-back-btn:hover {
    transform: translateX(-4px);
}

/* 1. Motyw Klasyczny Szyk (.theme-elegant) */
.theme-elegant .privacy-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    color: #132416;
}

.theme-elegant .privacy-section-block h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    color: #132416;
}

.theme-elegant .privacy-section-block p,
.theme-elegant .privacy-section-block li {
    font-family: 'Lora', Georgia, serif;
    color: #5c6e60;
}

.theme-elegant .privacy-updated {
    font-family: 'Lora', Georgia, serif;
    color: #5c6e60;
}

.theme-elegant .privacy-back-btn {
    font-family: 'Playfair Display', Georgia, serif;
    color: #bfa36c;
}

/* 2. Motyw Cyberpunk (.theme-cyberpunk) */
.theme-cyberpunk .privacy-card {
    background-color: #090912;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
    border-radius: 0;
}

.theme-cyberpunk .privacy-title {
    font-family: 'Chakra Petch', sans-serif;
    color: #00f0ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.theme-cyberpunk .privacy-section-block h2 {
    font-family: 'Chakra Petch', sans-serif;
    color: #ff007f;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.theme-cyberpunk .privacy-section-block p,
.theme-cyberpunk .privacy-section-block li {
    font-family: 'Fira Code', monospace;
    color: #e2e8f0;
}

.theme-cyberpunk .privacy-updated {
    font-family: 'Fira Code', monospace;
    color: #94a3b8;
}

.theme-cyberpunk .privacy-back-btn {
    font-family: 'Chakra Petch', sans-serif;
    color: #00f0ff;
    letter-spacing: 0.5px;
}

/* 3. Motyw Czasy PRL (.theme-minimalist) */
.theme-minimalist .privacy-card {
    background-color: #d8cea9;
    border: 2px solid #181512;
    box-shadow: 6px 6px 0px #181512;
    border-radius: 0;
}

.theme-minimalist .privacy-title {
    font-family: 'Oswald', sans-serif;
    color: #181512;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.theme-minimalist .privacy-section-block h2 {
    font-family: 'Oswald', sans-serif;
    color: #b71c1c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.theme-minimalist .privacy-section-block p,
.theme-minimalist .privacy-section-block li {
    font-family: 'Courier Prime', monospace;
    color: #181512;
    font-weight: 600;
}

.theme-minimalist .privacy-updated {
    font-family: 'Courier Prime', monospace;
    color: #555047;
}

.theme-minimalist .privacy-back-btn {
    font-family: 'Special Elite', cursive;
    color: #b71c1c;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .privacy-card {
        padding: 24px;
    }

    .privacy-title {
        font-size: 1.8rem;
    }
}


/* ==========================================================================
   ACCESSIBILITY: FOCUS INDICATORS & REDUCED MOTION
   ========================================================================== */

.btn:focus-visible,
.faq-question:focus-visible,
.footer-cookie-btn:focus-visible,
.nav-link:focus-visible,
.nav-toggle:focus-visible,
.tooltip-close-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.theme-cyberpunk .btn:focus-visible,
.theme-cyberpunk .faq-question:focus-visible,
.theme-cyberpunk .footer-cookie-btn:focus-visible,
.theme-cyberpunk .nav-link:focus-visible,
.theme-cyberpunk .nav-toggle:focus-visible,
.theme-cyberpunk .tooltip-close-btn:focus-visible {
    outline-color: var(--accent-secondary);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .preview-browser,
    .theme-elegant .mock-shape.shape-1,
    .switcher-bar-tooltip,
    .switcher-bar-tooltip-right {
        animation: none !important;
    }
}

