/*
Theme Name: N4V Modern
Theme URI: https://www.need4viz.com
Author: Need4Viz
Author URI: https://www.need4viz.com
Description: Thème WordPress ultra-performant pour Need4Viz - Sans plugins, 100% optimisé
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: n4v-modern
Domain Path: /languages
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
*/

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
    --primary-dark: #0a1628;
    --primary-blue: #1e3a5f;
    --accent: #f5a623;
    --accent-gold: #f5a623;
    --accent-gold-light: #ffd56b;
    --accent-dark: #e8960a;
    --text-white: #ffffff;
    --text-light: #e0e6ed;
    --text-muted: #8fa3bf;
    --text-dark: #1a1a2e;
    --glass-bg: rgba(30, 58, 95, 0.3);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Background Effects
   ========================================================================== */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(30, 58, 95, 0.8) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(245, 166, 35, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse 50% 30% at 60% 80%, rgba(30, 58, 95, 0.5) 0%, transparent 50%),
        var(--primary-dark);
}

.floating-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatOrb 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(245, 166, 35, 0.08);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(30, 58, 95, 0.4);
    bottom: 20%;
    left: -50px;
    animation-delay: -7s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: 'Space Mono', monospace;
    color: var(--accent-gold);
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    color: var(--text-white);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

/* Utility classes */
.text-center {
    text-align: center;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: rgba(10, 22, 40, 0.95);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 0.4rem 5%;
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img,
.site-logo .custom-logo {
    height: 40px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain;
    transition: var(--transition);
}

.site-logo:hover img {
    transform: scale(1.02);
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

/* Mobile Nav (hidden by default, shown on mobile) */
.mobile-nav {
    display: none;
    position: fixed;
    top: 55px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 55px);
    overflow-y: auto;
    background: #0a1628;
    padding: 1rem 1.25rem 1.5rem;
    flex-direction: column;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-nav.active {
    display: flex;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li {
    position: relative;
    list-style: none;
}

.nav-menu > li > a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Indicateur dropdown (flèche) */
.nav-menu > li.menu-item-has-children > a svg.dropdown-icon {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.nav-menu > li.menu-item-has-children:hover > a svg.dropdown-icon {
    transform: rotate(180deg);
}

/* Soulignement au hover (seulement pour les liens sans enfants) */
.nav-menu > li:not(.menu-item-has-children) > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu > li:not(.menu-item-has-children) > a:hover::after,
.nav-menu > li:not(.menu-item-has-children).current-menu-item > a::after {
    width: 100%;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: var(--text-white);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 22, 40, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 110px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    list-style: none;
    margin: 0;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Sous-sous-menus (3ème niveau) */
.nav-menu .sub-menu .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translateX(10px) translateY(0);
    margin-left: 0;
}

.nav-menu .sub-menu li:hover > .sub-menu {
    transform: translateX(5px) translateY(0);
}

/* Indicateur flèche pour sous-menus dans dropdown */
.nav-menu .sub-menu li.menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu .sub-menu li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(-45deg);
    margin-left: 10px;
    transition: var(--transition);
}

.nav-menu .sub-menu li.menu-item-has-children:hover > a::after {
    border-color: var(--accent-gold);
}

.nav-menu .sub-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    color: var(--text-muted);
}

.nav-menu .sub-menu a:hover {
    background: var(--glass-bg);
    color: var(--text-white);
}

.nav-menu .sub-menu a::after {
    display: none;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Language Switcher - Simple Flags Style */
.lang-switcher-flags {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 0.25rem;
}

.lang-flag-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 0.5;
}

.lang-flag-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.lang-flag-link.active {
    opacity: 1;
    background: var(--accent-gold);
}

.lang-flag-link img {
    width: 20px;
    height: 20px;
    border-radius: 2px;
}

/* Demo Dropdown (Try it live) */
.demo-dropdown {
    position: relative;
    z-index: 100;
}

.demo-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.demo-arrow {
    transition: var(--transition);
}

.demo-dropdown:hover .demo-arrow {
    transform: rotate(180deg);
}

.demo-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(10, 22, 40, 0.98);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    min-width: 90px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
}

.demo-dropdown:hover .demo-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.demo-dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.demo-dropdown-menu li {
    margin: 0;
}

.demo-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition);
}

.demo-dropdown-menu a:hover {
    background: var(--glass-bg);
    color: var(--accent-gold);
}

.demo-dropdown-menu a::before {
    content: '▶';
    font-size: 0.6rem;
    color: var(--accent-gold);
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
}

.demo-dropdown-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Variante outline pour demo dropdown */
.demo-dropdown .btn-outline {
    border-color: var(--text-white);
    color: var(--text-white);
}

.demo-dropdown .btn-outline:hover {
    background: var(--text-white);
    color: var(--primary-dark);
}

/* Variante hero (dans les sections hero) */
.demo-dropdown-hero {
    display: inline-flex;
}

.demo-dropdown-hero .demo-dropdown-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(10px);
}

.demo-dropdown-hero:hover .demo-dropdown-menu {
    transform: translateX(-50%) translateY(0);
}

/* Alignement dans les groupes de boutons */
.hero-buttons .demo-dropdown,
.cta-buttons .demo-dropdown {
    display: inline-flex;
}

/* Permettre au dropdown de dépasser les conteneurs */
.hero-buttons,
.cta-buttons,
.cta-content {
    overflow: visible;
}

/* Header CTA Button */
.site-header .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
}

/* Mobile Menu Toggle */
.mobile-header-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-white);
    transition: var(--transition);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    position: relative;
    text-align: center;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-visual {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

/* Monitor Frame Mockup */
.monitor-frame {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.monitor-bezel {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 16px 16px 0 0;
    padding: 8px 8px 12px 8px;
    box-shadow: 
        0 25px 60px -12px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    width: 100%;
}

.monitor-toolbar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
    border-radius: 10px 10px 0 0;
    margin-bottom: 6px;
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: linear-gradient(180deg, #ff5f56 0%, #e33e32 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.dot-yellow {
    background: linear-gradient(180deg, #ffbd2e 0%, #e5a00d 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.dot-green {
    background: linear-gradient(180deg, #27c93f 0%, #1aab29 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.toolbar-title {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}

.toolbar-spacer {
    width: 54px;
}

.monitor-screen {
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.screen-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-slide:first-child {
    position: relative;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .carousel-dots {
        bottom: 10px;
        gap: 8px;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
}

.monitor-stand {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stand-neck {
    width: 80px;
    height: 50px;
    background: linear-gradient(90deg, #1a1a1a 0%, #3a3a3a 50%, #1a1a1a 100%);
    clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
}

.stand-base {
    width: 180px;
    height: 12px;
    background: linear-gradient(180deg, #3a3a3a 0%, #1a1a1a 100%);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.device-showcase {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}

.device-imac {
    max-width: 500px;
    width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.device-iphone {
    max-width: 120px;
    width: 100%;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 80px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '✦';
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 600px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Solutions Cards
   ========================================================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.solution-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: var(--shadow-lg);
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.solution-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.solution-card .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--glass-bg);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-item:hover .feature-icon {
    border-color: var(--accent-gold);
    transform: scale(1.1);
}

.feature-item h4 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    display: none;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-white);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h5 {
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--accent-gold);
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.form-message.success {
    background: rgba(39, 202, 64, 0.1);
    border: 1px solid rgba(39, 202, 64, 0.3);
    color: #27ca40;
}

.form-message.error {
    background: rgba(255, 95, 86, 0.1);
    border: 1px solid rgba(255, 95, 86, 0.3);
    color: #ff5f56;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-grid h2 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.contact-grid .contact-form {
    max-width: none;
    margin: 0;
}

.contact-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.contact-card:last-child {
    margin-bottom: 0;
}

.contact-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.contact-flag {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.contact-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-label {
    display: inline-block;
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: rgba(10, 22, 40, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img,
.footer-brand .custom-logo {
    height: 40px !important;
    width: auto !important;
    max-width: 180px !important;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-light);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-social a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.footer-column h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
}

/* SAP Silver Partner Card - Modern White Tile */
.sap-partner-card {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.sap-partner-card .sap-partner-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sap-partner-card .sap-partner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sap-partner-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.sap-partner-card .sap-partner-logo {
    width: auto;
    height: auto;
    max-height: 50px;
    max-width: 140px;
    flex-shrink: 0;
}

.sap-partner-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sap-partner-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-gold);
}

.sap-partner-card .sap-partner-tagline {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.4;
    margin: 0;
}

.sap-partner-arrow {
    color: #9ca3af;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sap-partner-card .sap-partner-link:hover .sap-partner-arrow {
    color: var(--accent-gold);
    transform: translate(3px, -3px);
}

/* Responsive */
@media (max-width: 640px) {
    .sap-partner-card .sap-partner-link {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .sap-partner-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sap-partner-arrow {
        display: none;
    }
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--accent-gold);
}

/* ==========================================================================
   Page Templates
   ========================================================================== */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    border-radius: 2px;
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-wrapper p {
    color: var(--text-muted);
    line-height: 1.8;
}

.content-wrapper ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-wrapper li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
}

.content-wrapper li::before {
    content: '→';
    position: absolute;
    left: -1rem;
    color: var(--accent-gold);
}

/* ==========================================================================
   Blog / Articles
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-category {
    color: var(--accent-gold);
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
    transition: var(--transition);
}

.post-card:hover h3 {
    color: var(--accent-gold);
}

.post-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--accent-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 0.75rem;
}

/* ==========================================================================
   Video Gallery
   ========================================================================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.play-button svg {
    margin-left: 5px;
}

.video-thumbnail:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(245, 166, 35, 0.5);
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.video-info p {
    font-size: 0.9rem;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    width: 90%;
    max-width: 1000px;
    aspect-ratio: 16/9;
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2rem;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--accent-gold);
}

/* Catalog Modal */
.catalog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    flex-direction: column;
}

.catalog-modal.active {
    display: flex;
}

.catalog-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-dark);
    border-bottom: 1px solid var(--glass-border);
}

.catalog-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
}

.catalog-modal-close {
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.catalog-modal-close:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.catalog-modal-content {
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.catalog-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

/* Announcement Modal */
.announcement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.announcement-modal.active {
    display: flex;
}

.announcement-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.announcement-modal-container {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    max-width: 550px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.announcement-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.announcement-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
}

.announcement-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.announcement-content {
    padding: 2rem;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--accent-gold), #e8960a);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Types de badges */
.announcement-modal[data-type="webinar"] .announcement-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.announcement-modal[data-type="event"] .announcement-badge {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.announcement-modal[data-type="news"] .announcement-badge {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
}

.announcement-modal[data-type="promo"] .announcement-badge {
    background: linear-gradient(135deg, var(--accent-gold), #e8960a);
    color: var(--primary-dark);
}

.announcement-modal[data-type="update"] .announcement-badge {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: white;
}

.announcement-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.announcement-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.announcement-date svg {
    stroke: var(--accent-gold);
}

.announcement-text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.announcement-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.announcement-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

.announcement-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
}

.announcement-remember input {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

@media (max-width: 576px) {
    .announcement-modal-container {
        max-width: 100%;
        margin: 10px;
        border-radius: var(--radius-lg);
    }
    
    .announcement-image {
        height: 150px;
    }
    
    .announcement-content {
        padding: 1.5rem;
    }
    
    .announcement-title {
        font-size: 1.4rem;
    }
    
    .announcement-actions {
        flex-direction: column;
    }
}

/* ==========================================================================
   Animations - Visible par défaut, animé si JS actif
   ========================================================================== */
.fade-in,
.fade-in-left,
.fade-in-right {
    opacity: 1;
    transform: none;
}

/* Animations activées uniquement si JS fonctionne */
.js-enabled .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.js-enabled .fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.js-enabled .fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .monitor-frame {
        max-width: 100%;
    }
    
    .monitor-bezel {
        padding: 6px 6px 10px 6px;
        border-radius: 12px 12px 0 0;
    }
    
    .monitor-toolbar {
        padding: 6px 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .toolbar-title {
        font-size: 0.7rem;
    }
    
    .stand-neck {
        width: 60px;
        height: 35px;
    }
    
    .stand-base {
        width: 140px;
        height: 10px;
    }
    
    .hero-visual {
        padding: 0 1rem;
    }
    
    .device-imac {
        max-width: 400px;
    }
    
    .device-iphone {
        max-width: 100px;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.75rem 4%;
        min-height: 55px;
    }
    
    .site-logo img,
    .site-logo .custom-logo {
        height: 32px !important;
        max-width: 140px !important;
    }
    
    /* Hide desktop nav on mobile */
    .desktop-nav {
        display: none !important;
    }
    
    /* Mobile nav styles */
    .mobile-nav .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .mobile-nav .nav-menu > li {
        width: 100%;
    }
    
    .mobile-nav .nav-menu > li > a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .mobile-nav .nav-menu .sub-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        border-left: 2px solid var(--accent-gold);
        border-radius: 0;
        padding: 0.5rem 0 0.5rem 0.75rem;
        margin-left: 0;
        box-shadow: none;
        min-width: 0;
        width: auto;
        max-width: 100%;
    }
    
    .nav-menu li:hover > .sub-menu {
        transform: none !important;
    }
    
    .nav-menu .sub-menu a {
        padding: 0.6rem 0.5rem;
        font-size: 0.9rem;
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Sous-sous-menus sur mobile */
    .nav-menu .sub-menu .sub-menu {
        position: static;
        transform: none !important;
        padding-left: 0.5rem;
        margin-left: 0;
        border-left-color: var(--glass-border);
    }
    
    .nav-menu .sub-menu li:hover > .sub-menu {
        transform: none !important;
    }
    
    .nav-menu .sub-menu li.menu-item-has-children > a::after {
        transform: rotate(45deg);
    }
    
    .nav-actions {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--glass-border);
        width: 100%;
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .lang-switcher-flags {
        order: -1;
    }
    
    .demo-dropdown {
        width: 100%;
    }
    
    .demo-dropdown:hover .demo-dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }
    
    .demo-dropdown-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .demo-dropdown-menu {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none !important;
        margin-top: 0;
        background: var(--glass-bg);
        transition: all 0.3s ease;
        width: 100%;
        min-width: 0;
        text-align: center;
    }
    
    .demo-dropdown.active .demo-dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        margin-top: 0.5rem;
    }
    
    .demo-dropdown-menu a {
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
    
    .demo-dropdown-menu a::before {
        display: none;
    }
    
    .demo-dropdown.active .demo-arrow {
        transform: rotate(180deg);
    }
    
    .mobile-header-actions {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Cacher le sélecteur de langue dans nav-actions sur mobile (il est dans mobile-header-actions) */
    .nav-actions .lang-switcher-flags {
        display: none;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .footer-contact-item svg {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-container {
        gap: 3rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 100px 5% 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .monitor-bezel {
        padding: 4px 4px 8px 4px;
        border-radius: 8px 8px 0 0;
    }
    
    .monitor-toolbar {
        padding: 4px 8px;
        border-radius: 6px 6px 0 0;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .toolbar-title {
        font-size: 0.6rem;
    }
    
    .toolbar-spacer {
        width: 40px;
    }
    
    .stand-neck {
        width: 50px;
        height: 30px;
    }
    
    .stand-base {
        width: 110px;
        height: 8px;
    }
    
    .device-showcase {
        flex-direction: column;
        align-items: center;
    }
    
    .device-imac {
        max-width: 100%;
    }
    
    .device-iphone {
        display: none;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 90px 5% 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 80px 5% 60px;
    }
    
    .solutions-grid,
    .posts-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto 1.5rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* WordPress Block Editor */
.wp-block-button .wp-block-button__link {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-dark);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.has-text-align-center {
    text-align: center;
}

.has-text-align-left {
    text-align: left;
}

.has-text-align-right {
    text-align: right;
}

/* ==========================================================================
   Homepage Sections - Solution 5 en 1
   ========================================================================== */
.modules-section {
    padding: 5rem 0;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 3rem;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.module-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    color: inherit;
    cursor: pointer;
}

.module-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(245, 166, 35, 0.15);
}

.module-card:hover .module-link {
    opacity: 1;
    transform: translateX(0);
}

.module-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.module-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.module-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.module-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.module-tagline {
    font-size: 0.85rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.module-link {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    margin-top: 0.5rem;
}

/* ==========================================================================
   Solution Text Section
   ========================================================================== */
.solution-text-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.2) 0%, transparent 100%);
}

.solution-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.solution-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.solution-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ==========================================================================
   Features Section - Intégration rapide
   ========================================================================== */
.features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(245, 166, 35, 0.3);
    background: rgba(30, 58, 95, 0.5);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Reasons Section - 4 raisons
   ========================================================================== */
.reasons-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(30, 58, 95, 0.3) 50%, transparent 100%);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.reason-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.reason-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-lg);
}

.reason-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.reason-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reason-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.reason-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   Clients Section - Carousel
   ========================================================================== */
.clients-section {
    padding: 5rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-dark) 0%, rgba(10, 22, 40, 0.95) 100%);
}

.clients-section .section-title {
    margin-bottom: 1rem;
    text-align: center;
}

.clients-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%;
}

.clients-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
}

.clients-carousel::before,
.clients-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--primary-dark), transparent);
}

.clients-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--primary-dark), transparent);
}

.clients-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation-name: scroll-clients;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.clients-carousel[data-pause="true"] .clients-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.clients-carousel .client-logo {
    flex-shrink: 0;
    width: 260px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.2),
        0 4px 10px rgba(0, 0, 0, 0.1);
}

.clients-carousel .client-logo:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 
        0 20px 50px rgba(251, 190, 0, 0.3),
        0 10px 25px rgba(0, 0, 0, 0.2);
}

.clients-carousel .client-logo img {
    max-width: 245px;
    max-height: 145px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.clients-carousel .client-logo:hover img {
    transform: scale(1.03);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.2) 0%, transparent 100%);
}

.testimonials-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    padding: 2rem;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.25rem;
}

.testimonial-content blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-white);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-author strong {
    font-size: 1rem;
    color: var(--accent-gold);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
}

.testimonials-dots .dot.active {
    background: var(--accent-gold);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(245, 166, 35, 0.1) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
}

.cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.cta-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.cta-content > p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    overflow: visible;
}

/* Dropdown ouvrant vers le haut (pour les sections en bas de page) */
.cta-buttons .demo-dropdown .demo-dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 10px;
    transform: translateY(-10px);
}

.cta-buttons .demo-dropdown:hover .demo-dropdown-menu {
    transform: translateY(0);
}

.cta-buttons .demo-dropdown-hero .demo-dropdown-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
}

.cta-buttons .demo-dropdown-hero:hover .demo-dropdown-menu {
    transform: translateX(-50%) translateY(0);
}

.cta-demo-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-demo-buttons span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-demo-buttons .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Boutons sur fond foncé (sections CTA) */
.cta-section .btn-primary,
.cta-content .btn-primary,
.cta-box .btn-primary,
.cta-section .demo-dropdown-toggle,
.cta-content .demo-dropdown-toggle,
.cta-box .demo-dropdown-toggle {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-dark);
    border: none;
}

.cta-section .btn-primary:hover,
.cta-content .btn-primary:hover,
.cta-box .btn-primary:hover,
.cta-section .demo-dropdown-toggle:hover,
.cta-content .demo-dropdown-toggle:hover,
.cta-box .demo-dropdown-toggle:hover {
    background: var(--accent-gold-light);
    color: var(--primary-dark);
}

.cta-section .btn-outline,
.cta-content .btn-outline,
.cta-box .btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.cta-section .btn-outline:hover,
.cta-content .btn-outline:hover,
.cta-box .btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* ==========================================================================
   Responsive - Homepage Sections
   ========================================================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .solution-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem;
    }
    
    .clients-carousel .client-logo {
        width: 200px;
        height: 120px;
        padding: 0.4rem;
    }
    
    .clients-carousel .client-logo img {
        max-width: 190px;
        max-height: 110px;
    }
    
    .clients-track {
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Videos Page
   ========================================================================== */
.page-hero {
    padding: 140px 5% 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.3) 0%, transparent 100%);
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.videos-section {
    padding: 4rem 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0.8;
    transition: var(--transition);
}

.video-card:hover .video-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button .play-bg {
    transition: var(--transition);
}

.video-card:hover .play-button .play-bg {
    fill: #cc0000;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-mono);
}

.video-content {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video Pagination */
.videos-pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.videos-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.videos-pagination a,
.videos-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.videos-pagination a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

.videos-pagination .current {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
}

/* YouTube CTA */
.youtube-cta {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.youtube-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.youtube-cta .btn svg {
    flex-shrink: 0;
}

/* No Videos */
.no-videos {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.video-modal.active {
    visibility: visible;
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 1;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    transition: var(--transition);
}

.video-modal-close:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.video-modal-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Videos Responsive */
@media (max-width: 768px) {
    .page-hero {
        padding: 120px 5% 40px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .video-modal-close {
        top: -40px;
    }
}

/* ==========================================================================
   Search
   ========================================================================== */

/* Search Toggle Button */
.search-toggle {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    background: var(--glass-bg);
    color: var(--accent);
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 700px;
    padding: 2rem;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-modal.active .search-modal-content {
    transform: translateY(0);
}

.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.search-close:hover {
    opacity: 1;
}

/* Search Form */
.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.search-submit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* Search Hints */
.search-hints {
    text-align: center;
}

.search-hints p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.search-tags a {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.search-tags a:hover {
    background: var(--accent);
    color: var(--primary-dark);
    border-color: var(--accent);
}

/* Search Results Page */
.search-hero {
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.3) 0%, transparent 100%);
}

.hero-search-form {
    display: flex;
    gap: 0.5rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

.hero-search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--glass-border);
    border-radius: 30px;
    background: var(--glass-bg);
    color: white !important;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    -webkit-text-fill-color: white !important;
}

input[type="search"].hero-search-input,
input.hero-search-input {
    color: white !important;
    -webkit-text-fill-color: white !important;
}

/* Override browser autofill styles */
.hero-search-input:-webkit-autofill,
.hero-search-input:-webkit-autofill:hover,
.hero-search-input:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--glass-bg) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.hero-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.5);
}

.hero-search-input:focus {
    border-color: var(--accent);
}

.hero-search-submit {
    padding: 0.875rem 1.25rem;
    background: var(--accent);
    color: var(--primary-dark);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-search-submit:hover {
    background: var(--accent-dark);
}

/* Search Results Grid */
.search-results-section {
    padding: 4rem 0;
}

.search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.search-result-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.search-result-link {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.search-result-thumbnail {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.search-result-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-result-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.search-result-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.search-result-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.search-result-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.search-result-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
}

.search-result-excerpt mark {
    background: rgba(245, 166, 35, 0.3);
    color: inherit;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
}

.search-result-link-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results-icon {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results h2 {
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.no-results > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.no-results-suggestions {
    background: var(--glass-bg);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: inline-block;
    text-align: left;
    margin-bottom: 2rem;
}

.no-results-suggestions h3 {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 0.75rem;
}

.no-results-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.no-results-suggestions li {
    padding: 0.35rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.no-results-suggestions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.no-results-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.search-pagination {
    display: flex;
    justify-content: center;
}

/* Responsive Search */
@media (max-width: 768px) {
    .search-modal-content {
        padding: 1.5rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .search-submit {
        justify-content: center;
    }
    
    .search-result-link {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-result-thumbnail {
        width: 100%;
        height: 180px;
    }
    
    .hero-search-form {
        flex-direction: column;
    }
}

/* ==========================================================================
   Blog Archive
   ========================================================================== */

/* Articles Hero */
.articles-hero {
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.3) 0%, transparent 100%);
}

.articles-hero .hero-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Categories Navigation */
.categories-nav {
    background: var(--glass-bg);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 80px;
    z-index: 90;
}

.categories-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-pill:hover {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

.category-pill.active {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

.category-pill.category-featured {
    background: transparent !important;
    color: var(--accent-gold) !important;
    border: 2px solid var(--accent-gold) !important;
    font-weight: 600;
}

.category-pill.category-featured:hover {
    background: var(--accent-gold) !important;
    color: var(--primary-dark) !important;
    border-color: var(--accent-gold) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 190, 0, 0.3);
}

.category-pill.category-featured.active {
    background: var(--accent-gold) !important;
    color: var(--primary-dark) !important;
    border-color: var(--accent-gold) !important;
}

.category-pill.category-featured .category-count {
    background: rgba(251, 190, 0, 0.2);
}

.category-pill.category-featured:hover .category-count,
.category-pill.category-featured.active .category-count {
    background: rgba(30, 58, 95, 0.2);
}

.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 0.4rem;
    background: rgba(0,0,0,0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.category-pill.active .category-count,
.category-pill:hover .category-count {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .categories-nav {
        padding: 1rem 0;
    }
    
    .categories-wrapper {
        gap: 0.5rem;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-pill {
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 0.4rem 0.85rem;
    }
}

.blog-section {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: rgba(30, 58, 95, 0.3);
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.05);
}

.blog-thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-category {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.blog-card:hover .blog-read-more {
    gap: 0.75rem;
}

.blog-pagination {
    display: flex;
    justify-content: center;
}

.blog-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.blog-pagination a,
.blog-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.blog-pagination a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

.blog-pagination .current {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Single Post
   ========================================================================== */
.single-post {
    padding-bottom: 4rem;
}

.post-header {
    padding: 140px 5% 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.3) 0%, transparent 100%);
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.post-date,
.post-reading-time {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-category a {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
}

.post-category a:hover {
    background: #ffd56b;
}

.post-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.post-featured-image {
    margin-bottom: 3rem;
}

.post-featured-image img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 5%;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-white);
}

.post-body h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-white);
}

.post-body h3 {
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
    color: var(--text-white);
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body ul,
.post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-body blockquote {
    border-left: 4px solid var(--accent-gold);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--glass-bg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--text-muted);
}

.post-body a {
    color: var(--accent-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-body a:hover {
    color: #ffd56b;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.post-body code {
    background: var(--glass-bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9em;
}

.post-body pre {
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-body pre code {
    background: none;
    padding: 0;
}

/* Article CTA */
.article-cta {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(251, 190, 0, 0.1) 0%, rgba(251, 190, 0, 0.05) 100%);
    border: 1px solid rgba(251, 190, 0, 0.3);
    border-radius: var(--radius-lg);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
}

.article-cta-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

.article-cta-content {
    flex: 1;
}

.article-cta-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.article-cta-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.article-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-cta-btn svg {
    transition: transform 0.3s ease;
}

.article-cta-btn:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .article-cta {
        flex-direction: column;
        padding: 1.5rem;
        text-align: center;
    }
    
    .article-cta-icon {
        margin: 0 auto;
    }
    
    .article-cta-title {
        font-size: 1.1rem;
    }
    
    .article-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Post Tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.tags-label {
    font-weight: 600;
    color: var(--text-muted);
}

.post-tags a {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
}

.post-tags a:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* Share Buttons */
.post-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.share-label {
    font-weight: 600;
    color: var(--text-muted);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-white);
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.share-twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.share-email:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* Author Box */
.post-author-box {
    margin-top: 3rem;
}

.author-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-name {
    font-size: 1.25rem;
    margin: 0.25rem 0 0.5rem;
}

.author-bio {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Post Navigation */
.post-navigation {
    margin-top: 4rem;
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.post-navigation .nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-prev,
.nav-next {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.nav-prev:hover,
.nav-next:hover {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
}

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

.nav-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-next .nav-label {
    justify-content: flex-end;
}

.nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Blog Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-excerpt {
        font-size: 1.1rem;
    }
    
    .post-body {
        font-size: 1rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .post-navigation .nav-links {
        grid-template-columns: 1fr;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .nav-next .nav-label {
        justify-content: flex-start;
    }
}

/* ==========================================================================
   Solution Page
   ========================================================================== */

.solution-hero {
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.4) 0%, transparent 100%);
}

.solution-hero .hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), #ffd56b);
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

/* Pillars Overview Grid */
.pillars-overview {
    padding: 4rem 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.pillars-grid > * {
    display: flex;
}

.pillars-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.pillar-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Hide badge ribbon on pillar cards (top tiles) */
.pillar-card .pillar-badge {
    display: none;
}

.pillar-badge {
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--pillar-color, var(--accent-gold));
    color: var(--primary-dark);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 35px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pillar-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: var(--pillar-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    background: rgba(245, 166, 35, 0.15);
    transform: scale(1.1);
}

.pillar-icon img {
    width: 50px;
    height: 50px;
}

.pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.pillar-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.pillar-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-top: auto;
    font-size: 0.8rem;
    color: var(--pillar-color, var(--accent-gold));
    font-weight: 600;
}

/* Pillar Sections */
.pillar-section {
    padding: 5rem 0;
    border-top: 1px solid var(--glass-border);
}

.pillar-section:nth-child(odd) {
    background: rgba(30, 58, 95, 0.15);
}

/* NEW: Solution Pillar Layout - Side by side content + screenshot */
.solution-pillar-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 0;
}

.solution-pillar-layout-reverse {
    direction: rtl;
    grid-template-columns: 1fr 1fr;
}

.solution-pillar-layout-reverse > * {
    direction: ltr;
}

.solution-pillar-layout .pillar-content,
.solution-pillar-layout-reverse .pillar-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
}

/* Screenshot */
.solution-pillar-layout .pillar-screenshot,
.solution-pillar-layout-reverse .pillar-screenshot {
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
}

.solution-pillar-layout .pillar-screenshot:hover,
.solution-pillar-layout-reverse .pillar-screenshot:hover {
    transform: scale(1.02);
}

/* Icon + Title + Badge on same line - FULL WIDTH */
.pillar-top-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    width: 100%;
}

.pillar-top-row .pillar-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-top-row .pillar-header-icon img {
    width: 24px;
    height: 24px;
    filter: none;
}

.pillar-top-row .pillar-title-large,
.pillar-top-row h2.pillar-title-large {
    font-family: var(--font-heading);
    font-size: 2rem !important;
    font-weight: 700;
    margin: 0 !important;
    margin-bottom: 0 !important;
    line-height: 1.2;
    color: var(--text-white);
    flex-shrink: 0;
}

.pillar-top-row .pillar-category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    margin-left: auto !important;
    flex-shrink: 0;
}

/* Legacy styles for pillar-content (when inside grid) */
.pillar-content .pillar-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-content .pillar-header-icon img {
    width: 24px;
    height: 24px;
    filter: none;
}

.pillar-category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    margin-left: auto;
    flex-shrink: 0;
}

.pillar-title-large {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    color: var(--text-white);
}

.pillar-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.pillar-features-list {
    list-style: none;
    margin: 0 0 14px 0;
    padding: 0;
}

.pillar-features-list li {
    padding: 3px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

.pillar-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--pillar-color);
    font-size: 0.8rem;
}

.btn-discover {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: white !important;
    width: fit-content;
}

.btn-discover:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
    text-decoration: none !important;
}

/* Hide arrow in discover buttons */
.btn-discover svg {
    display: none;
}

.screenshot-wrapper {
    position: relative;
    background: var(--glass-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 
        0 15px 30px -10px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.screenshot-header {
    background: var(--primary-darker);
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.screenshot-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

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

.screenshot-title {
    margin-left: 6px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.screenshot-image-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    background: var(--primary-darker);
}

.screenshot-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.screenshot-placeholder {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-darker) 0%, var(--glass-bg) 100%);
    color: var(--text-muted);
    font-size: 0.75rem;
}

.coming-soon-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(245, 185, 66, 0.4);
}

/* Catalog section below pillars */
.pillar-catalog {
    margin-top: 1.5rem;
    padding-top: 0;
}

.catalog-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: left;
}

/* Legacy pillar header (keeping for compatibility) */
.pillar-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.pillar-header-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--pillar-color), rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-header-icon img {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.pillar-header-content {
    flex: 1;
    min-width: 300px;
}

.pillar-header .section-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.pillar-header .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
}

.pillar-header .btn-outline {
    border-color: var(--pillar-color);
    color: var(--pillar-color);
    flex-shrink: 0;
}

.pillar-header .btn-outline:hover {
    background: var(--pillar-color);
    color: var(--primary-dark);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--pillar-color, var(--accent-gold));
    transform: translateX(5px);
}

.category-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 8px;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-content {
    flex: 1;
    min-width: 0;
}

.category-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.category-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--pillar-color, var(--accent-gold));
}

/* Coming Soon Cards */
.category-card.coming-soon {
    cursor: default;
    opacity: 0.7;
}

.category-card.coming-soon:hover {
    transform: none;
    border-color: var(--glass-border);
    background: var(--glass-bg);
}

.soon-badge {
    display: inline-block;
    background: var(--pillar-color, #e74c3c);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.title-badge {
    display: inline-block;
    background: var(--pillar-color, #e74c3c);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-left: 12px;
    vertical-align: middle;
}

/* N4V Intelligence Feature Cards */
.intelligence-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.intelligence-feature-card {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.intelligence-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(231, 76, 60, 0.5);
    box-shadow: 0 10px 40px rgba(231, 76, 60, 0.15);
}

.intelligence-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(231, 76, 60, 0.15);
    border-radius: 50%;
}

.intelligence-feature-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.intelligence-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.intelligence-feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 992px) {
    .intelligence-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .intelligence-feature-card {
        padding: 1.5rem;
    }
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8), rgba(10, 22, 40, 0.9));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), #4a90d9, #27ae60, #9b59b6);
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Solution Page Responsive */
@media (max-width: 1400px) {
    .pillars-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pillars-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .solution-pillar-layout,
    .solution-pillar-layout-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .solution-pillar-layout-reverse {
        direction: ltr;
    }
    
    .pillar-title-large {
        font-size: 1.75rem;
    }
    
    .solution-pillar-layout .pillar-screenshot,
    .solution-pillar-layout-reverse .pillar-screenshot {
        order: 2;
    }
    
    .solution-pillar-layout .pillar-content,
    .solution-pillar-layout-reverse .pillar-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .pillars-grid,
    .pillars-grid-5 {
        grid-template-columns: 1fr;
    }
    
    .solution-pillar-layout,
    .solution-pillar-layout-reverse {
        gap: 25px;
    }
    
    .pillar-header {
        flex-direction: column;
        text-align: center;
    }
    
    .pillar-header-content {
        min-width: 100%;
    }
    
    .pillar-header .section-title {
        font-size: 1.75rem;
    }
    
    .pillar-top-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pillar-top-row .pillar-title-large {
        font-size: 1.5rem;
    }
    
    .pillar-features-list {
        text-align: left;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .title-badge {
        display: block;
        margin: 10px auto 0;
        width: fit-content;
    }
    
    .coming-soon-badge {
        top: -4px;
        right: 10px;
        font-size: 0.55rem;
        padding: 2px 6px;
    }
    
    .catalog-title {
        font-size: 1rem;
    }
}

/* ==========================================================================
   About Us Page
   ========================================================================== */

.about-hero {
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.4) 0%, transparent 100%);
}

/* Mission Section */
.mission-section {
    padding: 5rem 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-content .section-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mission-content .section-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.mission-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.stat-card .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Story / Timeline Section */
.story-section {
    padding: 5rem 0;
    background: rgba(30, 58, 95, 0.15);
}

.story-header {
    text-align: center;
    margin-bottom: 4rem;
}

.story-header .section-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 94px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-gold), var(--primary-blue));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.timeline-marker {
    width: 100px;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-align: right;
    padding-right: 1.5rem;
    position: relative;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent-gold);
    border-radius: 50%;
    border: 3px solid var(--primary-dark);
}

.timeline-content {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Team Section */
.team-section {
    padding: 5rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.team-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.team-role {
    display: block;
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.team-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition);
}

.team-social:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

/* Why Section */
.why-section {
    padding: 5rem 0;
    background: rgba(30, 58, 95, 0.15);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-white);
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Partner Section */
.partner-section {
    padding: 5rem 0;
}

.partner-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.6), rgba(10, 22, 40, 0.8));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem 4rem;
}

.partner-content {
    flex: 1;
}

.partner-content .section-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent-gold);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.partner-content .section-title {
    margin-bottom: 1rem;
}

.partner-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.partner-badge {
    flex-shrink: 0;
}

.sap-partner-img {
    max-width: 200px;
    height: auto;
    display: block;
}

.sap-badge {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #0077b6, #005a8c);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 119, 182, 0.3);
}

.sap-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.sap-subtext {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Locations Section */
.locations-section {
    padding: 5rem 0;
    background: rgba(30, 58, 95, 0.15);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.location-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
}

.location-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.location-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.location-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.location-address {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.location-label {
    display: inline-block;
    background: rgba(245, 166, 35, 0.15);
    color: var(--accent-gold);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* About Page Responsive */
@media (max-width: 992px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-box {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mission-stats {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 54px;
    }
    
    .timeline-marker {
        width: 60px;
        font-size: 0.95rem;
        padding-right: 1rem;
    }
    
    .timeline-marker::after {
        right: 0;
        width: 10px;
        height: 10px;
    }
    
    .timeline-content {
        padding: 1.25rem;
    }
    
    .sap-partner-img {
        max-width: 150px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Pillar Page (SEO/FAQ)
   ========================================================================== */

.pillar-page {
    background: var(--primary-darker);
}

/* Hero */
.pillar-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.pillar-hero-content {
    max-width: 800px;
}

.pillar-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), #e8960a);
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.pillar-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.pillar-excerpt {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pillar-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pillar-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pillar-meta svg {
    stroke: var(--accent-gold);
}

/* Table of Contents */
.pillar-toc-section {
    padding: 0.75rem 5%;
    background: rgba(30, 58, 95, 0.5);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 80px;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* État minimisé - seulement la première ligne visible */
.pillar-toc-section.minimized .toc-nav {
    max-height: 36px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.pillar-toc-section.minimized::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    color: var(--accent-gold);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Au hover - menu s'étend */
.pillar-toc-section.minimized:hover .toc-nav {
    max-height: 500px;
}

.pillar-toc-section.minimized:hover::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 0.5;
}

/* Mobile: expanded state via tap */
.pillar-toc-section.minimized.expanded .toc-nav {
    max-height: 500px;
}

.pillar-toc-section.minimized.expanded::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 0.5;
}

/* Cacher le bouton toggle - plus nécessaire avec le hover */
.pillar-toc-toggle {
    display: none;
}

.pillar-toc {
    max-width: 100%;
}

.toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.toc-title svg {
    stroke: var(--accent-gold);
    width: 16px;
    height: 16px;
}

.toc-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.toc-nav a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition);
}

.toc-nav a:hover,
.toc-nav a.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* Content Layout */
.pillar-content-section {
    padding: 60px 0;
}

.pillar-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.pillar-main {
    min-width: 0;
}

/* Content Styling */
.pillar-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 2rem;
}

.pillar-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 2.5rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.pillar-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.pillar-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-white);
    margin: 2rem 0 0.75rem;
}

.pillar-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.pillar-content ul,
.pillar-content ol {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.pillar-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.pillar-content strong {
    color: var(--text-white);
}

.pillar-content a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.pillar-content a:hover {
    color: #ffc107;
}

.pillar-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.pillar-content th,
.pillar-content td {
    padding: 12px 15px;
    border: 1px solid var(--glass-border);
    text-align: left;
}

.pillar-content th {
    background: var(--primary-dark);
    color: var(--text-white);
    font-weight: 600;
}

.pillar-content td {
    color: var(--text-muted);
}

.pillar-content tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02);
}

/* FAQ Section */
.pillar-faq {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin-bottom: 2rem;
}

.faq-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2rem;
}

.faq-title svg {
    stroke: var(--accent-gold);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--primary-dark);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-gold);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-icon {
    flex-shrink: 0;
    stroke: var(--text-muted);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    stroke: var(--accent-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer > div {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA Section */
.pillar-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-gold-dark) 100%);
    border: 1px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    overflow: visible;
}

.pillar-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.pillar-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pillar-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible;
}

/* Dropdown ouvrant vers le haut dans pillar-cta */
.pillar-cta-buttons .demo-dropdown .demo-dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 10px;
    transform: translateY(-10px);
}

.pillar-cta-buttons .demo-dropdown:hover .demo-dropdown-menu {
    transform: translateY(0);
}

/* Sidebar */
.pillar-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 160px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-widget {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.widget-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--glass-border);
}

.related-list,
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li,
.quick-links li {
    margin-bottom: 0.75rem;
}

.related-list a,
.quick-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.related-list a:hover,
.quick-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.sidebar-newsletter {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(245, 166, 35, 0.1) 100%);
    border-color: var(--accent-gold);
}

.sidebar-newsletter p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.sidebar-newsletter .btn {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .pillar-layout {
        grid-template-columns: 1fr;
    }
    
    .pillar-sidebar {
        order: -1;
    }
    
    .sidebar-sticky {
        position: relative;
        top: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar-widget {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .pillar-hero {
        padding: 120px 0 60px;
    }
    
    .pillar-title {
        font-size: 2rem;
    }
    
    .pillar-excerpt {
        font-size: 1.1rem;
    }
    
    .pillar-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pillar-toc-section {
        position: sticky;
        top: 70px;
        padding: 0.5rem 3%;
    }
    
    .pillar-toc-section.minimized .toc-nav {
        max-height: 32px;
    }
    
    .toc-nav {
        gap: 0.4rem;
    }
    
    .toc-nav a {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .pillar-content,
    .pillar-faq,
    .pillar-cta {
        padding: 2rem;
    }
    
    .pillar-content h2 {
        font-size: 1.5rem;
    }
    
    .sidebar-sticky {
        flex-direction: column;
    }
    
    .sidebar-widget {
        min-width: 100%;
    }
}
/* ==========================================================================
   USE CASES STYLES
   À ajouter à la fin de style.css
   ========================================================================== */

/* Quick Navigation Bar */
.usecase-quick-nav {
    background: rgba(30, 58, 95, 0.5);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 5%;
    position: sticky;
    top: 60px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.quick-nav-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: block;
}

.quick-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.quick-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.quick-nav-link:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.quick-nav-icon {
    font-size: 1rem;
}

/* Use Cases Grid */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.usecases-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

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

/* Use Case Card */
.usecase-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.usecase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.usecase-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: var(--shadow-lg);
}

.usecase-card:hover::before {
    transform: scaleX(1);
}

.usecase-card-logo {
    height: 36px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.usecase-card-logo img {
    height: 100%;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.usecase-card-logo .logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
}

.usecase-card-industry {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.usecase-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.usecase-card-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.usecase-card-link {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.usecase-card:hover .usecase-card-link {
    gap: 0.75rem;
}

/* Use Case Detail (Archive) */
.usecase-detail {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: 3rem;
    overflow: hidden;
    scroll-margin-top: 140px;
    backdrop-filter: blur(10px);
}

.usecase-detail-header {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.9), rgba(30, 58, 95, 0.8));
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.usecase-detail-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.usecase-detail-logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.usecase-detail-logo img {
    height: 100%;
    width: auto;
    filter: brightness(0) invert(1);
}

.usecase-detail-logo .logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-white);
}

.usecase-detail-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.meta-tag svg {
    opacity: 0.7;
}

.meta-industry {
    background: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
}

.usecase-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.usecase-detail-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0;
}

.usecase-detail-content {
    display: block !important;
    padding: 2rem;
}

.usecase-detail-text {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
}

.usecase-detail-image {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.usecase-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.usecase-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 1.5rem 0 0.75rem;
}

.usecase-section:first-child h3 {
    margin-top: 0;
}

.usecase-section p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.usecase-section ul {
    list-style: none;
    padding: 0;
}

.usecase-section li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.usecase-section li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
}

.usecase-detail-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

.usecase-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.usecase-detail-image:hover img {
    transform: scale(1.02);
}

/* Results Box */
.usecase-results,
.usecase-results-box {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1), rgba(255, 213, 107, 0.05));
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.usecase-results h4,
.usecase-results-box h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.results-grid-large {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .result-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-align: left;
    }
}

.result-item {
    text-align: center;
}

.result-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-white);
    display: block;
    line-height: 1.2;
}

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

.usecase-detail-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

/* Single Use Case Page */
.usecase-hero-header {
    padding: 120px 0 60px;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--accent-gold);
}

.usecase-hero-logo {
    margin-bottom: 1.5rem;
}

.usecase-hero-logo img {
    height: 50px;
    width: auto;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.usecase-hero-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.usecase-hero-meta {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-tag-industry {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
}

.usecase-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.usecase-hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Image */
.usecase-featured-image {
    margin-bottom: 4rem;
}

.featured-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--glass-border);
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Use Case Body Layout */
.usecase-body {
    padding-bottom: 4rem;
}

/* Full width layout (no sidebar) */
.usecase-main-full {
    width: 100%;
}

.usecase-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 2.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.usecase-section:first-child h2 {
    margin-top: 0;
}

.usecase-list {
    list-style: none;
    padding: 0;
}

.usecase-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-muted);
}

.usecase-list li:last-child {
    border-bottom: none;
}

.usecase-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 600;
}

.usecase-paragraph {
    color: var(--text-muted);
    line-height: 1.8;
}

.usecase-paragraph p {
    margin-bottom: 1rem;
}

/* Section Image */
.usecase-section-image {
    margin-top: 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.usecase-section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Company Box (replaced sidebar) */
.usecase-company-box {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.company-box-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.company-box-logo {
    max-width: 80px;
    max-height: 50px;
    object-fit: contain;
    background: white;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

.company-box-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.company-box-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
}

.company-box-industry {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 640px) {
    .usecase-company-box {
        flex-direction: column;
        text-align: center;
    }
    
    .company-box-inner {
        flex-direction: column;
    }
}

/* Legacy sidebar styles (kept for other templates) */
.usecase-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

@media (max-width: 1024px) {
    .usecase-layout {
        grid-template-columns: 1fr;
    }
    
    .usecase-sidebar {
        order: -1;
    }
}

.usecase-main {
    min-width: 0;
}

/* Sidebar */
.usecase-sidebar {
    min-width: 0;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.company-info {
    text-align: center;
}

.company-logo {
    max-width: 120px;
    margin: 0 auto 0.75rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.company-name {
    display: block;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

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

.products-list {
    list-style: none;
    padding: 0;
}

.products-list li {
    border-bottom: 1px solid var(--glass-border);
}

.products-list li:last-child {
    border-bottom: none;
}

.products-list a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-muted);
    transition: var(--transition);
}

.products-list a:hover {
    color: var(--accent-gold);
    padding-left: 0.5rem;
}

.sidebar-cta {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(255, 213, 107, 0.05));
    border-color: rgba(245, 166, 35, 0.3);
}

.sidebar-cta p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Footer Share & Navigation */
.usecase-footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
}

.usecase-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

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

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-dark);
}

.usecase-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.usecase-navigation a {
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
    max-width: 45%;
}

.usecase-navigation a:hover {
    border-color: var(--accent-gold);
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
    margin-left: auto;
}

.nav-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.nav-next .nav-label {
    justify-content: flex-end;
}

.nav-company {
    display: block;
    font-weight: 600;
    color: var(--text-white);
}

/* CTA Section */
.usecase-cta {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(30, 58, 95, 0.5));
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: var(--radius-lg);
    padding: 4rem;
    text-align: center;
}

.cta-box h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Related Use Cases */
.related-usecases {
    background: rgba(30, 58, 95, 0.2);
    border-top: 1px solid var(--glass-border);
}
/* ==========================================================================
   FAQ STYLES
   À ajouter à la fin de style.css
   ========================================================================== */

/* FAQ Navigation */
.faq-nav-section {
    background: rgba(30, 58, 95, 0.5);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 5%;
    position: sticky;
    top: 80px;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* État minimisé - seulement la première ligne visible */
.faq-nav-section.minimized .faq-nav {
    max-height: 42px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-nav-section.minimized::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    color: var(--accent-gold);
    opacity: 0.8;
    transition: all 0.3s ease;
}

/* Au hover - menu s'étend */
.faq-nav-section.minimized:hover .faq-nav {
    max-height: 500px;
}

.faq-nav-section.minimized:hover::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 0.5;
}

/* Mobile: expanded state via tap */
.faq-nav-section.minimized.expanded .faq-nav {
    max-height: 500px;
}

.faq-nav-section.minimized.expanded::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 0.5;
}

/* Cacher le bouton toggle - plus nécessaire avec le hover */
.faq-nav-toggle {
    display: none;
}

.faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.faq-nav-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
}

.faq-nav-item:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-color: var(--accent-gold);
}

.faq-nav-icon {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-nav-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.faq-nav-label {
    display: none;
}

.faq-nav-count {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.1rem 0.4rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .faq-nav-label {
        display: inline;
    }
}

.faq-nav-item:hover .faq-nav-count {
    background: rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.faq-section {
    padding-top: 3rem;
}

/* FAQ Category */
.faq-category {
    margin-bottom: 3rem;
    scroll-margin-top: 140px;
}

.faq-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.faq-category-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.faq-category-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.faq-category-icon-emoji {
    line-height: 1;
}

.faq-category-icon-img {
    display: block;
}

.faq-category-info {
    flex: 1;
}

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.faq-category-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.faq-category-count {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* FAQ List */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* FAQ Item */
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(245, 166, 35, 0.3);
}

/* FAQ Question (Button) */
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-question span {
    flex: 1;
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

/* FAQ Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer-content p {
    margin-bottom: 0.75rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
    list-style: disc;
}

.faq-answer-content a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.faq-answer-content a:hover {
    color: var(--accent-gold-light);
}

.faq-answer-content strong {
    color: var(--text-white);
}

/* FAQ CTA */
.faq-cta {
    padding: 60px 0;
    background: rgba(30, 58, 95, 0.2);
    border-top: 1px solid var(--glass-border);
}

.faq-cta .cta-box {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15), rgba(30, 58, 95, 0.5));
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}

.faq-cta .cta-box h2 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.faq-cta .cta-box p {
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.faq-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Adjustments */
@media (max-width: 640px) {
    .faq-nav-section {
        padding: 0.5rem 3%;
        top: 70px;
    }
    
    .faq-nav-section.minimized .faq-nav {
        max-height: 38px;
    }
    
    .faq-nav {
        gap: 0.4rem;
    }
    
    .faq-nav-item {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .faq-category-header {
        flex-wrap: wrap;
    }
    
    .faq-category-icon {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    
    .faq-category-title {
        font-size: 1.25rem;
    }
    
    .faq-category-count {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer-content {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .faq-cta .cta-box {
        padding: 2rem 1.5rem;
    }
}

/* Search Box (optional enhancement) */
.faq-search {
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: 1rem;
    transition: var(--transition);
}

.faq-search input:focus {
    outline: none;
    border-color: var(--accent-gold);
}

.faq-search input::placeholder {
    color: var(--text-muted);
}

.faq-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Highlight for active category */
.faq-category.active .faq-category-header {
    border-color: var(--accent-gold);
}

/* Animation */
.faq-item {
    animation: fadeInUp 0.3s ease forwards;
    opacity: 0;
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(n+6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.cookie-consent.active {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
}

.cookie-consent-text strong {
    color: var(--text-white);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-consent-text p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-contact-btn {
    position: absolute;
    bottom: 100%;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gold);
    color: #1e3a5f;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.3);
    transition: var(--transition);
}

.cookie-contact-btn svg {
    flex-shrink: 0;
    stroke: #1e3a5f;
    transition: var(--transition);
}

.cookie-contact-btn:hover {
    background: var(--primary-dark);
    color: #f5a623 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.cookie-contact-btn:hover svg {
    stroke: #f5a623;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

/* Mobile */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-contact-btn {
        position: static;
        margin-top: 1rem;
        justify-content: center;
    }
}

/* ==========================================================================
   LEGAL PAGES (Privacy Policy, Cookie Policy)
   ========================================================================== */

.legal-hero {
    padding: 6rem 0 3rem;
}

.legal-content {
    padding-top: 2rem;
}

.legal-document {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.legal-document h2 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document h3 {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-document p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-document ul {
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-document li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-document address {
    font-style: normal;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    line-height: 1.8;
}

.legal-document a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

.legal-document a:hover {
    text-decoration: underline;
}

.legal-document strong {
    color: var(--text-light);
}

.legal-document .cookie-notice {
    background: rgba(251, 190, 0, 0.1);
    border-left: 3px solid var(--accent-gold);
    padding: 0.75rem 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-document {
        padding: 1.5rem;
    }
    
    .legal-document h2 {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   RELEASE NOTES PAGE
   ========================================================================== */

.release-hero {
    padding: 6rem 0 3rem;
}

.release-section {
    padding-top: 2rem;
}

/* Year grouping */
.release-year {
    margin-bottom: 3rem;
}

.release-year-title {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-gold);
    display: inline-block;
}

/* Timeline */
.release-timeline {
    position: relative;
    padding-left: 2rem;
}

.release-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

/* Release Card */
.release-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.release-card::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 2rem;
    width: 12px;
    height: 12px;
    background: var(--accent-gold);
    border-radius: 50%;
    transform: translateX(-5px);
}

.release-card:hover {
    border-color: rgba(251, 190, 0, 0.3);
    transform: translateX(5px);
}

.release-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.release-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.release-version {
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.release-product {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.release-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.release-title {
    color: var(--text-white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Highlights */
.release-highlights {
    margin-bottom: 1rem;
}

.release-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.release-highlight-item svg {
    color: var(--accent-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Content */
.release-content {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.release-content p {
    margin-bottom: 0.75rem;
}

.release-content ul {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Actions */
.release-actions {
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.release-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* CTA */
.release-cta {
    background: var(--bg-dark);
    padding: 4rem 0;
}

.release-cta .cta-box {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.release-cta h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.release-cta p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* No releases */
.no-releases {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.no-releases p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .release-timeline {
        padding-left: 1.5rem;
    }
    
    .release-card::before {
        left: -1.5rem;
        width: 10px;
        height: 10px;
        transform: translateX(-4px);
    }
    
    .release-card-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .release-card {
        padding: 1.25rem;
    }
    
    .release-card:hover {
        transform: none;
    }
}

/* ==========================================================================
   TAWK.TO WIDGET POSITIONING
   ========================================================================== */

/* Remonter le widget Tawk.to pour éviter le chevauchement avec le bouton Contact */
#tawk-bubble-container,
.tawk-min-container {
    bottom: 80px !important;
}

@media (max-width: 768px) {
    #tawk-bubble-container,
    .tawk-min-container {
        bottom: 70px !important;
    }
}

/* ==========================================================================
   IMAGE LIGHTBOX
   ========================================================================== */

/* Clickable images */
.n4v-lightbox-trigger {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.n4v-lightbox-trigger:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.n4v-lightbox-trigger:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 4px;
}

/* Lightbox container */
.n4v-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.n4v-lightbox.active {
    opacity: 1;
    visibility: visible;
}

/* Overlay */
.n4v-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
}

/* Container */
.n4v-lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
}

/* Image */
.n4v-lightbox-image {
    max-width: 90%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.n4v-lightbox.active .n4v-lightbox-image {
    transform: scale(1);
    opacity: 1;
}

/* Caption */
.n4v-lightbox-caption {
    margin-top: 16px;
    padding: 8px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    max-width: 80%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

/* Close button */
.n4v-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
}

.n4v-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Navigation buttons */
.n4v-lightbox-prev,
.n4v-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    z-index: 10;
}

.n4v-lightbox-prev {
    left: 20px;
}

.n4v-lightbox-next {
    right: 20px;
}

.n4v-lightbox-prev:hover,
.n4v-lightbox-next:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .n4v-lightbox-container {
        padding: 50px 10px 30px;
    }
    
    .n4v-lightbox-image {
        max-width: 95%;
        max-height: calc(100vh - 120px);
    }
    
    .n4v-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .n4v-lightbox-prev,
    .n4v-lightbox-next {
        width: 40px;
        height: 40px;
    }
    
    .n4v-lightbox-prev {
        left: 10px;
    }
    
    .n4v-lightbox-next {
        right: 10px;
    }
    
    .n4v-lightbox-caption {
        font-size: 0.8rem;
        max-width: 95%;
    }
}
