/* ============================================
   Christmas Tree Australia - Styles
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --primary-green: #1a5f2a;
    --primary-green-dark: #0d4a1c;
    --primary-green-light: #2d8b3f;
    --accent-red: #c41e3a;
    --accent-red-dark: #a01830;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d03f;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --charcoal: #333333;
    --black: #1a1a1a;

    /* Semantic */
    --success: #28a745;
    --warning: #ffc107;
    --info: #17a2b8;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-md);
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--dark-gray);
    border: 2px solid var(--medium-gray);
}

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

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

.btn-amazon {
    background: linear-gradient(135deg, #ff9900, #ff8800);
    color: var(--black);
}

.btn-amazon:hover {
    background: linear-gradient(135deg, #ffaa00, #ff9900);
    transform: translateY(-2px);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

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

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

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-weight: 500;
    color: var(--charcoal);
    position: relative;
    padding: var(--space-sm) 0;
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    padding: calc(70px + var(--space-3xl)) 0 var(--space-3xl);
    background: linear-gradient(135deg, #0d4a1c 0%, #1a5f2a 50%, #2d8b3f 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    animation: snowfall linear infinite;
}

.snowflake:nth-child(1) { left: 5%; animation-duration: 10s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 15%; animation-duration: 12s; animation-delay: 2s; font-size: 1rem; }
.snowflake:nth-child(3) { left: 30%; animation-duration: 8s; animation-delay: 4s; }
.snowflake:nth-child(4) { left: 45%; animation-duration: 14s; animation-delay: 1s; font-size: 2rem; }
.snowflake:nth-child(5) { left: 60%; animation-duration: 9s; animation-delay: 3s; }
.snowflake:nth-child(6) { left: 75%; animation-duration: 11s; animation-delay: 5s; font-size: 1.25rem; }
.snowflake:nth-child(7) { left: 85%; animation-duration: 13s; animation-delay: 2s; }
.snowflake:nth-child(8) { left: 95%; animation-duration: 10s; animation-delay: 4s; font-size: 1rem; }

@keyframes snowfall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    color: var(--accent-gold-light);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    flex-wrap: wrap;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

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

.stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Features Bar */
.features-bar {
    background: var(--light-gray);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--medium-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}

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

/* Products Section */
.products {
    padding: var(--space-3xl) 0;
}

.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.filter-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-gray);
    background: var(--light-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background: var(--medium-gray);
}

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

.view-toggle {
    display: flex;
    gap: var(--space-xs);
    background: var(--light-gray);
    padding: var(--space-xs);
    border-radius: var(--radius-md);
}

.view-btn {
    padding: var(--space-sm);
    color: var(--dark-gray);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

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

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

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

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

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

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    z-index: 1;
}

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

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

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

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

.product-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(255,255,255,0.8), transparent);
}

.product-content {
    padding: var(--space-lg);
}

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

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--black);
    line-height: 1.3;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.spec-tag {
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-sm);
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    color: var(--dark-gray);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.stars {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

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

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--light-gray);
}

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

.product-price .currency {
    font-size: 1rem;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: var(--space-sm);
}

.action-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--light-gray);
    color: var(--dark-gray);
    transition: all var(--transition-fast);
    font-size: 1.1rem;
}

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

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

.shop-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ff9900, #ff8800);
    color: var(--black);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.4);
}

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

.products-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.products-table th,
.products-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.products-table th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--charcoal);
    white-space: nowrap;
}

.products-table tbody tr:hover {
    background: var(--off-white);
}

.table-product {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.table-product-image {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f0f9f0, #e8f5e9);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.table-product-info h4 {
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.table-product-info p {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

/* Quiz Section */
.quiz-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #fef9f9, #fff5f5);
}

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

.quiz-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.quiz-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-dark));
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-md);
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.quiz-progress {
    height: 6px;
    background: var(--light-gray);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-green-light));
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.quiz-question-number {
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin-bottom: var(--space-sm);
}

.quiz-question {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--black);
}

.quiz-options {
    display: grid;
    gap: var(--space-md);
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: all var(--transition-fast);
}

.quiz-option:hover {
    background: var(--white);
    border-color: var(--primary-green);
    transform: translateX(5px);
}

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

.quiz-option .option-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
}

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

.quiz-results.hidden {
    display: none;
}

.results-header {
    margin-bottom: var(--space-xl);
}

.results-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--space-md);
}

.results-header h3 {
    font-size: 1.75rem;
    color: var(--primary-green);
}

.recommended-product {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.recommended-product .product-image {
    height: 150px;
    background: var(--white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    font-size: 5rem;
}

.recommended-product h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.recommended-product .match-score {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--primary-green);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.recommended-product .product-price {
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
}

/* Compare Section */
.compare-section {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.compare-container {
    max-width: 1000px;
    margin: 0 auto;
}

.compare-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.compare-slot {
    min-height: 300px;
    border: 2px dashed var(--medium-gray);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.compare-slot:hover {
    border-color: var(--primary-green);
    background: var(--off-white);
}

.compare-slot.filled {
    border: 2px solid var(--primary-green);
    background: var(--white);
    cursor: default;
}

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

.slot-placeholder .plus-icon {
    display: block;
    font-size: 3rem;
    color: var(--medium-gray);
    margin-bottom: var(--space-sm);
}

.slot-product {
    padding: var(--space-lg);
    text-align: center;
    width: 100%;
}

.slot-product .product-image {
    height: 120px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    font-size: 4rem;
}

.slot-product h4 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.slot-product .product-price {
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.remove-slot {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-red);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

.remove-slot:hover {
    background: var(--accent-red-dark);
    transform: scale(1.1);
}

.compare-table-wrapper {
    margin-top: var(--space-xl);
    overflow-x: auto;
}

.compare-table-wrapper.hidden {
    display: none;
}

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

.compare-table th,
.compare-table td {
    padding: var(--space-md);
    text-align: center;
    border: 1px solid var(--light-gray);
}

.compare-table th {
    background: var(--primary-green);
    color: var(--white);
    font-weight: 600;
}

.compare-table th:first-child {
    background: var(--light-gray);
    color: var(--charcoal);
    text-align: left;
}

.compare-table td:first-child {
    background: var(--off-white);
    font-weight: 500;
    text-align: left;
}

.compare-table tbody tr:hover {
    background: var(--off-white);
}

.compare-actions {
    text-align: center;
    margin-top: var(--space-xl);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

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

.modal-close {
    font-size: 1.5rem;
    color: var(--dark-gray);
    padding: var(--space-sm);
}

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

.modal-body {
    padding: var(--space-lg);
    max-height: 60vh;
    overflow-y: auto;
}

.product-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.selector-product {
    padding: var(--space-md);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.selector-product:hover {
    border-color: var(--primary-green);
    background: var(--off-white);
}

.selector-product .product-image {
    height: 80px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    font-size: 3rem;
}

.selector-product h4 {
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.selector-product .price {
    font-weight: 600;
    color: var(--primary-green);
}

/* About Section */
.about-section {
    padding: var(--space-3xl) 0;
    background: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
}

.about-text h3 {
    font-size: 1.5rem;
    margin: var(--space-xl) 0 var(--space-md);
    color: var(--primary-green);
}

.about-text p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
    color: var(--charcoal);
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    color: var(--primary-green);
}

.info-card ul {
    padding-left: var(--space-lg);
}

.info-card li {
    list-style: disc;
    margin-bottom: var(--space-sm);
    color: var(--charcoal);
}

.info-card p {
    color: var(--charcoal);
    margin-bottom: var(--space-md);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: var(--space-md);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    color: var(--white);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

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

.footer-links a:hover {
    color: var(--accent-gold-light);
}

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

.affiliate-disclosure {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Floating Compare Bar */
.floating-compare {
    position: fixed;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    background: var(--charcoal);
    color: var(--white);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

.floating-compare.hidden {
    display: none;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.floating-compare-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.compare-count {
    font-weight: 500;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .info-card {
        flex: 1;
        min-width: 280px;
    }

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

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

    .compare-slot:nth-child(3) {
        grid-column: span 2;
        max-width: 50%;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
        gap: 0;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: var(--space-md);
        border-bottom: 1px solid var(--light-gray);
        width: 100%;
    }

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

    .hero {
        min-height: auto;
        padding: calc(70px + var(--space-2xl)) 0 var(--space-2xl);
    }

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

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

    .hero-stats {
        gap: var(--space-lg);
    }

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

    .filters {
        overflow-x: auto;
        padding-bottom: var(--space-sm);
        flex-wrap: nowrap;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .view-toggle {
        align-self: flex-end;
    }

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

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

    .compare-slot:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }

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

    .footer-brand {
        margin-bottom: var(--space-lg);
    }

    .quiz-container {
        padding: var(--space-lg);
    }

    .quiz-question {
        font-size: 1.25rem;
    }
}

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

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

    .feature {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .product-footer {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }

    .product-actions {
        width: 100%;
        justify-content: space-between;
    }
}
