/* ========================================
   TRUST SIGNALS & SOCIAL PROOF - AI OPTIMIZED
   Styling pentru credibilitate maximă
   ======================================== */

/* Aggregate Rating Display */
.aggregate-rating {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #d4a574;
    border-radius: 12px;
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rating-stars {
    font-size: 1.8rem;
    color: #ffa500;
    letter-spacing: 4px;
}

.rating-info {
    font-size: 1.1rem;
    color: #333;
}

.rating-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5f8d;
}

.review-count {
    font-weight: 600;
    color: #d4a574;
}

/* Competitive Comparison Table */
.competitive-comparison {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    min-width: 800px;
}

.comparison-table thead {
    background: linear-gradient(135deg, #2c5f8d 0%, #1a3a52 100%);
    color: #ffffff;
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.company-header i {
    color: #ffa500;
    font-size: 1.3rem;
}

.us-column {
    background: rgba(212, 165, 116, 0.1);
    text-align: center;
    min-width: 280px;
}

.competitor-column {
    text-align: center;
    min-width: 220px;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: rgba(212, 165, 116, 0.05);
}

.feature-name {
    padding: 20px;
    font-weight: 500;
}

.feature-name i {
    margin-right: 10px;
    color: #2c5f8d;
    font-size: 1.2rem;
}

.us-value, .competitor-value {
    padding: 20px;
    text-align: center;
}

.us-value {
    background: rgba(212, 165, 116, 0.05);
}

.highlight-green {
    color: #28a745;
    font-weight: 700;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.highlight-orange {
    color: #ff8c00;
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 5px;
}

.highlight-red {
    color: #dc3545;
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 5px;
}

.us-value small, .competitor-value small {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: 5px;
}

.comparison-cta {
    text-align: center;
    margin-top: 40px;
}

.comparison-note {
    background: #fff3cd;
    border-left: 4px solid #ffa500;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-note i {
    color: #ffa500;
    margin-right: 10px;
}

/* Media Mentions Section */
.media-mentions {
    background: #ffffff;
    padding: 80px 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.media-card {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.media-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #d4a574;
}

.media-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2c5f8d 0%, #1a3a52 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-logo i {
    font-size: 2.5rem;
    color: #ffffff;
}

.media-card h4 {
    font-size: 1.3rem;
    color: #2c5f8d;
    margin-bottom: 15px;
    font-weight: 700;
}

.media-quote {
    font-style: italic;
    color: #555;
    line-height: 1.6;
    margin: 15px 0;
    min-height: 80px;
}

.media-date {
    display: block;
    color: #999;
    font-size: 0.9rem;
    margin: 15px 0;
}

.media-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 15px;
}

.media-badge i {
    margin-right: 5px;
}

.media-link {
    margin-top: 15px;
}

.media-proof {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.media-proof i {
    color: #28a745;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Guarantees & Policies Section */
.guarantees-policies {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.guarantee-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.guarantee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #2c5f8d;
}

.guarantee-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #d4a574 0%, #b8884f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guarantee-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.guarantee-card h3 {
    font-size: 1.4rem;
    color: #2c5f8d;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.guarantee-content {
    text-align: left;
}

.guarantee-content strong {
    color: #2c5f8d;
    display: block;
    margin-bottom: 10px;
}

.guarantee-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.guarantee-content ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #555;
    line-height: 1.6;
}

.guarantee-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
    font-size: 1.2rem;
}

.guarantee-note {
    background: #e3f2fd;
    border-left: 4px solid #2c5f8d;
    padding: 15px;
    margin-top: 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.guarantee-note i {
    color: #2c5f8d;
    margin-right: 8px;
}

.guarantee-note strong {
    color: #1a3a52;
    display: inline;
}

/* Policies Download Section */
.policies-download {
    margin-top: 50px;
    padding: 40px;
    background: #ffffff;
    border: 2px dashed #d4a574;
    border-radius: 12px;
    text-align: center;
}

.policies-download h3 {
    font-size: 1.5rem;
    color: #2c5f8d;
    margin-bottom: 30px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.document-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #2c5f8d;
    transition: all 0.3s ease;
    font-weight: 600;
}

.document-link:hover {
    background: #2c5f8d;
    color: #ffffff;
    border-color: #2c5f8d;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 95, 141, 0.3);
}

.document-link i {
    font-size: 2.5rem;
    color: #dc3545;
    transition: color 0.3s ease;
}

.document-link:hover i {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .comparison-table-wrapper {
        margin: 20px -20px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    
    .rating-display {
        flex-direction: column;
        gap: 10px;
    }
    
    .rating-stars {
        font-size: 1.5rem;
    }
    
    .rating-value {
        font-size: 1.5rem;
    }
    
    .media-grid,
    .guarantees-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .guarantee-card {
        padding: 20px;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .policies-download {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .comparison-table {
        page-break-inside: avoid;
    }
    
    .guarantee-card {
        page-break-inside: avoid;
    }
    
    .media-card {
        page-break-inside: avoid;
    }
}

/* Accessibility */
.comparison-table th,
.comparison-table td {
    position: relative;
}

.comparison-table tbody tr:focus-within {
    outline: 2px solid #2c5f8d;
    outline-offset: -2px;
}

.guarantee-card:focus-within {
    outline: 3px solid #2c5f8d;
    outline-offset: 3px;
}

/* Animation for trust signals */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.media-card,
.guarantee-card {
    animation: fadeInUp 0.6s ease-out;
}

.media-card:nth-child(1) { animation-delay: 0.1s; }
.media-card:nth-child(2) { animation-delay: 0.2s; }
.media-card:nth-child(3) { animation-delay: 0.3s; }
.media-card:nth-child(4) { animation-delay: 0.4s; }
.media-card:nth-child(5) { animation-delay: 0.5s; }
.media-card:nth-child(6) { animation-delay: 0.6s; }
