/* ===============================================
   NOBLOAT AI - Actually Good Design
   No bullshit. Just clean, functional UI.
   =============================================== */

:root {
    /* Premium color system with depth */
    --bg: #fafbff;
    --bg-subtle: #f4f6fb;
    --bg-elevated: #ffffff;
    --surface: #ffffff;
    --surface-hover: #f8f9fe;

    --text: #0f1419;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;

    /* Vibrant accent system with gradient support */
    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --accent-light: #818cf8;
    --accent-bg: #eef2ff;
    --accent-border: #c7d2fe;

    /* Semantic colors with depth */
    --color-success: #10b981;
    --color-success-bg: #d1fae5;
    --color-error: #ef4444;
    --color-error-bg: #fee2e2;
    --color-warning: #f59e0b;
    --color-warning-bg: #fef3c7;

    /* Premium borders with depth */
    --border: #e5e7eb;
    --border-hover: #d1d5db;
    --border-strong: #9ca3af;

    /* Elevated shadows for depth */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

    /* Premium spacing scale */
    --s1: 0.25rem;     /* 4px */
    --s2: 0.5rem;      /* 8px */
    --s3: 0.75rem;     /* 12px */
    --s4: 1rem;        /* 16px */
    --s5: 1.25rem;     /* 20px */
    --s6: 1.5rem;      /* 24px */
    --s8: 2rem;        /* 32px */
    --s10: 2.5rem;     /* 40px */
    --s12: 3rem;       /* 48px */
    --s14: 3.5rem;     /* 56px */
    --s16: 4rem;       /* 64px */
    --s20: 5rem;       /* 80px */
    --s24: 6rem;       /* 96px */
    --s32: 8rem;       /* 128px */

    /* Sophisticated radius scale */
    --r-xs: 0.25rem;
    --r-sm: 0.375rem;
    --r: 0.5rem;
    --r-md: 0.625rem;
    --r-lg: 0.875rem;
    --r-xl: 1rem;
    --r-2xl: 1.25rem;
    --r-3xl: 1.5rem;
    --r-full: 9999px;

    /* Premium typography scale */
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    --font-5xl: 3rem;
    --font-6xl: 3.75rem;

    /* Animation easings */
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Transitions */
    --transition-fast: 150ms var(--ease-out);
    --transition-base: 250ms var(--ease-out);
    --transition-slow: 350ms var(--ease-out);

    /* Glass effects */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Gradients - Fresh & Modern */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

[data-theme="dark"] {
    /* Premium dark mode with depth */
    --bg: #0f0f14;
    --bg-subtle: #16161d;
    --bg-elevated: #1c1c24;
    --surface: #1c1c24;
    --surface-hover: #27272f;

    --text: #f8f9fa;
    --text-secondary: #b4b8c5;
    --text-tertiary: #7c8192;

    /* Vibrant accents for dark mode */
    --accent: #818cf8;
    --accent-hover: #6366f1;
    --accent-light: #a5b4fc;
    --accent-bg: rgba(99, 102, 241, 0.15);
    --accent-border: rgba(99, 102, 241, 0.25);

    /* Semantic colors for dark mode */
    --color-success: #34d399;
    --color-success-bg: rgba(52, 211, 153, 0.1);
    --color-error: #f87171;
    --color-error-bg: rgba(248, 113, 113, 0.1);
    --color-warning: #fbbf24;
    --color-warning-bg: rgba(251, 191, 36, 0.1);

    /* Premium dark borders */
    --border: #262626;
    --border-hover: #404040;
    --border-strong: #525252;

    /* Elevated shadows for dark mode */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.4);

    /* Glass effects for dark mode */
    --glass-bg: rgba(26, 26, 26, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

    /* Dark gradients - Enhanced vibrancy */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
    --gradient-success: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(129, 140, 248, 0.08) 0%, rgba(167, 139, 250, 0.08) 100%);
}

/* ===============================================
   BASE
   =============================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1;
    font-kerning: normal;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

/* Accessible skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: var(--s3) var(--s5);
    z-index: 10000;
    background: var(--accent);
    color: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
}

/* Premium Focus States */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: var(--r-sm);
    transition: outline var(--transition-fast);
}

*:focus-visible:not(input):not(textarea):not(select) {
    animation: glow 1.5s ease-in-out infinite;
}

/* ===============================================
   LAYOUT
   =============================================== */

.page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--s8);
}

@media (max-width: 768px) {
    .page {
        padding: 0 var(--s6);
    }
}

@media (max-width: 640px) {
    .page {
        padding: 0 var(--s4);
    }
}

/* ===============================================
   HEADER
   =============================================== */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s6) 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--s6);
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    transition: all var(--transition-base);
    animation: slideInRight 0.6s var(--ease-out);
}

header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

header:hover::after {
    opacity: 0.5;
}

.logo {
    font-size: 1.125rem;
    font-weight: 700;
}

.logo img {
    height: 32px;
    width: auto;
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: var(--s8);
}

nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--s2) var(--s3);
    border-radius: var(--r);
    transition: all 0.2s ease;
    white-space: nowrap;
}

nav a:hover {
    color: var(--accent);
    background: var(--gradient-subtle);
    transform: translateY(-1px);
}

.theme-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent);
    background: var(--gradient-subtle);
    transform: translateY(-2px) rotate(15deg);
    box-shadow: var(--shadow-md);
}

/* Hamburger Menu Button - Hidden on Desktop */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.menu-icon {
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--text);
    transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--text);
    transition: all 0.3s ease;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    top: 8px;
}

/* Hamburger Animation to X */
.menu-toggle[aria-expanded="true"] .menu-icon {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--s20) var(--s6) var(--s6);
        transition: right 0.3s var(--ease-out);
        box-shadow: var(--shadow-xl);
        z-index: 1000;
        overflow-y: auto;
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 1rem;
        padding: var(--s4) var(--s4);
        text-align: left;
        border-bottom: 1px solid var(--border);
        color: var(--text);
        font-weight: 500;
    }

    nav a:hover {
        background: var(--accent-bg);
        color: var(--accent);
    }

    .theme-toggle {
        margin-top: var(--s6);
        width: 100%;
        height: 48px;
        border-radius: var(--r);
    }
}

@media (max-width: 640px) {
    header {
        padding: var(--s6) 0;
    }

    .logo img {
        height: 28px;
    }

    nav {
        width: 260px;
        padding: var(--s16) var(--s5) var(--s5);
    }
}

/* ===============================================
   MAIN
   =============================================== */

main {
    padding: var(--s8) 0 var(--s24);
}

.section {
    margin-bottom: var(--s24);
}

.section-header {
    margin-bottom: var(--s12);
}

.section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: var(--s3);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: var(--s5);
}

.section-header p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
}

@media (max-width: 768px) {
    main {
        padding: var(--s12) 0 var(--s16);
    }

    .section {
        margin-bottom: var(--s16);
    }

    .section-header {
        margin-bottom: var(--s8);
    }

    .section-header h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    main {
        padding: var(--s8) 0 var(--s12);
    }

    .section-header p {
        font-size: 0.9375rem;
    }
}

/* ===============================================
   SEARCH & FILTERS
   =============================================== */

.catalog-controls {
    margin-bottom: var(--s8);
}

.search-input {
    display: flex;
    align-items: center;
    gap: var(--s3);
    padding: var(--s4) var(--s5);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    margin-bottom: var(--s6);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.search-input:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-bg), var(--shadow-md);
}

.search-input svg {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.search-input input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text);
    outline: none;
    min-width: 0;
}

.search-input input::placeholder {
    color: var(--text-tertiary);
}

@media (max-width: 640px) {
    .search-input {
        padding: var(--s3) var(--s4);
    }

    .search-input input {
        font-size: 0.9375rem;
    }

    .search-input input::placeholder {
        font-size: 0.875rem;
    }
}

.category-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    margin-bottom: var(--s4);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s3) var(--s5);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 40px;
}

.chip:hover {
    border-color: var(--accent);
    background: var(--accent-bg);
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.chip.active,
.chip[aria-pressed="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: var(--shadow-sm);
}

.chip-count {
    font-size: 0.8125rem;
    opacity: 0.7;
}

@media (max-width: 640px) {
    .chip {
        padding: var(--s2) var(--s4);
        font-size: 0.8125rem;
        min-height: 44px;
    }

    .chip-count {
        font-size: 0.75rem;
    }
}

.filter-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.filter-status strong {
    color: var(--text);
}

.clear-filters {
    padding: var(--s2) var(--s5);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-bg);
    border: 1px solid transparent;
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 40px;
}

.clear-filters:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Active nav item highlight */
header nav a[aria-current="page"] {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

@media (max-width: 640px) {
    .filter-status {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s3);
        font-size: 0.875rem;
    }

    .clear-filters {
        padding: var(--s2) var(--s4);
        font-size: 0.8125rem;
        align-self: stretch;
        min-height: 44px;
    }
}

/* ===============================================
   PREMIUM ANIMATIONS
   =============================================== */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5), 0 0 10px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.6);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ===============================================
   CARDS
   =============================================== */

.tools-grid,
.mcp-grid,
.podcast-grid {
    display: grid;
    gap: var(--s8);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

.researcher-grid {
    display: grid;
    gap: var(--s8);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

@media (max-width: 768px) {
    .tools-grid,
    .mcp-grid,
    .podcast-grid,
    .researcher-grid {
        gap: var(--s6);
    }
}

@media (max-width: 640px) {
    .tools-grid,
    .mcp-grid,
    .podcast-grid,
    .researcher-grid {
        grid-template-columns: 1fr;
        gap: var(--s4);
    }
}

/* Card base with premium effects */
.tool-card,
.mcp-card,
.podcast-card,
.researcher-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--s8);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s var(--ease-out) backwards;
}

/* Premium hover effect with subtle accent */
.tool-card::before,
.mcp-card::before,
.podcast-card::before,
.researcher-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--text-secondary), var(--text-tertiary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.tool-card:hover,
.mcp-card:hover,
.podcast-card:hover,
.researcher-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background: var(--bg-elevated);
}

.tool-card:hover::before,
.mcp-card:hover::before,
.podcast-card:hover::before,
.researcher-card:hover::before {
    transform: scaleX(1);
}

/* Stagger animation */
.tool-card:nth-child(1) { animation-delay: 0.05s; }
.tool-card:nth-child(2) { animation-delay: 0.1s; }
.tool-card:nth-child(3) { animation-delay: 0.15s; }
.tool-card:nth-child(4) { animation-delay: 0.2s; }
.tool-card:nth-child(5) { animation-delay: 0.25s; }
.tool-card:nth-child(6) { animation-delay: 0.3s; }

@media (max-width: 768px) {
    .tool-card,
    .mcp-card,
    .podcast-card,
    .researcher-card {
        padding: var(--s6);
    }
}

@media (max-width: 640px) {
    .tool-card,
    .mcp-card,
    .podcast-card,
    .researcher-card {
        padding: var(--s5);
    }

    .tool-card:hover,
    .mcp-card:hover,
    .podcast-card:hover,
    .researcher-card:hover {
        transform: translateY(-1px);
    }
}

/* Tool card */
.tool-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--s4);
    margin-bottom: var(--s4);
}

.tool-header h3 {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--text);
    flex: 1;
    word-break: break-word;
}

.tag {
    display: inline-flex;
    padding: var(--s1) var(--s3);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    background: var(--accent-bg);
    border-radius: calc(var(--r) / 2);
    flex-shrink: 0;
}

.tool-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--s4);
    flex: 1;
}

@media (max-width: 640px) {
    .tool-header h3 {
        font-size: 1.125rem;
    }

    .tag {
        font-size: 0.6875rem;
        padding: var(--s1) var(--s2);
    }

    .tool-description {
        font-size: 0.875rem;
    }
}

.tool-meta {
    margin-bottom: var(--s4);
}

.meta-group {
    margin-bottom: var(--s4);
}

.meta-group:last-child {
    margin-bottom: 0;
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: var(--s2);
}

@media (max-width: 640px) {
    .meta-group {
        margin-bottom: var(--s3);
    }

    .meta-label {
        font-size: 0.6875rem;
    }
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
}

.pill {
    display: inline-flex;
    padding: var(--s1) var(--s3);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    border-radius: calc(var(--r) / 2);
    word-break: break-word;
}

.pill-soft {
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    padding: var(--s2) var(--s4);
}

@media (max-width: 640px) {
    .pill {
        font-size: 0.75rem;
        padding: var(--s1) var(--s2);
    }
}

.tool-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    padding-top: var(--s4);
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.tool-updated {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.visit-link,
.podcast-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--accent);
    transition: color 0.15s;
    white-space: nowrap;
}

.visit-link:hover,
.podcast-link:hover {
    color: var(--accent-hover);
}

.visit-link::after {
    content: ' →';
}

@media (max-width: 640px) {
    .tool-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s3);
    }

    .tool-updated {
        font-size: 0.8125rem;
    }

    .visit-link,
    .podcast-link {
        font-size: 0.875rem;
        align-self: stretch;
        text-align: center;
        padding: var(--s2);
    }
}

/* MCP card */
.mcp-header {
    margin-bottom: var(--s4);
}

.mcp-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s4);
    margin-bottom: var(--s3);
}

.mcp-name {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    word-break: break-word;
}

.difficulty-badge {
    padding: var(--s1) var(--s3);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: calc(var(--r) / 2);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .mcp-name {
        font-size: 1.125rem;
    }

    .difficulty-badge {
        font-size: 0.6875rem;
        padding: var(--s1) var(--s2);
    }
}

.difficulty-beginner {
    background: #d1fae5;
    color: #065f46;
}

.difficulty-intermediate {
    background: #fef3c7;
    color: #92400e;
}

.difficulty-advanced {
    background: #fee2e2;
    color: #991b1b;
}

[data-theme="dark"] .difficulty-beginner {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

[data-theme="dark"] .difficulty-intermediate {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
}

[data-theme="dark"] .difficulty-advanced {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.mcp-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    word-break: break-word;
}

.mcp-content {
    margin-bottom: var(--s4);
    flex: 1;
}

.feature-list {
    margin: var(--s4) 0;
    padding-left: var(--s6);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.feature-list li {
    margin-bottom: var(--s2);
    word-break: break-word;
}

@media (max-width: 640px) {
    .mcp-description {
        font-size: 0.875rem;
    }

    .feature-list {
        padding-left: var(--s5);
        font-size: 0.875rem;
    }
}

.install-command {
    display: block;
    padding: var(--s3) var(--s4);
    font-family: ui-monospace, monospace;
    font-size: 0.875rem;
    color: var(--accent);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow-x: auto;
    margin: var(--s4) 0;
    word-break: break-all;
    white-space: pre-wrap;
}

@media (max-width: 640px) {
    .install-command {
        font-size: 0.75rem;
        padding: var(--s2) var(--s3);
    }
}

.setup-preview {
    padding: var(--s4);
    background: var(--accent-bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    margin: var(--s4) 0;
}

.setup-preview strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--s2);
}

.setup-preview ol {
    margin: var(--s2) 0 0;
    padding-left: var(--s6);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.setup-preview li {
    margin-bottom: var(--s2);
    word-break: break-word;
}

@media (max-width: 640px) {
    .setup-preview {
        padding: var(--s3);
    }

    .setup-preview strong {
        font-size: 0.8125rem;
    }

    .setup-preview ol {
        padding-left: var(--s5);
        font-size: 0.8125rem;
    }
}

.mcp-actions {
    display: flex;
    gap: var(--s3);
    flex-wrap: wrap;
    margin-top: auto;
}

.mcp-link {
    display: inline-flex;
    align-items: center;
    padding: var(--s3) var(--s4);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--r);
    transition: all 0.15s;
    min-height: 44px;
}

.mcp-link.primary {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
}

.mcp-link.primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.mcp-link.secondary {
    background: var(--bg-subtle);
    color: var(--text);
    border: 1px solid var(--border);
}

.mcp-link.secondary:hover {
    background: var(--surface);
    border-color: var(--border-hover);
}

@media (max-width: 640px) {
    .mcp-actions {
        flex-direction: column;
        gap: var(--s2);
    }

    .mcp-link {
        width: 100%;
        justify-content: center;
    }
}

/* Podcast card */
.podcast-header {
    display: flex;
    gap: var(--s4);
    margin-bottom: var(--s4);
}

.podcast-emblem {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--r);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.podcast-emblem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.podcast-emblem--placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-tertiary);
}

.podcast-body {
    flex: 1;
    min-width: 0;
}

@media (max-width: 640px) {
    .podcast-emblem {
        width: 64px;
        height: 64px;
    }

    .podcast-emblem--placeholder {
        font-size: 1.25rem;
    }
}

.podcast-name {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: var(--s2);
    word-break: break-word;
}

.podcast-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s3);
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: var(--s3);
}

.podcast-meta span:not(:last-child)::after {
    content: '•';
    margin-left: var(--s3);
}

.podcast-summary {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--s4);
}

@media (max-width: 640px) {
    .podcast-name {
        font-size: 1.125rem;
    }

    .podcast-meta {
        font-size: 0.8125rem;
        gap: var(--s2);
    }

    .podcast-meta span:not(:last-child)::after {
        margin-left: var(--s2);
    }

    .podcast-summary {
        font-size: 0.875rem;
    }
}

.podcast-link::after {
    content: ' →';
}

/* Researcher card */
.researcher-heading h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: var(--s2);
    word-break: break-word;
}

.researcher-headline {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

@media (max-width: 640px) {
    .researcher-heading h3 {
        font-size: 1.125rem;
    }

    .researcher-headline {
        font-size: 0.875rem;
    }
}

.researcher-roles {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    margin: var(--s4) 0;
}

.researcher-roles span {
    padding: var(--s1) var(--s3);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-subtle);
    border-radius: calc(var(--r) / 2);
    word-break: break-word;
}

.researcher-focus {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    margin: var(--s4) 0;
}

.focus-chip {
    padding: var(--s1) var(--s3);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-bg);
    border-radius: calc(var(--r) / 2);
    word-break: break-word;
}

@media (max-width: 640px) {
    .researcher-roles span,
    .focus-chip {
        font-size: 0.75rem;
        padding: var(--s1) var(--s2);
    }
}

.researcher-signals {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    margin-top: var(--s4);
}

.signal-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) var(--s3);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-bg);
    border: 1px solid var(--border);
    border-radius: calc(var(--r) / 2);
    transition: all 0.15s;
    word-break: break-word;
}

.signal-chip:hover {
    border-color: var(--accent);
}

.signal-chip span {
    color: var(--text-tertiary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 640px) {
    .signal-chip {
        padding: var(--s1) var(--s2);
        font-size: 0.75rem;
    }

    .signal-chip span {
        font-size: 0.6875rem;
    }
}

/* ===============================================
   EMPTY STATES
   =============================================== */

.empty-state {
    padding: var(--s16);
    text-align: center;
    background: var(--bg-subtle);
    border: 2px dashed var(--border);
    border-radius: var(--r-xl);
}

.empty-state strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: var(--s3);
}

.empty-state p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Premium Skeleton Loaders */
.skeleton-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: var(--s8);
    box-shadow: var(--shadow-sm);
    animation: fadeIn 0.6s var(--ease-out);
}

.skeleton {
    background: linear-gradient(
        90deg,
        var(--bg-subtle) 0%,
        var(--surface-hover) 40%,
        var(--bg-subtle) 80%,
        var(--bg-subtle) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
    border-radius: var(--r-md);
    position: relative;
    overflow: hidden;
}

.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 100%
    );
    animation: shimmer 2s ease-in-out infinite;
}

.skeleton-title {
    height: 28px;
    width: 65%;
    margin-bottom: var(--s4);
    border-radius: var(--r);
}

.skeleton-text {
    height: 18px;
    margin-bottom: var(--s3);
    border-radius: var(--r-sm);
}

.skeleton-text:last-child {
    width: 80%;
}

/* ===============================================
   BUTTONS
   =============================================== */

.cta,
.link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
    padding: var(--s4) var(--s8);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--r-xl);
    transition: all var(--transition-base);
    cursor: pointer;
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

/* Premium CTA with gradient and glow */
.cta {
    background: var(--gradient-accent);
    background-size: 200% auto;
    color: white;
    border: none;
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(99, 102, 241, 0.5);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta:hover::before {
    left: 100%;
}

.cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 25px rgba(99, 102, 241, 0.6);
    background-position: right center;
}

.cta:active {
    transform: translateY(-1px) scale(0.98);
}

/* Glass morphism button */
.link-button {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.link-button:hover {
    background: var(--surface);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 640px) {
    .cta,
    .link-button {
        padding: var(--s3) var(--s6);
        font-size: 0.9375rem;
        width: 100%;
    }
}

/* ===============================================
   FOOTER
   =============================================== */

footer {
    padding: var(--s16) 0 var(--s12);
    border-top: 1px solid var(--border);
    text-align: center;
    margin-top: var(--s24);
}

footer span {
    display: block;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--s4);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--s6);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    footer {
        padding: var(--s12) 0 var(--s8);
        margin-top: var(--s16);
    }
}

@media (max-width: 640px) {
    footer {
        padding: var(--s8) 0 var(--s6);
        margin-top: var(--s12);
    }

    footer span {
        font-size: 0.875rem;
        margin-bottom: var(--s3);
    }

    .footer-links {
        flex-direction: column;
        gap: var(--s3);
        align-items: stretch;
    }
}

/* ===============================================
   UTILITIES
   =============================================== */

.muted {
    color: var(--text-secondary);
}

.muted-subtle {
    color: var(--text-tertiary);
}

/* ===============================================
   ACCESSIBILITY
   =============================================== */

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

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

/* ===============================================
   RESPONSIVE
   =============================================== */

@media (min-width: 768px) {
    .tools-grid,
    .mcp-grid,
    .podcast-grid {
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    }
}

@media (min-width: 1024px) {
    .page {
        padding: 0 var(--s8);
    }
}

@media (min-width: 1280px) {
    .tools-grid,
    .mcp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===============================================
   BLOG STYLES
   =============================================== */

/* Blog filter buttons */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    margin-top: var(--s4);
}

.filter {
    display: inline-flex;
    align-items: center;
    padding: var(--s3) var(--s6);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    min-height: 44px;
}

.filter:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-bg);
    transform: translateY(-1px);
}

.filter.active,
.filter[aria-pressed="true"] {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
    .filter {
        padding: var(--s2) var(--s5);
        font-size: 0.875rem;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s8);
    margin-top: var(--s10);
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    }
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s6);
    transition: all 0.2s ease;
    gap: var(--s4);
}

.blog-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.blog-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s3);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: var(--s3);
    flex-wrap: wrap;
}

.blog-category {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-meta time {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.blog-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--s3);
}

.blog-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.blog-card h3 a {
    color: var(--text);
    transition: color 0.2s ease;
}

.blog-card h3 a:hover {
    color: var(--accent);
}

.blog-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    margin-top: var(--s2);
}

.blog-tags .pill {
    text-decoration: none;
}

.blog-tags .pill-soft {
    padding: var(--s2) var(--s4);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--r-full);
    background: var(--bg-subtle);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.blog-tags .pill-soft:hover {
    background: var(--accent-bg);
    color: var(--accent);
    border-color: var(--accent);
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent);
    transition: all 0.2s ease;
    align-self: flex-start;
    margin-top: var(--s2);
}

.blog-read-more:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

/* Blog Post Article Styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.blog-post-header {
    margin-bottom: var(--s10);
    padding-bottom: var(--s8);
    border-bottom: 1px solid var(--border);
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--s4);
    color: var(--text);
}

@media (max-width: 768px) {
    .blog-post-title {
        font-size: 2rem;
    }
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: var(--s4);
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: var(--s2);
}

.blog-post-content {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text);
}

.blog-post-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: var(--s12);
    margin-bottom: var(--s4);
    color: var(--text);
}

.blog-post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: var(--s10);
    margin-bottom: var(--s3);
    color: var(--text);
}

.blog-post-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: var(--s8);
    margin-bottom: var(--s3);
    color: var(--text);
}

.blog-post-content p {
    margin-bottom: var(--s6);
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: var(--s6);
    padding-left: var(--s6);
}

.blog-post-content li {
    margin-bottom: var(--s2);
    color: var(--text-secondary);
}

.blog-post-content a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.blog-post-content a:hover {
    color: var(--accent-hover);
}

.blog-post-content code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    background: var(--bg-subtle);
    padding: 0.2em 0.4em;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
}

.blog-post-content pre {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: var(--s4);
    overflow-x: auto;
    margin-bottom: var(--s6);
}

.blog-post-content pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.875rem;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: var(--s4);
    margin: var(--s6) 0;
    font-style: italic;
    color: var(--text-secondary);
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--r);
    margin: var(--s8) 0;
}

.blog-post-content figure {
    margin: var(--s8) 0;
}

.blog-post-content figcaption {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-tertiary);
    margin-top: var(--s2);
}

.blog-tool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s6);
    margin: var(--s6) 0;
    transition: all 0.2s ease;
}

.blog-tool-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow);
}

.blog-tool-card h4 {
    margin-top: 0;
    margin-bottom: var(--s3);
}

.blog-tool-card .pill-row {
    margin-top: var(--s3);
}

.author-info {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s6);
    margin-top: var(--s12);
}

.author-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--s3);
}

.related-posts {
    margin-top: var(--s12);
    padding-top: var(--s12);
    border-top: 1px solid var(--border);
}

.related-posts h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--s6);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s4);
}

@media (min-width: 768px) {
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.social-share {
    display: flex;
    align-items: center;
    gap: var(--s3);
    margin-top: var(--s8);
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) var(--s4);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.social-share-btn:hover {
    background: var(--surface);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--s2);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--s6);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb-separator {
    color: var(--text-tertiary);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s4);
    margin-top: var(--s12);
}

.pagination-btn {
    padding: var(--s3) var(--s5);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--accent-bg);
    border-color: var(--accent);
    color: var(--accent);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ===============================================
   COMPARISON STYLES
   =============================================== */

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-header {
    text-align: center;
    margin-bottom: var(--s10);
    padding-bottom: var(--s8);
    border-bottom: 1px solid var(--border);
}

.comparison-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--s4);
    color: var(--text);
}

@media (max-width: 768px) {
    .comparison-title {
        font-size: 2rem;
    }
}

.comparison-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.comparison-vs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--s6);
    align-items: start;
    margin-bottom: var(--s12);
}

@media (max-width: 768px) {
    .comparison-vs {
        grid-template-columns: 1fr;
        gap: var(--s8);
    }
}

.comparison-tool {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s8);
    text-align: center;
}

.comparison-tool h3 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: var(--s3);
    color: var(--text);
}

.comparison-tool p {
    color: var(--text-secondary);
    margin-bottom: var(--s4);
}

.comparison-tool-link {
    display: inline-flex;
    align-items: center;
    padding: var(--s3) var(--s5);
    background: var(--accent);
    color: white;
    border-radius: var(--r);
    font-weight: 600;
    transition: all 0.2s ease;
}

.comparison-tool-link:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.comparison-vs-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .comparison-vs-separator {
        display: none;
    }
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: var(--s10);
}

.comparison-table th,
.comparison-table td {
    padding: var(--s4);
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--bg-subtle);
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

.comparison-table th:first-child {
    text-align: left;
    font-weight: 700;
}

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

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text);
}

.comparison-table td:not(:first-child) {
    text-align: center;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.875rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: var(--s3);
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s8);
    margin-bottom: var(--s10);
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s6);
}

.feature-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--s4);
    color: var(--text);
}

.feature-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: var(--s6);
    margin-bottom: var(--s3);
    color: var(--text);
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: var(--s3) 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    margin-right: var(--s2);
}

.pros-cons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s8);
    margin-bottom: var(--s10);
}

@media (max-width: 768px) {
    .pros-cons {
        grid-template-columns: 1fr;
    }
}

.pros,
.cons {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s6);
}

.pros {
    border-left: 4px solid var(--color-success);
}

.cons {
    border-left: 4px solid var(--color-error);
}

.pros h4,
.cons h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--s4);
}

.pros h4 {
    color: var(--color-success);
}

.cons h4 {
    color: var(--color-error);
}

.pros ul,
.cons ul {
    list-style: none;
    padding: 0;
}

.pros li,
.cons li {
    padding: var(--s2) 0;
    color: var(--text-secondary);
    display: flex;
    align-items: start;
    gap: var(--s2);
}

.pros li::before {
    content: "✓";
    color: var(--color-success);
    font-weight: 700;
    flex-shrink: 0;
}

.cons li::before {
    content: "✗";
    color: var(--color-error);
    font-weight: 700;
    flex-shrink: 0;
}

.winner-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) var(--s4);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--r-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.winner-badge::before {
    content: "🏆";
}

[data-theme="dark"] .winner-badge {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #fef3c7;
}

.pricing-comparison {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s8);
    margin-bottom: var(--s10);
}

.pricing-comparison h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--s6);
    color: var(--text);
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s6);
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: var(--s6);
    text-align: center;
}

.pricing-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--s3);
    color: var(--text);
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--s2);
}

.pricing-card .price-note {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: var(--s4);
}

.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    padding: var(--s2) 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.verdict {
    background: var(--accent-bg);
    border: 1px solid var(--accent);
    border-radius: var(--r-lg);
    padding: var(--s8);
    margin-bottom: var(--s10);
}

.verdict h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--s4);
    color: var(--text);
}

.verdict p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===============================================
   SCROLL UX ENHANCEMENTS
   =============================================== */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 90;
    font-size: 1.5rem;
    line-height: 1;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.back-to-top:focus {
    outline: 2px solid var(--accent-hover);
    outline-offset: 2px;
}

.back-to-top:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}

/* Section Progress Indicator */
.section-progress {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s3) var(--s5);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 90;
    max-width: 200px;
}

.section-progress.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.section-progress-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--s1);
}

.section-progress-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

@media (max-width: 768px) {
    .section-progress {
        display: none; /* Hide on mobile to avoid clutter */
    }
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: var(--s8);
    margin-bottom: var(--s8);
}

.load-more-btn {
    padding: var(--s4) var(--s8);
    background: var(--surface);
    border: 2px solid var(--accent);
    border-radius: var(--r-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: var(--s2);
}

.load-more-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.load-more-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* ===============================================
   NEWSLETTER SIGNUP
   =============================================== */

.newsletter-section {
    background:
        radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-subtle) 0%, var(--surface) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--s20) var(--s4);
    margin-top: var(--s16);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    animation: shimmer 3s ease-in-out infinite;
}

.newsletter-container {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.newsletter-content {
    margin-bottom: var(--s10);
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: var(--s5);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.newsletter-content h2::before {
    content: '✉️';
    display: block;
    font-size: 2.5rem;
    margin-bottom: var(--s4);
    animation: float 3s ease-in-out infinite;
}

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

.newsletter-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--s4);
}

.newsletter-input-group {
    display: flex;
    gap: var(--s3);
    flex-direction: column;
    background: var(--surface);
    padding: var(--s2);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.newsletter-input-group:focus-within {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg), 0 0 0 4px var(--accent-bg);
    transform: translateY(-2px);
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    padding: var(--s4) var(--s5);
    font-size: 1.0625rem;
    color: var(--text);
    background: transparent;
    border: none;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.newsletter-input-group input[type="email"]::placeholder {
    color: var(--text-tertiary);
}

.newsletter-submit {
    padding: var(--s4) var(--s8);
    font-size: 1.0625rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.newsletter-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.newsletter-submit:hover::before {
    left: 100%;
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
}

.newsletter-submit:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.newsletter-submit:active {
    transform: translateY(0);
}

.newsletter-privacy {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: var(--s2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s2);
}

.newsletter-privacy::before {
    content: '🔒';
    font-size: 1rem;
}

/* Responsive newsletter styles */
@media (min-width: 640px) {
    .newsletter-input-group {
        flex-direction: row;
        padding: var(--s2);
    }

    .newsletter-submit {
        min-width: 160px;
    }
}

@media (min-width: 768px) {
    .newsletter-section {
        padding: var(--s20) var(--s4);
    }

    .newsletter-content h2 {
        font-size: 2.5rem;
    }

    .newsletter-content h2::before {
        font-size: 3rem;
    }

    .newsletter-content p {
        font-size: 1.25rem;
    }
}

/* ===============================================
   HERO VALUE PROPOSITION
   =============================================== */

.hero-section {
    padding: var(--s12) var(--s4) var(--s20);
    text-align: center;
    background:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, 0.03) 0%, transparent 70%),
        linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
    opacity: 0.5;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: var(--s6);
    line-height: 1.1;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 50%, var(--text-secondary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s var(--ease-out), gradientShift 8s ease infinite;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--s10);
    line-height: 1.7;
    animation: fadeInUp 0.8s var(--ease-out) 0.1s backwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--s6);
    max-width: 700px;
    margin: 0 auto var(--s10);
}

.stat-item {
    padding: var(--s8);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    animation: scaleIn 0.6s var(--ease-out) backwards;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.3s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }

.stat-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-border);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--s3);
}

.stat-label {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s3);
    max-width: 800px;
    margin: 0 auto;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--s2) var(--s5);
    background: var(--gradient-subtle);
    color: var(--text);
    border-radius: var(--r-full);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--accent-border);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-base);
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}


/* ===============================================
   FEATURES SECTION
   =============================================== */

.features-section {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--s6);
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: var(--s8);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--s4);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-subtle);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-border);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.feature-card h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin: 0;
}

.feature-card p {
    font-size: var(--font-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    font-size: var(--font-sm);
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-fast);
    margin-top: auto;
}

.feature-link:hover {
    color: var(--accent-hover);
    transform: translateX(4px);
}

/* ===============================================
   MONETIZATION SECTION
   =============================================== */

.monetization-section {
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
}

.monetization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--s6);
    max-width: 1200px;
    margin: 0 auto var(--s8);
}

.monetization-card {
    padding: var(--s8);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-2xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--s4);
    position: relative;
}

.monetization-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-border);
}

.monetization-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.monetization-card h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin: 0;
}

.monetization-card p {
    font-size: var(--font-base);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
}

.monetization-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--s2) var(--s3);
    background: var(--color-warning-bg);
    color: var(--color-warning);
    border-radius: var(--r);
    font-size: var(--font-sm);
    font-weight: 600;
    width: fit-content;
}

.monetization-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--s3) var(--s6);
    background: var(--accent);
    color: white;
    border-radius: var(--r-lg);
    font-size: var(--font-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    width: fit-content;
}

.monetization-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.transparency-note {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--s6);
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    border-radius: var(--r-xl);
}

.transparency-note p {
    font-size: var(--font-sm);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.transparency-note a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.transparency-note a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* ===============================================
   PARTNERSHIP SECTION
   =============================================== */

.partnership-section {
    padding: var(--s16) var(--s4);
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
}

.partnership-content {
    max-width: 1200px;
    margin: 0 auto;
}

.partnership-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--s4);
    color: var(--text);
}

.partnership-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--s10);
}

.partnership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s6);
    margin-bottom: var(--s10);
}

.partnership-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s6);
    transition: all 0.2s ease;
}

.partnership-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.partnership-icon {
    font-size: 2.5rem;
    margin-bottom: var(--s4);
}

.partnership-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--s3);
    color: var(--text);
}

.partnership-card > p {
    color: var(--text-secondary);
    margin-bottom: var(--s4);
    line-height: 1.6;
}

.partnership-benefits {
    list-style: none;
    padding: 0;
}

.partnership-benefits li {
    padding: var(--s2) 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: var(--s6);
}

.partnership-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.partnership-cta {
    text-align: center;
    padding: var(--s8);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}

.partnership-cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--s4);
}

.cta-button {
    display: inline-block;
    padding: var(--s3) var(--s6);
    background: var(--accent);
    color: white;
    border-radius: var(--r);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Newsletter Benefits */
.newsletter-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--s4);
    margin-top: var(--s4);
}

.benefit-item {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--s3);
    margin-top: var(--s8);
    padding-top: var(--s6);
    border-top: 1px solid var(--border);
}

.share-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-right: var(--s2);
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2) var(--s4);
    border-radius: var(--r);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.share-twitter:hover {
    background: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.share-linkedin:hover {
    background: #0077B5;
    color: white;
    border-color: #0077B5;
}

.share-hn:hover {
    background: #FF6600;
    color: white;
    border-color: #FF6600;
}

.share-button svg {
    width: 18px;
    height: 18px;
}

/* ===============================================
   USE CASES SECTION
   =============================================== */

.use-cases-section {
    padding: var(--s16) var(--s4);
    background: var(--bg);
}

.use-cases-content {
    max-width: 1200px;
    margin: 0 auto;
}

.use-cases-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--s4);
    color: var(--text);
}

.use-cases-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--s10);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s6);
    margin-bottom: var(--s10);
}

.use-case-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--s6);
    transition: all 0.2s ease;
}

.use-case-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: var(--s4);
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--s3);
    color: var(--text);
}

.use-case-card > p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: var(--s4);
    padding-left: var(--s4);
    border-left: 3px solid var(--accent-bg);
}

.use-case-benefit {
    display: inline-block;
    padding: var(--s2) var(--s4);
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: var(--r);
    font-size: 0.875rem;
    font-weight: 600;
}

.metrics-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s4);
    padding: var(--s6);
    background: var(--bg-subtle);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: var(--s1);
    text-align: center;
}

.metric-item strong {
    font-size: 1.125rem;
    color: var(--accent);
    font-weight: 700;
}

.metric-item span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Responsive Hero */
@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

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

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

    .use-cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .metrics-showcase {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===============================================
   FOOTER
   =============================================== */

footer {
    margin-top: var(--s20);
    padding: var(--s12) var(--s6);
    background: var(--bg-subtle);
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s8);
}

.footer-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin-bottom: var(--s4);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--s3);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    margin-top: var(--s8);
    padding-top: var(--s6);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ===============================================
   INTERACTIVE FEATURES SHOWCASE
   =============================================== */

.features-showcase {
    margin-bottom: var(--s16);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s6);
}

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

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

.feature-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--r-2xl);
    padding: var(--s8);
    transition: all var(--transition-base);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--s4);
    position: relative;
}

.feature-card:hover {
    border-color: var(--accent-border);
    box-shadow: var(--shadow-md);
    background: var(--bg-elevated);
}

.feature-icon {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: var(--s2);
    display: inline-block;
}

.feature-card h3 {
    font-size: var(--font-xl);
    font-weight: 800;
    color: var(--text);
    margin: 0;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: var(--font-base);
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
    margin: 0;
}

.feature-cta {
    font-size: var(--font-base);
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: var(--s3);
    transition: all var(--transition-base);
    display: inline-block;
}

.feature-card:hover .feature-cta {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .feature-card {
        padding: var(--s5);
    }

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

    .feature-card h3 {
        font-size: 1.125rem;
    }

    .feature-card p {
        font-size: 0.875rem;
    }
}

/* ===============================================
   PERFECTION ENHANCEMENTS
   World-class polish and micro-interactions
   =============================================== */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-subtle);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: var(--r-full);
    border: 3px solid var(--bg-subtle);
    transition: background var(--transition-base);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border) var(--bg-subtle);
}

/* Enhanced header transitions */
header {
    transition: transform 0.3s var(--ease-out), 
                box-shadow 0.3s var(--ease-out),
                background 0.3s var(--ease-out);
}

/* Scroll-triggered animation states */
.animate-in {
    animation-play-state: running !important;
}

/* Ripple effect animation */
@keyframes ripple-effect {
    from {
        transform: scale(0);
        opacity: 1;
    }
    to {
        transform: scale(2);
        opacity: 0;
    }
}

/* Enhanced input focus states */
.input-focused {
    position: relative;
}

.input-focused::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: var(--gradient-accent);
    opacity: 0.2;
    pointer-events: none;
    animation: glow 2s ease-in-out infinite;
}

/* Input value state */
.input-has-value input {
    border-color: var(--color-success);
}

/* 3D Card transforms */
.tool-card,
.mcp-card,
.feature-card,
.use-case-card,
.partnership-card {
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

/* Performance optimizations */
.tool-card:hover,
.mcp-card:hover,
.feature-card:hover {
    will-change: transform, box-shadow;
}

/* Gradient text animations */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.stat-number {
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

/* Button magnetic effect */
.cta,
.cta-button,
.newsletter-submit {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

/* Enhanced skeleton loading */
.skeleton-card {
    position: relative;
    overflow: hidden;
}

.skeleton-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: skeleton-wave 2s ease-in-out infinite;
}

@keyframes skeleton-wave {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

/* Page transition effects */
body {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Advanced hover states for CTAs */
.cta::before,
.cta-button::before {
    transition: left 0.5s ease;
}

/* Feature badge enhancements */
.feature-badge {
    position: relative;
    overflow: hidden;
}

.feature-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.feature-badge:hover::before {
    left: 100%;
}

/* Newsletter form enhancements */
.newsletter-input-group {
    position: relative;
}

.newsletter-input-group:focus-within {
    transform: scale(1.02);
    transition: transform 0.2s ease-out;
}

/* Card icon floating animation */
.feature-icon {
    transition: transform var(--transition-base);
}



/* Social share buttons */
.share-button {
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.share-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease-out, height 0.3s ease-out;
}

.share-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Partnership card enhancements */
.partnership-card {
    position: relative;
}

.partnership-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(59, 130, 246, 0.1) 0%,
        transparent 50%
    );
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.partnership-card:hover::after {
    opacity: 1;
}

/* Enhanced stat items */
.stat-item {
    transform-origin: center;
    transition: transform var(--transition-base);
}

.stat-item:hover {
    transform: scale(1.05);
}

/* Pill hover effects */
.pill {
    position: relative;
    overflow: hidden;
}

.pill::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.pill:hover::before {
    opacity: 0.1;
}

/* Tool card footer enhancements */
.tool-footer {
    position: relative;
}

.visit-link {
    position: relative;
    display: inline-block;
}

.visit-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease-out;
}

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

/* MCP card actions */
.mcp-actions {
    display: flex;
    gap: var(--s3);
    margin-top: auto;
}

.mcp-link {
    flex: 1;
    text-align: center;
    padding: var(--s3) var(--s4);
    border-radius: var(--r-md);
    font-weight: 600;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.mcp-link.primary {
    background: var(--gradient-accent);
    color: white;
}

.mcp-link.secondary {
    background: var(--bg-subtle);
    color: var(--text);
    border: 1px solid var(--border);
}

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

/* Enhanced filter chips */
.chip {
    position: relative;
    overflow: visible;
}

.chip::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    opacity: 0;
    background: var(--gradient-accent);
    z-index: -1;
    transition: opacity var(--transition-fast);
}

.chip:hover::after {
    opacity: 0.2;
}

.chip.active {
    box-shadow: 0 0 0 2px var(--accent);
}

/* Section headers with reveal animation */
.section-header {
    opacity: 0;
    transform: translateY(30px);
}

.section-header.animate-in {
    animation: fadeInUp 0.8s var(--ease-out) forwards;
}

/* Hero stats stagger */
.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

/* Enhanced back to top button */
.back-to-top {
    position: fixed;
    bottom: var(--s8);
    right: var(--s8);
    width: 48px;
    height: 48px;
    border-radius: var(--r-full);
    background: var(--gradient-accent);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(100px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Section progress indicator */
.section-progress {
    position: fixed;
    bottom: var(--s8);
    left: var(--s8);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: var(--s3) var(--s5);
    border-radius: var(--r-full);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(100px);
    transition: all var(--transition-base);
    z-index: 999;
}

.section-progress.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-progress-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--s1);
}

.section-progress-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: var(--s6);
        right: var(--s6);
    }
    
    .section-progress {
        bottom: var(--s6);
        left: var(--s6);
        padding: var(--s2) var(--s4);
    }
}

/* Dark mode smooth transitions */
[data-theme="dark"] {
    transition: color 0.3s ease-out, background-color 0.3s ease-out;
}

[data-theme="dark"] .tool-card,
[data-theme="dark"] .mcp-card,
[data-theme="dark"] .feature-card {
    transition: all var(--transition-base), 
                background-color 0.3s ease-out,
                border-color 0.3s ease-out;
}

/* Loading state enhancements */
.loading-indicator {
    position: relative;
    width: 40px;
    height: 40px;
}

.loading-indicator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Micro-interaction: Scale on active */
button:active,
.chip:active,
.pill:active {
    transform: scale(0.95);
}

/* Gradient borders */
.gradient-border {
    position: relative;
    background: var(--surface);
    border-radius: var(--r-xl);
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--gradient-accent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Performance hint for animations */
.tool-card,
.mcp-card,
.feature-card,
.stat-item,
.hero-content {
    will-change: auto;
}

.tool-card:hover,
.mcp-card:hover,
.feature-card:hover {
    will-change: transform, box-shadow;
}

/* Text selection styling */
::selection {
    background: var(--accent);
    color: white;
}

::-moz-selection {
    background: var(--accent);
    color: white;
}
