/**
 * AI Agent Hub - Landing Page Styles
 * Mobile-first, fully responsive design
 */

/* ========================================
   CSS Custom Properties (Design Tokens)
   ======================================== */
:root {
    /* Colors */
    --hub-primary: #2563eb;
    --hub-primary-dark: #1d4ed8;
    --hub-primary-light: #3b82f6;
    --hub-secondary: #8b5cf6;
    --hub-dark: #0f172a;
    --hub-dark-soft: #1e293b;
    --hub-gray-900: #111827;
    --hub-gray-800: #1f2937;
    --hub-gray-700: #374151;
    --hub-gray-600: #4b5563;
    --hub-gray-500: #6b7280;
    --hub-gray-400: #9ca3af;
    --hub-gray-300: #d1d5db;
    --hub-gray-200: #e5e7eb;
    --hub-gray-100: #f3f4f6;
    --hub-gray-50: #f9fafb;
    --hub-white: #ffffff;

    /* Typography */
    --hub-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --hub-font-display: 'Inter', var(--hub-font);

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

    /* Border Radius */
    --hub-radius-sm: 0.375rem;
    --hub-radius-md: 0.5rem;
    --hub-radius-lg: 0.75rem;
    --hub-radius-xl: 1rem;
    --hub-radius-2xl: 1.5rem;
    --hub-radius-full: 9999px;

    /* Shadows */
    --hub-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --hub-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --hub-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --hub-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --hub-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --hub-shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --hub-transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --hub-transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Base Reset & Typography
   ======================================== */
.hub-landing {
    font-family: var(--hub-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--hub-gray-700);
    background: var(--hub-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;

    /* Break out of WordPress theme constraints */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
}

/* Override WordPress block editor styles within landing page */
.wp-block-post-content .hub-landing,
.entry-content .hub-landing {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Hide WordPress theme elements when landing page is present */
body:has(.hub-landing) .wp-block-post-title,
body:has(.hub-landing) .entry-title,
body:has(.hub-landing) h1.wp-block-post-title,
.hub-landing ~ .wp-block-post-title,
.hub-landing + .wp-block-post-title {
    display: none !important;
}

/* Also hide any block comments that leak through */
.entry-content > p:first-child:empty,
.wp-block-post-content > p:first-child:empty {
    display: none;
}

.hub-landing *,
.hub-landing *::before,
.hub-landing *::after {
    box-sizing: border-box;
}

.hub-landing h1,
.hub-landing h2,
.hub-landing h3,
.hub-landing h4 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--hub-gray-900);
}

.hub-landing p {
    margin: 0;
}

.hub-landing a {
    text-decoration: none;
    color: inherit;
}

.hub-landing ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ========================================
   Container
   ======================================== */
.hub-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--hub-space-md);
}

@media (min-width: 640px) {
    .hub-container {
        padding: 0 var(--hub-space-lg);
    }
}

@media (min-width: 1024px) {
    .hub-container {
        padding: 0 var(--hub-space-xl);
    }
}

/* ========================================
   Buttons
   ======================================== */
.hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--hub-space-sm);
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--hub-radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--hub-transition);
    white-space: nowrap;
}

.hub-btn svg {
    flex-shrink: 0;
    transition: transform var(--hub-transition);
}

.hub-btn:hover svg {
    transform: translateX(3px);
}

.hub-btn-primary {
    background: var(--hub-primary);
    color: var(--hub-white);
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2), 0 4px 12px rgba(37, 99, 235, 0.2);
}

.hub-btn-primary:hover {
    background: var(--hub-primary-dark);
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3), 0 8px 16px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.hub-btn-ghost {
    background: transparent;
    color: var(--hub-gray-700);
    border: 1px solid var(--hub-gray-300);
}

.hub-btn-ghost:hover {
    background: var(--hub-gray-50);
    border-color: var(--hub-gray-400);
}

/* Ghost button on dark backgrounds (hero section) */
.hub-hero .hub-btn-ghost {
    color: var(--hub-white);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
}

.hub-hero .hub-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.hub-btn-white {
    background: var(--hub-white);
    color: var(--hub-primary);
    box-shadow: var(--hub-shadow-lg);
}

.hub-btn-white:hover {
    background: var(--hub-gray-50);
    transform: translateY(-1px);
    box-shadow: var(--hub-shadow-xl);
}

.hub-btn-agent {
    width: 100%;
    background: var(--agent-gradient);
    color: var(--hub-white);
    padding: 0.875rem 1.25rem;
    margin-top: auto;
}

.hub-btn-agent:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: var(--hub-shadow-lg);
}

.hub-btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

@media (min-width: 640px) {
    .hub-btn-lg {
        padding: 1.125rem 2.25rem;
        font-size: 1.0625rem;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hub-hero {
    position: relative;
    padding: var(--hub-space-3xl) 0 var(--hub-space-4xl);
    background: linear-gradient(160deg, #0a0f1a 0%, #111827 40%, #1e293b 100%);
    overflow: hidden;
}

.hub-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.hub-hero-content {
    position: relative;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hub-hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--hub-radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--hub-gray-300);
    margin-bottom: var(--hub-space-lg);
}

.hub-hero-title {
    font-size: clamp(2rem, 6vw, 3.75rem);
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: var(--hub-space-lg);
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    opacity: 1 !important;
}

.hub-gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hub-hero-subtitle {
    max-width: 600px;
    margin: 0 auto var(--hub-space-xl);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--hub-gray-400);
    line-height: 1.6;
}

.hub-hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--hub-space-md);
    align-items: center;
    margin-bottom: var(--hub-space-2xl);
}

@media (min-width: 480px) {
    .hub-hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

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

.hub-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.hub-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hub-white);
}

.hub-stat-label {
    font-size: 0.8125rem;
    color: var(--hub-gray-500);
}

.hub-stat-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
    .hub-hero {
        padding: var(--hub-space-4xl) 0;
    }

    .hub-hero-stats {
        gap: var(--hub-space-2xl);
    }

    .hub-stat-number {
        font-size: 2rem;
    }
}

/* ========================================
   Section Headers
   ======================================== */
.hub-section-header {
    text-align: center;
    margin-bottom: var(--hub-space-2xl);
}

.hub-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--hub-space-md);
    letter-spacing: -0.01em;
}

.hub-section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--hub-gray-500);
}

.hub-section-tagline {
    display: block;
    text-align: center;
    margin: var(--hub-space-sm) auto 0;
    font-size: 1.125rem;
    font-weight: 500;
    font-style: italic;
    color: var(--hub-primary);
    letter-spacing: 0.01em;
}

@media (min-width: 768px) {
    .hub-section-header {
        margin-bottom: var(--hub-space-3xl);
    }
}

.hub-section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--hub-primary) 0%, var(--hub-secondary) 100%);
    color: var(--hub-white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--hub-radius-full);
    margin-bottom: var(--hub-space-md);
}

/* ========================================
   Bundle Pricing Section
   ======================================== */
.hub-bundle-section {
    padding: var(--hub-space-3xl) 0;
    background: var(--hub-white);
}

@media (min-width: 768px) {
    .hub-bundle-section {
        padding: var(--hub-space-4xl) 0;
    }
}

.hub-bundle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--hub-space-lg);
    max-width: 1100px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hub-bundle-grid {
        grid-template-columns: repeat(3, 1fr);
        align-items: stretch;
    }
}

.hub-bundle-card {
    position: relative;
    background: var(--hub-white);
    border: 2px solid var(--hub-gray-200);
    border-radius: var(--hub-radius-xl);
    padding: var(--hub-space-xl);
    display: flex;
    flex-direction: column;
    transition: all var(--hub-transition-slow);
}

.hub-bundle-card:hover {
    border-color: var(--hub-gray-300);
    box-shadow: var(--hub-shadow-lg);
}

.hub-bundle-featured {
    border-color: var(--hub-primary);
    box-shadow: 0 0 0 1px var(--hub-primary), var(--hub-shadow-xl);
    transform: scale(1.02);
    z-index: 1;
}

@media (min-width: 768px) {
    .hub-bundle-featured {
        transform: scale(1.05);
        padding: var(--hub-space-2xl) var(--hub-space-xl);
    }
}

.hub-bundle-featured:hover {
    border-color: var(--hub-primary-dark);
    box-shadow: 0 0 0 1px var(--hub-primary-dark), var(--hub-shadow-2xl);
}

.hub-bundle-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--hub-primary) 0%, var(--hub-secondary) 100%);
    color: var(--hub-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: var(--hub-radius-full);
    white-space: nowrap;
}

.hub-bundle-header {
    text-align: center;
    margin-bottom: var(--hub-space-lg);
    padding-bottom: var(--hub-space-lg);
    border-bottom: 1px solid var(--hub-gray-100);
}

.hub-bundle-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hub-gray-900);
    margin-bottom: var(--hub-space-sm);
}

.hub-bundle-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: var(--hub-space-xs);
}

.hub-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--hub-gray-900);
    line-height: 1;
}

.hub-bundle-featured .hub-price-amount {
    color: var(--hub-primary);
}

.hub-price-period {
    font-size: 1rem;
    color: var(--hub-gray-500);
    font-weight: 500;
}

.hub-bundle-tagline {
    font-size: 0.875rem;
    color: var(--hub-gray-500);
    margin: 0;
}

.hub-bundle-features {
    flex: 1;
    margin-bottom: var(--hub-space-lg);
}

.hub-bundle-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--hub-gray-700);
    padding: 0.5rem 0;
}

.hub-bundle-features li svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--hub-primary);
}

.hub-bundle-features li strong {
    color: var(--hub-gray-900);
}

.hub-btn-bundle {
    width: 100%;
    background: var(--hub-white);
    color: var(--hub-gray-700);
    border: 2px solid var(--hub-gray-300);
    padding: 0.875rem 1.25rem;
    font-weight: 600;
}

.hub-btn-bundle:hover {
    background: var(--hub-gray-50);
    border-color: var(--hub-gray-400);
    color: var(--hub-gray-900);
}

.hub-btn-bundle-primary {
    width: 100%;
    background: var(--hub-primary);
    color: var(--hub-white);
    padding: 1rem 1.25rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.hub-btn-bundle-primary:hover {
    background: var(--hub-primary-dark);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.hub-bundle-savings {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--hub-primary);
    font-weight: 600;
    margin-top: var(--hub-space-sm);
}

/* ========================================
   Agents Section
   ======================================== */
.hub-agents-section {
    padding: var(--hub-space-3xl) 0;
    background: var(--hub-gray-50);
}

@media (min-width: 768px) {
    .hub-agents-section {
        padding: var(--hub-space-4xl) 0;
    }
}

.hub-agents-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--hub-space-lg);
}

@media (min-width: 640px) {
    .hub-agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hub-agents-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--hub-space-xl);
    }
}

@media (min-width: 1280px) {
    .hub-agents-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   Agent Cards
   ======================================== */
.hub-agent-card {
    display: flex;
    flex-direction: column;
    background: var(--hub-white);
    border-radius: var(--hub-radius-xl);
    padding: var(--hub-space-lg);
    box-shadow: var(--hub-shadow-md);
    border: 1px solid var(--hub-gray-100);
    transition: all var(--hub-transition-slow);
    position: relative;
    overflow: hidden;
}

.hub-agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--agent-gradient);
}

.hub-agent-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hub-shadow-xl);
    border-color: var(--hub-gray-200);
}

.hub-agent-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--hub-space-md);
}

.hub-agent-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--agent-gradient);
    border-radius: var(--hub-radius-lg);
    color: var(--hub-white);
    flex-shrink: 0;
}

.hub-agent-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.hub-agent-price {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: var(--hub-radius-full);
}

.hub-price-free {
    background: #dcfce7;
    color: #166534;
}

.hub-price-from {
    background: var(--hub-gray-100);
    color: var(--hub-gray-700);
}

.hub-agent-name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--hub-gray-900);
}

.hub-agent-tagline {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--agent-color);
    margin-bottom: var(--hub-space-sm);
}

.hub-agent-description {
    font-size: 0.875rem;
    color: var(--hub-gray-600);
    line-height: 1.5;
    margin-bottom: var(--hub-space-md);
    flex-grow: 1;
}

.hub-agent-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--hub-space-lg);
    padding-top: var(--hub-space-md);
    border-top: 1px solid var(--hub-gray-100);
}

.hub-agent-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--hub-gray-600);
}

.hub-agent-features svg {
    flex-shrink: 0;
    color: var(--agent-color);
}

@media (min-width: 640px) {
    .hub-agent-card {
        padding: var(--hub-space-xl);
    }

    .hub-agent-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .hub-agent-icon svg {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* ========================================
   How It Works Section
   ======================================== */
.hub-how-section {
    padding: var(--hub-space-3xl) 0;
    background: var(--hub-white);
}

@media (min-width: 768px) {
    .hub-how-section {
        padding: var(--hub-space-4xl) 0;
    }
}

.hub-steps {
    display: flex;
    flex-direction: column;
    gap: var(--hub-space-xl);
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hub-steps {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--hub-space-lg);
    }
}

.hub-step {
    flex: 1;
    text-align: center;
    padding: var(--hub-space-lg);
}

.hub-step-number {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hub-primary);
    color: var(--hub-white);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--hub-radius-full);
    margin-bottom: var(--hub-space-md);
}

.hub-step h3 {
    font-size: 1.125rem;
    margin-bottom: var(--hub-space-sm);
}

.hub-step p {
    font-size: 0.9375rem;
    color: var(--hub-gray-600);
    line-height: 1.6;
}

.hub-step-connector {
    display: none;
}

@media (min-width: 768px) {
    .hub-step-connector {
        display: block;
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, var(--hub-gray-200) 0%, var(--hub-gray-300) 50%, var(--hub-gray-200) 100%);
        margin-top: 1.5rem;
        flex-shrink: 0;
    }
}

/* ========================================
   Benefits Section
   ======================================== */
.hub-benefits-section {
    padding: var(--hub-space-3xl) 0;
    background: var(--hub-gray-50);
}

@media (min-width: 768px) {
    .hub-benefits-section {
        padding: var(--hub-space-4xl) 0;
    }
}

.hub-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--hub-space-lg);
}

@media (min-width: 640px) {
    .hub-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hub-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--hub-space-xl);
    }
}

.hub-benefit {
    background: var(--hub-white);
    border-radius: var(--hub-radius-xl);
    padding: var(--hub-space-xl);
    text-align: center;
    box-shadow: var(--hub-shadow);
    border: 1px solid var(--hub-gray-100);
    transition: all var(--hub-transition-slow);
}

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

.hub-benefit-icon {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: var(--hub-radius-xl);
    margin-bottom: var(--hub-space-md);
    color: var(--hub-primary);
}

.hub-benefit h3 {
    font-size: 1rem;
    margin-bottom: var(--hub-space-sm);
}

.hub-benefit p {
    font-size: 0.875rem;
    color: var(--hub-gray-600);
    line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */
.hub-cta-section {
    padding: var(--hub-space-3xl) 0;
    background: linear-gradient(135deg, var(--hub-primary) 0%, var(--hub-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.hub-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

@media (min-width: 768px) {
    .hub-cta-section {
        padding: var(--hub-space-4xl) 0;
    }
}

.hub-cta-content {
    position: relative;
    text-align: center;
    z-index: 1;
}

.hub-cta-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--hub-white);
    margin-bottom: var(--hub-space-md);
}

.hub-cta-content > p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--hub-space-xl);
}

.hub-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--hub-space-md);
    align-items: center;
    margin-bottom: var(--hub-space-lg);
}

@media (min-width: 480px) {
    .hub-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.hub-cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.hub-hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hub-agent-card {
    animation: fadeInUp 0.5s ease-out;
    animation-fill-mode: both;
}

.hub-agent-card:nth-child(1) { animation-delay: 0.1s; }
.hub-agent-card:nth-child(2) { animation-delay: 0.15s; }
.hub-agent-card:nth-child(3) { animation-delay: 0.2s; }
.hub-agent-card:nth-child(4) { animation-delay: 0.25s; }
.hub-agent-card:nth-child(5) { animation-delay: 0.3s; }
.hub-agent-card:nth-child(6) { animation-delay: 0.35s; }
.hub-agent-card:nth-child(7) { animation-delay: 0.4s; }

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .hub-hero-content,
    .hub-agent-card,
    .hub-btn,
    .hub-benefit {
        animation: none;
        transition: none;
    }

    .hub-btn:hover svg {
        transform: none;
    }

    .hub-agent-card:hover,
    .hub-benefit:hover {
        transform: none;
    }
}

/* ========================================
   Accessibility - Focus Styles
   ======================================== */
.hub-btn:focus-visible,
.hub-agent-card:focus-visible,
.hub-bundle-card:focus-visible {
    outline: 3px solid var(--hub-primary-light);
    outline-offset: 2px;
}

.hub-hero .hub-btn:focus-visible {
    outline-color: var(--hub-white);
}

/* Skip Link for Keyboard Navigation */
.hub-skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--hub-primary);
    color: var(--hub-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--hub-radius-lg);
    z-index: 9999;
    transition: top 0.2s;
}

.hub-skip-link:focus {
    top: 1rem;
}

/* ========================================
   Extra Small Devices (< 375px)
   ======================================== */
@media (max-width: 374px) {
    .hub-hero-title {
        font-size: 1.75rem;
    }

    .hub-hero-subtitle {
        font-size: 0.9375rem;
    }

    .hub-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .hub-btn-lg {
        padding: 0.875rem 1.5rem;
    }

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

    .hub-stat-number {
        font-size: 1.25rem;
    }

    .hub-stat-label {
        font-size: 0.75rem;
    }

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

    .hub-price-amount {
        font-size: 2rem;
    }

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

    .hub-agent-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .hub-agent-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }

    .hub-agent-name {
        font-size: 1rem;
    }

    .hub-section-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   Touch Targets - Minimum 44x44px
   ======================================== */
@media (pointer: coarse) {
    .hub-btn {
        min-height: 44px;
        min-width: 44px;
    }

    .hub-agent-card {
        cursor: pointer;
    }

    .hub-bundle-card a,
    .hub-agent-card a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Increase tap targets for mobile navigation */
    .hub-hero-cta .hub-btn {
        padding: 1rem 1.75rem;
    }
}

/* ========================================
   High Contrast Mode Support
   ======================================== */
@media (prefers-contrast: high) {
    .hub-landing {
        --hub-gray-300: #999;
        --hub-gray-400: #888;
        --hub-gray-500: #666;
    }

    .hub-btn-ghost {
        border-width: 2px;
    }

    .hub-agent-card::before {
        height: 6px;
    }

    .hub-bundle-card {
        border-width: 3px;
    }
}

/* ========================================
   Landscape Mobile Optimization
   ======================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hub-hero {
        padding: var(--hub-space-xl) 0;
    }

    .hub-hero-badge {
        margin-bottom: var(--hub-space-sm);
    }

    .hub-hero-title {
        margin-bottom: var(--hub-space-sm);
    }

    .hub-hero-subtitle {
        margin-bottom: var(--hub-space-md);
    }

    .hub-hero-cta {
        margin-bottom: var(--hub-space-md);
    }

    .hub-hero-stats {
        flex-wrap: nowrap;
    }
}

/* ========================================
   Dark Mode Support (Optional)
   ======================================== */
@media (prefers-color-scheme: dark) {
    .hub-landing {
        /* Can be enabled if desired */
    }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .hub-landing {
        background: white;
        color: black;
    }

    .hub-hero {
        background: #333;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .hub-btn {
        border: 1px solid #333;
    }

    .hub-agent-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
