/*
 * Aspire Review - Premium Modern Product Lab Design System
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --bg-base: #f6f8fb;
    --bg-card: rgba(255, 255, 255, 0.65);
    --border-glass: rgba(226, 232, 240, 0.65);
    --border-glass-hover: rgba(99, 102, 241, 0.18);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --primary: #2563eb;
    --primary-light: #eff6ff;
    --primary-glow: rgba(37, 99, 235, 0.15);
    --accent-blue: #3b82f6;
    --accent-purple: #7c3aed;
    --accent-purple-light: #f5f3ff;
    --success: #10b981;
    --success-light: #ecfdf5;
    --warning: #f59e0b;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --shadow-soft: 0 10px 25px -5px rgba(15, 23, 42, 0.03), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.05);
    --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.03);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.625;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(rgba(99, 102, 241, 0.06) 1.2px, transparent 1.2px),
        linear-gradient(to right, rgba(99, 102, 241, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.015) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px, 30px 30px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Default icon styles */
.icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Glassmorphism Panel Utilities */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
    transform: translateY(-2px);
    border-color: var(--border-glass-hover);
    box-shadow: var(--shadow-premium);
}

/* Gradients */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
}

/* Layout wrappers */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.section-padding {
    padding: 72px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 44px 0;
    }
}

/* Header & Search Toggle */
.site-header {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.02em;
}

.logo svg {
    height: 22px;
    width: 22px;
    stroke: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 6px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--accent-purple);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.2);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.btn-secondary:hover {
    background: var(--bg-base);
    transform: translateY(-1px);
    border-color: rgba(99, 102, 241, 0.15);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-box {
    width: 100%;
    max-width: 540px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    padding: 20px;
    position: relative;
    border: 1px solid var(--border-glass);
}

.search-box input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-size: 15px;
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-close {
    position: absolute;
    top: -36px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-close svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
}

.hero-copy {
    max-width: 580px;
}

@media (max-width: 992px) {
    .hero-copy {
        margin: 0 auto;
    }
}

.badge-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.04);
}

.badge-label svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
    stroke-width: 2.2;
}

.hero-title {
    font-size: 52px;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #6366f1 55%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 38px;
    }
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.625;
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

@media (max-width: 992px) {
    .hero-actions {
        justify-content: center;
    }
}

/* Micro-animations and premium overrides for Hero Buttons */
.hero-actions .btn-primary {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    background: var(--primary);
}

.hero-actions .btn-primary .btn-arrow {
    display: inline-flex;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-actions .btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.hero-actions .btn-secondary {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    color: var(--text-primary);
}

.hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(99, 102, 241, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

/* Floating Lab Cards Visual -> Redesigned as Cohesive Sandbox Dashboard */
.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

@media (max-width: 992px) {
    .hero-visual {
        display: none;
    }
}

.sandbox-dashboard {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sandbox-dashboard:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(99, 102, 241, 0.05);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: rgba(241, 245, 249, 0.6);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.terminal-dots .dot.red { background: #ef4444; }
.terminal-dots .dot.yellow { background: #eab308; }
.terminal-dots .dot.green { background: #22c55e; }

.dashboard-title {
    font-family: 'Fira Code', monospace;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dashboard-body {
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 12px;
}

.dashboard-widget {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.01);
    transition: all 0.2s ease;
}

.dashboard-widget:hover {
    border-color: rgba(99, 102, 241, 0.18);
    background: #ffffff;
    box-shadow: 0 10px 20px -10px rgba(15, 23, 42, 0.03);
}

.widget-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.score-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--accent-blue);
    margin: 8px auto;
    position: relative;
    border: 2px solid #eff6ff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.04), inset 0 2px 4px rgba(0,0,0,0.01);
}

.score-circle::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.score-verdict {
    font-size: 13px;
    font-weight: 700;
    color: var(--success);
    text-align: center;
    margin-top: 2px;
}

.widget-header-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.widget-header-row svg {
    width: 12px;
    height: 12px;
    stroke: var(--primary);
    stroke-width: 2.2;
}

.widget-metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    margin-bottom: 6px;
}

.widget-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
}

.widget-max {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
}

.widget-badge {
    font-size: 8px;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 3px;
}

.widget-badge.fast {
    background: #ecfdf5;
    color: #10b981;
}

.widget-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
    width: 100%;
}

.widget-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 9999px;
}

.widget-desc {
    font-size: 9.5px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

.widget-verdict-text {
    font-size: 10.5px;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-top: 6px;
    margin-bottom: 8px;
}

.widget-verdict-link {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: auto;
}

.widget-verdict-link svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
}

.widget-verdict-link .link-arrow {
    display: inline-flex;
    transition: transform 0.2s ease;
}

.widget-verdict-link:hover .link-arrow {
    transform: translateX(2px);
}

.widget-bars {
    height: 48px;
    margin-top: 8px;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.widget-bar-col {
    flex-grow: 1;
    height: var(--height);
    background: rgba(37, 99, 235, 0.06);
    border-top: 2px solid var(--primary);
    border-radius: 3px 3px 1px 1px;
}

.widget-bar-col:nth-child(4),
.widget-bar-col:nth-child(5) {
    background: rgba(124, 58, 237, 0.06);
    border-top: 2px solid var(--accent-purple);
}

.widget-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 2px;
}

/* Bottom Console */
.dashboard-console {
    background: #0f172a;
    padding: 12px 16px;
    font-family: 'Fira Code', monospace;
    font-size: 10.5px;
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.console-line {
    line-height: 1.4;
    white-space: nowrap;
}
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 28px;
    letter-spacing: -0.02em;
}

/* Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
    gap: 28px;
}

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

/* Post Cards */
.post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-purple);
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.05em;
}

.post-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.35;
    font-weight: 700;
}

.post-card-title a {
    color: var(--text-primary);
}

.post-card-title a:hover {
    color: var(--primary);
}

.post-card-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-glass);
    font-size: 13px;
    color: var(--text-muted);
}

.post-card-score {
    background: var(--primary-light);
    color: var(--primary);
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
}

/* Head-to-Head Comparison Card */
.comparison-card {
    text-align: center;
    position: relative;
    border: 1px solid var(--border-glass);
}

.vs-badge {
    background: #0f172a;
    color: white;
    border: 3px solid #ffffff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 10px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.12);
    z-index: 2;
}

.comp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    background: rgba(241, 245, 249, 0.4);
    border: 1px solid var(--border-glass);
    padding: 16px;
    border-radius: var(--radius-md);
    position: relative;
}

.comp-product {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comp-prod-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.comp-prod-score {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 4px;
}

.comp-product:first-child .comp-prod-score {
    color: var(--accent-purple);
}

.winner-badge {
    background: var(--success-light);
    color: var(--success);
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

/* Review Page / Lab Report layouts */
.lab-hero {
    background: linear-gradient(to bottom, var(--primary-light) 0%, transparent 100%);
    padding: 52px 0;
    border-bottom: 1px solid var(--border-glass);
}

.post-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.verdict-box {
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 36px;
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 32px;
}

@media (max-width: 768px) {
    .verdict-box {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.verdict-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.verdict-score-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.verdict-big-score {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

/* Scorecard Grid */
.score-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 40px;
}

.score-metric-card {
    background: white;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

.smc-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: block;
    font-weight: 500;
}

.smc-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.smc-status {
    font-size: 10px;
    font-weight: 600;
    color: var(--success);
    margin-top: 3px;
    display: block;
}

/* Pros and Cons */
.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

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

.pros-box {
    border-left: 4px solid var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-left-width: 4px;
    background: var(--success-light);
    border-radius: var(--radius-sm);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.02);
}

.cons-box {
    border-left: 4px solid var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-left-width: 4px;
    background: var(--danger-light);
    border-radius: var(--radius-sm);
    padding: 24px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.02);
}

.pros-box h3, .cons-box h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.pros-box h3 svg, .cons-box h3 svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
    flex-shrink: 0;
}

.pros-cons-list {
    list-style: none;
    margin-top: 12px;
}

.pros-cons-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 14px;
}

.pros-cons-list li svg {
    position: absolute;
    left: 0;
    top: 2.5px;
    width: 14px;
    height: 14px;
}

.pros-box li svg { stroke: var(--success); }
.cons-box li svg { stroke: var(--danger); }

/* Editorial disclosures */
.disclosure-block {
    background: var(--bg-base);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.disclosure-block svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary);
    flex-shrink: 0;
}

/* Post Content Layout with TOC */
.post-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 36px;
}

@media (max-width: 992px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
}

.article-body {
    font-size: 15px;
    line-height: 1.75;
}

.article-body h2 {
    font-size: 22px;
    margin: 32px 0 14px 0;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-glass);
}

.article-body h3 {
    font-size: 18px;
    margin: 20px 0 10px 0;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 6px;
}

/* Sidebar TOC */
.sidebar-sticky {
    position: sticky;
    top: 80px;
}

.toc-panel {
    background: white;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 24px;
}

.toc-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.toc-links {
    list-style: none;
    font-size: 13px;
}

.toc-links li {
    margin-bottom: 8px;
}

.toc-links a {
    color: var(--text-secondary);
    display: block;
    transition: all 0.2s ease;
}

.toc-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* FAQ Accordions */
.faq-accordion {
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid var(--border-glass);
}

.faq-question {
    padding: 16px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
}

.faq-answer {
    padding-bottom: 16px;
    display: none;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Detailed Comparison Table Component */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 28px 0;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.comparison-table th, .comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-glass);
}

.comparison-table th {
    background: #f8fafc;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-table tr:hover td {
    background: rgba(37, 99, 235, 0.015);
}

/* Category Hub Hub Card */
.category-hub-card {
    background: white;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-hub-card svg {
    width: 30px;
    height: 30px;
    stroke: var(--primary);
    margin-bottom: 14px;
    stroke-width: 1.8;
}

.category-hub-title {
    font-size: 18px;
    margin-bottom: 6px;
}

.category-hub-count {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: auto;
    font-weight: 500;
}

/* Newsletter block */
.newsletter-block {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-purple-light) 100%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin-top: 64px;
}

.newsletter-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.newsletter-subtitle {
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    outline: none;
    font-size: 14px;
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* Footer styling */
.site-footer {
    background: #0b0f19;
    color: #94a3b8;
    padding: 64px 0 32px 0;
    border-top: 1px solid #1e293b;
    margin-top: 64px;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 48px;
}

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

.footer-brand h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand svg {
    stroke: white;
    width: 20px;
    height: 20px;
}

.footer-col h5 {
    color: white;
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #94a3b8;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

.footer-bottom-links a {
    color: #94a3b8;
    margin-left: 16px;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ==========================================================================
   Admin Overrides & Enhancements
   ========================================================================== */
.admin-sidebar a svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    flex-shrink: 0 !important;
}

.admin-sidebar nav a {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    padding-left: 14px !important;
}

.admin-sidebar nav a:hover, .admin-sidebar nav a.active {
    color: white !important;
    background: rgba(99, 102, 241, 0.12) !important;
    border-left-color: var(--accent-blue) !important;
    padding-left: 11px !important;
}

.admin-main .score-grid .glass-panel {
    background: white !important;
    border: 1px solid var(--border-glass) !important;
    padding: 20px 14px !important;
    box-shadow: var(--shadow-soft) !important;
}

.admin-main .score-grid .glass-panel:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-premium) !important;
}

.admin-table {
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    background: white;
}

.admin-table th {
    background: #f8fafc !important;
    border-bottom: 1px solid var(--border-glass) !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
}

/* Fact-checking warning cards */
.gap-warning {
    background: #fef2f2 !important;
    border: 1px solid rgba(239, 68, 68, 0.12) !important;
    border-left: 4px solid var(--danger) !important;
    padding: 16px !important;
    border-radius: var(--radius-sm) !important;
    color: #991b1b !important;
    font-size: 13.5px !important;
    margin-bottom: 24px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.02) !important;
}

.gap-warning svg {
    color: var(--danger) !important;
    stroke: var(--danger) !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

/* ==========================================================================
   Developer Growth & Marketing Tools
   ========================================================================== */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

/* Savings Calculator sliders */
.calculator-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 9999px;
    background: #e2e8f0;
    outline: none;
    margin: 12px 0;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: background 0.15s ease;
}

.calculator-slider::-webkit-slider-thumb:hover {
    background: var(--accent-purple);
}

.savings-highlight-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    color: white;
    padding: 32px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.2);
}

.savings-big-metric {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    margin: 12px 0;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

/* Blueprint Architecture nodes */
.blueprint-container {
    background: #0f172a;
    background-image: 
        linear-gradient(to right, rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    padding: 32px;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

.blueprint-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    position: relative;
}

.blueprint-node {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(8px);
    border: 1.5px solid #334155;
    border-radius: 8px;
    padding: 12px 18px;
    width: 200px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    position: relative;
    transition: all 0.3s ease;
}

.blueprint-node.highlighted {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(124, 58, 237, 0.15) 100%);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

.blueprint-node h5 {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.blueprint-node p {
    font-size: 14px;
    font-weight: 700;
}

.blueprint-connector {
    width: 2px;
    height: 24px;
    background: #334155;
}

/* Benchmark rows */
.benchmark-row-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
}

.benchmark-bar-track {
    height: 8px;
    background: #e2e8f0;
    border-radius: 9999px;
    flex-grow: 1;
    margin: 0 16px;
    overflow: hidden;
    position: relative;
}

.benchmark-bar-fill {
    height: 100%;
    border-radius: 9999px;
    background: var(--accent-purple);
}

.benchmark-bar-fill.highlight {
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--success) 100%);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

/* Code tab container */
.code-tab-container {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: var(--radius-sm);
    color: #f8fafc;
    overflow: hidden;
}

.code-tabs {
    display: flex;
    background: #1e293b;
    border-bottom: 1px solid #334155;
    padding: 0 12px;
}

.code-tab-btn {
    background: none;
    border: none;
    color: #94a3b8;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.code-tab-btn.active {
    color: white;
    border-bottom-color: var(--primary);
}

.code-content-box {
    padding: 20px;
    font-family: monospace;
    font-size: 12.5px;
    overflow-x: auto;
    white-space: pre;
    line-height: 1.5;
}
