* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #0a0a0b;
    color: #e2e2e2;
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Fix dla strony głównej */
}

/* NAVBAR - Teraz zintegrowany z tłem */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    background: rgba(0, 0, 0, 0.2); /* Bardzo lekki czarny dla kontrastu */
    backdrop-filter: blur(12px); /* Rozmycie tła pod menu */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.nav-logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.5)); /* Blask loga */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-container:hover .nav-logo {
    transform: rotate(-5deg) scale(1.1);
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.8));
}

.logo {
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 1.3rem;
    background: linear-gradient(to right, #d41717, #eded05);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.btn-auth {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 10px 25px;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 2px; /* Bardziej ostry, militarny look */
    transition: all 0.3s;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); /* Nowoczesne wcięcie */
}

.btn-auth:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Animacja wypełniająca wszystko */
.video-container {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5; /* Przyciemnienie o 50% */
}

.overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent 0%, #0a0a0b 100%);
    z-index: -1;
}

/* LICZNIKI I TREŚĆ */
.container {
    width: 100%;
    max-width: 1600px;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    z-index: 10;
}

.stats { display: flex; flex-direction: column; gap: 50px; }
.stats-right { text-align: right; align-items: flex-end; }

.stat-item {
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 2px solid transparent;
}

.stats-right .stat-item { border-left: none; border-right: 2px solid transparent; }

.stat-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: #3b82f6;
    transform: translateX(10px);
}

.stats-right .stat-item:hover { transform: translateX(-10px); }

.label {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: #555;
    font-weight: 800;
}

.value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.value.active {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 10px;
}

.value.active::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-content h1 {
    font-size: 6.5rem;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 0.85;
    margin-bottom: 30px;
}

.badge {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: #3b82f6;
    margin-bottom: 20px;
    display: block;
}

.subtext {
    color: #999;
    max-width: 550px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}
@media (max-width: 1024px) {
	body {
		overflow-y: auto; /* Pozwala przewijać na mniejszych ekranach */
	}
}
@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
        height: 60px;
    }
    
    .nav-links {
        display: none; /* Ukrywamy linki - zazwyczaj robi się tu "hamburger menu" w JS */
    }
    
    .logo-container .logo {
        font-size: 1rem;
    }
}
@media (max-width: 1024px) {
    .container {
        display: flex;
        flex-direction: column; /* Elementy jeden pod drugim */
        padding: 100px 20px;   /* Więcej miejsca od góry przez fixed navbar */
        gap: 40px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3.5rem;      /* Zmniejszamy gigantyczny napis */
        letter-spacing: -2px;
    }

    .stats {
        flex-direction: row;    /* Statystyki obok siebie */
        justify-content: center;
        flex-wrap: wrap;        /* Jak się nie zmieszczą, to do nowej linii */
        gap: 20px;
    }

    .stats-right {
        text-align: center;
        align-items: center;
    }

    .stat-item {
        border-left: none !important;
        border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    }
}

/* Dodaj to przed Media Queries */
.menu-toggle {
    display: none; /* Ukryty na komputerze */
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
}

.bar {
    width: 28px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 2px;
}

/* POPRAWIONE MEDIA QUERIES */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Pokazuje się na telefonie */
    }

    .nav-links {
        display: flex; /* Zmieniamy z none na flex */
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%; /* Menu jest schowane za ekranem po prawej */
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 11, 0.98);
        backdrop-filter: blur(20px);
        justify-content: center;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1050;
    }

    /* Gdy dodamy klasę .active przez JS, menu wjedzie na ekran */
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.2rem; /* Większe napisy na telefonie */
    }

    /* Animacja hamburgera w krzyżyk (X) */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}