/* CloudCostCutter - Green Savings / Dashboard-Inspired */
:root {
    /* Colors */
    --color-primary: #059669;
    --color-primary-hover: #047857;
    --color-primary-light: rgba(5, 150, 105, 0.06);
    --color-secondary: #0d9488;
    --color-accent: #eab308;
    --color-background: #f1f5f2;
    --color-surface: #ffffff;
    --color-text: #0f2117;
    --color-text-muted: #3d5a48;
    --color-border: #d1e0d8;

    /* Header */
    --header-bg: #ffffff;
    --header-border: none;
    --header-shadow: 0 2px 12px rgba(5, 150, 105, 0.08);
    --header-height: 72px;
    --logo-font-size: 1.375rem;
    --logo-font-weight: 900;

    /* Footer */
    --footer-bg: #0f2117;
    --footer-text: #86a899;
    --footer-accent: #34d399;

    /* Typography */
    --font-family-sans: 'Nunito Sans', system-ui, sans-serif;
    --font-family-heading: 'Nunito Sans', system-ui, sans-serif;
    --font-size-base: 1rem;
    --font-weight-heading: 800;
    --line-height-base: 1.7;
    --line-height-heading: 1.2;

    /* Layout */
    --max-width-content: 1200px;
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Cards */
    --card-border: none;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(5, 150, 105, 0.04);
    --card-shadow-hover: 0 8px 24px rgba(5, 150, 105, 0.12), 0 0 0 1px rgba(5, 150, 105, 0.1);
    --card-transform-hover: translateY(-3px);
    --card-image-height: 200px;
    --card-padding: 1.5rem;

    /* Decorative */
    --accent-gradient: linear-gradient(135deg, #059669, #0d9488);
    --header-decoration: linear-gradient(90deg, #059669, #34d399);
    --code-bg: #0f2117;
    --code-text: #6ee7b7;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(5, 150, 105, 0.08);
    --shadow-lg: 0 10px 30px rgba(5, 150, 105, 0.12);

    /* Tags */
    --tag-bg: rgba(5, 150, 105, 0.06);
    --tag-border: 1px solid rgba(5, 150, 105, 0.15);
    --tag-radius: 0.375rem;
    --tag-font-size: 0.8125rem;

    /* Pagination */
    --pagination-radius: 0.375rem;
    --pagination-active-bg: #059669;
    --pagination-active-text: #ffffff;

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

/* Green gradient decoration bar */
.site-header::after {
    height: 3px;
    background: linear-gradient(90deg, #059669, #34d399, #eab308);
}

/* Dashboard-style cards with top colored border */
.article-card {
    border-top: 3px solid #059669;
    transition: all 0.25s ease;
}
.article-card:nth-child(3n+2) {
    border-top-color: #0d9488;
}
.article-card:nth-child(3n+3) {
    border-top-color: #eab308;
}

/* Category as dashboard label */
.article-card-category {
    color: #059669;
    font-weight: 800;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    background: rgba(5, 150, 105, 0.08);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
}

/* Bold metric-style article titles */
.article-card-title {
    font-weight: 800;
    font-size: 1.125rem;
}

/* Sidebar dashboard sections */
.sidebar-title,
.category-nav-title {
    font-weight: 800;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid #059669;
    padding-bottom: 0.625rem;
}

/* Savings-green blockquote */
.prose blockquote {
    border-left: 4px solid #059669;
    background: rgba(5, 150, 105, 0.04);
    border-radius: 0 0.5rem 0.5rem 0;
}

/* Tag hover savings effect */
.tag-badge:hover {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
    transform: scale(1.03);
}

/* Footer gradient top */
.site-footer {
    border-top: none;
    position: relative;
}
.site-footer::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, #059669, #34d399, #eab308);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/* Author card green accent */
.author-profile {
    border-left: 4px solid #059669;
}

/* Metric-style numbers in pagination */
.pagination-link {
    font-weight: 700;
}

/* Language Picker - Dashboard metric cards */
.language-picker-section {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-top: none;
}
.language-picker-title {
    font-weight: 900;
    font-size: 1.25rem;
    color: #0f2117;
}
.language-picker-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.625rem;
}
.language-picker-item {
    border: none;
    border-top: 3px solid #d1e0d8;
    border-radius: 0 0 0.5rem 0.5rem;
    background: #f1f5f2;
    padding: 0.875rem 0.75rem;
    transition: all 0.2s ease;
}
.language-picker-item:nth-child(3n+1) { border-top-color: #059669; }
.language-picker-item:nth-child(3n+2) { border-top-color: #0d9488; }
.language-picker-item:nth-child(3n+3) { border-top-color: #eab308; }
.language-picker-item:hover {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.12);
    transform: translateY(-2px);
}
.language-picker-item.active {
    background: #059669;
    border-top-color: #047857;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
}
.language-picker-item .language-native {
    font-weight: 800;
    font-size: 1rem;
}
.language-picker-item .language-name {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
