/* WARRANTY COVERAGE PAGE COMPONENTS */

/* Hero highlights */
.warranty-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.25);
}

.highlight-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.highlight-text {
    display: flex;
    flex-direction: column;
    color: white;
}

.highlight-text strong {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.highlight-text span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Warranty periods section */
.warranty-periods {
    padding: 5rem 0;
    background: #f8fafc;
}

.warranty-periods h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.system-warranty-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

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

.system-warranty-card.premium {
    border: 2px solid #10b981;
}

.system-warranty-card.standard {
    border: 2px solid var(--accent-color);
}

.system-warranty-card.basic {
    border: 2px solid #64748b;
}

.warranty-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 1;
}

.system-warranty-card.premium .warranty-badge {
    background: linear-gradient(135deg, #10b981, #059669);
}

.system-warranty-card.basic .warranty-badge {
    background: linear-gradient(135deg, #64748b, #475569);
}

.system-info {
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    text-align: center;
}

.system-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.system-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.system-description {
    color: #64748b;
    line-height: 1.6;
}

.warranty-details {
    padding: 2rem;
}

.warranty-details h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.warranty-coverage {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.warranty-coverage li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #374151;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 6px;
}

.warranty-coverage li:before {
    content: '✓';
    color: #16a34a;
    font-weight: bold;
    font-size: 1rem;
}

.warranty-value {
    background: #f0f9ff;
    border-top: 1px solid #e0f2fe;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.value-label {
    color: #64748b;
    font-size: 0.9rem;
}

.value-amount {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Coverage details section */
.coverage-details {
    padding: 5rem 0;
}

.coverage-details h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.coverage-categories {
    max-width: 1000px;
    margin: 0 auto;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-tabs .tab-btn {
    background: white;
    color: var(--primary-color);
    border: 2px solid #e5e7eb;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-tabs .tab-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.category-tabs .tab-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.coverage-content {
    display: none;
}

.coverage-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.coverage-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.coverage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.item-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.coverage-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.coverage-item p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.item-note {
    background: #dcfce7;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

/* Exclusions */
.exclusions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.exclusion-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    border-left: 4px solid #ef4444;
}

.exclusion-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.exclusion-item h4 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.exclusion-item p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.exclusion-note {
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.exclusion-disclaimer {
    background: #f0f9ff;
    border: 2px solid #bae6fd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.exclusion-disclaimer h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Extended packages */
.extended-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.package-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

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

.package-card.gold {
    border: 3px solid #f59e0b;
}

.package-card.platinum {
    border: 3px solid #8b5cf6;
}

.package-card.platinum:before {
    content: '🔥 NAJPOPULÁRNEJŠIE';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: #8b5cf6;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 0 0 12px 12px;
    z-index: 1;
}

.package-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 2rem;
    text-align: center;
}

.package-card.platinum .package-header {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.package-header h3 {
    color: white;
    margin-bottom: 1rem;
}

.package-price {
    font-size: 1.5rem;
    font-weight: bold;
}

.package-features {
    padding: 2rem;
    display: grid;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    color: #374151;
    font-size: 0.9rem;
}

.package-value {
    background: #f8fafc;
    padding: 1rem 2rem;
    text-align: center;
    color: #64748b;
    border-top: 1px solid #e5e7eb;
}

/* Warranty process */
.warranty-process {
    padding: 5rem 0;
    background: #f8fafc;
}

.warranty-process h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-steps:before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.step-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.step-item:before {
    content: '';
    position: absolute;
    left: 39px;
    top: 10px;
    width: 25px;
    height: 25px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1;
}

.step-number {
    background: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-right: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.step-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    flex: 1;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-content p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.option-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.option-btn.phone {
    background: #16a34a;
    color: white;
}

.option-btn.phone:hover {
    background: #15803d;
    transform: translateY(-2px);
}

.option-btn.online {
    background: var(--accent-color);
    color: white;
}

.option-btn.online:hover {
    background: #0369a1;
    transform: translateY(-2px);
}

.step-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.timeline-item {
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #64748b;
    border: 1px solid #e5e7eb;
}

.repair-options {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.repair-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.completion-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.benefit {
    background: #dcfce7;
    color: #166534;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    text-align: center;
}

/* Warranty stats */
.warranty-stats {
    padding: 5rem 0;
}

.warranty-stats h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
}

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

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.stat-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-unit {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: bold;
}

.stat-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-detail {
    color: #64748b;
    font-size: 0.9rem;
}

/* FAQ section */
.warranty-faq {
    padding: 5rem 0;
    background: #f8fafc;
}

.warranty-faq h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h3 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafbfc;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    margin: 0;
    color: #374151;
    line-height: 1.6;
}

/* Warranty contact */
.warranty-contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.contact-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-option {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-option:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-option h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-option p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-bottom: 1rem;
}

.emergency-btn {
    background: #dc2626;
    color: white;
}

.emergency-btn:hover {
    background: #991b1b;
    transform: translateY(-2px);
}

.standard-btn {
    background: var(--accent-color);
    color: white;
}

.standard-btn:hover {
    background: #0369a1;
    transform: translateY(-2px);
}

.online-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.online-btn:hover {
    background: rgba(255,255,255,0.3);
}

.response-time {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.warranty-info-box {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
}

.warranty-info-box h4 {
    color: white;
    margin-bottom: 1rem;
}

.warranty-info-box ul {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.warranty-info-box li {
    color: rgba(255,255,255,0.9);
    padding-left: 1.5rem;
    position: relative;
}

.warranty-info-box li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .warranty-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
    }
    
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tabs .tab-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .coverage-grid,
    .exclusions-grid {
        grid-template-columns: 1fr;
    }
    
    .extended-packages {
        grid-template-columns: 1fr;
    }
    
    .process-steps:before {
        left: 20px;
    }
    
    .step-item:before {
        left: 9px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
        margin-right: 1rem;
    }
    
    .step-options {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .warranty-highlights {
        gap: 0.75rem;
    }
    
    .highlight-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .warranty-info-box {
        padding: 1.5rem;
    }
}
