/* porownywarka.css - style specyficzne dla strony porównywarki */

/* Upewnij się, że siatka z kartami zestawów ma odpowiednie odstępy */
#sets-section.pricing-grid {
    align-items: stretch; /* Wyrównuje karty do tej samej wysokości */
}

.pricing-card {
    display: flex;
    flex-direction: column;
}

.price-features {
    flex-grow: 1; /* Powoduje, że lista cech wypełnia dostępną przestrzeń */
}

.pricing-card .price-features li {
    text-align: left;
}

/* Podświetlenie rekomendowanej karty */
.pricing-card.highlighted {
    border-color: var(--accent-neon);
    box-shadow: 0 0 25px rgba(0, 255, 65, 0.4);
    transform: scale(1.05);
}

/* Style dla Quizu, dopasowane do `oferta.css` */
#quiz-section .win-box {
    border-color: rgba(59, 130, 246, 0.4);
}

.quiz-question {
    margin-bottom: 1.5rem;
}

.quiz-question p {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.quiz-question label {
    display: block;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.quiz-question label:hover {
    background: #f8f9fa;
    border-color: var(--accent-blue);
}

.quiz-question input[type="radio"] {
    margin-right: 0.75rem;
}

.quiz-result-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-dark);
    color: var(--bg-main);
    border-radius: 8px;
    text-align: center;
    display: none; /* Ukryty domyślnie */
}

.quiz-result-container.visible {
    display: block;
}

.quiz-result-container h3 {
    color: var(--accent-neon);
    filter: drop-shadow(0 0 4px var(--accent-neon));
}

/* Style dla nowych sekcji w kartach */
.pricing-card .hero-tag {
    margin-bottom: 1rem;
}

.price-details {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
    font-weight: bold;
}

.cost-section {
    margin: 1rem 0;
    font-size: 0.9rem;
}
.cost-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 0.5rem;
}
.cost-section p {
    margin: 0.25rem 0;
}

.disadvantage-box {
    background: #fffbe6;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Style dla paska postępu */
.progress-bar-container {
    background-color: var(--border-soft);
    border-radius: 99px;
    height: 8px;
    width: 100%;
    margin-top: 0.25rem;
    overflow: hidden;
}

.progress-bar {

    background-color: var(--accent-cyan);

    height: 100%;

    border-radius: 99px;

}



.not-for-box {

    background: #ffebe6;

    border: 1px solid #fca5a5;

    color: #991b1b;

    padding: 0.75rem;

    border-radius: 8px;

    font-size: 0.85rem;

    margin-top: 0.5rem;

}

/* Style dla screenshotów i planu */
.screenshots-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 1rem 0;
}
.screenshots-container img {
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    width: 100%;
}

.plan-section {
    margin: 1rem 0;
    font-size: 0.9rem;
    text-align: left;
}
.plan-section h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-bottom: 0.5rem;
}
.plan-section ol {
    padding-left: 20px;
}
.plan-section li {
    margin-bottom: 0.25rem;
}

/* Style for Niezbędnik Eksperta */
.product-category-section {
    margin-bottom: 4rem;
}

.product-category-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    text-align: center;
}

.product-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    align-items: stretch; /* Ensure cards stretch to fill height */
}

/* Product card styling */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: all 0.2s ease-in-out;
    align-items: center; /* Dodane, aby wyśrodkować elementy w osi poziomej */
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.product-card h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-align: center; /* Upewnij się, że h3 jest wyśrodkowane */
}

.product-level-tag {
    display: inline-block;
    padding: 0.2em 0.6em; /* Zmniejszony padding */
    margin-bottom: 0.8rem; /* Zmniejszony margines */
    border-radius: 9999px;
    font-size: 0.75em; /* Nieco mniejsza czcionka */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid; /* Dodany border */
    background-color: transparent; /* Przezroczyste tło */
    opacity: 0.8; /* Lekka przezroczystość */
}

/* Level specific colors (zmienione) */
.level-start { border-color: var(--accent-cyan); color: var(--accent-cyan); } /* Cyan border, Cyan text */
.level-smart { border-color: var(--accent-blue); color: var(--accent-blue); } /* Blue border, Blue text */
.level-pro { border-color: var(--error); color: var(--error); } /* Red border, Red text */
.level-studio { border-color: var(--accent-neon); color: var(--accent-neon); } /* Neon border, Neon text */

.product-benefits ul {
    list-style: none; /* Usuwa domyślne kropki */
    padding-left: 0; /* Usuwa wcięcie listy */
    text-align: center; /* Wyśrodkowuje elementy listy */
}
.product-benefits li {
    margin-bottom: 0.2em; /* Mały margines między elementami */
}
/* Aby usunąć kropki, ale zachować wyśrodkowanie i odczytywalność */
.product-benefits ul li::before {
    content: ''; /* Usuwa ikonę ✓ */
}


.product-card .btn-secondary {
    display: block;
    width: fit-content;
    margin: 1.5rem auto 0;
    padding: 0.8rem 1.5rem;
    background: var(--accent-blue); /* Zmieniony kolor tła na ciemny granat */
    color: var(--accent-neon); /* Zmieniony kolor tekstu na neonowy */
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 255, 65, 0.4); /* Cień dostosowany do neonowego akcentu */
    border: none;
}

.product-card .btn-secondary:hover {
    background-color: var(--accent-blue); /* Tło pozostaje ciemny granat */
    color: var(--accent-neon); /* Tekst pozostaje neonowy */
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 255, 65, 0.6); /* Mocniejszy cień na hover */
}

/* Jan's verdict styling */
.jan-verdict {
    font-style: italic;
    color: var(--text-soft);
    margin: 1rem 0;
    flex-grow: 1; /* Allows it to take up available space */
    position: relative;
    padding: 0 1rem;
}

.jan-verdict .quote-icon {
    font-size: 2em;
    line-height: 1;
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent-cyan); /* Or another accent color */
    opacity: 0.3;
}
.jan-verdict .quote-icon:last-of-type {
    left: auto;
    right: 0;
    top: auto;
    bottom: -0.5em; /* Adjust for better visual balance */
}
/* Styling for the new comparison table */
.comparison-table {
    display: block; /* Makes the table behave like a block element */
    width: 100%;
    overflow-x: auto; /* Enables horizontal scrolling */
    white-space: nowrap; /* Prevents content from wrapping */
    
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: var(--bg-card);
    border-radius: 8px;
}

.comparison-table th, .comparison-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}

.comparison-table thead {
    background-color: var(--accent-blue);
    color: white;
}

.comparison-table th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: var(--bg-secondary);
}

.comparison-table tbody tr:hover {
    background-color: var(--border-soft);
}

.product-image-small {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
    vertical-align: middle;
    border: 1px solid var(--border-soft);
}

.comparison-table td:first-child {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--text-main);
}

.comparison-table .btn-tertiary {
    display: inline-block;
    padding: 8px 15px;
    background: var(--accent-cyan);
    color: var(--accent-blue);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
}

.comparison-table .btn-tertiary:hover {
    background-color: var(--accent-blue);
    color: var(--accent-cyan);
}

.comparison-table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-table ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: var(--text-soft);
}

.comparison-table ul li::before {
    content: '✓';
    color: var(--accent-neon);
    position: absolute;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
  .screenshots-container {
    grid-template-columns: 1fr;
  }
}