/*
 * Kids Table and Chairs Australia
 * Authority Site Stylesheet
 * Copyright 2026 KidsTableAndChairs.com.au
 */

/* ========================================
   CSS VARIABLES & ROOT
   ======================================== */
:root {
    /* Brand Colors */
    --primary: #FF6B6B;
    --primary-dark: #ee5a5a;
    --secondary: #4ECDC4;
    --secondary-dark: #3dbdb5;
    --accent: #FFE66D;
    --dark: #2C3E50;
    --light: #F7F9FC;
    --white: #FFFFFF;
    --success: #2ECC71;
    --warning: #F39C12;
    --info: #3498DB;

    /* Gradients */
    --gradient: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    --gradient-subtle: linear-gradient(135deg, #fff5f5 0%, #f0fffe 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-nav: 0 2px 20px rgba(0,0,0,0.08);

    /* Spacing (Generous for publication feel) */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;

    /* Typography */
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --line-height: 1.8;
    --line-height-heading: 1.3;

    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;
    --container-wide: 1400px;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: var(--line-height);
    color: var(--dark);
    background: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--line-height-heading);
    color: var(--dark);
    font-weight: 700;
}

h1 { font-size: 3rem; margin-bottom: var(--space-md); }
h2 { font-size: 2.25rem; margin-bottom: var(--space-md); }
h3 { font-size: 1.75rem; margin-bottom: var(--space-sm); }
h4 { font-size: 1.375rem; margin-bottom: var(--space-sm); }

p {
    margin-bottom: var(--space-sm);
    color: #4a5568;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

ul, ol {
    margin-left: var(--space-md);
    margin-bottom: var(--space-sm);
}

li {
    margin-bottom: var(--space-xs);
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ========================================
   NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--space-sm) var(--space-md);
    box-shadow: var(--shadow-nav);
}

.nav-container {
    max-width: var(--container-wide);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

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

.nav-links {
    display: flex;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

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

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

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

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    padding: calc(var(--space-xxl) + 60px) var(--space-md) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(-10%, -10%); }
    100% { transform: translate(10%, 10%); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.hero .subtitle {
    font-size: 1.35rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-amazon {
    background: #FF9900;
    color: white;
    text-align: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-amazon:hover {
    background: #e68a00;
    transform: scale(1.02);
    color: white;
}

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

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

/* ========================================
   SECTIONS
   ======================================== */
section {
    padding: var(--space-xxl) var(--space-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
}

.section-white {
    background: white;
}

.section-light {
    background: var(--light);
}

.section-gradient {
    background: var(--gradient);
    color: white;
}

.section-gradient h2,
.section-gradient p {
    color: white;
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

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

.card-body {
    padding: var(--space-md);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-md);
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--accent);
    color: var(--dark);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.product-image {
    height: 220px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

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

.product-content h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--dark);
}

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

.product-meta span {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.product-rating {
    color: var(--warning);
}

.product-features {
    list-style: none;
    margin: 0 0 var(--space-md) 0;
}

.product-features li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.product-features li::before {
    content: '\2713';
    color: var(--success);
    font-weight: bold;
}

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

.btn-compare {
    background: var(--light);
    border: 2px solid var(--secondary);
    color: var(--secondary);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-compare:hover,
.btn-compare.active {
    background: var(--secondary);
    color: white;
}

/* ========================================
   BLOG / ARTICLE CARDS
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

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

.blog-card-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.blog-card-category {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-body {
    padding: var(--space-md);
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

.blog-card-title a {
    color: var(--dark);
}

.blog-card-title a:hover {
    color: var(--primary);
}

.blog-card-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: #888;
}

.blog-card-meta .author {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.blog-card-meta .author-avatar {
    width: 28px;
    height: 28px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========================================
   ARTICLE PAGE STYLES
   ======================================== */
.article-header {
    padding: calc(var(--space-xxl) + 60px) var(--space-md) var(--space-xl);
    text-align: center;
    background: var(--gradient-subtle);
}

.article-header .container-narrow {
    max-width: 800px;
}

.article-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.article-header h1 {
    font-size: 2.75rem;
    margin-bottom: var(--space-md);
    color: var(--dark);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    color: #666;
    font-size: 0.95rem;
}

.article-meta .author {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.article-meta .author-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.article-content {
    padding: var(--space-xl) var(--space-md);
    background: white;
}

.article-content .container-narrow {
    max-width: 750px;
}

.article-content h2 {
    font-size: 1.875rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid #eee;
}

.article-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: var(--space-md);
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
}

.article-content li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-xs);
}

/* Info Boxes */
.info-box {
    background: #e8f4fd;
    border-left: 4px solid var(--info);
    padding: var(--space-md);
    margin: var(--space-lg) 0;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.info-box.tip {
    background: #e8f8f0;
    border-color: var(--success);
}

.info-box.warning {
    background: #fef5e7;
    border-color: var(--warning);
}

.info-box.highlight {
    background: #fff5f5;
    border-color: var(--primary);
}

.info-box-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Key Takeaway Card */
.key-takeaway {
    background: var(--gradient);
    color: white;
    padding: var(--space-md);
    border-radius: var(--radius);
    margin: var(--space-lg) 0;
}

.key-takeaway-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.key-takeaway p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 0;
}

/* Author Bio */
.author-bio {
    background: var(--light);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-top: var(--space-xl);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.author-bio-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.author-bio-content h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-bio-content .role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.author-bio-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ========================================
   QUIZ SECTION
   ======================================== */
.quiz-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius);
    padding: var(--space-lg);
    box-shadow: var(--shadow-hover);
}

.quiz-progress {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.quiz-progress span {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    transition: background 0.3s;
}

.quiz-progress span.active {
    background: var(--secondary);
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
}

.quiz-question h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: var(--space-md);
    text-align: center;
}

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

.quiz-option {
    padding: var(--space-sm) var(--space-md);
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: white;
}

.quiz-option:hover {
    border-color: var(--secondary);
    background: rgba(78, 205, 196, 0.05);
}

.quiz-option.selected {
    border-color: var(--secondary);
    background: rgba(78, 205, 196, 0.1);
}

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

.quiz-option-text h4 {
    font-family: var(--font-body);
    color: var(--dark);
    margin-bottom: 0.1rem;
}

.quiz-option-text p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: var(--space-lg);
}

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

.quiz-result.active {
    display: block;
}

.quiz-result h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: var(--space-sm);
}

.quiz-result-product {
    background: var(--light);
    padding: var(--space-lg);
    border-radius: var(--radius-sm);
    margin: var(--space-md) 0;
}

/* ========================================
   TABLE STYLES
   ======================================== */
.table-container {
    overflow-x: auto;
}

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

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

.products-table th {
    background: var(--dark);
    color: white;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    font-family: var(--font-body);
}

.products-table th:hover {
    background: #3d566e;
}

.products-table tbody tr:hover {
    background: rgba(78, 205, 196, 0.1);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.filter-bar select,
.filter-bar input {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: white;
    font-family: var(--font-body);
}

.filter-bar select:focus,
.filter-bar input:focus {
    outline: none;
    border-color: var(--secondary);
}

/* ========================================
   COMPARE BAR & MODAL
   ======================================== */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: white;
    padding: var(--space-sm) var(--space-md);
    display: none;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.2);
}

.compare-bar.visible {
    display: flex;
}

.compare-items {
    display: flex;
    gap: var(--space-sm);
}

.compare-item {
    background: rgba(255,255,255,0.1);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.compare-item button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.compare-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.compare-btn:hover {
    background: var(--secondary-dark);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    padding: var(--space-md);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: var(--radius);
    max-width: 1200px;
    width: 100%;
    margin: var(--space-md) auto;
    overflow: hidden;
}

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

.modal-header h2 {
    margin-bottom: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

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

.compare-table th,
.compare-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

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

.compare-table tr:hover td {
    background: rgba(78, 205, 196, 0.05);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-hero {
    padding: calc(var(--space-xxl) + 60px) var(--space-md) var(--space-xl);
    text-align: center;
    background: var(--gradient-subtle);
}

.about-content {
    padding: var(--space-xl) var(--space-md);
    background: white;
}

.about-content h2 {
    margin-top: var(--space-lg);
}

.about-content h2:first-child {
    margin-top: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.team-member {
    text-align: center;
    padding: var(--space-lg);
    background: var(--light);
    border-radius: var(--radius);
}

.team-member-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 3rem;
    color: white;
}

.team-member h4 {
    font-family: var(--font-body);
    margin-bottom: 0.25rem;
}

.team-member .role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: var(--space-sm);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
    padding: var(--space-xl) var(--space-md);
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-form {
    background: var(--light);
    padding: var(--space-lg);
    border-radius: var(--radius);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-sm);
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info h3 {
    margin-bottom: var(--space-md);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    background: var(--light);
    border-radius: var(--radius-sm);
}

.contact-info-icon {
    font-size: 1.5rem;
}

/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-content {
    padding: calc(var(--space-xxl) + 60px) var(--space-md) var(--space-xl);
    background: white;
}

.legal-content h1 {
    margin-bottom: var(--space-lg);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content p {
    margin-bottom: var(--space-sm);
}

.legal-content ul {
    margin-bottom: var(--space-md);
}

.last-updated {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--dark);
    color: white;
    padding: var(--space-xl) var(--space-md) var(--space-md);
}

.footer-content {
    max-width: var(--container-wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

.footer-section h4 {
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
    font-family: var(--font-body);
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: var(--space-xs);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    max-width: var(--container-wide);
    margin: var(--space-lg) auto 0;
    padding-top: var(--space-lg);
    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.9rem;
    margin-bottom: var(--space-xs);
}

.amazon-disclosure {
    background: rgba(255,255,255,0.1);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

/* ========================================
   LATEST GUIDES SECTION
   ======================================== */
.latest-guides {
    background: var(--light);
}

.latest-guides .blog-grid {
    margin-bottom: var(--space-lg);
}

.view-all-link {
    text-align: center;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    section {
        padding: var(--space-xl) var(--space-md);
    }

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

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

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

    .mobile-menu {
        display: block;
    }

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

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

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

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

    .compare-bar {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .compare-items {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-bar select,
    .filter-bar input {
        width: 100%;
    }

    .article-header h1 {
        font-size: 2rem;
    }

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

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .author-bio-avatar {
        margin: 0 auto;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
