:root {
    --bg-canvas: #05070a;
    --surface-glass: rgba(18, 22, 31, 0.65);
    --surface-card: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-glow: rgba(99, 102, 241, 0.3);
    
    --brand-primary: #6366f1;
    --brand-cyan: #06b6d4;
    --brand-purple: #a855f7;
    
    --text-heading: #ffffff;
    --text-body: #94a3b8;
    --text-muted: #64748b;
}

body {
    background-color: var(--bg-canvas);
    color: var(--text-body);
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

/* Background Mesh and Grids */
.ambient-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.aura-1 {
    position: absolute;
    top: -10%;
    left: 35%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.16) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(90px);
}

.aura-2 {
    position: absolute;
    top: 25%;
    right: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(90px);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
                        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    pointer-events: none;
}

/* Glass Surface Styling */
.glass-panel {
    background: var(--surface-glass);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 1.75rem;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.65);
}

.glass-pill {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50rem;
    padding: 0.45rem 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

/* Gradients */
.text-gradient-white {
    background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-brand {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-cyan) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Featured Media */
.featured-image-stage {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-image-stage img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-image-stage:hover img {
    transform: scale(1.03);
}

/* Article Typography */
.article-body p {
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1.85;
    margin-bottom: 1.75rem;
}

.article-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-heading);
    font-weight: 700;
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.article-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-heading);
    font-weight: 600;
    font-size: 1.4rem;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
}

/* Quote Component */
.quote-block {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(6, 182, 212, 0.03) 100%);
    border-left: 3px solid var(--brand-primary);
    border-radius: 0 1rem 1rem 0;
    padding: 2rem;
    margin: 2.5rem 0;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--brand-primary);
}

/* Interactive Hover Utility */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}