/* Creator Business OS - Guides Hub Stylesheet (Complete Redesign) */

/* ============================================
   CSS Variables and Design System
============================================ */
:root {
    /* Brand Colors */
    --primary-color: #FFD700;
    --primary-dark: #E6C200;
    --primary-light: #FFF4B3;
    --secondary-color: #8B7AB8;
    --secondary-dark: #6B5A98;
    --accent-color: #A994FF;
    
    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --black: #000000;
    
    /* Platform Colors */
    --youtube-color: #FF0000;
    --twitch-color: #9146FF;
    --tiktok-color: #FF0050;
    --instagram-color: #E4405F;
    --podcast-color: #FF6B35;
    --general-color: var(--secondary-color);
    
    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-heading: 'Inter', var(--font-family-base);
    
    /* Font Sizes (Fluid Typography) */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 2rem + 1.25vw, 3rem);
    --text-5xl: clamp(3rem, 2.5rem + 2.5vw, 4rem);
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-base: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-popover: 1050;
    --z-tooltip: 1060;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: clamp(1rem, 5vw, 2rem);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* ============================================
   Base Styles and Reset
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

/* ============================================
   Navigation Styles
============================================ */
.guide-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

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

.nav-logo {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.nav-cta {
    background: var(--primary-color);
    color: var(--black);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Hero Section
============================================ */
.hub-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    overflow: hidden;
    padding-top: 80px; /* Account for fixed nav */
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 
        linear-gradient(90deg, var(--gray-600) 1px, transparent 1px),
        linear-gradient(180deg, var(--gray-600) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.hero-gradient {
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 50%);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: heroFadeIn 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--white);
    color: var(--gray-700);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-6);
}

.badge-icon {
    font-size: var(--text-base);
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    color: var(--gray-900);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto var(--space-10);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-10);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ============================================
   Search Section
============================================ */
.search-section {
    padding: var(--space-20) 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

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

.search-header h2 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.search-header p {
    font-size: var(--text-lg);
    color: var(--gray-600);
}

.search-controls {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

/* Enhanced Search Bar */
.search-bar-container {
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: var(--space-4) var(--space-12) var(--space-4) var(--space-12);
    font-size: var(--text-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-icon {
    position: absolute;
    left: var(--space-4);
    color: var(--gray-400);
    font-size: var(--text-xl);
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: var(--space-4);
    background: none;
    border: none;
    font-size: var(--text-xl);
    color: var(--gray-400);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius-base);
    transition: all var(--transition-fast);
    display: none;
}

.search-clear:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
    max-height: 300px;
    overflow-y: auto;
    margin-top: var(--space-2);
}

/* Filter Pills */
.filter-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.filter-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-700);
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.filter-pill {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-600);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.filter-pill:hover {
    border-color: var(--primary-color);
    color: var(--gray-800);
}

.filter-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--black);
    font-weight: 600;
}

/* Results Controls */
.results-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.results-info {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.results-count {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: 500;
}

.clear-filters {
    font-size: var(--text-sm);
    color: var(--secondary-color);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.clear-filters:hover {
    color: var(--secondary-dark);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.sort-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: 500;
}

.sort-select {
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-base);
    font-size: var(--text-sm);
    background: var(--white);
    cursor: pointer;
    transition: border-color var(--transition-fast);
}

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

/* ============================================
   Guides Section
============================================ */
.guides-section {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-12);
    text-align: center;
}

/* Spotlight Section */
.spotlight-section {
    margin-bottom: var(--space-20);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

/* All Guides Section */
.all-guides-section .section-title {
    position: relative;
    margin-bottom: var(--space-16);
}

.all-guides-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -var(--space-4);
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-6);
}

/* ============================================
   Guide Cards
============================================ */
.guide-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-base);
    transition: all var(--transition-base);
    overflow: hidden;
    position: relative;
    height: fit-content;
    animation: fadeInUp 0.6s ease-out;
}

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

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

.guide-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.card-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    background: var(--primary-color);
    color: var(--black);
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    z-index: 2;
}

.card-header {
    padding: var(--space-6) var(--space-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.platform-badge {
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.platform-badge.youtube {
    background: rgba(255, 0, 0, 0.1);
    color: var(--youtube-color);
}

.platform-badge.twitch {
    background: rgba(145, 70, 255, 0.1);
    color: var(--twitch-color);
}

.platform-badge.tiktok {
    background: rgba(255, 0, 80, 0.1);
    color: var(--tiktok-color);
}

.platform-badge.instagram {
    background: rgba(228, 64, 95, 0.1);
    color: var(--instagram-color);
}

.platform-badge.podcast {
    background: rgba(255, 107, 53, 0.1);
    color: var(--podcast-color);
}

.platform-badge.general {
    background: rgba(139, 122, 184, 0.1);
    color: var(--general-color);
}

.favorite-btn {
    background: none;
    border: none;
    font-size: var(--text-lg);
    cursor: pointer;
    padding: var(--space-2);
    color: var(--gray-400);
    transition: all var(--transition-fast);
    border-radius: var(--radius-base);
}

.favorite-btn:hover {
    background: var(--gray-100);
    color: var(--gray-600);
}

.favorite-btn.favorited {
    color: #ef4444;
}

.card-content {
    padding: var(--space-4) var(--space-6);
}

.guide-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.guide-excerpt {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

.guide-meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.guide-meta span {
    font-size: var(--text-xs);
    color: var(--gray-500);
    font-weight: 500;
}

.read-time {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.read-time::before {
    content: '⏱';
}

.difficulty {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.difficulty.beginner {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.difficulty.intermediate {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.difficulty.advanced {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.updated::before {
    content: '📅';
    margin-right: var(--space-1);
}

.guide-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
}

.feature {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: 500;
}

.card-footer {
    padding: 0 var(--space-6) var(--space-6);
}

.guide-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-4) var(--space-5);
    background: var(--gray-900);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-fast);
    group: card-link;
}

.guide-link:hover {
    background: var(--primary-color);
    color: var(--black);
    transform: translateY(-1px);
}

.link-arrow {
    font-size: var(--text-lg);
    transition: transform var(--transition-fast);
}

.guide-link:hover .link-arrow {
    transform: translateX(4px);
}

/* ============================================
   No Results
============================================ */
.no-results {
    text-align: center;
    padding: var(--space-20) 0;
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-6);
}

.no-results h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.no-results p {
    color: var(--gray-600);
    margin-bottom: var(--space-8);
}

.clear-filters-btn {
    background: var(--primary-color);
    color: var(--black);
    border: none;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.clear-filters-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ============================================
   CTA Section
============================================ */
.hub-cta-section {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hub-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 0v40M0 20h40'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--space-12);
    align-items: center;
}

.cta-text h2 {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.cta-text p {
    font-size: var(--text-lg);
    color: var(--gray-300);
    margin-bottom: var(--space-8);
    line-height: 1.6;
}

.cta-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.benefit {
    font-size: var(--text-base);
    color: var(--gray-200);
    font-weight: 500;
}

.cta-action {
    text-align: center;
    min-width: 300px;
}

.price-display {
    margin-bottom: var(--space-6);
}

.price {
    display: block;
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: var(--space-2);
}

.price-note {
    font-size: var(--text-sm);
    color: var(--gray-400);
    font-weight: 500;
}

.guarantee {
    font-size: var(--text-sm);
    color: var(--gray-400);
    margin-top: var(--space-4);
}

/* ============================================
   Buttons and CTAs
============================================ */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}

.cta-button.primary {
    background: var(--primary-color);
    color: var(--black);
    padding: var(--space-4) var(--space-6);
    box-shadow: var(--shadow-sm);
}

.cta-button.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
    background: transparent;
    color: var(--gray-700);
    padding: var(--space-4) var(--space-6);
    border: 2px solid var(--gray-300);
}

.cta-button.secondary:hover {
    border-color: var(--gray-400);
    color: var(--gray-900);
    transform: translateY(-1px);
}

.cta-button.large {
    padding: var(--space-5) var(--space-8);
    font-size: var(--text-lg);
}

.cta-icon {
    font-size: var(--text-base);
}

/* Dark theme secondary buttons */
.hub-cta-section .cta-button.secondary {
    color: var(--white);
    border-color: var(--gray-600);
}

.hub-cta-section .cta-button.secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ============================================
   Footer
============================================ */
.hub-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-16) 0 var(--space-8);
}

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

.footer-brand h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-column h4 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: var(--space-2);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--space-6);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: var(--text-sm);
}

/* ============================================
   Responsive Design
============================================ */
@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        padding: var(--space-3) var(--container-padding);
    }
    
    .nav-links {
        display: none; /* Will be handled by mobile menu JS */
    }
    
    .nav-cta {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-xs);
    }
    
    /* Hero */
    .hub-hero {
        min-height: 80vh;
        padding-top: 60px;
    }
    
    .hero-stats {
        gap: var(--space-6);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    /* Search */
    .search-section {
        padding: var(--space-16) 0;
    }
    
    .search-input {
        font-size: var(--text-base);
        padding: var(--space-3) var(--space-10) var(--space-3) var(--space-10);
    }
    
    .filter-section {
        gap: var(--space-4);
    }
    
    .results-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    /* Guide Cards */
    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    /* CTA Section */
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-8);
    }
    
    .cta-action {
        min-width: auto;
    }
    
    .cta-benefits {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .search-controls {
        gap: var(--space-6);
    }
    
    .filter-pills {
        justify-content: center;
    }
    
    .spotlight-grid,
    .guides-grid {
        margin-left: -var(--space-4);
        margin-right: -var(--space-4);
    }
    
    .guide-card {
        margin: 0 var(--space-4);
    }
}

/* ============================================
   Animation Classes
============================================ */
.animate-in {
    animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Accessibility Improvements */
@media (prefers-color-scheme: dark) {
    /* Could add dark mode support here */
}

/* Focus styles for better accessibility */
.search-input:focus,
.filter-pill:focus,
.sort-select:focus,
.cta-button:focus,
.guide-link:focus,
.favorite-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}