/* ========================================
   Guide Choix Brosse à Dents - Style
   coursdentaires.com
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Ad Container - Discrete & Integrated */
.ad-container {
    max-width: 1200px;
    margin: 25px auto;
    padding: 0 20px;
    min-height: 90px;
}

.ad-container ins {
    background: transparent;
}

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #06b6d4;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #8b5cf6 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Navigation */
.nav {
    background: var(--white);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav a {
    padding: 10px 20px;
    background: var(--light);
    color: var(--dark);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a i {
    width: 16px;
    height: 16px;
}

.nav a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.section-icon i {
    width: 32px;
    height: 32px;
    color: white;
}

.section-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.section-icon.cyan {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.section-icon.gold {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Card */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Comparison Section */
.comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.comparison-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.comparison-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.comparison-header {
    padding: 30px;
    color: var(--white);
    text-align: center;
}

.comparison-header.manual {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.comparison-header.electric {
    background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
}

.comparison-header .header-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
}

.comparison-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.comparison-header .price {
    font-size: 1.1rem;
    opacity: 0.9;
}

.comparison-body {
    padding: 30px;
}

.comparison-body h4 {
    color: var(--dark);
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-body h4 i {
    width: 20px;
    height: 20px;
}

.icon-green {
    color: var(--success);
}

.icon-red {
    color: var(--danger);
}

.icon-blue {
    color: var(--primary);
}

.comparison-body ul {
    list-style: none;
}

.comparison-body li {
    padding: 8px 0;
    color: var(--gray);
    padding-left: 20px;
    position: relative;
}

.comparison-body li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Hardness Section */
.hardness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.hardness-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 5px solid;
    transition: all 0.3s ease;
}

.hardness-card:hover {
    transform: translateY(-5px);
}

.hardness-card.soft {
    border-color: #10b981;
}

.hardness-card.medium {
    border-color: #f59e0b;
}

.hardness-card.hard {
    border-color: #ef4444;
}

.hardness-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hardness-icon i {
    width: 28px;
    height: 28px;
    color: white;
}

.hardness-icon.green {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.hardness-icon.orange {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.hardness-icon.red {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.hardness-card h3 {
    font-size: 1.5rem;
    margin: 15px 0;
    color: var(--dark);
}

.hardness-card .recommendation {
    background: var(--light);
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--gray);
    text-align: left;
}

.mini-icon {
    width: 14px;
    height: 14px;
    display: inline;
    vertical-align: middle;
}

.badge-success {
    margin-top: 15px;
    color: var(--success);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.badge-warning {
    margin-top: 15px;
    color: var(--warning);
    font-weight: 600;
}

.badge-danger {
    margin-top: 15px;
    color: var(--danger);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Age Section */
.age-timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.age-item {
    display: flex;
    gap: 25px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    align-items: center;
    transition: all 0.3s ease;
}

.age-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.age-badge {
    min-width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    gap: 8px;
}

.age-badge i {
    width: 32px;
    height: 32px;
}

.age-badge.baby {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.age-badge.child {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.age-badge.teen {
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
}

.age-badge.adult {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.age-badge.senior {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.age-badge .age {
    font-size: 0.9rem;
}

.age-content h4 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.age-content p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Top Products */
.top-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 25px;
    padding: 15px 25px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.category-title i {
    width: 24px;
    height: 24px;
}

.category-title.blue {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.category-title.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.category-title.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.category-title.orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card:hover .amazon-btn {
    background: var(--primary);
    color: white;
}

.product-image {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    margin-bottom: 10px;
}

.product-image img {
    max-width: 100%;
    max-height: 130px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-rank {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
}

.product-card h4 {
    font-size: 0.95rem;
    color: var(--dark);
    margin: 10px 0 8px;
    line-height: 1.3;
}

.product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.product-rating {
    color: var(--warning);
    font-size: 0.85rem;
    margin: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.star-icon {
    width: 14px;
    height: 14px;
    color: var(--warning);
}

/* Amazon Button */
.amazon-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #f59e0b;
    color: white;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.amazon-btn i {
    width: 14px;
    height: 14px;
}

.amazon-btn:hover {
    background: #d97706;
    transform: scale(1.05);
}

/* Buy Section */
.buy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.buy-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.buy-card:hover {
    transform: scale(1.02);
}

.buy-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.buy-icon i {
    width: 28px;
    height: 28px;
    color: white;
}

.buy-icon.blue {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.buy-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.buy-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.buy-icon.cyan {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.buy-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.buy-card ul {
    list-style: none;
}

.buy-card li {
    padding: 8px 0;
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.li-icon {
    width: 16px;
    height: 16px;
}

.li-icon.green {
    color: var(--success);
}

.li-icon.orange {
    color: var(--warning);
}

.buy-example {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--gray-light);
    font-style: italic;
}

/* Price Table */
.price-table-container {
    margin-top: 50px;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.price-table thead tr {
    background: var(--gradient-primary);
    color: white;
}

.price-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
}

.price-table th:not(:first-child) {
    text-align: center;
}

.price-table td {
    padding: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.price-table td:not(:first-child) {
    text-align: center;
}

.price-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.price-table tbody tr:hover {
    background: #e0f2fe;
}

.table-icon {
    width: 18px;
    height: 18px;
    color: var(--primary);
    vertical-align: middle;
    margin-right: 8px;
}

/* CTA Section */
.cta {
    background: var(--gradient-primary);
    padding: 80px 20px;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.cta-icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-btn i {
    width: 20px;
    height: 20px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gray-light);
    padding: 40px 20px;
    text-align: center;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
}

.footer-disclaimer {
    margin-top: 10px;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 60px 20px 50px;
    }

    .container {
        padding: 40px 15px;
    }

    .nav-container {
        gap: 5px;
    }

    .nav a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .nav a i {
        width: 14px;
        height: 14px;
    }

    .comparison {
        grid-template-columns: 1fr;
    }

    .age-item {
        flex-direction: column;
        text-align: center;
    }

    .age-badge {
        min-width: 80px;
        height: 80px;
    }

    .section-icon {
        width: 60px;
        height: 60px;
    }

    .section-icon i {
        width: 28px;
        height: 28px;
    }
}

/* ========================================
   Quiz Section Styles
======================================== */

.quiz-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 60px 20px;
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.3);
}

.quiz-header-icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.quiz-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.quiz-header p {
    color: var(--gray-light);
    font-size: 1.1rem;
}

/* Quiz Progress */
.quiz-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.quiz-progress-bar {
    height: 100%;
    width: 14%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.4s ease;
}

.quiz-progress-text {
    text-align: center;
    color: var(--gray-light);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Quiz Questions */
.quiz-question {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.question-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-icon i {
    width: 24px;
    height: 24px;
    color: white;
}

.question-header h3 {
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.question-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 30px;
}

/* Options Grid */
.options-grid {
    display: grid;
    gap: 12px;
}

.option-btn {
    padding: 18px 24px;
    background: var(--light);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.option-btn:hover {
    background: #e0f2fe;
    border-color: var(--primary);
    transform: translateX(5px);
}

.option-btn.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: scale(1.02);
}

/* Quiz Results */
.hidden {
    display: none !important;
}

.result-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 0.5s ease;
}

.result-card.blue {
    border-top: 5px solid var(--primary);
}

.result-card.green {
    border-top: 5px solid var(--success);
}

.result-card.purple {
    border-top: 5px solid var(--accent);
}

.result-card.cyan {
    border-top: 5px solid var(--secondary);
}

.result-card.pink {
    border-top: 5px solid #ec4899;
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon i {
    width: 40px;
    height: 40px;
    color: white;
}

.result-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.result-card>p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.recommended-products {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius-md);
    text-align: left;
}

.recommended-products h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.recommended-products h4 i {
    width: 18px;
    height: 18px;
    color: var(--warning);
}

.recommended-products ul {
    list-style: none;
}

.recommended-products li {
    padding: 10px 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.recommended-products li i {
    width: 18px;
    height: 18px;
    color: var(--success);
}

/* Result Actions */
.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-restart,
.btn-products {
    padding: 15px 30px;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-restart {
    background: white;
    border: 2px solid var(--gray-light);
    color: var(--dark);
}

.btn-restart:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-products {
    background: var(--gradient-primary);
    border: none;
    color: white;
}

.btn-products:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
}

.btn-restart i,
.btn-products i {
    width: 18px;
    height: 18px;
}

/* Nav Quiz Button */
.nav-quiz {
    background: var(--gradient-primary) !important;
    color: white !important;
}

.nav-quiz:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Quiz Recommended Products Grid */
.quiz-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.quiz-product-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.quiz-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.quiz-product-image {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.quiz-product-image img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.quiz-product-card h5 {
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.quiz-product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
}

.quiz-amazon-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #f59e0b;
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: auto;
    transition: background 0.2s;
}

.quiz-product-card:hover .quiz-amazon-btn {
    background: #d97706;
}

.quiz-amazon-btn i {
    width: 12px;
    height: 12px;
}

/* Responsive Quiz */
@media (max-width: 768px) {
    .quiz-question {
        padding: 25px;
    }

    .question-text {
        font-size: 1.2rem;
    }

    .option-btn {
        padding: 15px 18px;
        font-size: 0.95rem;
    }

    .result-card {
        padding: 30px 20px;
    }

    .result-actions {
        flex-direction: column;
    }

    .btn-restart,
    .btn-products {
        width: 100%;
        justify-content: center;
    }
}