/* CSS Variables */
:root {
    --primary: #2D5A4A;
    --primary-light: #3D7A64;
    --primary-dark: #1D3A32;
    --secondary: #C4A77D;
    --secondary-light: #D4C7A7;
    --accent: #E8B86D;
    --text: #2C3E50;
    --text-light: #5D6D7E;
    --text-muted: #95A5A6;
    --bg: #FAFBFC;
    --bg-alt: #F4F6F8;
    --white: #FFFFFF;
    --border: #E1E8ED;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    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);
}

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

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

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

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

.btn-accent:hover {
    background: #D4A85D;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

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

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
}

.nav-link:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px;
    box-shadow: var(--shadow);
    z-index: 999;
}

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

.mobile-nav-link {
    display: block;
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
}

.mobile-nav-link:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

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

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

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

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

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

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.shelf-demo {
    position: relative;
    width: 400px;
    height: 400px;
}

.demo-shelf {
    position: absolute;
    height: 12px;
    background: linear-gradient(180deg, #8B7355 0%, #6B5344 100%);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(107, 83, 68, 0.3);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    padding-bottom: 12px;
}

.shelf-1 {
    width: 280px;
    top: 60px;
    left: 60px;
}

.shelf-2 {
    width: 240px;
    top: 180px;
    left: 80px;
}

.shelf-3 {
    width: 160px;
    top: 300px;
    left: 120px;
}

.shelf-item {
    border-radius: 4px;
    transform: translateY(-100%);
}

.shelf-item.plant {
    width: 40px;
    height: 60px;
    background: linear-gradient(180deg, #4A7C59 0%, #2D5A4A 100%);
    border-radius: 50% 50% 8px 8px;
    position: relative;
}

.shelf-item.plant::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: #C4A77D;
    border-radius: 4px;
}

.shelf-item.books {
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, #E74C3C 0%, #E74C3C 30%, #3498DB 30%, #3498DB 60%, #F1C40F 60%);
    border-radius: 2px;
}

.shelf-item.frame {
    width: 35px;
    height: 45px;
    background: var(--white);
    border: 3px solid #8B7355;
    position: relative;
}

.shelf-item.frame::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    background: #D5DBDB;
}

.shelf-item.vase {
    width: 25px;
    height: 40px;
    background: linear-gradient(180deg, #E8B86D 0%, #C4A77D 100%);
    border-radius: 30% 30% 40% 40%;
}

.shelf-item.candle {
    width: 20px;
    height: 35px;
    background: #FAF3E0;
    border-radius: 4px;
    position: relative;
}

.shelf-item.candle::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: linear-gradient(180deg, #F1C40F 0%, #E74C3C 100%);
    border-radius: 50% 50% 20% 20%;
    animation: flicker 1s ease-in-out infinite alternate;
}

@keyframes flicker {
    0% { opacity: 1; transform: translateX(-50%) scale(1); }
    100% { opacity: 0.8; transform: translateX(-50%) scale(0.95); }
}

.shelf-item.clock {
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    position: relative;
}

.shelf-item.clock::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 14px;
    background: var(--primary);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
}

.shelf-item.clock::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 10px;
    background: var(--primary);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(90deg);
}

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

.section-header h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

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

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

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

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

.filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.filter-group select {
    padding: 10px 16px;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

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

.filter-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 90, 74, 0.1);
}

.view-toggle {
    display: flex;
    gap: 4px;
    margin-left: auto;
    padding: 4px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
}

.view-btn {
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.view-btn svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

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

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

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

/* 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);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.product-badge.bestseller {
    background: var(--accent);
    color: var(--text);
}

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

.product-badge.sale {
    background: #E74C3C;
    color: var(--white);
}

.compare-checkbox {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.compare-checkbox.checked {
    background: var(--primary);
    border-color: var(--primary);
}

.compare-checkbox svg {
    width: 14px;
    height: 14px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

.compare-checkbox.checked svg {
    opacity: 1;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

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

.product-tag {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 500;
    background: var(--bg-alt);
    color: var(--text-light);
    border-radius: 4px;
    text-transform: capitalize;
}

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

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--accent);
}

.star.empty {
    color: var(--border);
}

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

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.product-price .original {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 8px;
}

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

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

/* Products Table */
.products-table-container {
    overflow-x: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.products-table th {
    background: var(--bg-alt);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
}

.products-table td {
    font-size: 14px;
}

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

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

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

.table-product-thumb {
    width: 60px;
    height: 40px;
    background: var(--bg-alt);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.table-compare-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.hidden {
    display: none !important;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius);
}

.no-results p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Quiz Section */
.quiz-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

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

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

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

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.4s ease;
    width: 20%;
}

.progress-text {
    font-size: 14px;
    color: var(--text-muted);
}

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

.quiz-question h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.quiz-question p {
    font-size: 15px;
    color: var(--text-light);
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.quiz-option {
    padding: 20px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

.quiz-option-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.quiz-option-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

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

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

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

.quiz-results h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 32px;
}

#recommended-products {
    display: grid;
    gap: 20px;
}

.recommended-product {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    text-align: left;
}

.recommended-product-image {
    width: 120px;
    height: 80px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

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

.recommended-product-content {
    flex: 1;
}

.recommended-product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.recommended-product-match {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.recommended-product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* Compare Section */
.compare-section {
    padding: 80px 0;
}

.compare-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

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

.compare-slot {
    position: relative;
    min-height: 200px;
    background: var(--bg);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.compare-slot.filled {
    border-style: solid;
    border-color: var(--primary);
    background: var(--white);
}

.add-compare-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.add-compare-btn svg {
    width: 32px;
    height: 32px;
}

.add-compare-btn span {
    font-size: 14px;
    font-weight: 500;
}

.compare-slot-content {
    padding: 16px;
    text-align: center;
    width: 100%;
}

.compare-slot-image {
    height: 80px;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
}

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

.compare-slot-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.compare-slot-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.remove-compare-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.compare-table-container {
    overflow-x: auto;
}

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

.compare-table tr {
    border-bottom: 1px solid var(--border);
}

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

.compare-table th,
.compare-table td {
    padding: 16px;
    text-align: center;
    vertical-align: middle;
}

.compare-table th {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    background: var(--bg-alt);
    text-align: left;
    width: 150px;
}

.compare-table td {
    font-size: 14px;
    color: var(--text);
}

.compare-table .highlight-best {
    background: rgba(45, 90, 74, 0.08);
    font-weight: 600;
    color: var(--primary);
}

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

/* Guide Section */
.guide-section {
    padding: 80px 0;
    background: var(--bg-alt);
}

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

.guide-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.guide-icon {
    width: 56px;
    height: 56px;
    background: rgba(45, 90, 74, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.guide-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.guide-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.guide-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* SEO Content Section */
.seo-content {
    padding: 80px 0;
    background: var(--white);
}

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

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

.seo-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-top: 32px;
    margin-bottom: 12px;
}

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

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

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

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand .logo-icon {
    color: var(--white);
}

.footer-brand p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    max-width: 300px;
}

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

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    padding: 6px 0;
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

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

.affiliate-disclosure {
    max-width: 600px;
}

/* 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: 20px;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    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(--border);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

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

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

.modal-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.modal-product-item.selected {
    background: rgba(45, 90, 74, 0.15);
    border: 2px solid var(--primary);
}

.modal-product-thumb {
    width: 60px;
    height: 40px;
    background: var(--bg-alt);
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

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

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

.modal-product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.modal-product-price {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

/* Floating Compare Bar */
.floating-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text);
    color: var(--white);
    padding: 16px 0;
    z-index: 1500;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.floating-compare-bar.visible {
    transform: translateY(0);
}

.floating-compare-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

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

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

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

    .hero h1 {
        font-size: 36px;
    }

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

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        flex: 1;
    }

    .view-toggle {
        margin-left: 0;
        justify-content: center;
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

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

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

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 28px;
    }

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

    .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .quiz-container {
        padding: 24px;
    }

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