/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --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-primary);
    background-color: var(--bg-primary);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
}

p {
    color: var(--text-secondary);
}

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

/* 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(--border-color);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.nav ul {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

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

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

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav a {
        display: block;
        padding: 1rem 0;
    }

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

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-buttons {
    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-color);
}

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

/* Dryer Animation */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dryer-animation {
    position: relative;
    width: 300px;
    height: 380px;
}

.dryer-body {
    width: 280px;
    height: 350px;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.dryer-door {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dryer-window {
    width: 150px;
    height: 150px;
    background: linear-gradient(145deg, #0ea5e9, #0284c7);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.clothes {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, #f472b6 15%, transparent 15%),
        radial-gradient(circle at 70% 60%, #a78bfa 12%, transparent 12%),
        radial-gradient(circle at 50% 30%, #fbbf24 10%, transparent 10%),
        radial-gradient(circle at 60% 70%, #34d399 14%, transparent 14%);
    animation: tumble 3s ease-in-out infinite;
}

@keyframes tumble {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.dryer-panel {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    align-items: center;
}

.dryer-display {
    width: 80px;
    height: 30px;
    background: #1e293b;
    border-radius: 5px;
    position: relative;
}

.dryer-display::after {
    content: '45:00';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    font-family: monospace;
    font-size: 14px;
}

.dryer-knob {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #f1f5f9, #cbd5e1);
    border-radius: 50%;
    border: 3px solid #94a3b8;
}

.energy-badge {
    position: absolute;
    top: 20px;
    right: -10px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

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

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

    .hero-image {
        order: -1;
    }

    .dryer-animation {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 3rem;
    }

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

    .hero-stats {
        gap: 1.5rem;
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 0.75rem;
}

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

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--bg-primary);
}

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

.benefit-card {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

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

.benefit-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 0.95rem;
}

/* Quiz Section */
.quiz-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
}

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

.quiz-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

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

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

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.quiz-question h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

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

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

.option-icon {
    font-size: 2rem;
}

.option-text {
    font-weight: 600;
    color: var(--text-primary);
}

.option-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: block;
}

/* Quiz Results */
.quiz-results {
    text-align: center;
}

.results-header {
    margin-bottom: 2rem;
}

.results-header h3 {
    color: var(--secondary-color);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.recommended-products {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.recommended-product {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    text-align: left;
}

.recommended-product .product-placeholder {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.recommended-product h4 {
    margin-bottom: 0.25rem;
}

.recommended-product p {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.recommended-product .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

#retakeQuiz {
    margin-top: 1rem;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

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

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

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

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

.product-card.hidden {
    display: none;
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    z-index: 10;
}

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

.product-badge.value {
    background: var(--secondary-color);
}

.product-badge.premium {
    background: #8b5cf6;
}

.product-badge.aussie {
    background: #0891b2;
}

.product-image {
    padding: 2rem;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    width: 150px;
    height: 150px;
    background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 1.25rem;
    position: relative;
}

.product-placeholder::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: #94a3b8;
    border-radius: 50%;
    top: 15px;
}

.product-placeholder.miele::before { background: linear-gradient(145deg, #1e3a5f, #2563eb); }
.product-placeholder.bosch::before { background: linear-gradient(145deg, #dc2626, #ef4444); }
.product-placeholder.electrolux::before { background: linear-gradient(145deg, #1e40af, #3b82f6); }
.product-placeholder.samsung::before { background: linear-gradient(145deg, #1e3a8a, #60a5fa); }
.product-placeholder.lg::before { background: linear-gradient(145deg, #b91c1c, #f87171); }
.product-placeholder.fisherpaykel::before { background: linear-gradient(145deg, #064e3b, #10b981); }
.product-placeholder.haier::before { background: linear-gradient(145deg, #7c3aed, #a78bfa); }
.product-placeholder.beko::before { background: linear-gradient(145deg, #0369a1, #38bdf8); }

.product-info {
    padding: 1.5rem;
}

.product-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 1.25rem;
    margin: 0.25rem 0 0.75rem;
}

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

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

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

.product-features {
    margin-bottom: 1rem;
}

.product-features li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 600;
}

.product-price {
    margin-bottom: 1rem;
}

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

.price-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.product-actions .btn-primary {
    flex: 1;
}

.btn-compare {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.compare-icon {
    font-size: 1.25rem;
}

/* Compare Section */
.compare-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.compare-selection {
    text-align: center;
    margin-bottom: 2rem;
}

.compare-hint {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.selected-products {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.selected-product-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 100px;
    font-size: 0.875rem;
}

.remove-product {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    opacity: 0.8;
}

.remove-product:hover {
    opacity: 1;
}

.compare-table-container {
    overflow-x: auto;
    margin-top: 2rem;
}

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

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

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

.compare-table th:first-child {
    width: 180px;
}

.compare-table tbody tr:hover {
    background: var(--bg-secondary);
}

.compare-table .highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
}

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

.seo-content h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

@media (max-width: 600px) {
    .seo-grid {
        grid-template-columns: 1fr;
    }
}

.seo-block h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.seo-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.seo-conclusion {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.seo-conclusion p {
    margin: 0;
    font-style: italic;
}

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

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

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

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

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

.footer-links h4 {
    color: white;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.footer-links a:hover {
    color: white;
}

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

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.affiliate-disclosure {
    margin-top: 0.75rem;
    font-size: 0.8rem !important;
    opacity: 0.7;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
