/* ===== CSS Variables ===== */
:root {
    --primary: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fed7aa;
    --secondary: #1e293b;
    --secondary-light: #334155;
    --accent: #0ea5e9;
    --background: #0f172a;
    --background-light: #1e293b;
    --surface: #1e293b;
    --surface-light: #334155;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --text-dark: #64748b;
    --border: #334155;
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;
    --gradient-start: #f97316;
    --gradient-end: #fb923c;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

.logo:hover {
    color: var(--text);
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-au {
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

.quiz-btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.quiz-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-links a {
    color: var(--text);
    font-size: 1.1rem;
    display: block;
    padding: 8px 0;
}

.quiz-btn-mobile {
    width: 100%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 8px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(249, 115, 22, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at bottom right, rgba(14, 165, 233, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.15);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--surface-light);
    border-color: var(--text-muted);
    color: var(--text);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll a {
    color: var(--text-muted);
}

.hero-scroll a:hover {
    color: var(--primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 40px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-badge svg {
    color: var(--primary);
}

/* ===== Filter Section ===== */
.filter-section {
    padding: 80px 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.filter-buttons {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--background);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.sort-select {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    background: var(--background);
    border: 1px solid var(--border);
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
}

.view-toggle {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.view-btn {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-muted);
    background: var(--background);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.view-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.view-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ===== Products Grid ===== */
.products-section {
    padding: 20px 0 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-bestseller {
    background: var(--primary);
    color: white;
}

.badge-popular {
    background: var(--accent);
    color: white;
}

.badge-value {
    background: var(--success);
    color: white;
}

.product-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, var(--background) 0%, var(--surface-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-placeholder {
    font-size: 4rem;
}

.product-compare-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.product-compare-btn:hover {
    background: var(--primary);
}

.product-compare-btn.active {
    background: var(--primary);
}

.product-content {
    padding: 24px;
}

.product-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.feature-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: var(--background);
    border-radius: 20px;
    color: var(--text-muted);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.stars {
    color: var(--warning);
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 20px;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 1rem;
    color: var(--text-dark);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.product-actions .btn {
    flex: 1;
    justify-content: center;
}

.btn-amazon {
    background: #ff9900;
    color: #111;
}

.btn-amazon:hover {
    background: #ffad33;
    color: #111;
    transform: translateY(-2px);
}

.btn-details {
    background: var(--background);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-details:hover {
    border-color: var(--text-muted);
}

/* ===== Products Table ===== */
.products-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.products-table th,
.products-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.products-table th {
    background: var(--surface);
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.products-table tr:hover {
    background: var(--surface);
}

.products-table .product-table-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-table .product-table-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--background);
}

.table-compare-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    background: var(--background);
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.table-compare-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.table-compare-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.table-buy-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    background: #ff9900;
    color: #111;
    font-weight: 600;
    transition: var(--transition);
}

.table-buy-btn:hover {
    background: #ffad33;
}

/* ===== Compare Section ===== */
.compare-section {
    padding: 80px 0;
    background: var(--surface);
}

.compare-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.compare-slot {
    min-height: 200px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.compare-slot:hover {
    border-color: var(--primary);
}

.compare-slot-empty {
    text-align: center;
    color: var(--text-muted);
}

.compare-slot-empty svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.compare-slot-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    width: 100%;
    position: relative;
}

.compare-slot-product .remove-compare {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--error);
    color: white;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 12px;
    background: var(--background);
}

.compare-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--background);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--surface-light);
    font-weight: 600;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--surface);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .check {
    color: var(--success);
}

.comparison-table .cross {
    color: var(--error);
}

/* ===== Guide Section ===== */
.guide-section {
    padding: 80px 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.guide-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.guide-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.guide-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.guide-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.guide-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 80px 0;
    background: var(--surface);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    color: var(--text);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    flex-shrink: 0;
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== SEO Section ===== */
.seo-section {
    padding: 80px 0;
    background: var(--background);
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text);
}

.seo-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--text);
}

.seo-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 1rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.affiliate-disclosure {
    font-size: 0.8rem !important;
    color: var(--text-dark) !important;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--surface);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-lg {
    max-width: 900px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background);
    color: var(--text);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--error);
}

/* ===== Quiz ===== */
.quiz-container {
    padding: 40px;
}

.quiz-progress {
    height: 6px;
    background: var(--background);
    border-radius: 3px;
    margin-bottom: 40px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.quiz-content {
    text-align: center;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

.quiz-step h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.quiz-step p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.quiz-options {
    display: grid;
    gap: 12px;
}

.quiz-option {
    padding: 20px;
    border-radius: var(--radius);
    background: var(--background);
    border: 2px solid var(--border);
    text-align: left;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 16px;
}

.quiz-option:hover {
    border-color: var(--primary);
}

.quiz-option.selected {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.1);
}

.quiz-option-icon {
    font-size: 2rem;
}

.quiz-option-content h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.quiz-option-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
}

.quiz-nav .btn {
    min-width: 120px;
}

.quiz-results {
    text-align: center;
}

.quiz-results h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.quiz-results > p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.quiz-result-card {
    background: var(--background);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: left;
    margin-bottom: 24px;
    border: 2px solid var(--primary);
}

.quiz-result-card h4 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.quiz-result-card .match-score {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.quiz-result-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* ===== Product Modal ===== */
.product-modal-content {
    padding: 0;
}

.product-modal-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px;
    padding-right: 60px;
}

.product-modal-image {
    background: var(--background);
    border-radius: var(--radius-lg);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-image-placeholder {
    font-size: 6rem;
}

.product-modal-info h2 {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.product-modal-info .product-type {
    margin-bottom: 16px;
}

.product-modal-info .product-rating {
    margin-bottom: 20px;
}

.product-modal-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
}

.product-modal-price .price-current {
    font-size: 2rem;
}

.product-modal-description {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.product-modal-cta {
    display: flex;
    gap: 12px;
}

.product-modal-cta .btn {
    flex: 1;
    justify-content: center;
    padding: 14px 24px;
}

.product-modal-specs {
    padding: 32px 40px;
    background: var(--background);
    border-top: 1px solid var(--border);
}

.product-modal-specs h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.spec-label {
    color: var(--text-muted);
}

.spec-value {
    font-weight: 500;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--surface-light);
    color: var(--text);
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    z-index: 3000;
    opacity: 0;
    transition: var(--transition);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ===== Utility ===== */
.hidden {
    display: none !important;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .filter-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .view-toggle {
        margin-left: 0;
    }

    .compare-selector {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-modal-header {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .quiz-btn-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .trust-badges {
        gap: 20px;
    }

    .trust-badge span {
        display: none;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .filter-buttons {
        flex-wrap: wrap;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 20px;
    }

    .quiz-container {
        padding: 24px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .product-actions {
        flex-direction: column;
    }

    .quiz-option {
        flex-direction: column;
        text-align: center;
    }
}
