/* ===== CSS Variables ===== */
:root {
    --primary: #1a1a2e;
    --primary-light: #2d2d44;
    --secondary: #c9a227;
    --secondary-light: #e6c65c;
    --accent: #f0f0f0;
    --silver: #c0c0c0;
    --silver-light: #e8e8e8;
    --silver-dark: #8a8a8a;
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-100: #f7f7f7;
    --gray-200: #eeeeee;
    --gray-300: #dddddd;
    --gray-400: #b0b0b0;
    --gray-500: #888888;
    --gray-600: #666666;
    --gray-700: #444444;
    --success: #28a745;
    --error: #dc3545;

    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.2);

    --radius-sm: 4px;
    --radius-md: 8px;
    --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;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--primary);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--gray-300);
}

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

.btn-gold {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary);
}

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

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

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.logo-icon {
    font-size: 1.8rem;
    color: var(--secondary);
}

.logo-au {
    color: var(--secondary);
}

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

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

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

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

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

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 50%, var(--silver-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(201, 162, 39, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    color: var(--primary);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--secondary), var(--silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

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

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

.chain-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 4s ease-in-out infinite;
}

.chain-link {
    width: 40px;
    height: 60px;
    border: 6px solid var(--silver);
    border-radius: 20px;
    position: relative;
    background: linear-gradient(135deg, var(--silver-light), var(--silver), var(--silver-dark));
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.5),
        0 4px 8px rgba(0,0,0,0.1);
}

.chain-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 28px;
    background: var(--gray-100);
    border-radius: 8px;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) rotate(-5deg); }
    50% { transform: translateY(calc(-50% - 20px)) rotate(5deg); }
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    color: var(--primary);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Products Section ===== */
.products {
    padding: 100px 0;
    background: var(--white);
}

.view-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

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

.filter-btn {
    padding: 10px 20px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--gray-200);
}

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

.view-toggle {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: var(--radius-md);
}

.view-btn {
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
}

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

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

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

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

.product-image-placeholder {
    font-size: 4rem;
    color: var(--silver);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--secondary);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.product-compare-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

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

.product-info {
    padding: 20px;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.product-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-tag {
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--gray-600);
}

.product-details {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

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

.price-range {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
}

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

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

.product-actions .btn {
    flex: 1;
    padding: 12px;
    font-size: 0.9rem;
}

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

.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(--gray-200);
}

.products-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

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

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

.products-table .product-thumb {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gray-100), var(--silver-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--silver);
}

.table-compare-btn {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.table-compare-btn:hover {
    background: var(--gray-200);
}

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

/* ===== Quiz Section ===== */
.quiz-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
}

.quiz-section .section-header h2 {
    color: var(--white);
}

.quiz-section .section-header p {
    color: var(--gray-300);
}

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

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

.progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 20%;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--gray-500);
}

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

.quiz-question h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
}

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

.quiz-option {
    padding: 16px 20px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    text-align: left;
}

.quiz-option:hover {
    background: var(--gray-200);
}

.quiz-option.selected {
    background: var(--white);
    border-color: var(--secondary);
}

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

.quiz-results {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.results-header {
    margin-bottom: 40px;
}

.results-header h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--white);
}

.results-header p {
    color: var(--gray-300);
}

.recommended-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.recommended-products .product-card {
    text-align: left;
}

#retakeQuiz {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

#retakeQuiz:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
}

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

.compare-slots {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.compare-slot {
    min-height: 300px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.compare-slot.empty {
    align-items: center;
    justify-content: center;
}

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

.add-compare-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-500);
    transition: var(--transition);
    padding: 24px;
}

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

.plus-icon {
    width: 48px;
    height: 48px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.compare-slot-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.compare-slot-image {
    height: 120px;
    background: linear-gradient(135deg, var(--gray-100), var(--silver-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--silver);
    margin-bottom: 16px;
}

.compare-slot-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.compare-slot-price {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: auto;
}

.remove-compare-btn {
    padding: 8px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--gray-600);
    transition: var(--transition);
    margin-top: 12px;
}

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

.compare-table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
}

.compare-table {
    width: 100%;
    background: var(--white);
    border-radius: var(--radius-lg);
    border-collapse: collapse;
    overflow: hidden;
}

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

.compare-table th {
    background: var(--gray-100);
    font-weight: 600;
}

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    background: var(--gray-50);
    font-weight: 500;
}

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

#clearCompare {
    display: block;
    margin: 0 auto;
}

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

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

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    font-size: 1.25rem;
}

.modal-close {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--gray-600);
    transition: var(--transition);
}

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

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.modal-search {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 1rem;
    margin-bottom: 16px;
    transition: var(--transition);
}

.modal-search:focus {
    outline: none;
    border-color: var(--secondary);
}

.modal-products {
    display: grid;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
}

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

.modal-product-item:hover {
    background: var(--gray-200);
}

.modal-product-thumb {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--gray-200), var(--silver-light));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--silver);
}

.modal-product-info h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.modal-product-info p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* ===== About Section ===== */
.about-section {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.about-text h3 {
    font-size: 1.35rem;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--primary);
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text ul {
    margin: 16px 0;
    padding-left: 0;
}

.about-text li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--gray-600);
}

.about-text li::before {
    content: '◇';
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.about-features {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.feature-card {
    background: var(--gray-100);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* ===== Newsletter ===== */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.newsletter p {
    color: var(--gray-300);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: 2px solid var(--secondary);
}

.newsletter-form .btn {
    white-space: nowrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--black);
    color: var(--gray-400);
    padding: 64px 0 32px;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    line-height: 1.7;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-700);
    text-align: center;
    font-size: 0.9rem;
}

.affiliate-disclosure {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-features {
        position: static;
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-slots {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu {
        display: flex;
    }

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

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

    .hero-stats {
        gap: 24px;
    }

    .quiz-container {
        padding: 32px 24px;
    }

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

    .compare-slot {
        min-height: 200px;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .filter-tabs {
        overflow-x: auto;
        padding-bottom: 8px;
        flex-wrap: nowrap;
    }

    .filter-btn {
        white-space: nowrap;
    }

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

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

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
