/* Zmienne globalne - Glassmorphism & Liquid Aesthetic */
:root {
    --bg-color-1: #090919;
    --bg-color-2: #1c103f;
    --bg-color-3: #11364d;
    --text-main: #f8fafc;
    --text-muted: #a0abc0;
    
    --neon-cyan: #00e5ff;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    --accent: #c4d8ff;
    --accent-glow: 0 0 15px rgba(196, 216, 255, 0.4);
    
    --font-sans: 'Helvetica Neue', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
}

/* Reset i podstawy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color-1); /* Fallback */
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Film Grain Texture */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9998;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.04;
}

/* --- ODTWORZONE TŁO (CSS REPLICA) --- */
/* --- WEBGL CANVAS --- */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -5;
    pointer-events: none;
    filter: grayscale(40%) blur(3px);
    transition: filter 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bubbles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    filter: grayscale(40%) blur(3px);
    transition: filter 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 1s ease-in-out;
}

body.video-playing #webgl-canvas,
body.video-playing .bubbles-container {
    filter: grayscale(80%) brightness(1.6) contrast(0.7) blur(0px);
}

.soap-bubble {
    position: absolute;
    border-radius: 50%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4), transparent 30%),
        radial-gradient(circle at 80% 60%, rgba(0, 229, 255, 0.2), transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(255, 0, 150, 0.2), transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(255, 255, 0, 0.1), transparent 50%),
        rgba(255, 255, 255, 0.02);
    box-shadow: 
        inset 0 0 20px rgba(255,255,255,0.4),
        inset 20px 0 60px rgba(255, 0, 255, 0.3),
        inset -20px 0 60px rgba(0, 255, 255, 0.3),
        inset 0 -20px 60px rgba(255, 255, 0, 0.3),
        0 10px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
    will-change: transform, border-radius;
    transition: transform 0.1s ease-out; /* for parallax */
}

/* Predefined sizes and initial positions */
.bubble-1 { width: 350px; height: 350px; top: 15%; left: 75%; animation: float 12s ease-in-out infinite, morph 10s ease-in-out infinite alternate; }
.bubble-2 { width: 500px; height: 500px; top: 50%; left: -5%; animation: float 16s ease-in-out infinite reverse, morph 12s ease-in-out infinite alternate-reverse; }
.bubble-3 { width: 200px; height: 200px; top: 80%; left: 60%; animation: float 9s ease-in-out infinite, morph 8s ease-in-out infinite alternate; }

@keyframes float {
    0% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-40px) translateX(20px); }
    100% { transform: translateY(0px) translateX(0px); }
}

@keyframes morph {
    0% { border-radius: 50%; }
    25% { border-radius: 46% 54% 47% 53% / 54% 46% 53% 47%; }
    50% { border-radius: 54% 46% 51% 49% / 49% 51% 46% 54%; }
    75% { border-radius: 48% 52% 54% 46% / 52% 48% 51% 49%; }
    100% { border-radius: 50%; }
}


/* Typografia i Nagłówki */
h1, h2, h3 {
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.neon-text {
    color: #04b0c2;
    text-shadow: var(--accent-glow);
}

.section-title {
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: rgba(0, 229, 255, 0.75);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
    letter-spacing: 3px;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

/* Nawigacja (Glass Bar) */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0px 0px 4px rgb(0 0 0), 0 -1px 2px rgb(0 0 0 / 20%);
}

/* Przycisk menu mobilnego (domyślnie ukryty na desktopie) */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    z-index: 105;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: center;
}

/* Animacja ikony hamburgera do X */
.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--accent);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--accent);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.bracket {
    color: var(--text-muted);
    opacity: 0.5;
    margin: 0 4px;
    font-weight: 300;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

.nav-links a:hover .bracket {
    color: var(--neon-cyan);
    opacity: 0.85;
}


/* Przyciski - Zunifikowany standard (Liquid Cyan Neon) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem;
    color: #ffffff;
    background: rgba(0, 229, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 229, 255, 0.85);
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), inset 0 0 10px rgba(0, 229, 255, 0.2);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    margin-top: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    outline: none;
    background: rgba(0, 229, 255, 1);
    border-color: rgba(0, 229, 255, 1);
    color: #060913 !important;
    text-shadow: none;
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.8), 0 0 15px rgba(0, 229, 255, 0.5);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

/* Sekcje - układ ogólny */
section {
    min-height: 100vh;
    padding: 12rem 5% 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
    margin: 0;
    position: relative;
    z-index: 10; /* nad tłem */
}

/* Hero Section */
#hero {
    align-items: flex-start;
    text-align: left;
    padding-top: 32rem;
}

#hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-family: 'Times New Roman', Times, serif; 
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

#hero h1 .h1-sub {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 1.3vw, 1.15rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: rgba(0, 229, 255, 0.75);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
    display: block;
    margin-bottom: 1rem;
}

#hero h1 .h1-sub .mono-code {
    color: inherit;
    opacity: 1;
    text-shadow: inherit;
}

#hero .subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 650px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Oferta */
#oferta .section-title {
    text-align: center;
    color: rgba(0, 229, 255, 0.8);
    margin-bottom: 3rem;
}

/* Glass Kafelki (Oferta, itp.) */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    width: 100%;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease; 
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 229, 255, 0.1);
}

/* Wyróżnienie środkowego kafelka (Główna wartość wizerunkowa) */
.card.card-featured,
.grid-container .card:nth-child(2) {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(0, 229, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(0, 229, 255, 0.08);
}

.card.card-featured:hover,
.grid-container .card:nth-child(2):hover {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3), 0 0 35px rgba(0, 229, 255, 0.18);
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    z-index: 2;
}

.card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.card p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
}

.card p strong,
.card p b {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   2.5. O MNIE - BENTO IDENTITY GRID & HUD MICROINTERACTIONS
   ========================================================================== */

#o-mnie {
    position: relative;
    width: 100%;
}

.about-header {
    margin-bottom: 2.5rem;
}

.about-headline {
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-top: 0.5rem;
    line-height: 1.25;
}

/* Bento Grid System */
.about-bento-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.5rem;
    width: 100%;
}

/* Szklana Karta Bento */
.about-card {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    pointer-events: none;
    z-index: 3;
}

.about-card:hover {
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 229, 255, 0.08);
}

/* Spotlight Cursor Effect */
.spotlight-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 229, 255, 0.09), transparent 60%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.spotlight-card:hover::after {
    opacity: 1;
}

/* Wnętrze kart ponad spotlightem */
.about-card > * {
    position: relative;
    z-index: 2;
}

/* 1. Karta Profilowa (Lewa kolumna) */
.about-card-profile {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.25rem;
}

.hud-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ffcc;
    box-shadow: 0 0 8px #00ffcc;
    animation: hudPulseDot 2s ease-in-out infinite;
}

@keyframes hudPulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 6px #00ffcc;
    }
    50% {
        transform: scale(1.35);
        opacity: 0.7;
        box-shadow: 0 0 14px #00ffcc, 0 0 22px rgba(0, 255, 204, 0.6);
    }
}

.hud-status-text {
    font-size: 0.72rem;
    color: #00ffcc;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.hud-loc {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

/* Ramka portretu HUD */
.about-portrait-frame {
    position: relative;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.hud-corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid var(--neon-cyan);
    opacity: 0.75;
    pointer-events: none;
    z-index: 3;
}

.hud-corner.top-left {
    top: 6px;
    left: 6px;
    border-width: 2px 0 0 2px;
}

.hud-corner.top-right {
    top: 6px;
    right: 6px;
    border-width: 2px 2px 0 0;
}

.hud-corner.bottom-left {
    bottom: 6px;
    left: 6px;
    border-width: 0 0 2px 2px;
}

.hud-corner.bottom-right {
    bottom: 6px;
    right: 6px;
    border-width: 0 2px 2px 0;
}

.about-svg {
    width: 100%;
    max-width: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dev-portrait {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 16px rgba(0, 229, 255, 0.25));
    transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-card-profile:hover .dev-portrait {
    filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.45));
    transform: scale(1.02);
}

.profile-info-footer {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.3px;
    margin-bottom: 2px;
}

.profile-title {
    font-size: 0.82rem;
    color: var(--neon-cyan);
    letter-spacing: 0.5px;
    display: block;
}

.profile-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.badge {
    padding: 5px 11px;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.badge:hover {
    border-color: var(--neon-cyan);
    color: #ffffff;
    background: rgba(0, 229, 255, 0.08);
}

/* 2. Karta: Historia & Filozofia (Prawa góra) */
.about-card-story {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.card-inner-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.about-badge-tag {
    font-size: 0.82rem;
    color: var(--neon-cyan);
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.story-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.story-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-main);
    font-weight: 300;
    margin-bottom: 0.85rem;
}

.story-lead strong {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.25);
}

.story-sub {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--text-muted);
    font-weight: 300;
}

/* Pasek Metryk */
.about-metrics-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1.25rem;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem 1.75rem;
    margin-top: 1.75rem;
}

.about-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
    line-height: 1.1;
}

.metric-caption {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.about-metric-divider {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
}

/* 3. Karta: Dwa Filary Współpracy (Prawa dół) */
.about-card-pillars {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.about-subheading {
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
}

.pillar-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 0;
}

/* Kafle korzyści */
.about-benefit-tiles {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.benefit-tile {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 0.9rem 1.15rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.benefit-tile:hover {
    background: rgba(0, 229, 255, 0.04);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.benefit-tile-icon {
    font-size: 1rem;
    color: var(--neon-cyan);
    flex-shrink: 0;
    margin-top: 2px;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.benefit-tile-content strong {
    font-size: 0.92rem;
    color: #ffffff;
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
}

.benefit-tile-content p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* 4. Karta: Po Godzinach / Lifestyle (Dolny pas pełnej szerokości) */
.about-card-lifestyle {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.lifestyle-text {
    font-size: 0.96rem;
    line-height: 1.75;
    color: var(--text-muted);
    font-weight: 300;
    margin-bottom: 0.75rem;
}

.lifestyle-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.life-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1.15rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    font-size: 0.88rem;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.life-pill:hover {
    border-color: var(--neon-cyan);
    color: #ffffff;
    background: rgba(0, 229, 255, 0.08);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
}

.life-emoji {
    font-size: 1.05rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.life-pill:hover .life-emoji {
    transform: scale(1.25) rotate(-6deg);
}

.lifestyle-status-line {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 0.76rem;
    color: #00ffcc;
    opacity: 0.85;
    letter-spacing: 1px;
}

/* Pasek Akcji CTA */
.about-actions-bar {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.about-cta {
    margin-top: 0;
}

/* Proces */
#proces .section-title,
#process .section-title {
    font-family: var(--font-mono);
    color: rgba(0, 229, 255, 0.75);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.35);
    letter-spacing: 3px;
    font-size: 0.95rem;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.step {
    position: relative;
    flex: 1;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Wyróżnienie środkowego kafelka (Krok 02) */
.step.step-featured,
.steps-container .step:nth-child(2) {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(0, 229, 255, 0.25);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 0 25px rgba(0, 229, 255, 0.08);
}

/* Hover effects */
.steps-container:hover .step {
    opacity: 0.55;
}

.step:hover,
.steps-container .step:hover {
    opacity: 1;
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(0, 229, 255, 0.18), inset 0 0 15px rgba(0, 229, 255, 0.05);
}

.step-bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.step:hover .step-bg-icon {
    opacity: 0.08;
    color: var(--neon-cyan);
}

.step-bg-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-family: var(--font-sans);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    pointer-events: none;
    transition: color 0.3s ease;
}

.step:hover .step-bg-number {
    color: rgba(0, 229, 255, 0.05);
}

.step-heading {
    position: relative;
    z-index: 1;
    font-size: 1.15rem;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.step-heading .step-num {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.step p {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.step p strong,
.step p b {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Portfolio (Cyber-Gallery Bento Grid) */
#portfolio {
    padding-left: 5%;
    padding-right: 5%;
}

.portfolio-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s, text-shadow 0.3s;
    outline: none;
}

.tab-btn:hover {
    color: var(--text-main);
}

.tab-btn.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 320px;
    gap: 2rem;
    width: 100%;
}

.portfolio-item {
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(0, 229, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    cursor: pointer;
}

/* Hover State - Liquid Glass Glow */
.portfolio-item:hover {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.15), inset 0 0 20px rgba(0, 229, 255, 0.05);
    transform: translateY(-5px);
}

/* Flagship / Center Tile */
.portfolio-item.flagship {
    grid-column: span 2;
    grid-row: span 2;
}

/* Browser Bar */
.card-browser-bar {
    height: 32px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 6px;
    flex-shrink: 0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }

/* Media Container */
.card-media {
    flex: 1;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: #000;
}

.portfolio-video,
.portfolio-scroll-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(80%) brightness(0.6);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-scroll-img {
    background-image: url('furapro.jfif');
    background-size: cover;
    background-position: top center;
}

.portfolio-item:hover .portfolio-video,
.portfolio-item:hover .portfolio-scroll-img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.03);
}

.portfolio-item:hover .portfolio-scroll-img {
    background-position: bottom center;
    transition: background-position 8s ease-in-out, filter 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.6s;
}

/* Bottom Info Panel */
.card-info {
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.portfolio-item:hover .card-info {
    transform: translateY(0);
}

.card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 500;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.4s 0.1s;
}

.portfolio-item:hover .card-tags {
    opacity: 1;
}

.card-tags .mono-code {
    font-size: 0.7rem;
    color: var(--neon-cyan);
    margin: 0;
    text-shadow: none;
}


/* Glass Modal */
.glass-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.glass-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: rgba(4, 9, 20, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 20px;
    width: 90%;
    max-width: 1100px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), inset 0 0 30px rgba(0, 229, 255, 0.05);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.glass-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--neon-cyan);
    color: #000;
    border: none;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    transition: transform 0.3s;
    z-index: 10;
}

.close-modal:hover {
    transform: scale(1.1);
}

.modal-layout {
    display: flex;
    gap: 3rem;
}

.modal-browser {
    flex: 2;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
}

.modal-media {
    flex: 1;
    background: #000;
    min-height: 400px;
    position: relative;
}

.modal-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info-panel h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   FORMULARZ KONTAKTOWY (SPLIT LAYOUT & LIQUID GLASS)
   ========================================================================== */
#kontakt {
    align-items: center;
    position: relative;
    padding: 8rem 5% 6rem;
    overflow: hidden;
}

/* Subtle glowing orb behind the contact section */
#kontakt::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(380px, 60vw, 850px);
    height: clamp(380px, 60vw, 850px);
    background: radial-gradient(circle, rgba(0, 229, 255, 0.14) 0%, rgba(176, 38, 255, 0.09) 45%, transparent 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.contact-split-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: clamp(2.5rem, 5vw, 4.8rem);
    align-items: start;
    position: relative;
    z-index: 1;
    text-align: left;
}

/* --- LEWA KOLUMNA: KONTEKST I BEZPOŚREDNI KONTAKT --- */
.contact-info-col {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--neon-cyan);
    letter-spacing: 2.5px;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
    margin-bottom: 1.25rem;
}

.contact-headline {
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.25rem;
}

.contact-headline-accent {
    background: linear-gradient(135deg, #ffffff 20%, var(--neon-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.25);
}

.contact-subtitle {
    font-size: clamp(1rem, 1.15vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.contact-direct-actions {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Klikalny e-mail z opcją szybkiego kopiowania */
.contact-email-card {
    background: rgba(18, 18, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 1.35rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-email-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(0, 229, 255, 0.14), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.contact-email-card:hover {
    border-color: rgba(0, 229, 255, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 229, 255, 0.12), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.contact-email-card:hover::before {
    opacity: 1;
}

.email-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-email-card:hover .email-card-icon {
    background: rgba(0, 229, 255, 0.16);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.35);
    transform: scale(1.05);
}

.email-card-body {
    flex-grow: 1;
    min-width: 0;
}

.email-card-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.35rem;
}

.email-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-mail-link {
    font-family: var(--font-mono);
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
}

.contact-email-card:hover .contact-mail-link {
    color: var(--neon-cyan);
}

.btn-copy-email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.45rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.btn-copy-email:hover,
.contact-email-card:hover .btn-copy-email {
    background: rgba(0, 229, 255, 0.14);
    border-color: rgba(0, 229, 255, 0.45);
    color: var(--neon-cyan);
}

.btn-copy-email.copied {
    background: rgba(0, 255, 136, 0.15) !important;
    border-color: rgba(0, 255, 136, 0.6) !important;
    color: #00ff88 !important;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.35);
}

/* Status dostępności i Lokalizacja (2-kolumnowy subgrid) */
.contact-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-meta-card {
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-meta-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(18, 18, 26, 0.7);
    transform: translateY(-1px);
}

.meta-status-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.status-pulse-dot {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

.status-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid #00ff88;
    animation: contactPulse 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes contactPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.meta-icon-wrap {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    flex-shrink: 0;
}

.meta-info {
    display: flex;
    flex-direction: column;
}

.meta-title {
    font-size: 0.7rem;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2px;
}

.meta-val {
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.2px;
}

/* --- PRAWA STRONA: SZKLANY FORMULARZ (LIQUID GLASS) --- */
.contact-form-col {
    position: relative;
    width: 100%;
}

.contact-glass-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    width: 100%;
    max-width: 100%;
    padding: clamp(2rem, 3.5vw, 3.25rem);
    background: rgba(18, 18, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

/* Pasek statusu / konsoli na górze karty formularza */
.terminal-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.5rem;
}

.terminal-dots {
    display: flex;
    gap: 7px;
}

.tdot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tdot.red { background: #ff5f56; box-shadow: 0 0 6px rgba(255, 95, 86, 0.4); }
.tdot.yellow { background: #ffbd2e; box-shadow: 0 0 6px rgba(255, 189, 46, 0.4); }
.tdot.green { background: #27c93f; box-shadow: 0 0 6px rgba(39, 201, 63, 0.4); }

.terminal-title {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.45);
}

.contact-glass-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

/* Pola wejściowe i textarea */
.contact-glass-form input[type="text"],
.contact-glass-form input[type="email"],
.contact-glass-form textarea {
    width: 100%;
    padding: 1.15rem 1.4rem;
    background: rgba(10, 10, 18, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-glass-form textarea {
    min-height: 135px;
    resize: vertical;
    line-height: 1.6;
}

.contact-glass-form input::placeholder,
.contact-glass-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.32);
    letter-spacing: 0.4px;
}

/* Neonowy focus-visible na polach */
.contact-glass-form input:focus,
.contact-glass-form textarea:focus,
.contact-glass-form input:focus-visible,
.contact-glass-form textarea:focus-visible {
    outline: none;
    border-color: rgba(0, 229, 255, 0.85);
    background: rgba(0, 229, 255, 0.03);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.25), inset 0 0 10px rgba(0, 229, 255, 0.05);
}

/* Przycisk CTA w formularzu kontaktowym (Zunifikowany) */
.contact-glass-form .btn-contact-submit {
    width: 100%;
    max-width: 100%;
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.15rem 2.2rem;
    background: rgba(0, 229, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 229, 255, 0.85);
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), inset 0 0 10px rgba(0, 229, 255, 0.2);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.contact-glass-form .btn-contact-submit:hover,
.contact-glass-form .btn-contact-submit:focus-visible {
    outline: none;
    background: rgba(0, 229, 255, 1);
    border-color: rgba(0, 229, 255, 1);
    color: #060913 !important;
    text-shadow: none;
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.8), 0 0 15px rgba(0, 229, 255, 0.5);
    transform: translateY(-2px);
}

.contact-glass-form .btn-contact-submit:active {
    transform: translateY(0);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.contact-glass-form .btn-contact-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-glass-form .btn-contact-submit .btn-arrow-icon {
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), stroke 0.3s ease;
    stroke: currentColor;
}

.contact-glass-form .btn-contact-submit:hover .btn-arrow-icon,
.contact-glass-form .btn-contact-submit:focus-visible .btn-arrow-icon {
    transform: translateX(4px);
    stroke: #060913;
}

/* Checkbox RODO / zgoda - W pełni interaktywny, dostępny i responsywny */
.form-rodo-consent {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    user-select: none;
    margin-top: 0.35rem;
}

.form-rodo-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 4px;
    background: rgba(10, 10, 18, 0.75);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    pointer-events: auto;
}

.form-rodo-consent input[type="checkbox"]::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid var(--neon-cyan);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 2px;
    opacity: 0;
}

.form-rodo-consent input[type="checkbox"]:checked {
    border-color: var(--neon-cyan);
    background: rgba(0, 229, 255, 0.15);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.form-rodo-consent input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}

.form-rodo-consent input[type="checkbox"]:focus-visible {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}

.form-rodo-consent:hover input[type="checkbox"] {
    border-color: rgba(0, 229, 255, 0.8);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.25);
}

.form-rodo-consent:hover .rodo-text {
    color: rgba(255, 255, 255, 0.8);
}

.rodo-text {
    letter-spacing: 0.15px;
    cursor: pointer;
}

/* Stopka */
footer {
    text-align: center;
    padding: 2rem;
    font-family: var(--font-sans);
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
}

/* X-Ray / Skaner na kafelkach zostawiam, ale dostosuję do szkła */
.x-ray-target {
    position: relative;
    overflow: hidden;
}

.x-ray-target * {
    position: relative;
    z-index: 3;
}

.x-ray-target::before {
    content: '';
    position: absolute;
    inset: 0;
    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;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0.6) 75%, black 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.1) 25%, rgba(0,0,0,0.6) 75%, black 100%);
    -webkit-mask-size: 100% 300px;
    mask-size: 100% 300px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: 0 -300px;
    mask-position: 0 -300px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.x-ray-target::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        to bottom, 
        transparent 0%, 
        rgba(255, 255, 255, 0.02) 60%, 
        rgba(255, 255, 255, 0.1) 90%, 
        rgba(255, 255, 255, 0.3) 98%,
        rgba(255, 255, 255, 0.6) 99.5%, 
        #ffffff 100%                
    );
    background-size: 100% 300px;
    background-repeat: no-repeat;
    background-position: 0 -300px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    mix-blend-mode: overlay; 
}

.x-ray-target:hover::before,
.x-ray-target:hover::after {
    opacity: 1;
    animation: synchronized-scan 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes synchronized-scan {
    0% {
        -webkit-mask-position: 0 -300px;
        mask-position: 0 -300px;
        background-position: 0 -300px;
    }
    100% {
        -webkit-mask-position: 0 800px; 
        mask-position: 0 800px;
        background-position: 0 800px;
    }
}



/* --- MONOSPACE TAGS --- */
.mono-code {
    font-family: 'Space Mono', monospace;
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 0.8em;
    font-weight: 400;
    margin: 0 0.2rem;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* --- GLASSSMORPHISM UI WIREFRAMES --- */
.wireframe-container {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    opacity: 0; /* ukryte na starcie */
    transition: opacity 0.8s ease-in-out;
}

.wireframe-container.visible {
    opacity: 1;
}

.wireframe {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.wf-wrapper {
    position: absolute;
    /* transition for smooth scroll parallax */
    transition: transform 0.1s linear;
}

.wf-wrapper-1 {
    top: 20%;
    left: 8%;
}

.wf-wrapper-2 {
    bottom: 15%;
    right: 10%;
}

.wf-1 {
    width: 280px;
    height: 380px;
    transform: rotate(-4deg);
    animation: float-wf 14s ease-in-out infinite alternate;
}

.wf-2 {
    width: 280px;
    height: 380px;
    transform: rotate(3deg);
    animation: float-wf 16s ease-in-out infinite alternate-reverse;
    padding: 1.5rem;
}

/* Detale szkieletu */
.wf-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wf-header.space-between {
    justify-content: space-between;
}

.wf-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wf-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wf-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.wf-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.wf-avatar.small {
    width: 24px;
    height: 24px;
}

.wf-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.w-30 { width: 30%; }
.w-40 { width: 40%; }
.w-50 { width: 50%; }
.w-60 { width: 60%; }
.w-70 { width: 70%; }
.w-80 { width: 80%; }
.w-90 { width: 90%; }

.wf-image-placeholder {
    width: calc(100% - 30px);
    height: 120px;
    margin: 15px 15px 0 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wf-media-player {
    width: calc(100% - 30px);
    height: 140px;
    margin: 15px 15px 0 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.wf-play-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}
.wf-play-circle svg {
    width: 20px;
    height: 20px;
    margin-left: 2px;
}

.wf-progress-bar {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.wf-progress-fill {
    width: 40%;
    height: 100%;
    background: rgba(0, 229, 255, 0.5);
    border-radius: 2px;
}

.wf-actions {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.wf-button {
    width: 80px;
    height: 24px;
    background: rgba(0, 229, 255, 0.2);
    border-radius: 4px;
}

.wf-button.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes float-wf {
    0% { transform: translateY(0) rotate(-3deg); }
    100% { transform: translateY(-20px) rotate(1deg); }
}

.mac-dots {
    display: flex;
    gap: 6px;
    opacity: 0.25;
}

.mac-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
}

/* --- CURSOR TOOLTIP --- */
#cursor-tooltip {
    position: absolute;
    top: 50%;
    left: 100%;
    margin-left: 15px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--primary-color);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    backdrop-filter: blur(4px);
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.2s;
    pointer-events: none;
    letter-spacing: 1px;
}

#cursor-tooltip.active {
    opacity: 1;
}

/* ============================================================
   THE NEON HORIZON FOOTER
   ============================================================ */
.neon-horizon-footer {
    width: 100%;
    margin-top: 6rem;
    padding: 0 5% 2rem;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 255, 204, 0.15);
    box-shadow: 0 -10px 40px rgba(0, 255, 204, 0.05);
    position: relative;
    z-index: 10;
}

.neon-horizon-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.5), rgba(176, 38, 255, 0.5), transparent);
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* 1. Górna strefa */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top-left h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer-top-left p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* 2. Środkowa strefa */
.footer-middle {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding: 4rem 0;
}

.footer-col {
    text-align: left;
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-company p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 1.2rem;
}

.footer-col ul li a {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-mono);
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.footer-col ul li a svg {
    margin-right: 10px;
    opacity: 0.8;
}

.footer-col ul li a .bracket {
    color: var(--text-muted);
    text-shadow: none;
}

.footer-col ul li a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
}

.footer-col ul li a u,
.footer-col ul li a span:not(.bracket) {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(0, 229, 255, 0.4);
}

.footer-col ul li a:hover u,
.footer-col ul li a:hover span:not(.bracket) {
    text-decoration-color: var(--neon-cyan);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 8px #00ff88;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0% { opacity: 1; box-shadow: 0 0 8px #00ff88; }
    50% { opacity: 0.4; box-shadow: 0 0 2px #00ff88; }
    100% { opacity: 1; box-shadow: 0 0 8px #00ff88; }
}

/* 3. Dolna strefa */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-signature {
    color: var(--neon-purple);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .footer-middle {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .footer-middle {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ============================================================
   RESPONSYWNOŚĆ & MOBILE ADAPTATION (AWWWARDS STANDARD)
   ============================================================ */

/* 1. Urządzenia dotykowe */
@media (hover: none) and (pointer: coarse) {

    /* Wyłączenie skanera na kafelkach przy braku hovera dla optymalizacji baterii/GPU */
    .x-ray-target:hover::before,
    .x-ray-target:hover::after {
        opacity: 0;
        animation: none;
    }
}

/* 2. Tablety i mniejsze ekrany (do 1024px) */
@media (max-width: 1024px) {
    .glass-nav {
        padding: 1rem 2rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .about-bento-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card-profile,
    .about-card-story,
    .about-card-pillars,
    .about-card-lifestyle {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .about-card-profile {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }

    .about-portrait-frame {
        margin-bottom: 0;
        flex: 0 0 220px;
    }

    #hero {
        padding-top: 18rem;
    }

    .contact-split-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
}

/* 3. Smartfony i urządzenia mobilne (do 768px) */
@media (max-width: 768px) {
    /* Nawigacja mobilna */
    .glass-nav {
        padding: 0.85rem 1.25rem;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        height: 100vh;
        background: rgba(6, 9, 22, 0.96);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.75rem;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transform: scale(0.96) translateY(-10px);
        transition: opacity 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 5rem 1.5rem 2.5rem;
    }

    .nav-links.mobile-open {
        opacity: 1;
        pointer-events: all;
        transform: scale(1) translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .nav-links a {
        font-size: 1.25rem;
        letter-spacing: 3px;
        display: inline-block;
        padding: 0.5rem 1rem;
    }

    body.menu-open {
        overflow: hidden !important;
        touch-action: none;
    }

    /* Sekcje ogólne */
    section {
        min-height: auto;
        padding: 5rem 1.25rem 3rem;
    }

    /* Hero */
    #hero {
        min-height: 100dvh;
        min-height: 100vh;
        padding-top: 6.5rem;
        padding-bottom: 3.5rem;
        justify-content: center;
    }

    #hero h1 {
        font-size: clamp(2rem, 7.5vw, 2.8rem);
        line-height: 1.15;
        margin-bottom: 1.2rem;
    }

    #hero h1 .h1-sub {
        font-size: clamp(0.85rem, 3.5vw, 1.05rem);
        margin-bottom: 0.75rem;
    }

    #hero .subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .btn-primary {
        width: 100%;
        max-width: 320px;
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
        letter-spacing: 1.5px;
    }

    /* Ukrycie pływających okien Wireframes na mobile (eliminacja bałaganu i overflow) */
    .wireframe-container {
        display: none !important;
    }

    /* Oferta */
    .grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .card h3 {
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .card p {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    /* O Mnie */
    .about-bento-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .about-card {
        padding: 1.75rem 1.25rem;
        border-radius: 18px;
    }

    .about-card-profile {
        flex-direction: column;
        align-items: stretch;
    }

    .about-portrait-frame {
        margin-bottom: 1.25rem;
        width: 100%;
        max-width: 100%;
    }

    .about-svg {
        max-width: 190px;
        width: 100%;
        margin: 0 auto;
    }

    .about-metrics-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }

    .about-metric-divider {
        display: none;
    }

    .about-headline {
        font-size: 1.45rem;
    }

    .story-title {
        font-size: 1.25rem;
    }

    .about-actions-bar {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }

    .about-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    /* Proces */
    .steps-container {
        flex-direction: column;
        gap: 1.25rem;
    }

    .step {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }

    .step-bg-number {
        font-size: 6rem;
    }

    .step-heading {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }

    .step p {
        font-size: 0.9rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }

    /* Portfolio */
    .portfolio-header {
        align-items: flex-start;
    }
    
    .portfolio-tabs {
        gap: 0.5rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
        gap: 1.5rem;
    }

    .portfolio-item.flagship {
        grid-column: span 1;
        grid-row: span 1;
    }

    .card-info {
        opacity: 1;
        transform: translateY(0);
        padding: 1.25rem;
        background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3), transparent);
    }

    .card-tags {
        opacity: 1;
    }
    
    /* Modal w Mobile */
    .modal-layout {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-media {
        min-height: 200px;
    }
    
    .modal-info-panel h2 {
        font-size: 1.8rem;
    }

    /* Formularz Kontaktowy */
    #kontakt {
        padding: 5rem 1.25rem 3.5rem;
    }

    .contact-split-container {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }

    .contact-glass-form {
        padding: 1.85rem 1.35rem;
        border-radius: 20px;
        gap: 1.15rem;
    }

    .contact-glass-form .form-row {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .contact-glass-form input,
    .contact-glass-form textarea {
        font-size: 16px; /* Zapobiega zoomowaniu widoku na Safari iOS */
        padding: 1.05rem 1.2rem;
        border-radius: 12px;
    }

    .contact-meta-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .email-card-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .contact-mail-link {
        font-size: 1.1rem;
        word-break: break-all;
    }

    .contact-glass-form .btn-contact-submit {
        width: 100%;
        max-width: 100%;
    }
}

/* 4. Bardzo małe ekrany (do 420px, np. iPhone SE) */
@media (max-width: 420px) {
    .glass-nav {
        padding: 0.75rem 1rem;
    }

    .logo {
        font-size: 1.15rem;
    }

    #logo-svg {
        width: 36px;
        height: 28px;
    }

    #hero h1 {
        font-size: 1.85rem;
    }

    .card {
        padding: 1.75rem 1.2rem;
    }

    .about-card {
        padding: 1.4rem 1rem;
    }

    .life-pill {
        font-size: 0.8rem;
        padding: 0.45rem 0.85rem;
    }
}