/* ===== CSS Variables ===== */
:root {
    --color-primary: #2d5a4a;
    --color-primary-dark: #1e3d32;
    --color-primary-light: #4a7d6a;
    --color-secondary: #c9a962;
    --color-secondary-light: #e0c88a;
    --color-accent: #8b4513;
    --color-background: #faf9f7;
    --color-surface: #ffffff;
    --color-text: #2c2c2c;
    --color-text-light: #666666;
    --color-text-muted: #999999;
    --color-border: #e5e5e5;
    --color-border-light: #f0f0f0;
    --color-success: #4caf50;
    --color-warning: #ff9800;
    --color-error: #f44336;

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

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s 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);
    background-color: var(--color-background);
    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 {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

/* ===== Layout ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.hidden {
    display: none !important;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    white-space: nowrap;
}

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

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

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

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border-light);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
}

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

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

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

.nav-links a {
    font-weight: 500;
    color: var(--color-text-light);
    transition: color var(--transition-fast);
    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: width var(--transition-normal);
}

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

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

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

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #f5f0e8 0%, #e8dfd3 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 300'%3E%3Crect x='50' y='100' width='300' height='120' rx='5' fill='%23a0826d' opacity='0.3'/%3E%3Crect x='60' y='220' width='20' height='60' fill='%23a0826d' opacity='0.3'/%3E%3Crect x='320' y='220' width='20' height='60' fill='%23a0826d' opacity='0.3'/%3E%3Cellipse cx='200' cy='80' rx='60' ry='40' fill='%23c9a962' opacity='0.2'/%3E%3C/svg%3E") no-repeat center;
    opacity: 0.5;
}

.hero-content {
    max-width: 640px;
}

.hero h1 {
    margin-bottom: 20px;
}

.highlight {
    color: var(--color-primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--color-secondary-light);
    z-index: -1;
    opacity: 0.5;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    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(--color-primary);
}

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

/* ===== Filters Section ===== */
.filters-section {
    padding: 32px 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border-light);
}

.filters-wrapper {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.filter-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

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

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

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

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

.section-header h2 {
    margin-bottom: 12px;
}

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

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

.view-btn {
    padding: 10px 12px;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

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

.view-btn.active {
    color: var(--color-primary);
    border-color: var(--color-primary);
    background: rgba(45, 90, 74, 0.05);
}

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

/* Product Card */
.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

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

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

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

.product-image-placeholder {
    font-size: 5rem;
    opacity: 0.6;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
}

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

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

.badge-sale {
    background: var(--color-error);
    color: white;
}

.compare-checkbox {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    opacity: 0;
}

.product-card:hover .compare-checkbox {
    opacity: 1;
}

.compare-checkbox.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    opacity: 1;
}

.compare-checkbox.active::after {
    content: '✓';
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
}

.product-content {
    padding: 24px;
}

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

.product-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.product-specs span {
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.stars {
    color: var(--color-secondary);
    letter-spacing: 2px;
}

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

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

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

.product-cta {
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

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

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

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

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

.products-table th {
    background: var(--color-background);
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.products-table tbody tr:hover {
    background: rgba(45, 90, 74, 0.02);
}

.table-product-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.table-product-image {
    width: 60px;
    height: 60px;
    background: var(--color-background);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.table-product-name {
    font-weight: 500;
    color: var(--color-text);
}

.table-compare-btn {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.table-compare-btn.active::after {
    content: '✓';
    color: white;
    font-size: 0.75rem;
}

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

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

.quiz-header {
    text-align: center;
    padding: 48px 40px 32px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
}

.quiz-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.quiz-header h2 {
    margin-bottom: 12px;
}

.quiz-header p {
    opacity: 0.9;
}

.quiz-content {
    padding: 40px;
}

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

.quiz-start-icon {
    font-size: 4rem;
    margin-bottom: 24px;
}

.quiz-start h3 {
    margin-bottom: 12px;
}

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

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

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

.progress-fill {
    height: 100%;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
    width: 20%;
}

#progress-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.question-container h3 {
    margin-bottom: 24px;
    text-align: center;
}

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

.quiz-option {
    padding: 20px 24px;
    text-align: left;
    background: var(--color-background);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.quiz-option:hover {
    border-color: var(--color-primary);
    background: rgba(45, 90, 74, 0.05);
}

.quiz-option.selected {
    border-color: var(--color-primary);
    background: rgba(45, 90, 74, 0.1);
}

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

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

.results-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--color-secondary-light);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

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

.result-products {
    display: grid;
    gap: 16px;
    margin-bottom: 32px;
}

.result-product-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--color-background);
    border-radius: var(--radius-md);
    text-align: left;
}

.result-product-image {
    width: 80px;
    height: 80px;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

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

.result-product-info h4 {
    margin-bottom: 4px;
}

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

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

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

.compare-slot {
    min-height: 280px;
    background: var(--color-background);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.compare-slot:not(.empty) {
    border-style: solid;
    border-color: var(--color-border);
    background: var(--color-surface);
}

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

.plus-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 8px;
    color: var(--color-border);
}

.slot-content {
    width: 100%;
    padding: 24px;
    text-align: center;
    position: relative;
}

.remove-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: var(--color-background);
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

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

.slot-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    background: var(--color-background);
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.slot-name {
    font-size: 1rem;
}

.comparison-table {
    background: var(--color-background);
    border-radius: var(--radius-md);
    overflow: hidden;
}

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

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

.comparison-table th {
    text-align: left;
    font-weight: 600;
    color: var(--color-text-light);
    background: var(--color-surface);
    width: 20%;
}

.comparison-table td {
    width: 26.66%;
}

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

.modal-content {
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

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

.modal-close {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

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

.modal-search {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    transition: border-color var(--transition-fast);
}

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

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

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

.modal-product-item:hover {
    background: rgba(45, 90, 74, 0.1);
}

.modal-product-icon {
    width: 50px;
    height: 50px;
    background: var(--color-surface);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

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

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

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

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

.guide-card {
    padding: 32px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

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

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.guide-card h3 {
    margin-bottom: 12px;
}

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

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

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

.seo-content h2 {
    margin-bottom: 24px;
    color: var(--color-primary);
}

.seo-content h3 {
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--color-primary-dark);
}

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

.seo-content strong {
    color: var(--color-text);
}

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

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-column h4 {
    font-family: var(--font-body);
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.affiliate-disclosure {
    margin-top: 12px;
    font-size: 0.8rem !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 32px;
    }

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

    .compare-slot:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-md);
    }

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

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

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

    .hero-bg {
        display: none;
    }

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

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .stat {
        flex: 1;
        min-width: 100px;
    }

    .filters-wrapper {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

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

    .quiz-content {
        padding: 24px;
    }

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

    .compare-slot:last-child {
        grid-column: auto;
        max-width: none;
    }

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

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

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

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .btn {
        padding: 12px 24px;
        width: 100%;
    }

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

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

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