/**
 * Trust Badges & Quiz Styles
 * E-Scooter Guide - e-scooter-kaufen.org
 */

/* ===== TRUST BADGES SECTION ===== */
.trust-section {
    padding: 40px 0;
    background: linear-gradient(135deg, rgba(10, 207, 131, 0.03) 0%, rgba(10, 207, 131, 0.08) 100%);
    border-top: 1px solid rgba(10, 207, 131, 0.1);
    border-bottom: 1px solid rgba(10, 207, 131, 0.1);
}

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

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(10, 207, 131, 0.1);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(10, 207, 131, 0.15);
    border-color: rgba(10, 207, 131, 0.3);
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ACF83 0%, #08a869 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(10, 207, 131, 0.3);
}

.trust-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: none;
}

.trust-icon.filled svg {
    fill: white;
    stroke: none;
}

.trust-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.trust-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Trust Counter */
.trust-counter {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(10, 207, 131, 0.1);
}

.trust-counter .counter-number {
    font-size: 42px;
    font-weight: 800;
    color: #0ACF83;
    display: block;
}

.trust-counter .counter-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* ===== PRODUCT FINDER QUIZ ===== */
.quiz-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fdf9 0%, #ffffff 100%);
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(10, 207, 131, 0.1);
}

.quiz-header {
    background: linear-gradient(135deg, #0ACF83 0%, #08a869 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.quiz-header h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.quiz-header p {
    font-size: 15px;
    opacity: 0.9;
}

.quiz-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-top: 20px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: white;
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 0%;
}

.quiz-body {
    padding: 40px;
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.quiz-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-align: center;
}

.quiz-question .question-number {
    font-size: 13px;
    color: #0ACF83;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #f8fdf9;
    border: 2px solid #e8f5ec;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    border-color: #0ACF83;
    background: rgba(10, 207, 131, 0.05);
    transform: translateX(5px);
}

.quiz-option.selected {
    border-color: #0ACF83;
    background: rgba(10, 207, 131, 0.1);
}

.quiz-option-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.quiz-option-text {
    flex: 1;
}

.quiz-option-text strong {
    display: block;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.quiz-option-text span {
    font-size: 13px;
    color: #666;
}

.quiz-option-check {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quiz-option.selected .quiz-option-check {
    background: #0ACF83;
    border-color: #0ACF83;
}

.quiz-option.selected .quiz-option-check::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Quiz Navigation */
.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.quiz-btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.quiz-btn-back {
    background: #f5f5f5;
    color: #666;
}

.quiz-btn-back:hover {
    background: #eee;
}

.quiz-btn-next {
    background: linear-gradient(135deg, #0ACF83 0%, #08a869 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(10, 207, 131, 0.3);
}

.quiz-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 207, 131, 0.4);
}

.quiz-btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Quiz Results */
.quiz-result {
    display: none;
    text-align: center;
}

.quiz-result.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.quiz-result-header {
    margin-bottom: 30px;
}

.quiz-result-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.quiz-result-header p {
    color: #666;
}

.quiz-result-product {
    background: linear-gradient(135deg, rgba(10, 207, 131, 0.05) 0%, rgba(10, 207, 131, 0.1) 100%);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(10, 207, 131, 0.2);
}

.quiz-result-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0ACF83 0%, #08a869 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.quiz-result-product h4 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.quiz-result-product .brand {
    color: #0ACF83;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.quiz-result-specs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.quiz-result-spec {
    text-align: center;
}

.quiz-result-spec .value {
    font-size: 20px;
    font-weight: 700;
    color: #0ACF83;
}

.quiz-result-spec .label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
}

.quiz-result-price {
    font-size: 32px;
    font-weight: 800;
    color: #0ACF83;
    margin: 20px 0;
}

.quiz-result-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0ACF83 0%, #08a869 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(10, 207, 131, 0.3);
}

.quiz-result-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(10, 207, 131, 0.4);
}

.quiz-restart {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.quiz-restart:hover {
    color: #0ACF83;
}

/* ===== FLOATING TRUST BAR (MOBILE) ===== */
.floating-trust-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-top: 2px solid #0ACF83;
}

.floating-trust-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
    margin: 0 auto;
}

.floating-trust-badges {
    display: flex;
    gap: 15px;
}

.floating-trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #666;
}

.floating-trust-badge svg {
    width: 16px;
    height: 16px;
    stroke: #0ACF83;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .trust-item {
        padding: 20px 15px;
    }
    
    .trust-icon {
        width: 50px;
        height: 50px;
    }
    
    .quiz-body {
        padding: 25px 20px;
    }
    
    .quiz-header h2 {
        font-size: 22px;
    }
    
    .quiz-result-specs {
        gap: 20px;
    }
    
    .floating-trust-bar {
        display: block;
    }
    
    /* Add padding to body for floating bar */
    body.has-floating-bar {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .quiz-option {
        padding: 14px 16px;
    }
    
    .quiz-option-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}
