/* Globalne Resetowanie i Podstawowe Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.5em;
    text-align: center;
    color: #007bff;
    margin-bottom: 40px;
}

/* --- Sekcja Hero (Nagłówek) --- */
.hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* --- Przyciski (Button Styles) --- */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #ffc107;
    color: #333;
    border-color: #ffc107;
}

.btn-primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.btn i.fas {
    margin-right: 8px;
}

/* --- Sekcja Wideo --- */
.video-section {
    padding: 60px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.video-section h3 {
    margin-bottom: 25px;
    font-size: 1.8em;
    color: #333;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Sekcja Features --- */
.features-section {
    padding: 60px 0;
}

.feature-block {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 40px;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    color: #007bff;
    font-size: 1.6em;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.feature-image {
    flex: 1;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* --- Sekcja Porównania i Zakupu (#versions) --- */

.purchase-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.purchase-section .subtitle {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555;
}

/* NEW: Styl dla bloku Ograniczeń Demo */
.demo-restrictions-box {
    max-width: 800px;
    margin: 20px auto 40px auto;
    padding: 20px;
    border: 2px solid #dc3545; /* Czerwona ramka */
    border-radius: 8px;
    background-color: #fcebeb; /* Bardzo jasnoczerwone tło */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.demo-restrictions-box h4 {
    color: #dc3545;
    font-size: 1.4em;
    margin-bottom: 15px;
    border-bottom: 1px solid #f9dcdc;
    padding-bottom: 5px;
}

.demo-restrictions-box ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.demo-restrictions-box ul li {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.demo-restrictions-box ul li i {
    margin-right: 10px;
}

.demo-restrictions-box .note {
    margin-top: 15px;
    font-style: italic;
    color: #555;
    font-size: 0.9em;
}
/* END NEW BLOCK STYLE */


/* Tabela Porównania */
.comparison-table-container {
    overflow-x: auto;
    margin: 30px 0;
}

.comparison-table {
    width: 100%;
    min-width: 650px; 
    border-collapse: collapse;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.comparison-table th {
    background-color: #f2f2ff;
    color: #333;
    font-weight: 700;
    text-align: center;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Wyróżnienie kolumny Premium */
.comparison-table thead th:last-child,
.comparison-table tbody td:last-child {
    background-color: #e6f7ff;
    font-weight: 700;
}

/* --- Wyróżnienie Kart Wyboru Wersji --- */

.version-selection-actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; 
    margin-top: 40px;
}

.version-card {
    flex: 0 0 350px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #ffffff;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #ddd;
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.version-card h3 {
    font-size: 1.8em;
    color: #007bff;
    margin-bottom: 10px;
}

.price-tag {
    font-size: 2.5em;
    color: #007bff;
    font-weight: 700;
    margin: 20px 0 30px;
    line-height: 1;
}

.version-card .btn-small {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    font-size: 1.0em;
    padding: 12px 0;
}

/* WIZUALNE WYRÓŻNIENIE PREMIUM (v2) */
.premium-card {
    border: 3px solid #FFD700; /* Złota ramka */
    background-color: #fff9e6; /* Lekko żółte tło */
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.6); /* Złoty cień */
    transform: scale(1.05); /* Lekkie powiększenie, aby przyciągnąć wzrok */
    z-index: 1; /* Upewnia się, że jest na wierzchu */
}

.premium-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.8);
}

.premium-card h3 {
    color: #cc9900; /* Ciemniejszy złoty kolor nagłówka */
}

.premium-card .price-tag {
    color: #cc9900;
}

.premium-card .btn-secondary {
    background-color: #cc9900;
    border-color: #cc9900;
    color: white;
}

.premium-card .btn-secondary:hover {
    background-color: #ffcc00;
    border-color: #ffcc00;
}

.delivery-info {
    text-align: center;
    margin-top: 40px !important;
    padding: 15px;
    background-color: #e8f5e9; 
    border-radius: 8px;
    border-left: 5px solid #4caf50;
    color: #333;
}


/* --- Sekcja Kontakt --- */
.contact-section {
    background-color: #007bff;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.contact-section h2 {
    color: white;
}

.contact-section .subtitle {
    margin-bottom: 40px;
    font-size: 1.1em;
    opacity: 0.9;
}

/* --- Stopka (Footer) --- */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 25px 0;
    font-size: 0.9em;
    text-align: center;
}

footer a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #2980b9;
}

/* --- Styl dla przycisku scroll-to-top (POPRAWIONY DLA WIDOCZNOŚCI) --- */
#scrollToTopBtn {
    /* Ustawienie pozycji */
    display: none; /* Ukryty domyślnie, JavaScript go pokaże */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;

    /* Wygląd - Wprowadzam stałe wymiary, okrągły kształt i tło */
    background-color: #007bff; /* Konkretne tło */
    color: white; /* Kolor ikony */
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none; /* Usuń podkreślenie z linku */

    /* Wymiary i wyśrodkowanie */
    width: 60px;
    height: 60px;
    line-height: 60px; /* Wyśrodkowanie pionowe tekstu/ikony */
    text-align: center; /* Wyśrodkowanie poziome */
    border-radius: 50%; /* Okrągły kształt */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    
    transition: background-color 0.3s, transform 0.3s;
}

/* Stylizacja samej ikony (usuwam box-shadow z ikony, przenoszę na kontener A) */
#scrollToTopBtn i {
    font-size: 30px; /* Rozmiar ikony */
    /* Usuwam box-shadow i border-radius, bo są na głównym elemencie A */
}

#scrollToTopBtn:hover {
    background-color: #0056b3; /* Zmiana koloru TŁA na hover */
    transform: translateY(-2px); /* Delikatne podniesienie */
    color: white; /* Utrzymanie koloru ikony */
    opacity: 1;
}
/* ------------------------------------------------------------------ */


/* --- Responsywność --- */

@media (max-width: 900px) {
    .feature-block {
        flex-direction: column;
        text-align: center;
    }
    .feature-block.reverse {
        flex-direction: column;
    }
    .feature-text, .feature-image {
        flex: none;
        width: 100%;
    }
    .feature-image img {
        margin-top: 20px;
    }
    
    .version-selection-actions {
        flex-direction: column;
        align-items: center;
    }

    .version-card {
        flex: 0 0 100%;
        max-width: 400px;
    }
    
    .premium-card {
        transform: scale(1.0); /* Usunięcie skalowania na małych ekranach */
    }

    .premium-card:hover {
        transform: translateY(-5px) scale(1.0);
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1.1em;
    }
.hero-actions {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
    .btn-large {
        width: 100%;
    }
    h2 {
        font-size: 2em;
    }
    
    footer .container p {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}