/* =========================================
   1. RESET I BAZA
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #121212;
    color: #ffffff;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* =========================================
   2. KOMPONENTY
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.section-dark { background-color: #1a1a1a; }
.section-darker { background-color: #121212; }

h3 {
    font-size: 2.2rem;
    margin-bottom: 60px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Standaryzacja zdjęć */
.image-box img {
    width: 100%;
    height: 600px; 
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border: 1px solid #333;
}

/* =========================================
   3. NAWIGACJA
   ========================================= */
nav {
    background: rgba(18, 18, 18, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #fff;
}
.logo .light { font-weight: 300; color: #ddd; }
.logo .dot { color: #00d4ff; font-size: 2rem; line-height: 0; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
}
.nav-links a:hover { color: #00d4ff; }

.btn-nav {
    border: 1px solid #fff;
    padding: 8px 20px;
    border-radius: 5px;
}
.btn-nav:hover {
    background: #fff;
    color: #000 !important;
}

/* =========================================
   4. HERO SECTION (Wersja PC)
   ========================================= */
.hero {
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    background: url('hero.jpg') no-repeat center center/cover;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
    text-align: center;
    padding-top: 150px; 
    padding-bottom: 80px; 
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8);
    margin-top: 5vh; 
}

.hero-info {
    margin-top: auto; 
    margin-bottom: 40px;
}

.hero-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.license-badge {
    display: inline-block;
    background: rgba(0,0,0,0.6);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #ddd;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
}

.btn-main {
    background: #fff;
    color: #000;
    padding: 18px 50px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}
.btn-main:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(255,255,255,0.15); }

/* =========================================
   5. SEKCJE TREŚCI
   ========================================= */
.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.text-box p { margin-bottom: 20px; color: #ccc; }

.quote-box {
    border-left: 4px solid #fff;
    padding-left: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 40px 0;
    font-style: italic;
}

/* Bezpieczeństwo */
.safety-box {
    background: #252525;
    padding: 30px;
    border-radius: 12px;
    margin-top: 30px;
    border: 1px solid #333;
}
.safety-box h4 {
    display: block;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
    font-size: 1.2rem;
}
.safety-list { list-style: none; }
.safety-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}
.icon-green { color: #4CAF50; font-size: 1.2rem; margin-top: 3px; }

/* Listy i Oferta */
.benefits-list { list-style: none; margin-top: 20px; }
.benefits-list li {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid #555;
}
.offer-segment h4 { margin-bottom: 15px; font-size: 1.3rem; }
.offer-segment { margin-bottom: 30px; }
.accent { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: #555; }

/* =========================================
   6. CENNIK
   ========================================= */
.center-title { text-align: center; margin-bottom: 80px; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: #1e1e1e;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
}
.pricing-card:hover { transform: translateY(-10px); border-color: #555; }

/* Wyróżniony pakiet */
.pricing-card.featured {
    background: #252525;
    border: 1px solid #fff;
    transform: scale(1.05); 
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.pricing-card.featured:hover { transform: scale(1.08); }

.pricing-card h4 { font-size: 1.5rem; margin-bottom: 10px; }
.category { display: block; font-size: 0.9rem; color: #888; margin-bottom: 20px; text-transform: uppercase; }
.price { font-size: 2.5rem; font-weight: 800; margin: 30px 0; color: #fff; }
.pricing-card ul { list-style: none; text-align: left; margin-top: 30px; }
.pricing-card li { border-bottom: 1px solid #333; padding: 15px 0; font-size: 0.95rem; color: #ccc; }

.disclaimer { text-align: center; font-size: 0.85rem; color: #666; margin-top: 60px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* =========================================
   7. KONTAKT
   ========================================= */
.section-contact {
    background: #111;
    text-align: center;
    padding-bottom: 50px;
}
.contact-content h3 { font-size: 3rem; margin-bottom: 20px; }
.contact-sub { font-size: 1.1rem; color: #bbb; margin-bottom: 60px; }

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.contact-card-item {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 20px 40px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    min-width: 300px;
}
.contact-card-item:hover {
    background: #252525;
    transform: translateY(-5px);
    border-color: #00d4ff;
}
.icon-circle {
    width: 50px; height: 50px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #00d4ff;
}
.contact-text { text-align: left; }
.contact-text span { display: block; font-size: 0.85rem; color: #888; text-transform: uppercase; }
.contact-text strong { display: block; font-size: 1.2rem; margin-top: 5px; }

.btn-portfolio {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #fff;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.btn-portfolio:hover { background: #fff; color: #000; }
.cta-final { margin-top: 40px; color: #666; font-size: 0.9rem; }
footer { border-top: 1px solid #222; padding-top: 40px; font-size: 0.8rem; color: #444; }

/* =========================================
   8. RESPONSYWNOŚĆ (MOBILE) - POPRAWIONA
   ========================================= */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-container { justify-content: center; }
    
    /* HERO MOBILE: Usunięty pusty pasek! */
    .hero { 
        height: 100svh; 
        background-position: center bottom;
    }
    
    .hero-content {
        display: block; 
        /* Padding góry tylko tyle, żeby ominąć logo SkyLens */
        padding-top: 110px; 
        padding-bottom: 0;
        position: relative;
    }
    
    .hero-title {
        font-size: 2.8rem;
        /* ZERO marginesu górnego - napis będzie zaraz pod logo */
        margin-top: 0; 
        margin-bottom: 20px; 
        line-height: 1.1;
    }
    
    .hero-info {
        margin-bottom: 0;
    }
    
    .hero-info h2 { font-size: 1.6rem; margin-bottom: 15px; }
    
    .btn-main {
        position: absolute;
        bottom: 10vh; /* Przyklejony do dołu */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 320px;
        padding: 20px 0;
    }

    /* SEKCJE */
    .split-screen { 
        grid-template-columns: 1fr;
        gap: 40px; 
    }

    /* Wyłączamy odwracanie na mobile - nagłówki zawsze nad zdjęciem */
    .reverse-mobile { display: flex; flex-direction: column; }
    
    .text-box { 
        text-align: left; 
        padding: 0 10px; 
    }
    
    /* ZDJĘCIA NA MOBILE */
    .image-box { width: 100%; margin: 0; }

    .image-box img { 
        width: 100%;
        height: 500px;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .pricing-grid { grid-template-columns: 1fr; }
    .contact-card-item { width: 100%; justify-content: center; }
    
    h3 { font-size: 1.8rem; margin-bottom: 40px; }
}