/* ========================================
   Raised Garden Beds Australia - Styles
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #2d5a27;
    --color-primary-light: #4a8c3f;
    --color-primary-dark: #1e3d1a;
    --color-secondary: #8b5a2b;
    --color-accent: #f4a460;
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-error: #dc3545;

    --color-bg: #fafafa;
    --color-bg-alt: #f0f4e8;
    --color-bg-card: #ffffff;
    --color-text: #2c3e2d;
    --color-text-light: #5a6b5c;
    --color-text-muted: #8a9a8c;
    --color-border: #e0e8e0;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, 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: 0.3s ease;
    --transition-fast: 0.15s 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-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

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

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

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

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: var(--color-bg-alt);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

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

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

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

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

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

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

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

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

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

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

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

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--color-primary-dark);
}

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

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

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

.stat {
    text-align: center;
}

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

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

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

.garden-illustration {
    position: relative;
    width: 400px;
    height: 300px;
}

.garden-bed-visual {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 100px;
    background: linear-gradient(to bottom, var(--color-secondary) 0%, #6d4423 100%);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.garden-bed-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 10px;
    right: 10px;
    height: 30px;
    background: linear-gradient(to bottom, #5d3a1a 0%, var(--color-secondary) 100%);
    border-radius: 4px 4px 0 0;
}

.plant {
    position: absolute;
    font-size: 3rem;
    animation: sway 3s ease-in-out infinite;
}

.plant-1 { left: 60px; bottom: 90px; animation-delay: 0s; }
.plant-2 { left: 130px; bottom: 100px; animation-delay: 0.5s; }
.plant-3 { left: 200px; bottom: 85px; animation-delay: 1s; }
.plant-4 { left: 270px; bottom: 95px; animation-delay: 1.5s; }

@keyframes sway {
    0%, 100% { transform: rotate(-3deg); }
    50% { transform: rotate(3deg); }
}

/* Features Bar */
.features-bar {
    background: var(--color-primary);
    padding: 20px 0;
}

.features-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

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

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

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

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

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

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

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

.filter-group select {
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    min-width: 150px;
}

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

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

.view-btn {
    padding: 8px 12px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

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

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

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

.product-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
}

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

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

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

.product-badge.budget {
    background: var(--color-success);
}

.product-image {
    height: 200px;
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.05) 100%);
}

.product-content {
    padding: 20px;
}

.product-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

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

.spec-tag {
    padding: 4px 10px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--color-text-light);
}

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

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

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

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

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

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

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

.product-actions .btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 0.875rem;
}

.compare-btn {
    flex: 0 0 auto !important;
    padding: 10px 12px !important;
    font-size: 1rem;
}

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

/* Product Table */
.product-table-container {
    overflow-x: auto;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

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

.product-table th {
    background: var(--color-bg-alt);
    font-weight: 600;
    color: var(--color-text);
    white-space: nowrap;
}

.product-table tbody tr:hover {
    background: var(--color-bg-alt);
}

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

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

.hidden {
    display: none !important;
}

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

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

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

.quiz-header h2 {
    color: white;
    margin-bottom: 8px;
}

.quiz-header p {
    opacity: 0.9;
}

#quiz-content {
    padding: 40px;
}

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

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

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

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

.quiz-benefits {
    list-style: none;
    text-align: left;
    max-width: 300px;
    margin: 0 auto 32px;
}

.quiz-benefits li {
    padding: 8px 0;
    color: var(--color-text-light);
}

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

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

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

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

.quiz-option {
    padding: 16px 20px;
    background: var(--color-bg);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

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

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

.quiz-results h3 {
    text-align: center;
    margin-bottom: 8px;
}

.results-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.results-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.result-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.result-rank {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
}

.result-content h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 4px;
}

.result-match {
    font-size: 0.875rem;
    color: var(--color-success);
    font-weight: 600;
    margin-bottom: 8px;
}

.result-content p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

#retake-quiz {
    display: block;
    margin: 0 auto;
}

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

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

.compare-slot {
    position: relative;
}

.compare-select {
    width: 100%;
    padding: 14px 40px 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235a6b5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

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

.clear-slot {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--color-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--color-text-muted);
    display: none;
}

.compare-slot.has-selection .clear-slot {
    display: block;
}

.compare-table-container {
    overflow-x: auto;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

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

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

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

.compare-table th:first-child,
.compare-table td:first-child {
    text-align: left;
    font-weight: 500;
    background: var(--color-bg);
}

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

.compare-table .product-header {
    padding: 20px;
}

.compare-table .product-header-emoji {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.compare-table .product-header-title {
    font-weight: 600;
    font-size: 0.95rem;
}

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

.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

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

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

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

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

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

.guide-card h3 {
    font-family: var(--font-primary);
    margin-bottom: 12px;
}

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

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
}

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

.benefit-item {
    text-align: center;
}

.benefit-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 16px;
}

.benefit-item h3 {
    font-family: var(--font-primary);
    margin-bottom: 8px;
}

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

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

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

.seo-content h2 {
    margin-bottom: 24px;
    text-align: center;
}

.seo-content h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    margin: 32px 0 12px;
    color: var(--color-primary-dark);
}

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

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background: var(--color-primary);
}

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

.newsletter-content h2 {
    color: white;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
}

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

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

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

.newsletter-form .btn:hover {
    background: #e8944a;
    border-color: #e8944a;
}

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

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

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

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

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

.footer-links h4 {
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 16px;
}

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

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

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

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

.footer-bottom {
    padding-top: 30px;
    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;
    margin-bottom: 8px;
}

.affiliate-disclosure {
    font-size: 0.8rem !important;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary-light);
    transform: translateY(-3px);
}

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

    .hero-content {
        max-width: 100%;
    }

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

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

    .hero-visual {
        margin-top: 40px;
    }

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

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

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

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

    .nav-links a {
        display: block;
        padding: 16px 0;
    }

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

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

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

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

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

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

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

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

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

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

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

    .garden-illustration {
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

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

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

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Print Styles */
@media print {
    .header, .newsletter-section, .back-to-top, .quiz-section, .compare-section {
        display: none;
    }

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