/*
Theme Name: EDEA Ingénierie Theme V3
Author: Mathias PAYET
Description: Thème Vitrine Dark Mode Tech - Version Optimisée avec Animations & Accessibilité
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edea-theme
*/

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --bg-dark: #1A2B4A; /* Navy profond */
    --bg-card: rgba(44, 74, 124, 0.4);
    --primary: #5B8ACF; /* Bleu lumineux avec bon contraste */
    --secondary: #3B5998; /* Bleu moyen plus saturé */
    --text-main: #F8FAFC; /* Blanc/Gris clair */
    --text-muted: #94A3B8; /* Gris bleuté clair - meilleure lisibilité */
    --border-glass: rgba(91, 138, 207, 0.15);
    --font-main: 'Inter', sans-serif;
    --header-height: 80px;
    --transition-speed: 0.3s;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   BASE & RESET
   ============================================ */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    margin-top: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed) var(--transition-smooth);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   ACCESSIBILITÉ
   ============================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #000;
    padding: 8px 16px;
    z-index: 9999;
    font-weight: 700;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible pour navigation clavier */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: all 0.4s var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    background: rgba(26, 43, 74, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    z-index: 101;
    transition: transform var(--transition-speed) var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--primary);
}

/* Menu Desktop */
.desktop-menu ul {
    display: flex;
    gap: 32px;
    align-items: center;
}

.desktop-menu a {
    position: relative;
    padding: 4px 0;
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-speed) var(--transition-smooth);
}

.desktop-menu a:hover::after,
.desktop-menu a:focus::after {
    width: 100%;
}

.desktop-menu a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 8px 20px;
    background: rgba(91, 138, 207, 0.1);
    border-radius: 50px;
    border: 1px solid var(--primary);
    color: var(--primary);
    transition: all var(--transition-speed) var(--transition-smooth);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 138, 207, 0.5);
}

/* Bouton Hamburger (Mobile) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s var(--transition-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Grid pattern technique en arrière-plan */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(91, 138, 207, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(91, 138, 207, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    opacity: 0.5;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

.hero-content {
    max-width: 700px;
    padding: 0 5%;
    z-index: 2;
}

/* Image côté droit */
.hero-visual {
    position: relative;
    height: 600px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(91, 138, 207, 0.35);
    border: 1px solid rgba(91, 138, 207, 0.4);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(91, 138, 207, 0.15);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(91, 138, 207, 0.35);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* ============================================
   BOUTONS
   ============================================ */
.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: all var(--transition-speed) var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(91, 138, 207, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

/* ============================================
   ANIMATIONS ORBES
   ============================================ */
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -10%;
    right: -10%;
    animation: floatOrb 8s ease-in-out infinite;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary);
    bottom: -10%;
    left: -10%;
    animation: floatOrb 10s ease-in-out infinite reverse;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.alt-bg {
    background: rgba(15, 23, 42, 0.5);
}

/* ============================================
   GRILLES & CARTES
   ============================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-speed) var(--transition-smooth);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-smooth);
}

.card:hover::before {
    opacity: 0.6;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(91, 138, 207, 0.3);
}

.card .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.card ul {
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card ul li {
    list-style: disc;
    margin-bottom: 8px;
}

/* ============================================
   PROJETS
   ============================================ */
.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 200px;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.project-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
    flex: 1;
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.tech-stack {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-glass);
    font-size: 0.85rem;
    font-family: monospace;
    opacity: 0.8;
    color: var(--primary);
}

/* ============================================
   A PROPOS
   ============================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-block img {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lead {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}

.contact-details {
    margin-top: 30px;
}

.detail {
    margin-bottom: 15px;
}

.detail strong {
    display: block;
    margin-bottom: 5px;
    color: var(--text-main);
}

.detail a {
    color: var(--primary);
}

.detail a:hover {
    text-decoration: underline;
}

/* ============================================
   FORMULAIRES
   ============================================ */
.form-group, .wpcf7-form-control-wrap {
    margin-bottom: 20px;
    display: block;
}

input, textarea, .wpcf7-form-control {
    width: 100%;
    padding: 15px;
    background: rgba(26, 43, 74, 0.6);
    border: 1px solid var(--border-glass);
    color: white;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all var(--transition-speed) var(--transition-smooth);
}

input:focus, textarea:focus, .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(26, 43, 74, 0.8);
    box-shadow: 0 0 0 3px rgba(91, 138, 207, 0.2);
}

.full-width, .wpcf7-submit {
    width: 100%;
}

.wpcf7-submit {
    cursor: pointer;
    border: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    transition: all var(--transition-speed) var(--transition-smooth);
}

.wpcf7-submit:hover {
    box-shadow: 0 0 30px rgba(91, 138, 207, 0.6);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 60px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.footer-menu a:hover {
    color: var(--primary);
}

/* ============================================
   BOUTON RETOUR EN HAUT
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 99;
    transition: all var(--transition-speed) var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(91, 138, 207, 0.5);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(91, 138, 207, 0.7);
}

/* ============================================
   ANIMATIONS SCROLL (Intersection Observer)
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s var(--transition-smooth),
                transform 0.8s var(--transition-smooth);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   MEDIA QUERIES (RESPONSIVE)
   ============================================ */
@media (max-width: 900px) {
    .split-layout, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Hero responsive */
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: var(--header-height) 20px 60px;
    }

    .hero-content {
        padding: 0;
        text-align: center;
        order: 1;
    }

    .hero-visual {
        height: 400px;
        order: 2;
    }

    .hero-image {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .stats {
        justify-content: center;
    }

    /* Mobile Nav */
    .mobile-menu-btn {
        display: flex;
    }

    .desktop-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s var(--transition-smooth);
        z-index: 90;
    }

    .desktop-menu.active {
        transform: translateX(0);
    }

    .desktop-menu ul {
        flex-direction: column;
        font-size: 1.5rem;
        text-align: center;
        gap: 30px;
    }

    .nav-cta {
        margin-top: 20px;
        display: inline-block;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 600px) {
    section {
        padding: 60px 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog Grid (Page d'accueil & Archive) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-speed) var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(91, 138, 207, 0.3);
    border-color: var(--primary);
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.blog-card-meta .separator {
    margin: 0 8px;
}

.blog-card-title {
    font-size: 1.25rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text-main);
    transition: color var(--transition-speed);
}

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

.blog-card-excerpt {
    color: var(--text-muted);
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: gap 0.3s;
    gap: 5px;
}

.blog-read-more:hover {
    gap: 10px;
}

/* Blog Archive Page */
.blog-archive {
    padding-top: var(--header-height);
}

.blog-hero {
    padding: 80px 0 60px;
    text-align: center;
}

.blog-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.blog-filters {
    padding: 20px 0 40px;
    border-bottom: 1px solid var(--border-glass);
}

.filter-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 25px;
    color: var(--text-main);
    font-weight: 500;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.filter-tab .count {
    font-size: 0.85rem;
    opacity: 0.7;
}

.blog-grid-section {
    padding: 60px 0;
}

/* Pagination */
.blog-pagination {
    margin-top: 60px;
}

.pagination-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

.pagination-list li {
    display: inline-block;
}

.pagination-list a,
.pagination-list .current {
    display: block;
    padding: 10px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-main);
    transition: all var(--transition-speed);
}

.pagination-list a:hover,
.pagination-list .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts h2 {
    color: var(--text-main);
    margin-bottom: 20px;
}

/* Blog CTA */
.blog-cta {
    padding: 80px 0;
    background: var(--bg-card);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 30px;
}

/* Single Blog Post */
.blog-single {
    padding-top: var(--header-height);
    background: var(--bg-dark);
    position: relative;
    z-index: 1;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.article-header {
    padding: 60px 0 40px;
    position: relative;
    z-index: 1;
    background: var(--bg-dark);
}

.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb .separator {
    margin: 0 10px;
}

.breadcrumb .current {
    color: var(--text-muted);
}

.article-category {
    margin-bottom: 20px;
}

.article-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 20px 0;
    color: var(--text-main);
}

.article-meta {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    font-size: 1.1rem;
}

.article-featured-image {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-body {
    padding: 40px 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.article-body h2,
.article-body h3 {
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
}

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

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-muted);
}

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

.article-body a {
    color: var(--primary);
    text-decoration: underline;
}

.article-body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 30px 0;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-muted);
}

.article-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-glass);
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.article-tags .tag {
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-main);
    transition: all var(--transition-speed);
}

.article-tags .tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Author Bio */
.author-bio {
    background: var(--bg-card);
    padding: 40px 0;
    margin: 60px 0;
}

.bio-content {
    display: flex;
    gap: 25px;
    align-items: center;
}

.bio-avatar img {
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.bio-text h3 {
    margin: 0 0 10px 0;
    color: var(--text-main);
}

.bio-text p {
    margin: 0;
    color: var(--text-muted);
}

/* Article Navigation */
.article-navigation {
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nav-prev,
.nav-next {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    transition: all var(--transition-speed);
}

.nav-prev:hover,
.nav-next:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.nav-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nav-title {
    font-weight: 600;
    color: var(--text-main);
}

.nav-next {
    text-align: right;
}

/* Comments */
.article-comments {
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
}

/* CTA Back to Blog */
.cta-back-to-blog {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-card);
}

.cta-back-to-blog h2 {
    margin-bottom: 30px;
}

/* Responsive Blog */
@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    .bio-content {
        flex-direction: column;
        text-align: center;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .mobile-menu-btn,
    .back-to-top,
    .orb,
    .article-navigation,
    .cta-back-to-blog,
    .blog-cta {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .article-body {
        font-size: 12pt;
    }
}
