/* ==========================================================================
   Główne ustawienia bazy strony
   ========================================================================== */
body {
    font-family: 'Outfit', sans-serif;
    background-color: #050511;
    color: #ffffff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Dekoracyjne poświaty (glow) w tle */
.bg-glow-left {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(45,212,191,0.12) 0%, rgba(0,0,0,0) 70%);
    top: -250px;
    left: -250px;
    z-index: -1;
    border-radius: 50%;
}

.bg-glow-right {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, rgba(0,0,0,0) 70%);
    top: 150px;
    right: -350px;
    z-index: -1;
    border-radius: 50%;
}

/* Teksty gradientowe dla głównych haseł */
.text-gradient-primary {
    background: linear-gradient(90deg, #2dd4bf 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ==========================================================================
   Nawigacja
   ========================================================================== */
/* Menu mobilne - płynna animacja wysuwania */
#mobileMenu {
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-open {
    transform: translateX(0) !important;
}


/* ==========================================================================
   Efekty 3D dla Księżyców / Planet pod Hero
   ========================================================================== */
.moon-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    /* Efekt kuli - głęboki wewnętrzny cień z jednej strony i poświata z drugiej */
    box-shadow: inset -25px -25px 40px rgba(0,0,0,0.8), 0 0 20px rgba(255,255,255,0.05);
}

.moon-1 { background: radial-gradient(circle at 35% 35%, #2dd4bf, #064e3b); }
.moon-2 { background: radial-gradient(circle at 35% 35%, #3b82f6, #0f172a); }
.moon-3 { background: radial-gradient(circle at 35% 35%, #cbd5e1, #334155); }
.moon-4 { background: radial-gradient(circle at 35% 35%, #eab308, #713f12); }


/* ==========================================================================
   Efekty Glassmorphism i Kolorowe Karty Fundamentów
   ========================================================================== */
.card-glass {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-glass:hover {
    transform: translateY(-5px);
}

/* Data Governance - Turkus */
.card-governance { border-top: 2px solid #2dd4bf; }
.card-governance:hover { border-color: #2dd4bf; box-shadow: 0 0 30px rgba(45,212,191,0.15); }

/* Data Quality - Zielony */
.card-quality { border-top: 2px solid #4ade80; }
.card-quality:hover { border-color: #4ade80; box-shadow: 0 0 30px rgba(74,222,128,0.15); }

/* Data Operation - Niebieski */
.card-operation { border-top: 2px solid #3b82f6; }
.card-operation:hover { border-color: #3b82f6; box-shadow: 0 0 30px rgba(59,130,246,0.15); }

/* Data Protection - Fiolet / Indygo */
.card-protection { border-top: 2px solid #c084fc; }
.card-protection:hover { border-color: #c084fc; box-shadow: 0 0 30px rgba(192,132,252,0.15); }


/* ==========================================================================
   Linie łączące w procesie graficznym (Dashed lines)
   ========================================================================== */
.process-line {
    position: absolute;
    top: 3rem; /* Połowa wysokości ikony kroków (96px / 2) */
    left: 10%;
    right: 10%;
    height: 1px;
    background: repeating-linear-gradient(to right, rgba(255,255,255,0.2) 0, rgba(255,255,255,0.2) 5px, transparent 5px, transparent 10px);
    z-index: 0;
}

@media (max-width: 1024px) {
    .process-line { 
        display: none; 
    }
}


/* ==========================================================================
   Pływający Odtwarzacz Muzyczny i Animowany Equalizer
   ========================================================================== */
.eq-bar {
    width: 4px;
    height: 4px;
    transition: height 0.2s ease;
}

/* Klasa nadawana przez JS, gdy muzyka gra */
.player-playing .eq-bar {
    animation: equalize 0.8s infinite alternate;
}

.player-playing .eq-bar:nth-child(1) { animation-delay: 0.0s; animation-duration: 0.4s; }
.player-playing .eq-bar:nth-child(2) { animation-delay: 0.2s; animation-duration: 0.6s; }
.player-playing .eq-bar:nth-child(3) { animation-delay: 0.4s; animation-duration: 0.5s; }

@keyframes equalize {
    0% { 
        height: 4px; 
    }
    100% { 
        height: 14px; 
    }
}