/*
Theme Name: BeatMate Pro
Theme URI: https://beatmate.app
Author: Sébastien Sainte-Foi
Author URI: https://beatmate.app
Description: Thème WordPress professionnel pour BeatMate V11 DJ Software. Design dark glassmorphism avec accents bleu et violet.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beatmate-pro
Tags: dark, music, dj, one-page, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, woocommerce
*/

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
    --bg-primary: #0a0a14;
    --bg-secondary: #0f0f1e;
    --bg-tertiary: #141428;
    --bg-card: rgba(20, 20, 40, 0.6);
    --bg-glass: rgba(20, 20, 40, 0.4);
    --border-glass: rgba(59, 130, 246, 0.15);
    --border-hover: rgba(139, 92, 246, 0.3);
    --accent-blue: #3B82F6;
    --accent-blue-hover: #2563EB;
    --accent-blue-light: rgba(59, 130, 246, 0.15);
    --accent-violet: #8B5CF6;
    --accent-violet-hover: #7C3AED;
    --accent-violet-light: rgba(139, 92, 246, 0.15);
    --accent-gold: #F59E0B;
    --accent-gold-light: rgba(245, 158, 11, 0.15);
    --accent-green: #10B981;
    --accent-green-light: rgba(16, 185, 129, 0.15);
    --accent-red: #EF4444;
    --accent-red-light: rgba(239, 68, 68, 0.15);
    --accent-cyan: #06B6D4;
    --accent-cyan-light: rgba(6, 182, 212, 0.15);
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --gradient-blue-violet: linear-gradient(135deg, #3B82F6, #8B5CF6);
    --gradient-blue-violet-hover: linear-gradient(135deg, #2563EB, #7C3AED);
    --gradient-hero: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, rgba(10, 10, 20, 0) 60%);
    --gradient-card: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
    --shadow-glow-violet: 0 0 20px rgba(139, 92, 246, 0.3);
    --shadow-glow-gold: 0 0 20px rgba(245, 158, 11, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-overlay: 400;
    --z-modal: 500;
    --container-max: 1280px;
    --container-narrow: 960px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

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

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
    color: var(--accent-violet) !important;
    opacity: 1 !important;
}

/* Force hover color on ALL links, even with inline styles */
.feature-link:hover,
.tutorial-link:hover,
.blog-read-more:hover,
.feature-card a:hover,
.glass-card a:hover,
.doc-category-card a:hover,
.contact-info-item a:hover,
.legal-content a:hover,
.legal-toc a:hover,
.faq-cta-section a:hover,
.sitemap-category a:hover,
[style*="color"] a:hover,
a[style]:hover {
    color: var(--accent-violet) !important;
}

/* Buttons get brighter on hover */
.btn:hover {
    filter: brightness(1.1);
}

/* Glass cards get border glow on hover */
.glass-card:hover,
.feature-card:hover,
.pricing-card:hover,
.testimonial-card:hover {
    border-color: var(--accent-blue) !important;
}

/* Nav links underline effect */
.main-nav a:hover {
    color: var(--accent-blue) !important;
}

/* Footer social icons */
.footer-social a:hover {
    color: var(--accent-blue) !important;
    transform: translateY(-3px);
}

/* Any link inside a dark card */
[style*="background: var(--bg-card)"] a:hover,
[style*="background: var(--bg-tertiary)"] a:hover {
    color: var(--accent-blue) !important;
}

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

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

::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header .section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

.text-gradient {
    background: var(--gradient-blue-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none !important; }

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

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes waveform {
    0%, 100% { height: 20%; }
    25% { height: 60%; }
    50% { height: 100%; }
    75% { height: 40%; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-fade-in-down {
    animation: fadeInDown 0.5s ease forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease forwards;
    opacity: 0;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ==========================================================================
   GLASSMORPHISM COMPONENTS
   ========================================================================== */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-violet);
}

.glass-card-static {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--gradient-blue-violet);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--gradient-blue-violet-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow-blue);
}

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

.btn-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: var(--accent-blue-light);
    transform: translateY(-2px);
}

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

.btn-outline-blue:hover {
    background: var(--accent-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-blue);
}

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

.btn-outline-violet:hover {
    background: var(--accent-violet);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-violet);
}

.btn-gold {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #0a0a14;
    font-weight: 700;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: #0a0a14;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-gold);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   BADGES
   ========================================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.badge-premium {
    background: var(--accent-gold-light);
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-popular {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-new {
    background: var(--accent-green-light);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pro {
    background: var(--accent-violet-light);
    color: var(--accent-violet);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.badge-gold {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
    color: var(--accent-gold);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: var(--shadow-glow-gold);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(10, 10, 20, 0.95);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.site-logo:hover {
    color: var(--text-primary);
}

.site-logo img {
    height: 36px;
    width: auto;
}

.site-logo .logo-text {
    background: var(--gradient-blue-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo .logo-version {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent-violet);
    background: var(--accent-violet-light);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    margin-left: 0.25rem;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    position: relative;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.08);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-blue-violet);
    border-radius: 1px;
    transition: width var(--transition-fast);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: var(--z-overlay);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

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

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

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

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: var(--z-overlay);
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
}

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

.mobile-nav a {
    display: block;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--text-primary);
    background: var(--accent-blue-light);
}

.mobile-nav .btn {
    margin-top: 1rem;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
    background-size: 200% 200%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInDown 0.6s ease forwards;
}

.hero-badge .badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: 0.1s;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
    flex-wrap: wrap;
}

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

.hero-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-blue-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Waveform decoration */
.hero-waveform {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    opacity: 0.15;
    pointer-events: none;
}

.hero-waveform .bar {
    width: 3px;
    background: var(--gradient-blue-violet);
    border-radius: 2px;
    animation: waveform 1.5s ease-in-out infinite;
}

.hero-waveform .bar:nth-child(2n) { animation-delay: 0.2s; }
.hero-waveform .bar:nth-child(3n) { animation-delay: 0.4s; }
.hero-waveform .bar:nth-child(4n) { animation-delay: 0.6s; }
.hero-waveform .bar:nth-child(5n) { animation-delay: 0.8s; }

/* ==========================================================================
   FEATURE CARDS GRID
   ========================================================================== */
.features-section {
    background: var(--bg-secondary);
}

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

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-blue-violet);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-violet);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon.blue {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
}

.feature-icon.violet {
    background: var(--accent-violet-light);
    color: var(--accent-violet);
}

.feature-icon.green {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.feature-icon.gold {
    background: var(--accent-gold-light);
    color: var(--accent-gold);
}

.feature-icon.cyan {
    background: var(--accent-cyan-light);
    color: var(--accent-cyan);
}

.feature-icon.red {
    background: var(--accent-red-light);
    color: var(--accent-red);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

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

.feature-card .feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.feature-card .feature-link:hover {
    color: var(--accent-violet);
    gap: 0.5rem;
}

/* ==========================================================================
   PREMIUM SECTION (BeatMate Live / Studio)
   ========================================================================== */
.premium-section {
    position: relative;
    background: var(--bg-primary);
    overflow: hidden;
}

.premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.premium-card {
    background: var(--bg-card);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F59E0B, #D97706, #F59E0B);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.premium-card .premium-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.premium-card h3 {
    font-size: 1.6rem;
}

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

.premium-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.premium-feature-item:hover {
    background: rgba(245, 158, 11, 0.05);
}

.premium-feature-item .pf-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold-light);
    color: var(--accent-gold);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.premium-feature-item .pf-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.premium-feature-item .pf-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   HOT CUES SECTION
   ========================================================================== */
.hotcues-section {
    background: var(--bg-secondary);
}

.hotcues-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.hotcue-btn {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: #fff;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.hotcue-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px currentColor;
}

.hotcue-btn.cue-a { background: #EF4444; }
.hotcue-btn.cue-b { background: #F97316; }
.hotcue-btn.cue-c { background: #EAB308; }
.hotcue-btn.cue-d { background: #22C55E; }
.hotcue-btn.cue-e { background: #06B6D4; }
.hotcue-btn.cue-f { background: #3B82F6; }
.hotcue-btn.cue-g { background: #8B5CF6; }
.hotcue-btn.cue-h { background: #EC4899; }

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

/* ==========================================================================
   SECURITY SECTION
   ========================================================================== */
.security-section {
    background: var(--bg-primary);
    position: relative;
}

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

.security-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all var(--transition-normal);
}

.security-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.security-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-green-light);
    color: var(--accent-green);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.security-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.security-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-section {
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-normal);
}

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

.testimonial-card .quote-icon {
    font-size: 2rem;
    color: var(--accent-blue);
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-blue-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.testimonial-author .author-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
}

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

.testimonial-stars {
    display: flex;
    gap: 0.15rem;
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.06), transparent 70%);
    pointer-events: none;
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-blue-violet);
}

.cta-card h2 {
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding-top: 4rem;
}

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

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-brand .footer-logo .logo-text {
    background: var(--gradient-blue-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: var(--accent-blue-light);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--accent-blue) !important;
    padding-left: 4px;
}

.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.6rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--accent-blue);
}

.newsletter-form button {
    padding: 0.6rem 1.25rem;
    background: var(--gradient-blue-violet);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.newsletter-form button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

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

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

/* ==========================================================================
   PRICING PAGE
   ========================================================================== */
.pricing-section {
    padding-top: calc(72px + 4rem);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pricing-toggle span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-toggle span.active {
    color: var(--text-primary);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--accent-blue);
    border-radius: 50%;
    transition: transform var(--transition-fast);
}

.toggle-switch.annual::after {
    transform: translateX(28px);
}

.toggle-switch.annual {
    background: var(--accent-blue-light);
    border-color: var(--accent-blue);
}

.pricing-save-badge {
    background: var(--accent-green-light);
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    padding-top: 1.5rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    position: relative;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

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

.pricing-card.popular {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-glow-blue);
}

.pricing-card.popular:hover {
    transform: translateY(-6px);
}

.pricing-card.premium-tier {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: var(--shadow-glow-gold);
}

.pricing-card.premium-tier:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
}

.pricing-card .card-badge {
    text-align: center;
    margin: -2.5rem auto 1.5rem;
    white-space: nowrap;
    z-index: 10;
}

/* pricing-grid padding already set above */

.pricing-card .plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-card .plan-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 2.5em;
}

.pricing-card .plan-price {
    margin-bottom: 1.5rem;
}

.pricing-card .plan-price .price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.pricing-card .plan-price .price-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    vertical-align: super;
}

.pricing-card .plan-price .price-period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-card .plan-features {
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-card .plan-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-card .plan-features li .check {
    color: var(--accent-green);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card .plan-features li .cross {
    color: var(--text-muted);
    opacity: 0.4;
    flex-shrink: 0;
}

.pricing-card .plan-features li.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

.pricing-card .plan-btn {
    width: 100%;
    margin-top: auto;
}

/* Comparison Table */
.comparison-section {
    padding: 4rem 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table thead th {
    background: var(--bg-tertiary);
    padding: 1.25rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    border-bottom: 1px solid var(--border-glass);
}

.comparison-table thead th:first-child {
    text-align: left;
    min-width: 240px;
}

.comparison-table tbody td {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    border-bottom: 1px solid rgba(59, 130, 246, 0.06);
    background: var(--bg-card);
}

.comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table tbody tr:hover td {
    background: rgba(59, 130, 246, 0.04);
}

.comparison-table .check-mark {
    color: var(--accent-green);
    font-size: 1.1rem;
}

.comparison-table .cross-mark {
    color: var(--text-muted);
    opacity: 0.3;
    font-size: 1.1rem;
}

.comparison-table .popular-col {
    background: rgba(59, 130, 246, 0.05) !important;
}

.comparison-table .premium-col {
    background: rgba(245, 158, 11, 0.04) !important;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section {
    padding: 4rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

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

.faq-item.active {
    border-color: var(--accent-blue);
}

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

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

.faq-question .faq-arrow {
    transition: transform var(--transition-fast);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

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

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   FEATURES PAGE
   ========================================================================== */
.features-page-section {
    padding-top: calc(72px + 4rem);
}

.feature-detail {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.06);
}

.feature-detail:last-child {
    border-bottom: none;
}

.feature-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-detail:nth-child(even) .feature-detail-inner {
    direction: rtl;
}

.feature-detail:nth-child(even) .feature-detail-inner > * {
    direction: ltr;
}

.feature-detail-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.feature-detail-content .feature-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.feature-spec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
}

.feature-spec .spec-icon {
    color: var(--accent-green);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-detail-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.feature-detail-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-card);
    pointer-events: none;
}

.feature-visual-icon {
    font-size: 4rem;
    opacity: 0.5;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   DOWNLOAD PAGE
   ========================================================================== */
.download-section {
    padding-top: calc(72px + 4rem);
}

.download-hero {
    text-align: center;
    padding: 4rem 0;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.download-card .download-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.download-card .download-version {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.download-card .download-size {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.download-card .security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: var(--accent-green-light);
    color: var(--accent-green);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

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

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

.requirement-card .req-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.requirement-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.requirement-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.install-steps {
    max-width: 700px;
    margin: 3rem auto;
}

.install-step {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
}

.install-step::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: -2rem;
    width: 2px;
    background: var(--border-glass);
}

.install-step:last-child::before {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--gradient-blue-violet);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.changelog-section {
    padding: 3rem 0;
}

.changelog-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
}

.changelog-item .changelog-version {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.changelog-item .changelog-version strong {
    font-size: 1.05rem;
    color: var(--text-primary);
}

.changelog-item .changelog-version .changelog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.changelog-item ul {
    padding-left: 1.25rem;
}

.changelog-item ul li {
    list-style: disc;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

/* ==========================================================================
   CHECKOUT PAGE
   ========================================================================== */
.checkout-section {
    padding-top: calc(72px + 4rem);
    min-height: 80vh;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
}

.checkout-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.checkout-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: sticky;
    top: calc(72px + 2rem);
}

.checkout-summary h3 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

/* --------------------------------------------------------------------------
   Tunnel de commande : coordonnees a gauche, recapitulatif puis « Votre
   commande » et le bouton de validation a droite.
   -------------------------------------------------------------------------- */
.bm-checkout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
        "coordonnees recapitulatif"
        "coordonnees commande";
    gap: 1.5rem 2.5rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Les enfants du formulaire rejoignent la grille du parent : c'est ce qui
   permet d'intercaler le recapitulatif sans imbriquer deux <form>. */
.bm-checkout__form {
    display: contents;
}

.bm-checkout #customer_details {
    grid-area: coordonnees;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.bm-checkout__recap {
    grid-area: recapitulatif;
}

.bm-checkout__commande {
    grid-area: commande;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.bm-checkout__commande #order_review_heading {
    font-size: 1.05rem;
    margin: 0 0 1rem;
}

.bm-checkout__commande #place_order {
    width: 100%;
    font-size: 1.05rem;
    padding: 0.95rem 1rem;
}

/* Recapitulatif */
.bm-recap {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.bm-recap__titre {
    font-size: 1.05rem;
    margin: 0 0 1.25rem;
}

.bm-recap__article {
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.bm-recap__article-tete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.bm-recap__article-detail {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0.35rem 0 0;
}

.bm-recap__badge {
    padding: 0.15rem 0.5rem;
    background: var(--accent-gold-light, var(--accent-blue-light));
    color: var(--accent-gold, var(--accent-blue));
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

.bm-recap__lignes {
    border-top: 1px solid var(--border-glass);
    padding-top: 1rem;
}

.bm-recap__ligne {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.bm-recap__ligne.is-remise {
    color: var(--accent-green);
}

.bm-recap__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    border-top: 2px solid var(--border-glass);
    padding-top: 1rem;
    margin-top: 0.5rem;
    font-weight: 800;
}

.bm-recap__montant {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--accent-blue);
}

.bm-recap__mention {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    margin: 0.35rem 0 0;
}

/* Code promo */
.bm-promo {
    margin-bottom: 1.25rem;
}

.bm-promo__label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.bm-promo__ligne {
    display: flex;
    gap: 0.5rem;
}

.bm-promo__champ {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0.9rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.bm-promo__bouton {
    padding: 0.7rem 1.1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.bm-promo__message {
    font-size: 0.78rem;
    margin: 0.5rem 0 0;
}

.bm-promo__message.is-ok {
    color: var(--accent-green);
}

.bm-promo__message.is-ko {
    color: var(--accent-red);
}

.bm-promo__actif {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    margin: 0.5rem 0 0;
    color: var(--accent-green);
}

.bm-promo__actif button {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 900px) {
    .bm-checkout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "recapitulatif"
            "coordonnees"
            "commande";
    }
}

/* Sans display:contents, la grille ne peut pas separer les enfants du
   formulaire : on retombe alors sur une colonne unique, lisible. */
@supports not (display: contents) {
    .bm-checkout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "recapitulatif"
            "coordonnees"
            "commande";
    }
}

.ssl-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--accent-green-light);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

.ssl-badge span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-green);
}

/* ==========================================================================
   SINGLE POST / PAGE
   ========================================================================== */
.single-post-section,
.page-default-section {
    padding-top: calc(72px + 4rem);
    padding-bottom: 4rem;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.post-header h1 {
    margin-bottom: 1rem;
}

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

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

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

.post-content h2 {
    font-size: 1.6rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

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

.post-content ul li,
.post-content ol li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.post-content ol li {
    list-style: decimal;
}

.post-content blockquote {
    border-left: 3px solid var(--accent-blue);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg-card);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.post-content blockquote p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0;
}

.post-content img {
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.post-content pre {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.post-content code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--bg-tertiary);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    color: var(--accent-blue);
}

.post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.post-content a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-content a:hover {
    color: var(--accent-violet);
}

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

.post-content table th,
.post-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-glass);
    text-align: left;
}

.post-content table th {
    background: var(--bg-tertiary);
    font-weight: 700;
    color: var(--text-primary);
}

.post-content table td {
    color: var(--text-secondary);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    gap: 1rem;
}

.post-navigation a {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    max-width: 48%;
}

.post-navigation a:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.post-navigation a .nav-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.post-navigation a .nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Comments */
.comments-section {
    max-width: 800px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

.comments-section h3 {
    margin-bottom: 2rem;
}

.comment {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.comment-meta .comment-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.comment-meta .comment-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.comment-reply-link {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

/* Comment Form */
.comment-respond {
    margin-top: 2rem;
}

.comment-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-main);
    outline: none;
    transition: border-color var(--transition-fast);
    margin-bottom: 1rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--accent-blue);
}

.comment-form textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form .form-submit .submit {
    background: var(--gradient-blue-violet);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.comment-form .form-submit .submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ==========================================================================
   ARCHIVE PAGE
   ========================================================================== */
.archive-section {
    padding-top: calc(72px + 4rem);
    padding-bottom: 4rem;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-header h1 {
    margin-bottom: 0.5rem;
}

.archive-header p {
    font-size: 1rem;
}

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

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

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

.post-card-thumb {
    height: 200px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.post-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.post-card-content {
    padding: 1.5rem;
}

.post-card-content .post-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.post-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

.post-card-content h3 a:hover {
    color: var(--accent-blue);
}

.post-card-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-content .read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.post-card-content .read-more:hover {
    gap: 0.5rem;
    color: var(--accent-violet);
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.pagination a:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: var(--accent-blue-light);
}

.pagination .current {
    background: var(--gradient-blue-violet);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.error-404-section {
    padding-top: calc(72px + 4rem);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-404-content .error-code {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 900;
    background: var(--gradient-blue-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.error-404-content p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: calc(72px + 2rem);
}

.widget {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-glass);
}

.widget ul li {
    margin-bottom: 0.5rem;
}

.widget ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.35rem 0;
}

.widget ul li a:hover {
    color: var(--accent-blue);
}

.widget ul li a .count {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-full);
}

.widget .search-form {
    display: flex;
    gap: 0.5rem;
}

.widget .search-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
}

.widget .search-form input:focus {
    border-color: var(--accent-blue);
}

.widget .search-form button {
    padding: 0.6rem 1rem;
    background: var(--gradient-blue-violet);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
}

.widget .tagcloud a {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    font-size: 0.8rem !important;
    color: var(--text-secondary);
    margin: 0.2rem;
    transition: all var(--transition-fast);
}

.widget .tagcloud a:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: var(--accent-blue-light);
}

/* ==========================================================================
   WOOCOMMERCE OVERRIDES
   ========================================================================== */
.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.woocommerce ul.products li.product {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-normal);
    margin: 0;
    float: none;
    width: 100%;
}

.woocommerce ul.products li.product:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.woocommerce ul.products li.product a img {
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.05rem;
    color: var(--text-primary);
    padding: 0;
}

.woocommerce ul.products li.product .price {
    color: var(--accent-blue);
    font-size: 1.1rem;
    font-weight: 700;
}

.woocommerce ul.products li.product .price del {
    color: var(--text-muted);
    opacity: 0.5;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
    color: var(--accent-blue);
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .btn.button {
    background: var(--gradient-blue-violet) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-full) !important;
    padding: 0.75rem 1.75rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all var(--transition-fast) !important;
    line-height: 1.4 !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    opacity: 0.9 !important;
    transform: translateY(-2px) !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background: var(--gradient-blue-violet) !important;
}

.woocommerce .quantity .qty {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.5rem;
    width: 60px;
}

.woocommerce table.shop_table {
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.woocommerce table.shop_table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 700;
    padding: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.woocommerce table.shop_table td {
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.06);
}

.woocommerce-cart .cart-collaterals .cart_totals {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.woocommerce form .form-row label {
    color: var(--text-primary);
    font-weight: 600;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--accent-blue);
    outline: none;
}

.woocommerce-checkout #payment {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
}

.woocommerce-checkout #payment .payment_methods {
    border-bottom: 1px solid var(--border-glass);
    padding: 1rem;
}

.woocommerce-checkout #payment .payment_method label {
    color: var(--text-primary);
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
    background: var(--bg-card);
    border: 1px solid var(--accent-blue);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
}

.woocommerce .woocommerce-error {
    background: var(--bg-card);
    border: 1px solid var(--accent-red);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
}

.woocommerce .woocommerce-error li {
    color: var(--accent-red);
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--accent-blue-light);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--gradient-blue-violet);
    border-color: transparent;
    color: #fff;
}

.woocommerce .star-rating {
    color: var(--accent-gold);
}

.woocommerce .onsale {
    background: var(--gradient-blue-violet);
    color: #fff;
    border-radius: var(--radius-full);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    min-height: auto;
    line-height: 1.4;
}

/* WooCommerce My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

/* ==========================================================================
   FORMS (general)
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-family: var(--font-main);
    outline: none;
    transition: border-color var(--transition-fast);
    width: 100%;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-blue);
}

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

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

/* ==========================================================================
   FAQ PAGE (FULL)
   ========================================================================== */
.faq-page-section {
    padding-top: calc(72px + 4rem);
}

.faq-search-wrapper {
    max-width: 500px;
    margin: 0 auto 2rem;
    position: relative;
}

.faq-search-wrapper input {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.faq-search-wrapper input:focus {
    border-color: var(--accent-blue);
    outline: none;
}

.faq-search-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
}

.faq-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.faq-tab {
    padding: 0.5rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.faq-tab:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.faq-tab.active {
    background: var(--accent-blue-light);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.faq-category-group {
    margin-bottom: 2.5rem;
}

.faq-category-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-category-title svg {
    width: 20px;
    height: 20px;
}

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

.faq-cta-section {
    text-align: center;
    padding: 3rem 0;
    margin-top: 2rem;
    border-top: 1px solid var(--border-glass);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-section {
    padding-top: calc(72px + 4rem);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-card,
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

.contact-form .form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-form .form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

.contact-form .form-control:focus {
    border-color: var(--accent-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-form .form-control::placeholder {
    color: var(--text-muted);
}

.contact-form textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.contact-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.char-counter {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.consent-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent-blue);
    flex-shrink: 0;
}

.consent-group label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

.consent-group a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.06);
}

.contact-info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

.contact-info-item .info-icon {
    color: var(--accent-blue);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
}

.contact-info-item h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-info-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.contact-social-links a:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.contact-faq-cta {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    text-align: center;
}

.contact-faq-cta p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-faq-cta a {
    color: var(--accent-blue);
    font-weight: 600;
}

#contact-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   LEGAL PAGES (Mentions légales, Confidentialité, CGV)
   ========================================================================== */
.legal-section {
    padding-top: calc(72px + 4rem);
}

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

.legal-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.legal-content h3 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--accent-blue);
}

.legal-content h4 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.legal-content p,
.legal-content li {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.legal-content ul li {
    list-style: disc;
    margin-bottom: 0.4rem;
}

.legal-content ol li {
    margin-bottom: 0.4rem;
}

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

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.85rem;
}

.legal-content table th,
.legal-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-glass);
    text-align: left;
    color: var(--text-secondary);
}

.legal-content table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
}

.legal-toc {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.legal-toc h4 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.legal-toc ol {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.legal-toc li {
    padding: 0.2rem 0;
}

.legal-toc a {
    text-decoration: none;
    color: var(--text-secondary);
}

.legal-toc a:hover {
    color: var(--accent-blue);
}

/* ==========================================================================
   CHANGELOG PAGE (FULL)
   ========================================================================== */
.changelog-page-section {
    padding-top: calc(72px + 4rem);
}

.changelog-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.changelog-filter-btn {
    padding: 0.45rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.changelog-filter-btn:hover {
    border-color: var(--border-hover);
}

.changelog-filter-btn.active {
    background: var(--accent-blue-light);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.changelog-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

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

.changelog-timeline .changelog-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.changelog-timeline .changelog-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: 3px solid var(--bg-primary);
    transform: translateX(-5px);
    z-index: 1;
}

.changelog-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    margin-left: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changelog-tag-feature {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.changelog-tag-fix {
    background: var(--accent-red-light);
    color: var(--accent-red);
}

.changelog-tag-improvement {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
}

.changelog-tag-breaking {
    background: var(--accent-gold-light);
    color: var(--accent-gold);
}

/* ==========================================================================
   ROADMAP PAGE
   ========================================================================== */
.roadmap-section {
    padding-top: calc(72px + 4rem);
}

.roadmap-overview {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

.roadmap-overview-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.roadmap-overview-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--gradient-blue-violet);
    transition: width 1s ease;
}

.roadmap-phase {
    margin-bottom: 3.5rem;
}

.roadmap-phase-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.roadmap-phase-header h2 {
    font-size: 1.4rem;
    margin: 0;
}

.roadmap-phase-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roadmap-phase-badge.completed {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.roadmap-phase-badge.in-progress {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
}

.roadmap-phase-badge.planned {
    background: var(--accent-violet-light);
    color: var(--accent-violet);
}

.roadmap-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.roadmap-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    transition: border-color var(--transition-fast);
}

.roadmap-feature-card:hover {
    border-color: var(--border-hover);
}

.roadmap-feature-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.roadmap-feature-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.roadmap-feature-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.roadmap-feature-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.roadmap-feature-status .status-dot.done { background: var(--accent-green); }
.roadmap-feature-status .status-dot.wip { background: var(--accent-blue); }
.roadmap-feature-status .status-dot.todo { background: var(--text-muted); }

.roadmap-progress {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.roadmap-progress-bar {
    height: 100%;
    border-radius: 2px;
    background: var(--gradient-blue-violet);
}

/* ==========================================================================
   DOCUMENTATION PAGE
   ========================================================================== */
.documentation-section {
    padding-top: calc(72px + 4rem);
}

.doc-search {
    max-width: 500px;
    margin: 0 auto 3rem;
    position: relative;
}

.doc-search input {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.doc-search .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.doc-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.doc-category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition-fast);
}

.doc-category-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.doc-category-card .doc-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.doc-icon.blue { background: var(--accent-blue-light); color: var(--accent-blue); }
.doc-icon.violet { background: var(--accent-violet-light); color: var(--accent-violet); }
.doc-icon.green { background: var(--accent-green-light); color: var(--accent-green); }
.doc-icon.gold { background: var(--accent-gold-light); color: var(--accent-gold); }
.doc-icon.cyan { background: var(--accent-cyan-light); color: var(--accent-cyan); }
.doc-icon.red { background: var(--accent-red-light); color: var(--accent-red); }

.doc-category-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.doc-category-card .doc-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.doc-category-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-category-card ul li {
    font-size: 0.85rem;
    padding: 0.35rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.06);
}

.doc-category-card ul li:first-child {
    border-top: none;
}

.doc-category-card ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--transition-fast);
}

.doc-category-card ul li a:hover {
    color: var(--accent-blue);
}

.doc-category-card ul li a svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ==========================================================================
   TUTORIALS PAGE
   ========================================================================== */
.tutorials-section {
    padding-top: calc(72px + 4rem);
}

.tutorials-filters {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

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

.tutorial-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.tutorial-thumb {
    aspect-ratio: 16 / 9;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.tutorial-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
}

.tutorial-thumb .play-icon {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    transition: all var(--transition-fast);
}

.tutorial-card:hover .play-icon {
    background: rgba(59, 130, 246, 0.3);
    transform: scale(1.1);
}

.tutorial-content {
    padding: 1.25rem;
}

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

.tutorial-level {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tutorial-level.debutant { background: var(--accent-green-light); color: var(--accent-green); }
.tutorial-level.intermediaire { background: var(--accent-blue-light); color: var(--accent-blue); }
.tutorial-level.avance { background: var(--accent-violet-light); color: var(--accent-violet); }

.tutorial-content h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.tutorial-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.tutorial-content h3 a:hover {
    color: var(--accent-blue);
}

.tutorial-content .tutorial-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tutorial-content .tutorial-link {
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.tutorial-content .tutorial-link svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   BLOG PAGE
   ========================================================================== */
.blog-section {
    padding-top: calc(72px + 4rem);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}

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

.blog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.blog-thumb {
    aspect-ratio: 16 / 10;
    background: var(--bg-tertiary);
    overflow: hidden;
    position: relative;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    color: var(--text-muted);
}

.blog-content {
    padding: 1.25rem;
}

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

.blog-meta .blog-category {
    color: var(--accent-blue);
    font-weight: 600;
}

.blog-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: var(--accent-blue);
}

.blog-content .blog-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-content .blog-read-more {
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-content .blog-read-more svg {
    width: 16px;
    height: 16px;
}

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

.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

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

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--accent-blue-light);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.changelog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.changelog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.changelog-pagination .page-numbers:hover,
.changelog-pagination .page-numbers.current {
    background: var(--accent-blue-light);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.changelog-pagination .page-numbers.current {
    font-weight: 700;
}

.changelog-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
/* ==========================================================================
   CHAT WIDGET BUTTON
   ========================================================================== */
.chat-widget-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-blue-violet);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-blue);
    z-index: var(--z-fixed);
    transition: all var(--transition-fast);
    text-decoration: none;
}

.chat-widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-blue);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-blue-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-blue-violet);
    border-radius: 2px;
    animation: preloaderFill 1.5s ease-in-out forwards;
}

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

@keyframes preloaderFill {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs {
    padding: calc(72px + 1.5rem) 0 0;
    font-size: 0.8rem;
}

.breadcrumbs-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--accent-blue);
}

.breadcrumbs .separator {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.breadcrumbs .current {
    color: var(--accent-blue);
    font-weight: 500;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
    position: fixed;
    top: calc(72px + 1rem);
    right: 1.5rem;
    z-index: var(--z-modal);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: toastIn 0.3s ease forwards;
    font-size: 0.85rem;
}

.toast.removing {
    animation: toastOut 0.3s ease forwards;
}

.toast-success { border-left: 3px solid var(--accent-green); }
.toast-error { border-left: 3px solid var(--accent-red); }
.toast-info { border-left: 3px solid var(--accent-blue); }
.toast-warning { border-left: 3px solid var(--accent-gold); }

.toast-success .toast-icon { color: var(--accent-green); }
.toast-error .toast-icon { color: var(--accent-red); }
.toast-info .toast-icon { color: var(--accent-blue); }
.toast-warning .toast-icon { color: var(--accent-gold); }

.toast-message {
    flex: 1;
    color: var(--text-primary);
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--text-primary);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

/* ==========================================================================
   SKELETON LOADING SCREENS
   ========================================================================== */
.skeleton {
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border-radius: var(--radius-md);
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    animation: skeletonShimmer 1.5s infinite;
}

@keyframes skeletonShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.skeleton-text {
    height: 14px;
    border-radius: 4px;
    background: var(--bg-tertiary);
    margin-bottom: 0.5rem;
}

.skeleton-text.w-75 { width: 75%; }
.skeleton-text.w-50 { width: 50%; }
.skeleton-text.w-100 { width: 100%; }

.skeleton-title {
    height: 22px;
    width: 60%;
    border-radius: 4px;
    background: var(--bg-tertiary);
    margin-bottom: 1rem;
}

.skeleton-thumb {
    aspect-ratio: 16 / 9;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
}

.skeleton-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.skeleton-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    animation: skeletonShimmer 1.5s infinite;
}

/* ==========================================================================
   SEARCH OVERLAY
   ========================================================================== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.95);
    z-index: var(--z-modal);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-inner {
    width: 100%;
    max-width: 640px;
    padding: 0 1.5rem;
}

.search-overlay-inner h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.search-overlay-input {
    width: 100%;
    padding: 1.1rem 1.5rem 1.1rem 3.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border-glass);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: var(--font-main);
    transition: border-color var(--transition-fast);
}

.search-overlay-input:focus {
    border-color: var(--accent-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.search-overlay-input-wrapper {
    position: relative;
}

.search-overlay-input-wrapper .search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-overlay-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-fast);
}

.search-overlay-close:hover {
    color: var(--text-primary);
}

.search-overlay-results {
    margin-top: 1.5rem;
    max-height: 40vh;
    overflow-y: auto;
}

.search-overlay-results a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.search-overlay-results a:hover {
    background: var(--bg-tertiary);
    color: var(--accent-blue);
}

.search-overlay-hint {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.search-overlay-hint kbd {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ==========================================================================
   NEWSLETTER POPUP (EXIT-INTENT)
   ========================================================================== */
.newsletter-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.85);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.newsletter-popup-overlay.active {
    display: flex;
}

.newsletter-popup {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.newsletter-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
}

.newsletter-popup-close:hover {
    color: var(--text-primary);
}

.newsletter-popup h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.newsletter-popup .popup-offer {
    display: inline-block;
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-popup p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-popup .popup-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-popup .popup-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.newsletter-popup .popup-form input:focus {
    border-color: var(--accent-blue);
    outline: none;
}

.newsletter-popup .no-thanks {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: underline;
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-glass);
    padding: 1.25rem 2rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    z-index: var(--z-fixed);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-wrap: wrap;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.cookie-banner p a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-banner-actions .btn {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
}

.cookie-settings-panel {
    display: none;
    padding: 1rem 0 0;
    border-top: 1px solid var(--border-glass);
    margin-top: 1rem;
}

.cookie-settings-panel label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.cookie-settings-panel input[disabled] {
    opacity: 0.5;
}

/* ==========================================================================
   WOOCOMMERCE CHECKOUT DARK THEME OVERRIDE
   ========================================================================== */
.checkout-section .checkout-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.checkout-section .woocommerce {
    color: var(--text-primary) !important;
}

.checkout-section .woocommerce form.checkout {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-lg) !important;
    padding: 2rem !important;
}

.checkout-section .woocommerce h3,
.checkout-section .woocommerce h4 {
    color: var(--text-primary) !important;
    font-family: var(--font-main) !important;
}

.checkout-section .woocommerce label {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.checkout-section .woocommerce input[type="text"],
.checkout-section .woocommerce input[type="email"],
.checkout-section .woocommerce input[type="tel"],
.checkout-section .woocommerce input[type="password"],
.checkout-section .woocommerce input[type="number"],
.checkout-section .woocommerce textarea,
.checkout-section .woocommerce select,
.checkout-section .woocommerce .select2-container .select2-selection {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--text-primary) !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.95rem !important;
    font-family: var(--font-main) !important;
    height: auto !important;
}

.checkout-section .woocommerce input:focus,
.checkout-section .woocommerce textarea:focus,
.checkout-section .woocommerce select:focus {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

.checkout-section .woocommerce .select2-container--default .select2-selection--single {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-sm) !important;
    height: 48px !important;
}

.checkout-section .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-primary) !important;
    line-height: 48px !important;
    padding-left: 1rem !important;
}

.checkout-section .woocommerce .select2-dropdown {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-glass) !important;
}

.checkout-section .woocommerce .select2-results__option {
    color: var(--text-primary) !important;
    padding: 0.6rem 1rem !important;
}

.checkout-section .woocommerce .select2-results__option--highlighted {
    background: var(--accent-blue-light) !important;
    color: var(--accent-blue) !important;
}

.checkout-section .woocommerce .form-row {
    margin-bottom: 1rem !important;
}

.checkout-section .woocommerce p {
    color: var(--text-secondary) !important;
}

.checkout-section .woocommerce a {
    color: var(--accent-blue) !important;
}

/* Place order button - ULTRA VISIBLE */
.checkout-section .woocommerce #place_order,
.checkout-section .woocommerce button[type="submit"],
.checkout-section #beatmate-checkout-form button[type="submit"] {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6) !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    color: #FFFFFF !important;
    font-family: var(--font-main) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    padding: 1.1rem 2.5rem !important;
    width: 100% !important;
    height: auto !important;
    line-height: 1.4 !important;
    text-shadow: none !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 1.5rem !important;
    letter-spacing: 0.5px !important;
    text-transform: none !important;
    position: relative !important;
}

.checkout-section .woocommerce #place_order:hover,
.checkout-section .woocommerce button[type="submit"]:hover,
.checkout-section #beatmate-checkout-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #2563EB, #7C3AED) !important;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5) !important;
    transform: translateY(-2px) !important;
}

/* Change plan link - styled as button */
.checkout-section .change-plan-link {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--accent-blue-light);
    color: var(--accent-blue) !important;
    border: 1px solid var(--accent-blue);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.checkout-section .change-plan-link:hover {
    background: var(--accent-blue);
    color: #fff !important;
}

/* Order review table */
.checkout-section .woocommerce table.shop_table {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-md) !important;
    border-collapse: separate !important;
    overflow: hidden;
}

.checkout-section .woocommerce table.shop_table th,
.checkout-section .woocommerce table.shop_table td {
    border: none !important;
    border-bottom: 1px solid var(--border-glass) !important;
    color: var(--text-secondary) !important;
    padding: 0.8rem 1rem !important;
}

.checkout-section .woocommerce table.shop_table th {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}

.checkout-section .woocommerce .order-total th,
.checkout-section .woocommerce .order-total td {
    color: var(--accent-blue) !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
}

/* Payment methods */
.checkout-section .woocommerce .wc_payment_methods {
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: var(--radius-md) !important;
    padding: 1rem !important;
    list-style: none !important;
}

.checkout-section .woocommerce .wc_payment_method {
    padding: 0.75rem !important;
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0.5rem !important;
}

.checkout-section .woocommerce .wc_payment_method label {
    color: var(--text-primary) !important;
    cursor: pointer !important;
}

.checkout-section .woocommerce .payment_box {
    background: var(--bg-card) !important;
    color: var(--text-secondary) !important;
    border-radius: var(--radius-sm) !important;
    padding: 1rem !important;
}

.checkout-section .woocommerce .payment_box::before {
    border-bottom-color: var(--bg-card) !important;
}

/* Notices */
.checkout-section .woocommerce-info,
.checkout-section .woocommerce-message {
    background: var(--accent-blue-light) !important;
    border: 1px solid var(--accent-blue) !important;
    border-radius: var(--radius-sm) !important;
    color: var(--accent-blue) !important;
}

.checkout-section .woocommerce-error {
    background: var(--accent-red-light) !important;
    border: 1px solid var(--accent-red) !important;
    color: var(--accent-red) !important;
    border-radius: var(--radius-sm) !important;
    list-style: none !important;
    padding: 1rem !important;
}

/* Checkout summary sticky */
.checkout-summary-card {
    position: sticky;
    top: calc(72px + 2rem);
}

@media (max-width: 768px) {
    .checkout-section .checkout-wrapper {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */
@media (max-width: 1024px) {
    .features-grid,
    .hotcues-features,
    .testimonials-grid,
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .feature-detail-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-detail:nth-child(even) .feature-detail-inner {
        direction: ltr;
    }

    .premium-features-list {
        grid-template-columns: 1fr;
    }

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

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

    .content-with-sidebar {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .woocommerce .products {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .roadmap-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doc-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tutorials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .changelog-timeline {
        padding-left: 2rem;
    }
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .main-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: calc(72px + 2rem);
        padding-bottom: 3rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat .stat-value {
        font-size: 1.5rem;
    }

    .features-grid,
    .hotcues-features,
    .testimonials-grid,
    .pricing-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-6px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .section {
        padding: 4rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .premium-card {
        padding: 2rem 1.5rem;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .comparison-table-wrapper {
        margin: 0 -1.5rem;
        border-radius: 0;
    }

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

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

    .post-navigation {
        flex-direction: column;
    }

    .post-navigation a {
        max-width: 100%;
    }

    .roadmap-features-grid,
    .doc-categories-grid,
    .tutorials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .faq-tabs {
        gap: 0.35rem;
    }

    .faq-tab {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }

    .changelog-timeline::before {
        display: none;
    }

    .changelog-timeline {
        padding-left: 0;
    }

    .changelog-timeline .changelog-item::before {
        display: none;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 1.5rem;
    }

    .legal-content table {
        display: block;
        overflow-x: auto;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner-actions {
        justify-content: center;
    }
}

/* ==========================================================================
   RESPONSIVE - SMALL MOBILE
   ========================================================================== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .glass-card,
    .glass-card-static {
        padding: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .hotcue-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .hotcues-visual {
        gap: 0.5rem;
    }

    .btn-lg {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .download-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .site-header,
    .site-footer,
    .mobile-nav,
    .menu-toggle,
    .hero-waveform {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .glass-card,
    .feature-card,
    .pricing-card,
    .testimonial-card {
        background: #f9f9f9;
        border: 1px solid #ddd;
        box-shadow: none;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .text-gradient {
        -webkit-text-fill-color: #000;
        background: none;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   LIGHT MODE
   ========================================================================== */
body.light-mode {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --border-glass: rgba(59, 130, 246, 0.2);
    --border-hover: rgba(139, 92, 246, 0.4);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --gradient-hero: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, rgba(248, 250, 252, 0) 60%);
    --gradient-card: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(139, 92, 246, 0.03));
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
}

body.light-mode .site-header {
    background: rgba(255, 255, 255, 0.85);
    border-bottom-color: rgba(59, 130, 246, 0.1);
}

body.light-mode .site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

body.light-mode .hero {
    background: var(--bg-primary);
}

body.light-mode .preloader {
    background: var(--bg-primary);
}

body.light-mode .cookie-banner {
    background: rgba(255, 255, 255, 0.95);
}

body.light-mode .search-overlay {
    background: rgba(248, 250, 252, 0.97);
}

body.light-mode .newsletter-popup {
    background: var(--bg-secondary);
}

body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: var(--bg-tertiary);
    border-color: rgba(59, 130, 246, 0.15);
    color: var(--text-primary);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    min-width: auto;
}

.theme-toggle:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    width: 18px;
    height: 18px;
}

body.light-mode .theme-toggle .icon-sun { display: none; }
body.light-mode .theme-toggle .icon-moon { display: block; }
body:not(.light-mode) .theme-toggle .icon-sun { display: block; }
body:not(.light-mode) .theme-toggle .icon-moon { display: none; }

@media (prefers-contrast: high) {
    :root {
        --bg-card: rgba(30, 30, 50, 0.9);
        --border-glass: rgba(100, 100, 200, 0.4);
        --text-secondary: #C8D1E0;
        --text-muted: #8899AA;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: var(--accent-blue);
    color: #fff;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: top var(--transition-fast);
}

.skip-to-content:focus {
    top: 1rem;
    color: #fff;
}

/* ==========================================================================
   CENTRE D'AIDE (page-aide.php)
   ========================================================================== */
.help-quick-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.help-quick-card:hover { text-decoration: none; color: inherit; }
.help-quick-card h3,
.help-quick-card p { color: inherit; }
.help-quick-card .feature-link { margin-top: auto; }
.help-hero-section .doc-search { margin-top: 1.5rem; }
.help-categories-section { padding-top: 1rem; }
.cta-card .feature-icon svg { width: 28px; height: 28px; }

/* ==========================================================================
   CONTENU EDITORIAL — pages FAQ, Documentation, Fonctionnalites, Comparaison
   Ce CSS vivait dans le contenu des pages. WordPress y supprimait la balise
   <style>, si bien que les regles s'affichaient en texte brut sur le site.
   ========================================================================== */

/* --- Documentation, mode d'emploi et FAQ --- */
.bm-doc-toc{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
 border-radius:12px;padding:1.25rem 1.5rem;margin:0 0 2.5rem}
.bm-doc-toc h2{margin:0 0 .75rem;font-size:1.1rem}
.bm-doc-toc ul{columns:2;column-gap:2rem;margin:0;padding-left:1.1rem}
.bm-doc-toc li{margin:.3rem 0;break-inside:avoid}
.bm-doc-section{margin:0 0 3rem;scroll-margin-top:90px}
.bm-doc-section h2{border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:.55rem;
 margin-bottom:1.1rem;font-size:1.32rem}
.bm-doc-section h3{margin:1.9rem 0 .6rem;font-size:.82rem;letter-spacing:.09em;
 text-transform:uppercase;opacity:.62;font-weight:700}
.bm-doc-section p,.bm-faq-answer p{line-height:1.72;margin:.55rem 0}
.bm-lead{font-weight:600;margin:1.1rem 0 .35rem !important;opacity:.95}
.bm-step{display:flex;align-items:baseline;gap:.6rem;margin:1.3rem 0 .45rem;
 font-size:1rem;font-weight:600}
.bm-step span{display:inline-flex;align-items:center;justify-content:center;
 min-width:1.55rem;height:1.55rem;border-radius:50%;background:rgba(99,102,241,.18);
 color:#a5b4fc;font-size:.8rem;font-weight:700;flex:0 0 auto}
.bm-doc-section ul,.bm-faq-answer ul{list-style:disc outside;padding-left:1.4rem;margin:.45rem 0}
.bm-doc-section ol,.bm-faq-answer ol{list-style:decimal outside;padding-left:1.5rem;margin:.45rem 0}
.bm-doc-section ul ul,.bm-faq-answer ul ul{list-style:circle outside}
.bm-doc-section li::marker,.bm-faq-answer li::marker{color:#818cf8;opacity:.85}
.bm-doc-section li,.bm-faq-answer li{margin:.32rem 0;line-height:1.65}
.bm-doc-section ul ul,.bm-faq-answer ul ul{margin:.25rem 0}
.bm-faq-item{border:1px solid rgba(255,255,255,.09);border-radius:12px;
 margin:0 0 .7rem;background:rgba(255,255,255,.035);transition:border-color .15s,background .15s}
.bm-faq-item:hover{border-color:rgba(255,255,255,.18)}
.bm-faq-item[open]{background:rgba(255,255,255,.05);border-color:rgba(99,102,241,.35)}
.bm-faq-item summary{cursor:pointer;padding:1rem 1.2rem;font-weight:600;list-style:none;
 display:flex;align-items:center;gap:.85rem;font-size:1rem}
.bm-faq-item summary::-webkit-details-marker{display:none}
.bm-faq-item summary::before{content:"";flex:0 0 auto;width:.62rem;height:.62rem;
 border-right:2px solid currentColor;border-bottom:2px solid currentColor;opacity:.55;
 transform:rotate(-45deg);transition:transform .18s;margin-left:.15rem}
.bm-faq-item[open] summary::before{transform:rotate(45deg);opacity:.9}
.bm-faq-item summary:hover::before{opacity:1}
.bm-q{flex:1 1 auto}
.bm-faq-answer{padding:.1rem 1.4rem 1.15rem 2.75rem;font-size:.96rem;
 border-top:1px solid rgba(255,255,255,.06);margin-top:-.15rem;padding-top:.9rem}
@media(max-width:720px){
 .bm-doc-toc ul{columns:1}
 .bm-faq-answer{padding-left:1.4rem}
 .bm-faq-item summary{font-size:.95rem;padding:.85rem 1rem}
}

/* --- Fonctionnalites --- */
.bm-feat-intro{max-width:860px;margin:0 0 3rem;font-size:1.12rem;line-height:1.75;opacity:.95}
.bm-feat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));
 gap:1.4rem;margin:0 0 3.5rem;align-items:start}
.bm-feat-card{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.09);
 border-radius:14px;padding:1.5rem 1.6rem;transition:border-color .18s,transform .18s,background .18s}
.bm-feat-card:hover{border-color:rgba(99,102,241,.4);background:rgba(255,255,255,.055);
 transform:translateY(-2px)}
.bm-feat-card h3{margin:0 0 .75rem;font-size:1.08rem;line-height:1.4;font-weight:650;
 display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.bm-feat-card p{margin:.55rem 0;line-height:1.68;font-size:.95rem;opacity:.9}
.bm-feat-card ul{list-style:disc outside;margin:.7rem 0 0;padding-left:1.35rem}
.bm-feat-card li::marker{color:#818cf8;opacity:.85}
.bm-feat-card li{margin:.4rem 0;line-height:1.6;font-size:.93rem;opacity:.88}
.bm-feat-card li strong{opacity:1}
.bm-feat-section{margin:0 0 3.5rem;scroll-margin-top:90px}
.bm-feat-section h2{border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:.6rem;
 margin:0 0 1.4rem;font-size:1.38rem;display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}
.bm-badge{display:inline-block;font-size:.66rem;font-weight:700;letter-spacing:.05em;
 text-transform:uppercase;padding:.22rem .55rem;border-radius:999px;vertical-align:middle;
 white-space:nowrap}
.bm-badge-rare{background:rgba(16,185,129,.16);color:#34d399;border:1px solid rgba(16,185,129,.35)}
.bm-badge-paid{background:rgba(245,158,11,.13);color:#fbbf24;border:1px solid rgba(245,158,11,.3)}
.bm-note{background:rgba(59,130,246,.08);border-left:3px solid #3b82f6;border-radius:0 8px 8px 0;
 padding:1rem 1.25rem;margin:0 0 1.6rem;font-size:.95rem;line-height:1.68}
.bm-toc{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);
 border-radius:14px;padding:1.35rem 1.6rem;margin:0 0 3rem}
.bm-toc strong{display:block;margin-bottom:.7rem;font-size:.78rem;letter-spacing:.09em;
 text-transform:uppercase;opacity:.6}
.bm-toc ul{columns:3;column-gap:2.5rem;margin:0;padding-left:1.1rem;list-style:none}
.bm-toc li{margin:.42rem 0;break-inside:avoid}
.bm-toc a{text-decoration:none;opacity:.88;border-bottom:1px solid transparent;transition:.15s}
.bm-toc a:hover{opacity:1;border-bottom-color:currentColor}
@media(max-width:860px){
 .bm-toc ul{columns:1}
 .bm-feat-grid{grid-template-columns:1fr;gap:1.1rem}
 .bm-feat-card{padding:1.25rem 1.3rem}
 .bm-feat-intro{font-size:1.04rem}
}

/* --- Tableau comparatif --- */
.bm-cmp-intro{max-width:840px;margin:0 0 2rem;font-size:1.05rem;line-height:1.7}
.bm-cmp-wrap{overflow-x:auto;margin:0 0 2.5rem;border:1px solid rgba(255,255,255,.09);border-radius:12px}
table.bm-cmp{border-collapse:collapse;width:100%;min-width:1080px;font-size:.88rem}
table.bm-cmp th,table.bm-cmp td{padding:.6rem .7rem;border-bottom:1px solid rgba(255,255,255,.07);text-align:center;white-space:nowrap}
table.bm-cmp th:first-child,table.bm-cmp td:first-child{text-align:left;white-space:normal;min-width:250px;position:sticky;left:0;background:#12131a;z-index:2}
table.bm-cmp thead th{background:rgba(255,255,255,.05);font-size:.8rem;letter-spacing:.02em;position:sticky;top:0;z-index:3}
table.bm-cmp thead th:first-child{z-index:4}
table.bm-cmp tbody tr:hover td{background:rgba(255,255,255,.03)}
table.bm-cmp td.bm-me{background:rgba(16,185,129,.09);font-weight:700}
table.bm-cmp th.bm-me{background:rgba(16,185,129,.16)}
tr.bm-cat td{background:rgba(255,255,255,.06);font-weight:700;text-align:left;font-size:.82rem;letter-spacing:.05em;text-transform:uppercase}
.bm-y{color:#10b981;font-weight:700}
.bm-n{color:#ef4444}
.bm-p{color:#f59e0b;font-size:.78rem}
.bm-nv{color:#6b7280;font-size:.78rem}
.bm-legend{font-size:.85rem;color:#9ca3af;margin:0 0 2rem;line-height:1.7}
.bm-cmp-note{background:rgba(59,130,246,.07);border-left:3px solid #3b82f6;border-radius:6px;padding:1rem 1.2rem;margin:1.5rem 0;font-size:.93rem;line-height:1.65}
.bm-fair{background:rgba(245,158,11,.07);border-left:3px solid #f59e0b;border-radius:6px;padding:1rem 1.2rem;margin:1.5rem 0;font-size:.93rem;line-height:1.65}
.bm-fair h3,.bm-cmp-note h3{margin:0 0 .5rem;font-size:1rem}
.bm-fair ul{list-style:disc outside;margin:.5rem 0 0;padding-left:1.35rem}
.bm-fair li::marker{color:#fbbf24;opacity:.9}
.bm-fair li{margin:.3rem 0}
