/* ===== CSS Variables ===== */
:root {
    --color-primary: #8B5CF6;
    --color-primary-dark: #7C3AED;
    --color-primary-light: #A78BFA;
    --color-secondary: #F59E0B;
    --color-secondary-dark: #D97706;
    --color-accent: #EC4899;
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;

    --color-bg: #FAFAFA;
    --color-bg-alt: #F3F4F6;
    --color-surface: #FFFFFF;
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-text-lighter: #9CA3AF;
    --color-border: #E5E7EB;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 600;
}

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

.logo-text {
    font-family: var(--font-heading);
    color: var(--color-text);
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--color-text-light);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

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

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero::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;
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-decoration {
    position: absolute;
    bottom: -80%;
    left: -10%;
    width: 120%;
    height: 100%;
    background: var(--color-bg);
    transform: rotate(-3deg);
    z-index: 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-surface);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--color-primary);
}

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

.btn-accent:hover {
    background: var(--color-secondary-dark);
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ===== Section Styles ===== */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* ===== Products Section ===== */
.products-section {
    padding: 80px 0;
    background: var(--color-bg);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--color-text-light);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

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

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

.view-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 24px;
}

.view-btn {
    padding: 10px;
    border-radius: var(--radius-md);
    color: var(--color-text-light);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

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

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

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

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

.product-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-accent);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.product-compare {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: var(--transition);
}

.product-card:hover .product-compare {
    opacity: 1;
    transform: scale(1);
}

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

.product-compare.added {
    opacity: 1;
    transform: scale(1);
    background: var(--color-success);
    color: white;
}

.product-info {
    padding: 20px;
}

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

.product-name {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.product-description {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.product-price {
    font-weight: 600;
    color: var(--color-text);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: var(--color-secondary);
}

.product-cta {
    width: 100%;
    padding: 12px;
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.product-cta:hover {
    background: var(--color-primary-dark);
}

/* ===== Products Table ===== */
.products-table-wrapper {
    overflow-x: auto;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

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

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

.products-table th {
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-text);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-table tr:hover {
    background: var(--color-bg-alt);
}

.products-table td {
    font-size: 0.9375rem;
}

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

.table-product-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.table-rating {
    color: var(--color-secondary);
}

.table-compare-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.table-compare-btn.added {
    background: var(--color-success);
    color: white;
}

.table-cta {
    padding: 8px 16px;
    background: var(--color-primary);
    color: white;
    font-weight: 500;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    white-space: nowrap;
}

.table-cta:hover {
    background: var(--color-primary-dark);
}

/* ===== Quiz Section ===== */
.quiz-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.quiz-section .section-title,
.quiz-section .section-subtitle {
    color: white;
}

.quiz-section .section-subtitle {
    opacity: 0.9;
}

.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.quiz-progress {
    margin-bottom: 32px;
}

.progress-bar {
    height: 6px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: var(--radius-full);
    transition: width 0.4s ease;
    width: 20%;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-align: center;
    display: block;
}

.quiz-question {
    text-align: center;
    margin-bottom: 32px;
}

.quiz-question h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.quiz-question p {
    color: var(--color-text-light);
}

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

.quiz-option {
    padding: 16px 24px;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: left;
    font-weight: 500;
    transition: var(--transition);
}

.quiz-option:hover {
    border-color: var(--color-primary);
    background: rgba(139, 92, 246, 0.05);
}

.quiz-option.selected {
    border-color: var(--color-primary);
    background: rgba(139, 92, 246, 0.1);
}

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

.quiz-nav-btn {
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
}

.quiz-nav-btn.prev {
    background: var(--color-bg-alt);
    color: var(--color-text);
}

.quiz-nav-btn.prev:hover {
    background: var(--color-border);
}

.quiz-nav-btn.next {
    background: var(--color-primary);
    color: white;
    margin-left: auto;
}

.quiz-nav-btn.next:hover {
    background: var(--color-primary-dark);
}

.quiz-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.result-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.quiz-result h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.result-product {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: left;
}

.result-product-header {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.result-product-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    flex-shrink: 0;
}

.result-product-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.result-product-info p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
}

.result-product-cta {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.result-product .btn {
    flex: 1;
}

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

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

.compare-slot {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
}

.compare-slot.empty {
    border: 2px dashed var(--color-border);
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.compare-slot.empty:hover {
    border-color: var(--color-primary);
    background: rgba(139, 92, 246, 0.05);
}

.slot-placeholder {
    text-align: center;
    color: var(--color-text-light);
}

.plus-icon {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.compare-slot-content {
    width: 100%;
}

.compare-slot-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.compare-slot-info {
    padding: 16px;
    text-align: center;
}

.compare-slot-name {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 4px;
}

.compare-slot-price {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.compare-slot-remove {
    padding: 8px 16px;
    background: var(--color-bg-alt);
    color: var(--color-text-light);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
}

.compare-slot-remove:hover {
    background: var(--color-error);
    color: white;
}

.compare-table-wrapper {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

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

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: var(--color-bg-alt);
    width: 180px;
}

.compare-table th {
    background: var(--color-primary);
    color: white;
    font-weight: 600;
}

.compare-table th:first-child {
    background: var(--color-primary-dark);
}

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

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

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--color-bg-alt);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}

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

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.modal-products {
    display: grid;
    gap: 12px;
}

.modal-product {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.modal-product:hover {
    background: rgba(139, 92, 246, 0.1);
}

.modal-product-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.modal-product-info h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.modal-product-info p {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

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

.seo-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    text-align: center;
    margin-bottom: 48px;
}

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

.seo-block {
    margin-bottom: 32px;
}

.seo-block h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--color-text);
}

.seo-block p {
    margin-bottom: 12px;
    color: var(--color-text-light);
    line-height: 1.8;
}

.seo-block ul {
    list-style: disc;
    margin-left: 24px;
    color: var(--color-text-light);
}

.seo-block li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-text);
    color: white;
    padding: 60px 0 24px;
}

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

.footer-brand p {
    margin-top: 16px;
    color: var(--color-text-lighter);
    font-size: 0.9375rem;
}

.footer-brand .logo-text {
    color: white;
}

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

.footer-links a {
    display: block;
    color: var(--color-text-lighter);
    margin-bottom: 12px;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

.affiliate-disclosure {
    font-size: 0.75rem !important;
    opacity: 0.7;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .filter-tabs {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .quiz-container {
        padding: 24px;
    }

    .quiz-question h3 {
        font-size: 1.25rem;
    }

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

    .products-table th,
    .products-table td {
        padding: 12px 8px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

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

    .quiz-navigation {
        flex-direction: column;
    }

    .quiz-nav-btn {
        width: 100%;
    }

    .result-product-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .result-product-cta {
        flex-direction: column;
    }
}

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

.product-card {
    animation: fadeInUp 0.4s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }
