/* CSS Variables */
:root {
    --primary-color: #e8985f;
    --primary-dark: #d4824a;
    --primary-light: #f5c4a1;
    --secondary-color: #8b6914;
    --accent-color: #ff6b9d;
    --background-color: #fffbf7;
    --card-background: #ffffff;
    --text-primary: #3d3d3d;
    --text-secondary: #6b6b6b;
    --text-light: #999999;
    --border-color: #e8e0d8;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

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

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

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

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

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

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

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

.nav-links a {
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}

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

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

.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: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 20px 80px;
    background: linear-gradient(135deg, var(--background-color) 0%, #fff5eb 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

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

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(232, 152, 95, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 152, 95, 0.5);
}

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

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

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

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

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

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

/* Floating Bears Animation */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-bear {
    position: absolute;
    font-size: 4rem;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.bear-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.bear-2 {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.bear-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

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

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

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

/* Filters */
.filters {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

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

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

.filter-group select {
    padding: 10px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.view-btn {
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn svg {
    fill: var(--text-secondary);
}

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

.view-btn.active svg,
.view-btn:hover svg {
    fill: var(--primary-dark);
}

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

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

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

.product-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #fef6f0 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

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

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

.badge-premium {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #333;
}

.product-info {
    padding: 20px;
}

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

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-size {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 4px 10px;
    background: var(--background-color);
    border-radius: 12px;
}

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

.product-rating .stars {
    color: #ffc107;
}

.product-rating .count {
    color: var(--text-light);
    font-size: 0.8rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
}

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

.btn-compare {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.btn-compare:hover,
.btn-compare.active {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-buy {
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.btn-buy:hover {
    background: var(--primary-dark);
}

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

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

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

.products-table th {
    background: var(--background-color);
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-table tr:hover {
    background: #fef9f5;
}

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

.products-table .product-emoji {
    font-size: 2rem;
}

.products-table .product-name {
    margin-bottom: 0;
    font-size: 1rem;
}

.hidden {
    display: none !important;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Quiz Section */
.quiz-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
}

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

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

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

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

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

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

.quiz-question h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

.quiz-option {
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    text-align: left;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.quiz-option.selected {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

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

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

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

.result-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.result-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.result-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.result-products {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

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

.result-product-emoji {
    font-size: 3rem;
}

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

.result-product-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

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

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

.compare-slot {
    min-height: 350px;
    border: 3px dashed var(--border-color);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    position: relative;
}

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

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

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

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

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

.slot-content .product-emoji {
    font-size: 4rem;
    margin-bottom: 16px;
}

.slot-content .product-name {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

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

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

.slot-remove:hover {
    background: var(--accent-color);
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
}

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

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

.comparison-table th {
    background: var(--background-color);
    font-weight: 700;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    background: #fef9f5;
}

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

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

/* 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: white;
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

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

.modal-close {
    font-size: 1.8rem;
    color: var(--text-light);
    transition: var(--transition);
}

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

.modal-search {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-search input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

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

.modal-products {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
}

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

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

.modal-product-item .emoji {
    font-size: 2.5rem;
}

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

.modal-product-item .info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff9f5 0%, #fff 100%);
}

.seo-content h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.seo-block {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.seo-block h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.seo-block p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.seo-footer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    background: #2d2a26;
    color: #b8b4ae;
    padding: 60px 0 30px;
}

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

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

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

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

.footer-links h4,
.footer-info h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

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

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

.footer-links a {
    transition: var(--transition);
}

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

.footer-info p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid #3d3a36;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

.affiliate-disclosure {
    color: #8a8680;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .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;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        box-shadow: var(--shadow-md);
    }

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

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

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 120px 20px 60px;
        min-height: auto;
    }

    .hero-stats {
        gap: 30px;
    }

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

    .filter-group {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .filter-group select {
        width: 100%;
    }

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

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

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

    .quiz-container {
        padding: 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

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

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

    .btn {
        width: 100%;
    }

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

    .product-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .product-actions {
        justify-content: stretch;
    }

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

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

.product-card {
    animation: fadeIn 0.5s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
