/* ============================================
   AltLibre - European Digital Sovereignty
   Modern CSS with animations & glassmorphism
   ============================================ */

/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* EU-inspired palette */
    --eu-dark: #001E4D;
    --eu-blue: #003399;
    --eu-light: #1A5FDF;
    --eu-gold: #FFCC00;
    --teal: #00A3A3;
    --coral: #FF6B6B;
    --purple: #8B5CF6;

    /* Backgrounds */
    --bg-dark: #06081A;
    --bg-card: #0D1130;
    --bg-card-hover: #131842;
    --bg-surface: #121A3A;

    /* Text */
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;

    /* Glass */
    --glass-bg: rgba(13, 17, 48, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.15);

    /* Sizing */
    --container: 1200px;
    --nav-height: 72px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;

    /* Fonts */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Animated Background --- */
.bg-grid {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(26, 95, 223, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 95, 223, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.bg-glow {
    position: fixed; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(150px); opacity: 0.12; pointer-events: none; z-index: 0;
}
.bg-glow-1 { top: -200px; right: -200px; background: var(--eu-light); animation: glow-drift 20s ease-in-out infinite; }
.bg-glow-2 { bottom: -200px; left: -200px; background: var(--teal); animation: glow-drift 25s ease-in-out infinite reverse; }

@keyframes glow-drift {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(50px, 30px); }
    66% { transform: translate(-30px, -50px); }
}

/* --- Layout --- */
.container {
    width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;
    position: relative; z-index: 1;
}
.container--narrow { max-width: 800px; }
.section { padding: 120px 0; }

/* --- Typography --- */
.text-gradient {
    background: linear-gradient(135deg, var(--eu-gold) 0%, var(--teal) 50%, var(--eu-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gold { color: var(--eu-gold); }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-tag {
    display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--eu-gold); margin-bottom: 16px;
    background: rgba(255, 204, 0, 0.08); padding: 6px 16px; border-radius: 100px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}
.section-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 1.125rem; color: var(--text-secondary); line-height: 1.7; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-main); font-weight: 600; font-size: 0.95rem;
    padding: 12px 28px; border-radius: var(--radius-sm);
    border: none; cursor: pointer; transition: all 0.3s ease;
    text-decoration: none; white-space: nowrap;
}
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

.btn-primary {
    background: linear-gradient(135deg, var(--eu-light), var(--teal));
    color: white; box-shadow: 0 4px 20px rgba(26, 95, 223, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px); box-shadow: 0 8px 30px rgba(26, 95, 223, 0.4);
}
.btn-outline {
    background: transparent; color: var(--text-primary);
    border: 1.5px solid var(--glass-border-hover);
}
.btn-outline:hover { border-color: var(--eu-light); color: var(--eu-light); }
.btn-glass {
    background: var(--glass-bg); color: var(--text-primary);
    border: 1px solid var(--glass-border); backdrop-filter: blur(12px);
}
.btn-glass:hover { border-color: var(--glass-border-hover); background: var(--bg-card); }

/* --- Navigation --- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
    z-index: 1000; transition: all 0.3s ease;
    background: rgba(6, 8, 26, 0.8); backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--glass-border); }
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
}
.nav-logo { display: flex; align-items: center; gap: 10px; z-index: 10; }
.logo-text { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }

.nav-links {
    display: flex; align-items: center; gap: 8px;
}
.nav-link {
    padding: 8px 16px; font-size: 0.9rem; font-weight: 500;
    color: var(--text-secondary); border-radius: var(--radius-xs);
    transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 10; }
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--text-primary);
    margin: 5px 0; transition: all 0.3s ease; border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding-top: var(--nav-height); position: relative; overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.85rem; font-weight: 500; color: var(--eu-gold);
    background: rgba(255, 204, 0, 0.06); border: 1px solid rgba(255, 204, 0, 0.15);
    padding: 8px 20px; border-radius: 100px; margin-bottom: 28px;
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--eu-gold); animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900;
    line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero-subtitle {
    font-size: 1.2rem; color: var(--text-secondary); line-height: 1.7;
    max-width: 520px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
    display: flex; align-items: center; gap: 32px;
    padding: 24px 32px; border-radius: var(--radius);
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px); max-width: fit-content;
}
.stat { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--eu-gold); }
.stat-suffix { font-size: 1.2rem; font-weight: 700; color: var(--eu-gold); }
.stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: var(--glass-border); }

/* Hero Graphic */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-graphic { position: relative; width: 400px; height: 400px; }
.orbit {
    position: absolute; top: 50%; left: 50%; border-radius: 50%;
    border: 1px solid rgba(26, 95, 223, 0.15);
    transform: translate(-50%, -50%);
}
.orbit-1 { width: 200px; height: 200px; animation: spin 25s linear infinite; border-color: rgba(255, 204, 0, 0.2); }
.orbit-2 { width: 300px; height: 300px; animation: spin 35s linear infinite reverse; border-color: rgba(26, 95, 223, 0.15); border-style: dashed; }
.orbit-3 { width: 380px; height: 380px; animation: spin 50s linear infinite; border-color: rgba(255, 204, 0, 0.08); }

/* EU Stars positioned around orbits */
.orbit-star {
    position: absolute; top: 50%; left: 50%;
    transform: rotate(var(--star-offset, 0deg)) translateY(-50%) translateY(calc(-1 * var(--orbit-r, 100px)));
    filter: drop-shadow(0 0 6px rgba(255, 204, 0, 0.4));
    animation: star-twinkle 3s ease-in-out infinite;
    animation-delay: calc(var(--star-offset, 0deg) / 360 * 2s);
}
.orbit-1 { --orbit-r: 100px; }
.orbit-2 { --orbit-r: 150px; }
.orbit-3 { --orbit-r: 190px; }
.orbit-1 .orbit-star { transform: rotate(var(--star-offset, 0deg)) translateX(100px); }
.orbit-2 .orbit-star { transform: rotate(var(--star-offset, 0deg)) translateX(150px); }
.orbit-3 .orbit-star { transform: rotate(var(--star-offset, 0deg)) translateX(190px); }

@keyframes star-twinkle {
    0%, 100% { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 204, 0, 0.4)); }
    50% { opacity: 0.5; filter: drop-shadow(0 0 12px rgba(255, 204, 0, 0.7)); }
}

/* Privacy shield center */
.hero-center-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 90px; height: 90px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 95, 223, 0.15) 0%, var(--glass-bg) 70%);
    border: 1.5px solid rgba(255, 204, 0, 0.25);
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 40px rgba(26, 95, 223, 0.15), inset 0 0 30px rgba(255, 204, 0, 0.05);
    animation: shield-pulse 4s ease-in-out infinite;
}
@keyframes shield-pulse {
    0%, 100% { box-shadow: 0 0 40px rgba(26, 95, 223, 0.15), inset 0 0 30px rgba(255, 204, 0, 0.05); }
    50% { box-shadow: 0 0 60px rgba(26, 95, 223, 0.25), inset 0 0 40px rgba(255, 204, 0, 0.1); }
}

@keyframes spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
}
.scroll-line {
    width: 2px; height: 40px; background: linear-gradient(to bottom, var(--eu-light), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Logo Marquee --- */
.logos-section { padding: 48px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.logos-label { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.05em; }
.logos-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent); }
.logos-slide {
    display: flex; gap: 48px; width: max-content;
    animation: marquee 30s linear infinite;
}
.tech-logo {
    font-size: 1.1rem; font-weight: 700; color: var(--text-muted);
    opacity: 0.5; white-space: nowrap; letter-spacing: 0.05em;
    transition: opacity 0.3s;
}
.tech-logo:hover { opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Alternative Cards --- */
.alt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.alt-card {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 32px;
    transition: all 0.4s ease; position: relative; overflow: hidden;
}
.alt-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--eu-light), var(--teal));
    opacity: 0; transition: opacity 0.3s ease;
}
.alt-card:hover { transform: translateY(-4px); border-color: var(--glass-border-hover); background: var(--bg-card-hover); }
.alt-card:hover::before { opacity: 1; }

.alt-card--blue::before { background: linear-gradient(90deg, var(--eu-light), var(--eu-blue)); }
.alt-card--teal::before { background: linear-gradient(90deg, var(--teal), #00d4d4); }
.alt-card--gold::before { background: linear-gradient(90deg, var(--eu-gold), #FFE066); }
.alt-card--coral::before { background: linear-gradient(90deg, var(--coral), #FF9F9F); }
.alt-card--purple::before { background: linear-gradient(90deg, var(--purple), #A78BFA); }

.alt-card-icon { width: 48px; height: 48px; margin-bottom: 20px; color: var(--eu-light); }
.alt-card--teal .alt-card-icon { color: var(--teal); }
.alt-card--gold .alt-card-icon { color: var(--eu-gold); }
.alt-card--coral .alt-card-icon { color: var(--coral); }
.alt-card--purple .alt-card-icon { color: var(--purple); }

.alt-card-icon svg { width: 100%; height: 100%; }
.alt-card-saving {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    color: #4ADE80; background: rgba(74, 222, 128, 0.1);
    padding: 4px 10px; border-radius: 100px; margin-bottom: 12px;
}
.alt-card-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.alt-card-replaces { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }
.alt-card-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.6; }
.alt-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.85rem; font-weight: 600; color: var(--eu-light);
    transition: gap 0.2s ease;
}
.alt-card-link:hover { gap: 10px; }
.alt-card--teal .alt-card-link { color: var(--teal); }
.alt-card--gold .alt-card-link { color: var(--eu-gold); }
.alt-card--coral .alt-card-link { color: var(--coral); }
.alt-card--purple .alt-card-link { color: var(--purple); }

/* --- ERP Section --- */
.erp-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.erp-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; }
.erp-modules { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.erp-module {
    font-size: 0.8rem; font-weight: 600; padding: 6px 16px;
    border-radius: 100px; border: 1px solid;
}
.erp-module--blue { color: var(--eu-light); border-color: rgba(26, 95, 223, 0.3); background: rgba(26, 95, 223, 0.08); }
.erp-module--teal { color: var(--teal); border-color: rgba(0, 163, 163, 0.3); background: rgba(0, 163, 163, 0.08); }
.erp-module--gold { color: var(--eu-gold); border-color: rgba(255, 204, 0, 0.3); background: rgba(255, 204, 0, 0.08); }
.erp-module--coral { color: var(--coral); border-color: rgba(255, 107, 107, 0.3); background: rgba(255, 107, 107, 0.08); }
.erp-module--purple { color: var(--purple); border-color: rgba(139, 92, 246, 0.3); background: rgba(139, 92, 246, 0.08); }

.erp-highlights { display: flex; gap: 32px; margin-bottom: 36px; }
.erp-highlight-value { display: block; font-size: 1.8rem; font-weight: 800; color: var(--eu-gold); }
.erp-highlight-label { font-size: 0.8rem; color: var(--text-muted); }

/* ERP Diagram */
.erp-visual { display: flex; justify-content: center; }
.erp-diagram {
    position: relative; width: 360px; height: 360px;
}
.erp-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100px; height: 100px; border-radius: 50%;
    background: linear-gradient(135deg, var(--eu-light), var(--teal));
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: white; font-size: 0.8rem; box-shadow: 0 0 60px rgba(26, 95, 223, 0.3);
}
.erp-center strong { font-size: 1.1rem; }
.erp-node {
    position: absolute; width: 72px; height: 72px; border-radius: 50%;
    background: var(--bg-card); border: 2px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 600; text-align: center;
    animation: float 4s ease-in-out infinite;
    transition: all 0.3s ease;
}
.erp-node:hover { transform: scale(1.15); border-color: var(--eu-light); }
.erp-node--0 { top: 5%; left: 50%; transform: translateX(-50%); }
.erp-node--1 { top: 15%; right: 8%; }
.erp-node--2 { top: 45%; right: -2%; animation-delay: 0.5s; }
.erp-node--3 { bottom: 15%; right: 8%; animation-delay: 1s; }
.erp-node--4 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 1.5s; }
.erp-node--5 { bottom: 15%; left: 8%; animation-delay: 2s; }
.erp-node--6 { top: 45%; left: -2%; animation-delay: 2.5s; }
.erp-node--7 { top: 15%; left: 8%; animation-delay: 3s; }

.erp-node--blue { border-color: rgba(26, 95, 223, 0.4); color: var(--eu-light); }
.erp-node--teal { border-color: rgba(0, 163, 163, 0.4); color: var(--teal); }
.erp-node--gold { border-color: rgba(255, 204, 0, 0.4); color: var(--eu-gold); }
.erp-node--coral { border-color: rgba(255, 107, 107, 0.4); color: var(--coral); }

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

/* --- Calculator --- */
.calc-card {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 48px; max-width: 900px; margin: 0 auto;
}
.calc-input-group { margin-bottom: 36px; }
.calc-input-group label { font-weight: 600; margin-bottom: 12px; display: block; }
.calc-slider-wrap { display: flex; align-items: center; gap: 20px; }
.calc-slider-wrap input[type="range"] {
    flex: 1; height: 6px; -webkit-appearance: none; appearance: none;
    background: var(--bg-surface); border-radius: 3px; outline: none;
}
.calc-slider-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
    background: linear-gradient(135deg, var(--eu-light), var(--teal));
    cursor: pointer; box-shadow: 0 2px 10px rgba(26, 95, 223, 0.4);
}
.calc-slider-wrap output {
    font-size: 1.5rem; font-weight: 800; color: var(--eu-gold);
    min-width: 60px; text-align: right;
}

.calc-results { border-radius: var(--radius-sm); overflow: hidden; }
.calc-row {
    display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr; gap: 12px;
    padding: 16px 20px; font-size: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    align-items: center;
}
.calc-row-header {
    background: var(--bg-surface); font-weight: 600; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
    padding: 12px 20px;
}
.calc-row-total { background: var(--bg-surface); font-weight: 700; font-size: 1rem; border: none; }
.calc-us { color: var(--coral); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-eu { color: var(--teal); font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-save { color: #4ADE80; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Product names under category */
.calc-cat { line-height: 1.3; }
.calc-products {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.7rem; color: var(--text-muted); margin-top: 3px; font-weight: 400;
}
.calc-us-product { color: rgba(255, 107, 107, 0.7); }
.calc-eu-product { color: rgba(0, 163, 163, 0.7); }
.calc-vs { opacity: 0.4; font-size: 0.6rem; }

/* Visual comparison bars */
.calc-visual { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--glass-border); }
.calc-bar-group { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.calc-bar-label { font-size: 0.8rem; font-weight: 600; min-width: 70px; color: var(--text-secondary); }
.calc-bar {
    height: 36px; border-radius: 6px; display: flex; align-items: center; justify-content: flex-end;
    padding-right: 14px; font-size: 0.85rem; font-weight: 700; min-width: 40px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.calc-bar-us { background: linear-gradient(90deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.4)); color: var(--coral); }
.calc-bar-eu { background: linear-gradient(90deg, rgba(0, 163, 163, 0.2), rgba(0, 163, 163, 0.4)); color: var(--teal); }
.calc-bar-saving {
    text-align: center; font-size: 1.1rem; font-weight: 800; color: #4ADE80;
    padding: 12px; background: rgba(74, 222, 128, 0.06); border-radius: var(--radius-xs);
    border: 1px solid rgba(74, 222, 128, 0.15);
}

/* Disclaimer */
.calc-disclaimer {
    margin-top: 24px; font-size: 0.75rem; color: var(--text-muted); line-height: 1.6;
    padding-top: 16px; border-top: 1px solid var(--glass-border); font-style: italic;
}

/* --- Benefits --- */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit-card {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 36px 28px; text-align: center;
    transition: all 0.4s ease; position: relative; overflow: hidden;
}
.benefit-card:hover { transform: translateY(-6px); border-color: var(--glass-border-hover); }
.benefit-icon {
    width: 56px; height: 56px; margin: 0 auto 20px;
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card--gold .benefit-icon { background: rgba(255, 204, 0, 0.1); color: var(--eu-gold); }
.benefit-card--blue .benefit-icon { background: rgba(26, 95, 223, 0.1); color: var(--eu-light); }
.benefit-card--teal .benefit-icon { background: rgba(0, 163, 163, 0.1); color: var(--teal); }
.benefit-card--coral .benefit-icon { background: rgba(255, 107, 107, 0.1); color: var(--coral); }

.benefit-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.benefit-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* --- Digital Freedom --- */
.freedom-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.freedom-content p { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }
.freedom-list { display: flex; flex-direction: column; gap: 14px; }
.freedom-list li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.freedom-check {
    width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
    background: rgba(74, 222, 128, 0.1); color: #4ADE80;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 700;
}

.freedom-visual { display: flex; justify-content: center; }
.eu-shield { width: 240px; animation: float 6s ease-in-out infinite; }
.eu-shield svg { width: 100%; height: auto; }

/* --- Migration Timeline --- */
.migration-timeline { max-width: 700px; margin: 0 auto; position: relative; }
.migration-timeline::before {
    content: ''; position: absolute; left: 28px; top: 0; bottom: 0;
    width: 2px; background: linear-gradient(to bottom, var(--eu-light), var(--teal), var(--eu-gold));
}
.migration-step {
    display: flex; gap: 32px; align-items: flex-start; padding: 24px 0;
    position: relative;
}
.migration-number {
    width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 800; position: relative; z-index: 1;
    background: var(--bg-dark);
}
.migration-number--blue { color: var(--eu-light); border: 2px solid var(--eu-light); box-shadow: 0 0 20px rgba(26, 95, 223, 0.2); }
.migration-number--teal { color: var(--teal); border: 2px solid var(--teal); box-shadow: 0 0 20px rgba(0, 163, 163, 0.2); }
.migration-number--gold { color: var(--eu-gold); border: 2px solid var(--eu-gold); box-shadow: 0 0 20px rgba(255, 204, 0, 0.2); }
.migration-number--coral { color: var(--coral); border: 2px solid var(--coral); box-shadow: 0 0 20px rgba(255, 107, 107, 0.2); }

.migration-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.migration-content p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* --- Blog Cards --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-grid--compact { grid-template-columns: repeat(3, 1fr); }
.blog-card {
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius); overflow: hidden;
    transition: all 0.4s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--glass-border-hover); }

.blog-card-image {
    height: 180px; position: relative;
    display: flex; align-items: flex-start; padding: 16px;
}
.blog-card-image--blue { background: linear-gradient(135deg, rgba(26, 95, 223, 0.2), rgba(0, 51, 153, 0.3)); }
.blog-card-image--teal { background: linear-gradient(135deg, rgba(0, 163, 163, 0.2), rgba(0, 100, 100, 0.3)); }
.blog-card-image--gold { background: linear-gradient(135deg, rgba(255, 204, 0, 0.15), rgba(200, 150, 0, 0.25)); }
.blog-card-image--coral { background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(200, 50, 50, 0.3)); }
.blog-card-image--purple { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(100, 50, 200, 0.3)); }

.blog-card-category {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; padding: 5px 12px; border-radius: 100px;
    background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(8px);
}
.blog-card-body { padding: 24px; }
.blog-card-meta { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.blog-card-body h3 a { transition: color 0.2s; }
.blog-card-body h3 a:hover { color: var(--eu-light); }
.blog-card-body p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-tags, .blog-featured-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.blog-tag {
    font-size: 0.7rem; font-weight: 500; padding: 3px 10px;
    border-radius: 100px; background: rgba(26, 95, 223, 0.08);
    color: var(--eu-light); border: 1px solid rgba(26, 95, 223, 0.15);
}

/* Blog Featured */
.blog-featured {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius); overflow: hidden; margin-bottom: 48px;
}
.blog-featured-image { min-height: 300px; padding: 24px; display: flex; align-items: flex-start; }
.blog-featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-body h2 { font-size: 1.6rem; margin-bottom: 12px; line-height: 1.3; }
.blog-featured-body h2 a:hover { color: var(--eu-light); }
.blog-featured-body p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 20px; }

.section-cta { text-align: center; margin-top: 48px; }

/* Blog Listing Page Hero */
.page-hero { padding: 160px 0 80px; text-align: center; }
.page-hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 16px; }
.page-hero-desc { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 64px; }
.pagination-link {
    padding: 10px 18px; border-radius: var(--radius-xs);
    font-size: 0.9rem; font-weight: 500;
    background: var(--bg-card); border: 1px solid var(--glass-border);
    transition: all 0.2s;
}
.pagination-link:hover, .pagination-link.active {
    background: var(--eu-light); color: white; border-color: var(--eu-light);
}

/* --- Blog Article --- */
.article-header { padding: 140px 0 48px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--eu-light); }
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.article-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.article-excerpt { font-size: 1.2rem; color: var(--text-secondary); line-height: 1.7; }
.article-tags { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }

/* Prose content */
.prose { padding: 48px 0; }
.prose h2 { font-size: 1.6rem; font-weight: 700; margin: 48px 0 16px; }
.prose h3 { font-size: 1.3rem; font-weight: 600; margin: 36px 0 12px; }
.prose p { margin-bottom: 20px; color: var(--text-secondary); line-height: 1.8; }
.prose .lead { font-size: 1.15rem; color: var(--text-primary); font-weight: 400; }
.prose strong { color: var(--text-primary); }
.prose blockquote {
    border-left: 3px solid var(--eu-gold); padding: 20px 28px; margin: 32px 0;
    background: rgba(255, 204, 0, 0.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 1.1rem; font-style: italic; color: var(--text-primary);
}
.prose ul, .prose ol { margin-bottom: 20px; padding-left: 24px; }
.prose li { margin-bottom: 8px; color: var(--text-secondary); }
.prose a { color: var(--eu-light); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--teal); }

/* Share & Related */
.article-share {
    display: flex; align-items: center; gap: 16px; padding: 28px 0;
    border-top: 1px solid var(--glass-border); margin-top: 32px;
    font-size: 0.9rem; color: var(--text-muted);
}
.share-links { display: flex; gap: 10px; }
.share-link {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); transition: all 0.2s;
}
.share-link:hover { color: var(--eu-light); border-color: var(--eu-light); }

.related-posts { padding: 64px 0; }
.related-posts h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 28px; }

/* --- CTA Section --- */
.cta-section { padding: 80px 0 120px; }
.cta-card {
    text-align: center; padding: 80px 40px;
    background: linear-gradient(135deg, rgba(26, 95, 223, 0.08), rgba(0, 163, 163, 0.08));
    border: 1px solid var(--glass-border); border-radius: var(--radius);
    position: relative; overflow: hidden;
}
.cta-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(26, 95, 223, 0.1), transparent 70%);
}
.cta-card h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-card p { font-size: 1.1rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto 32px; position: relative; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; margin-bottom: 32px; }
.cta-locations {
    display: flex; justify-content: center; gap: 12px;
    font-size: 0.85rem; color: var(--text-muted); position: relative;
}
.cta-dot { opacity: 0.4; }

/* --- Footer --- */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--glass-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; color: var(--text-secondary); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col a:hover { color: var(--eu-light); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: all 0.2s;
}
.social-link:hover { color: var(--eu-light); border-color: var(--eu-light); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; border-top: 1px solid var(--glass-border);
    font-size: 0.85rem; color: var(--text-muted);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--text-primary); }

/* --- Animations --- */
[data-animate] { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
[data-animate="fade-left"] { transform: translateX(30px); }
[data-animate="fade-right"] { transform: translateX(-30px); }
[data-animate].visible { opacity: 1; transform: translate(0, 0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { margin: 0 auto; }
    .hero-visual { display: none; }
    .alt-grid { grid-template-columns: repeat(2, 1fr); }
    .erp-layout { grid-template-columns: 1fr; gap: 48px; }
    .erp-visual { order: -1; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .freedom-layout { grid-template-columns: 1fr; gap: 48px; }
    .freedom-visual { order: -1; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-featured { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .nav-links {
        position: fixed; inset: 0; background: var(--bg-dark);
        flex-direction: column; justify-content: center; align-items: center;
        gap: 16px; opacity: 0; pointer-events: none; transition: opacity 0.3s;
    }
    .nav-links.open { opacity: 1; pointer-events: all; }
    .nav-toggle { display: block; }
    .alt-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-grid--compact { grid-template-columns: 1fr; }
    .calc-row { grid-template-columns: 1fr 1fr; gap: 8px; }
    .calc-row-header { display: none; }
    .calc-cat { grid-column: span 2; font-weight: 600; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 48px; height: 1px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
    .erp-diagram { width: 280px; height: 280px; }
    .erp-node { width: 56px; height: 56px; font-size: 0.55rem; }
    .erp-center { width: 80px; height: 80px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
    .btn-lg { width: 100%; justify-content: center; }
}

/* --- Blog Empty State --- */
.blog-empty { text-align: center; padding: 80px 0; color: var(--text-muted); }

/* --- 404 --- */
.page-hero--404 { min-height: 60vh; display: flex; align-items: center; }

/* ============================================
   ENHANCED VISUALS & INTERACTIVITY v2
   ============================================ */

/* --- Particle Canvas --- */
#particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* --- Mouse Glow Follow --- */
.mouse-glow {
    position: fixed; width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 95, 223, 0.08) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* --- 3D Card Tilt --- */
.card-3d {
    transform-style: preserve-3d; perspective: 1000px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-3d:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(10px); }

/* --- Animated Gradient Borders --- */
.gradient-border {
    position: relative; overflow: hidden;
}
.gradient-border::after {
    content: ''; position: absolute; inset: 0; padding: 1.5px;
    background: conic-gradient(from var(--border-angle, 0deg), var(--eu-light), var(--teal), var(--eu-gold), var(--coral), var(--purple), var(--eu-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    border-radius: inherit; pointer-events: none;
    animation: rotate-border 4s linear infinite;
}
@keyframes rotate-border {
    to { --border-angle: 360deg; }
}
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* --- Glowing Hover Cards --- */
.glow-card {
    position: relative; overflow: hidden;
}
.glow-card::before {
    content: ''; position: absolute; inset: -2px;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(26, 95, 223, 0.15), transparent 60%);
    pointer-events: none; opacity: 0; transition: opacity 0.3s;
    border-radius: inherit;
}
.glow-card:hover::before { opacity: 1; }

/* --- Reading Progress Bar --- */
.reading-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 1001;
    background: linear-gradient(90deg, var(--eu-light), var(--teal), var(--eu-gold));
    width: 0%; transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(26, 95, 223, 0.5);
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed; bottom: 32px; right: 32px; z-index: 100;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px); color: var(--text-primary);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; transform: translateY(20px);
    transition: all 0.3s ease; text-decoration: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--eu-light); border-color: var(--eu-light); transform: translateY(-2px); }

/* --- Blog Filter Bar --- */
.blog-filters {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-bottom: 36px; padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}
.blog-search {
    flex: 1; min-width: 200px; padding: 10px 16px 10px 40px;
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm); color: var(--text-primary);
    font-family: var(--font-main); font-size: 0.9rem;
    outline: none; transition: border-color 0.2s;
}
.blog-search:focus { border-color: var(--eu-light); }
.blog-search-wrap {
    position: relative; flex: 1; min-width: 200px;
}
.blog-search-wrap svg {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); pointer-events: none;
}
.filter-btn {
    padding: 8px 18px; font-size: 0.8rem; font-weight: 600;
    border-radius: 100px; border: 1px solid var(--glass-border);
    background: transparent; color: var(--text-secondary);
    cursor: pointer; transition: all 0.2s; font-family: var(--font-main);
    white-space: nowrap;
}
.filter-btn:hover { border-color: var(--eu-light); color: var(--eu-light); }
.filter-btn.active {
    background: var(--eu-light); color: white; border-color: var(--eu-light);
}

/* --- Blog Card SVG Illustrations --- */
.blog-card-image {
    position: relative; overflow: hidden;
}
.blog-card-image .card-illustration {
    position: absolute; bottom: -10px; right: -10px; opacity: 0.15;
    width: 140px; height: 140px;
}
.blog-featured-image .card-illustration {
    width: 200px; height: 200px; bottom: -20px; right: -20px;
}

/* --- Enhanced Alt Cards with Shine --- */
.alt-card .card-shine {
    position: absolute; inset: 0; opacity: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.03) 45%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 55%, transparent 60%);
    transition: opacity 0.3s;
}
.alt-card:hover .card-shine { opacity: 1; }

/* --- Typewriter Cursor --- */
.typewriter-cursor {
    display: inline-block; width: 3px; height: 1em;
    background: var(--eu-gold); margin-left: 4px;
    animation: blink-cursor 0.8s step-end infinite;
    vertical-align: text-bottom;
}
@keyframes blink-cursor {
    50% { opacity: 0; }
}

/* --- Staggered Grid Animation --- */
.stagger-grid > * {
    opacity: 0; transform: translateY(20px) scale(0.97);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-grid.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-grid.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-grid.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-grid.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger-grid.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger-grid.visible > *:nth-child(6) { transition-delay: 0.40s; }
.stagger-grid.visible > * { opacity: 1; transform: translateY(0) scale(1); }

/* --- Number Counter Glow --- */
.stat-value {
    text-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

/* --- Enhanced CTA with Animated Stars --- */
.cta-card .cta-stars {
    position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.cta-star {
    position: absolute; width: 2px; height: 2px; border-radius: 50%;
    background: var(--eu-gold); opacity: 0;
    animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.8; transform: scale(1.5); }
}

/* --- Blog No Results --- */
.blog-no-results {
    text-align: center; padding: 60px 20px; color: var(--text-muted);
    display: none;
}
.blog-no-results.visible { display: block; }
.blog-no-results svg { margin-bottom: 16px; opacity: 0.4; }
.blog-no-results p { font-size: 1.1rem; }

/* --- LinkedIn Source Link --- */
.article-source {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: var(--text-muted);
    padding: 8px 16px; border-radius: var(--radius-xs);
    background: rgba(0, 119, 181, 0.08);
    border: 1px solid rgba(0, 119, 181, 0.2);
    margin-top: 12px; transition: all 0.2s;
}
.article-source:hover { background: rgba(0, 119, 181, 0.15); color: #0077B5; }

/* --- Smooth Page Fade --- */
body { animation: pageIn 0.4s ease-out; }
@keyframes pageIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Enhanced Blog Card Hover --- */
.blog-card { transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.blog-card-image { transition: all 0.4s ease; }
.blog-card:hover .blog-card-image { filter: brightness(1.1); }

/* --- Enhanced Benefit Card Hover --- */
.benefit-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.benefit-card--gold:hover { border-color: rgba(255, 204, 0, 0.3); }
.benefit-card--blue:hover { border-color: rgba(26, 95, 223, 0.3); }
.benefit-card--teal:hover { border-color: rgba(0, 163, 163, 0.3); }
.benefit-card--coral:hover { border-color: rgba(255, 107, 107, 0.3); }

/* --- Author Card on Blog Posts --- */
.author-card {
    display: flex; align-items: center; gap: 20px;
    padding: 28px; margin: 40px 0;
    background: var(--bg-card); border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}
.author-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--eu-light), var(--teal));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800; color: white; flex-shrink: 0;
}
.author-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.author-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 768px) {
    .blog-filters { flex-direction: column; }
    .blog-search-wrap { width: 100%; }
    .author-card { flex-direction: column; text-align: center; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}
