/* MobileTechLead - Modern Bold Purple/Cyan Tech */
:root {
    /* Colors */
    --color-primary: #7c3aed;
    --color-primary-hover: #6d28d9;
    --color-primary-light: rgba(124, 58, 237, 0.08);
    --color-secondary: #06b6d4;
    --color-accent: #a78bfa;
    --color-background: #f5f3ff;
    --color-surface: #ffffff;
    --color-text: #1e1b4b;
    --color-text-muted: #4b5563;
    --color-border: #e5e1f5;

    /* Header */
    --header-bg: linear-gradient(135deg, #7c3aed, #06b6d4);
    --header-border: none;
    --header-shadow: 0 4px 20px rgba(124, 58, 237, 0.25);
    --header-height: 72px;
    --logo-font-size: 1.375rem;
    --logo-font-weight: 900;

    /* Footer */
    --footer-bg: #1e1b4b;
    --footer-text: #c4b5fd;
    --footer-accent: #ffffff;

    /* Typography */
    --font-family-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-family-heading: 'Inter', system-ui, sans-serif;
    --font-size-base: 1rem;
    --font-weight-heading: 800;
    --line-height-base: 1.75;

    /* Layout */
    --border-radius: 0.75rem;
    --border-radius-lg: 1.25rem;
    --spacing-xl: 2.25rem;
    --spacing-2xl: 3.5rem;

    /* Cards */
    --card-border: none;
    --card-shadow: 0 4px 16px rgba(124, 58, 237, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    --card-shadow-hover: 0 12px 32px rgba(124, 58, 237, 0.18), 0 4px 8px rgba(0, 0, 0, 0.06);
    --card-transform-hover: translateY(-4px);
    --card-image-height: 220px;
    --card-padding: 1.75rem;

    /* Decorative */
    --accent-gradient: linear-gradient(135deg, #7c3aed, #06b6d4);
    --header-decoration: linear-gradient(90deg, #7c3aed, #06b6d4, #a78bfa);
    --code-bg: #1e1b4b;
    --code-text: #c4b5fd;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.06);
    --shadow-md: 0 4px 16px rgba(124, 58, 237, 0.1);
    --shadow-lg: 0 12px 40px rgba(124, 58, 237, 0.15);

    /* Tags */
    --tag-bg: rgba(124, 58, 237, 0.06);
    --tag-border: 1px solid rgba(124, 58, 237, 0.15);
    --tag-radius: 9999px;

    /* Pagination */
    --pagination-radius: 9999px;
    --pagination-active-bg: var(--color-primary);

    /* Nav */
    --nav-link-font-weight: 600;
}

/* Gradient header text override - logo must be white on gradient bg */
.site-logo {
    color: #ffffff !important;
}
.site-logo:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}
.nav-link {
    color: rgba(255, 255, 255, 0.8);
}
.nav-link:hover {
    color: #ffffff;
}

/* Header gradient decoration bar */
.site-header::after {
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #a78bfa, #7c3aed);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

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

/* Card hover glow effect */
.article-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.article-card:hover {
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.18), 0 0 0 1px rgba(124, 58, 237, 0.08);
}

/* Category badge with gradient */
.article-card-category {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Sidebar accent */
.sidebar-title,
.category-nav-title {
    border-bottom-color: transparent;
    border-image: linear-gradient(90deg, #7c3aed, #06b6d4) 1;
}

/* Blockquote styling */
.prose blockquote {
    border-left-color: #06b6d4;
    background: rgba(6, 182, 212, 0.06);
}

/* Language Picker - Floating gradient pills */
.language-picker-section {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03), rgba(6, 182, 212, 0.03));
    border-radius: 1.25rem;
    padding: 2.5rem;
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-top: none;
}
.language-picker-title {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}
.language-picker-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
}
.language-picker-item {
    border-radius: 9999px;
    padding: 0.75rem 1.25rem;
    border: 2px solid transparent;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.06);
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
}
.language-picker-item:hover {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.04);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
    transform: translateY(-2px);
}
.language-picker-item.active {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}
.language-picker-item .language-native {
    font-size: 0.9375rem;
}
.language-picker-item .language-name {
    font-size: 0.6875rem;
    margin-top: 0;
}
