:root {
    --bg-dark: #050507;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --candy-pink: #ec4899;
    --candy-purple: #8b5cf6;
    --glass-bg: rgba(15, 15, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    background-color: var(--bg-dark);
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #4a4a55;
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: #60606e;
}

/* Nowoczesne Tło: Siatka (Grid) z maską */
/* Nowoczesne Tło: Siatka (Grid) z maską */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0; /* Zmienione na 0, żeby nie uciekało pod tło */
    pointer-events: none; /* Żeby nie blokowało klikania na stronie */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), /* Zwiększona widoczność (0.08) */
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
}

.glow-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, rgba(139, 92, 246, 0.03) 30%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* =========================================
   STYLE DLA SEKCJI FAQ (Rozwijane paski)
========================================= */
.faq {
    padding: 60px 0 120px;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Stan paska po rozszerzeniu/kliknięciu */
.faq-item[open] {
    border-color: rgba(236, 72, 153, 0.3);
    background: rgba(25, 25, 30, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item summary {
    padding: 22px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none; /* Ukrywa standardowy brzydki czarny trójkącik */
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

/* Ukrycie domyślnego znacznika w przeglądarkach Safari/Chrome */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    transition: transform 0.3s ease, color 0.3s ease;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 15px;
    width: 20px;
    height: 20px;
}

/* Obrót strzałki i zmiana koloru na różowy po rozwinieciu */
.faq-item[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--candy-pink);
}

.faq-answer {
    padding: 0 25px 25px 25px;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

/* Marginesy i priorytety warstw dla poprawnego nakładania na tło */
#faq {
    position: relative;
    z-index: 10;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--candy-pink), var(--candy-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.4s ease;
}

nav.scrolled {
    padding: 10px 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
}

.logo img {
    height: 40px;
}

.logo .highlight {
    color: var(--candy-pink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--candy-pink);
}

.btn-panel {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 25px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
}

.btn-panel:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, var(--candy-pink), var(--candy-purple));
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.5);
}

.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--candy-pink), var(--candy-purple));
    margin: 15px auto 0;
    border-radius: 2px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(236, 72, 153, 0.3);
    background: rgba(25, 25, 30, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--candy-pink);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-wrapper.purple {
    color: var(--candy-purple);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
}

footer {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.8;
}

.footer-logo img {
    height: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--candy-pink);
}

.footer-bottom {
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }
.delay-4 { transition-delay: 0.7s; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links a { margin: 0 10px; }
}

/* ==========================================
   POPRAWKA PRZYCISKU VPS (Żeby był widoczny)
   ========================================== */
.hero-buttons .btn-panel {
    background: linear-gradient(135deg, #ff007f, #7b2cbf) !important; /* Ładny różowo-fioletowy gradient pasujący do logo */
    color: #ffffff !important; /* Biały tekst, w końcu będzie go widać! */
    border: none !important;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
}

.hero-buttons .btn-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.5);
}

/* ==========================================
   RESPONSYWNE MENU MOBILNE (Trzy kreski)
   ========================================== */
@media (max-width: 768px) {
    /* Poprawione wysuwanie menu z uwzględnieniem pełnej wysokości paska nav */
    .nav-links {
        display: none; 
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 100%; /* Elastyczne wyrównanie dokładnie do dolnej krawędzi paska */
        left: 0;
        width: 100%;
        background-color: #0d0d13; 
        padding: 20px;
        box-sizing: border-box;
        border-bottom: 2px solid #241435;
        z-index: 99999 !important; /* Maksymalny priorytet warstwy, by tło nie zasłaniało linków */
    }

    /* Pokazywanie menu po dodaniu klasy active */
    .nav-links.active {
        display: flex !important;
    }

    /* Wyraźne linki w menu mobilnym */
    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        color: #ffffff !important;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Panel Klienta dopasowany do wersji mobilnej */
    .nav-links .btn-panel {
        background: linear-gradient(135deg, #ff007f, #7b2cbf) !important;
        color: white !important;
        border-radius: 30px;
        border-bottom: none;
    }
    
    /* Gwarancja widoczności przycisku hamburgera na smartfonach */
    .mobile-menu-btn {
        display: block !important;
        position: relative;
        z-index: 100000 !important;
        background: none;
        border: none;
        color: #ffffff !important;
        padding: 10px;
        cursor: pointer;
    }
    
    /* Zabezpieczenie przed ucinaniem ikony */
    .mobile-menu-btn i {
        display: block;
        width: 24px;
        height: 24px;
    }
}