/* CSS Variables */
:root {
    --primary: #8B7355;
    --primary-dark: #6B5A45;
    --primary-light: #C4A77D;
    --secondary: #2C3E50;
    --accent: #E67E22;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --background: #FAFAFA;
    --white: #FFFFFF;
    --border: #E5E5E5;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, #8B7355 0%, #C4A77D 100%);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
}

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

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary);
}

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

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

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
}

.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(--primary);
    padding: 12px 28px;
}

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

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

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

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

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

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

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

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

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

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

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

.hero-content {
    flex: 1;
    padding: 2rem 0;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

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

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(196, 167, 125, 0.3);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

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

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.couch-illustration svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Categories */
.categories {
    padding: 4rem 0 2rem;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

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

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

/* Products Section */
.products {
    padding: 3rem 0 5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.product-badge.bestseller {
    background: #27ae60;
}

.product-badge.new {
    background: #3498db;
}

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

.product-image svg {
    width: 80%;
    height: auto;
    transition: var(--transition);
}

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

.product-info {
    padding: 1.5rem;
}

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

.product-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', Georgia, serif;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #F1C40F;
    font-size: 0.9rem;
}

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

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: #F5F3F0;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-cta {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
}

.product-cta:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.load-more-container {
    text-align: center;
}

/* Guide Section */
.guide {
    padding: 5rem 0;
    background: linear-gradient(135deg, #F8F6F3 0%, #EDE8E1 100%);
}

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

.guide-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guide-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

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

/* Features Bar */
.features {
    padding: 3rem 0;
    background: var(--primary);
}

.features-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
}

.feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.feature-text {
    font-weight: 500;
}

/* Comparison Table */
.comparison {
    padding: 5rem 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px var(--shadow);
}

.comparison-table {
    width: 100%;
    background: var(--white);
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.comparison-table tr:hover {
    background: #F8F6F3;
}

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

/* Newsletter */
.newsletter {
    padding: 5rem 0;
    background: var(--secondary);
}

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

.newsletter h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

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

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

/* SEO Content */
.seo-content {
    padding: 5rem 0;
    background: var(--white);
}

.seo-content h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.seo-content h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin: 2rem 0 1rem;
}

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

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
}

.footer-col p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

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

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-col ul a:hover {
    color: var(--primary-light);
}

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

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

.affiliate-disclosure {
    font-size: 0.8rem !important;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }

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

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

    .hero-image {
        margin-top: 2rem;
    }
}

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

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

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

    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .category-filters {
        gap: 0.5rem;
    }

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

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

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

    .features-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading State */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
