:root {
    --primary-color: #FF6D00;
    --primary-dark: #E65C00;
    --primary-glow: rgba(255, 109, 0, 0.35);
    --bg-color: #0A0F1A;
    --surface-color: #141B2D;
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --glass-bg: rgba(20, 27, 45, 0.65);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.highlight {
    color: var(--primary-color);
}
.text-highlight {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    position: fixed;
    width: calc(100% - 10%);
    max-width: 1240px;
    left: 50%;
    transform: translateX(-50%);
    top: 16px;
    z-index: 1000;
    box-sizing: border-box;
    background: rgba(10, 15, 26, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    transition: padding var(--transition-smooth),
                background var(--transition-smooth),
                border-radius var(--transition-smooth),
                box-shadow var(--transition-smooth);
}

.navbar.scrolled {
    padding: 8px 12px;
    background: rgba(10, 15, 26, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 6px;
    margin-right: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-menu-btn i {
    transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-menu-btn.active i {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo .atongo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.btn-primary:hover,
.nav-links a.btn-primary:focus {
    color: #fff;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 185px;
    background: rgba(10, 15, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 109, 0, 0.12);
    padding: 8px;
    z-index: 1001;
    transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
                transform 0.3s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
                visibility 0.3s 0.2s;
    pointer-events: none;
}

/* Pont invisible pour garder le survol actif entre le bouton et le menu */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition-delay: 0s;
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.dropdown-content a i {
    font-size: 16px;
    width: 22px;
    text-align: center;
    color: var(--text-muted);
    transition: color 0.25s ease, transform 0.25s ease;
}

.nav-drop-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.25s ease;
}

.btn-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.dropdown-content a:hover {
    background: rgba(255, 109, 0, 0.15);
    color: #fff;
    transform: translateX(4px);
}

.dropdown-content a:hover i,
.dropdown-content a:hover .nav-drop-icon {
    color: var(--primary-color);
    transform: scale(1.15);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Buttons */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: none;
}

.btn-primary:active {
    transform: translateY(0) scale(0.97);
    box-shadow: none;
}

.btn-secondary {
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 60%, rgba(0, 0, 0, 0.3) 100%), #121824;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), /* Ligne blanche lumineuse en haut */
                inset 0 8px 12px rgba(255, 255, 255, 0.06), /* Halo blanc doux */
                inset 0 -10px 16px rgba(0, 0, 0, 0.4), /* Ombre 3D du bas */
                0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-smooth);
}

.btn-secondary:hover {
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.05) 60%, rgba(0, 0, 0, 0.2) 100%), #151d2c;
    border-color: rgba(255, 109, 0, 0.5); /* Reflet orange au survol */
    transform: translateY(-2px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35),
                inset 0 10px 16px rgba(255, 255, 255, 0.1),
                inset 0 -8px 12px rgba(0, 0, 0, 0.3),
                0 8px 24px rgba(255, 109, 0, 0.15), /* Lueur orange douce externe */
                0 4px 12px rgba(0, 0, 0, 0.4);
}

.btn-secondary:active {
    transform: translateY(0) scale(0.97);
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%), #0d121c;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
                inset 0 4px 8px rgba(0, 0, 0, 0.6);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* Etat initial de l'intro hero : pose uniquement si JS est actif, retire par la timeline */
.hero-anim .hero-content > *,
.hero-anim .hero-visual {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .hero-anim .hero-content > *,
    .hero-anim .hero-visual {
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 150px 5% 90px;
    position: relative;
    overflow: hidden;
}

/* Fond (particules) plein écran ; seul le contenu suit la largeur commune. */
.hero-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    z-index: 2;
    pointer-events: auto;
}

.hero-downloads-badge {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hero Section 3D Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-visual .glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-visual .mockup {
    width: 350px;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-visual .mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    border-color: rgba(255, 109, 0, 0.25);
}

.hero-visual .mockup-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        220px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(255, 109, 0, 0.18),
        transparent 80%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.hero-visual .mockup-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.4s ease;
    -webkit-mask-image: radial-gradient(
        180px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        black 20%,
        transparent 80%
    );
    mask-image: radial-gradient(
        180px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        black 20%,
        transparent 80%
    );
}

.hero-visual .mockup:hover .mockup-spotlight,
.hero-visual .mockup:hover .mockup-grid {
    opacity: 1;
}

.hero-visual .mockup-header,
.hero-visual .mockup-body {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.hero-visual .mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    height: auto;
    background: none;
    border-bottom: none;
    padding: 0;
}

.hero-visual .circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-visual .circle.red { background: #FF5F56; }
.hero-visual .circle.yellow { background: #FFBD2E; }
.hero-visual .circle.green { background: #27C93F; }

.hero-visual .mockup-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual .item-text h4 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-main);
}

.hero-visual .item-text span {
    font-size: 11px;
    color: var(--text-muted);
}

.hero-visual .progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.hero-visual .progress {
    height: 100%;
    background: var(--primary-color);
}

.hero-visual .glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.3;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 4s infinite alternate;
}

/* Panneau qui s'ouvre au scroll : condensé à l'entrée, pleine largeur une fois en place. */
[data-scroll-expand] {
    --expand: 0;
    --expand-scale: 0.78;
    transform: scale(var(--expand-scale));
    transform-origin: 50% 50%;
    will-change: transform;
    background: linear-gradient(180deg, #05080f 0%, #080d17 55%, #05080f 100%);
    border: 1px solid rgba(255, 255, 255, calc(0.05 + 0.05 * var(--expand)));
    border-radius: 28px;
    padding: 0;
    box-shadow: 0 50px 130px rgba(0, 0, 0, calc(0.25 + 0.35 * var(--expand)));
    overflow: hidden;
}

.expand-host {
    padding: 60px 5%;
    padding-left: max(5%, calc((100% - 1240px) / 2));
    padding-right: max(5%, calc((100% - 1240px) / 2));
    width: 100%;
    box-sizing: border-box;
}

.expand-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.demo-panel {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    line-height: 0;
    box-sizing: border-box;
    position: relative;
    cursor: pointer;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(255, 109, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    outline: none;
}

.demo-panel:hover {
    border-color: rgba(255, 109, 0, 0.4);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 109, 0, 0.2);
}

.demo-panel:focus-visible {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.4), 0 25px 70px rgba(0, 0, 0, 0.6);
}

.demo-video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: inherit;
    box-sizing: border-box;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}

.demo-panel:hover .demo-video {
    transform: scale(1.015);
    filter: brightness(0.92);
}

/* ===================== Interactive Play Cursor Follower (Épuré sans flou) ===================== */
.demo-play-badge {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    background: #0E1424;
    border: 1.5px solid var(--primary-color);
    border-radius: 100px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    color: #FFFFFF;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
    transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity, left, top;
}

.demo-play-badge.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.demo-play-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.85rem;
    padding-left: 2px;
}

.demo-play-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #FFFFFF;
    white-space: nowrap;
}

/* Fallback tactile pour mobile (Épuré) */
.demo-mobile-play {
    display: none;
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #0E1424;
    border: 1.5px solid var(--primary-color);
    padding: 7px 16px 7px 10px;
    border-radius: 50px;
    align-items: center;
    gap: 9px;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
    z-index: 10;
    pointer-events: none;
}

.demo-mobile-play-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.75rem;
    padding-left: 2px;
}

@media (max-width: 768px), (hover: none) {
    .demo-play-badge {
        display: none !important;
    }
    .demo-mobile-play {
        display: flex;
    }
}

/* ===================== YouTube Video Lightbox Modal (Épurée sans flou) ===================== */
.video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 14, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overscroll-behavior: contain;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.video-modal-backdrop.active {
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.video-modal-card {
    position: relative;
    width: 100%;
    max-width: 1020px;
    background: #000000;
    border: 1px solid rgba(255, 109, 0, 0.45);
    border-radius: 14px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95);
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.video-modal-backdrop.active .video-modal-card {
    transform: scale(1) translateY(0);
}

.video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(14, 20, 36, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    z-index: 20;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.video-modal-close:hover {
    transform: scale(1.1);
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFFFFF;
}

.video-modal-player-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    line-height: 0;
}

.video-modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .video-modal-card {
        border-radius: 10px;
    }
    .video-modal-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    [data-scroll-expand] {
        border-radius: 20px;
        padding: 0;
    }

    .demo-panel {
        padding: 0;
        border-radius: 18px;
    }

    .video-modal-card {
        border-radius: 14px;
    }
    .video-modal-player-box {
        border-radius: 13px;
    }
    .video-modal-close {
        top: -14px;
        right: -8px;
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 109, 0, 0.15);
    border: 1px solid rgba(255, 109, 0, 0.3);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

/* Mot rotatif du hero — tapé/effacé caractère par caractère en JS
   (voir initHeroRotator dans main.js), curseur clignotant qui suit le texte. */
.hero-rotator {
    display: inline-flex;
    align-items: baseline;
}

.hero-rotator-text {
    white-space: nowrap;
}

.hero-rotator-cursor {
    display: inline-block;
    width: 4px;
    height: 0.85em;
    margin-left: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: heroCursorBlink 1.3s ease-in-out infinite;
}

@keyframes heroCursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.12; }
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-compat {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-compat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.hero-compat-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-compat-icons i {
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: color var(--transition-smooth), transform var(--transition-smooth);
    cursor: default;
}

.hero-compat-icons i:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-compat-more {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
    z-index: 3;
    animation: heroFloat 5s ease-in-out infinite;
}

.hero-float i {
    font-size: 1.15rem;
    color: var(--primary-color);
}

.hero-float strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.15;
}

.hero-float span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.hero-float--speed {
    top: 4%;
    left: -5%;
}

.hero-float--formats {
    bottom: 2%;
    right: -3%;
    animation-delay: -2.5s;
}

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

@media (max-width: 900px) {
    .hero-compat {
        justify-content: center;
    }
    .hero-float {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-float {
        animation: none;
    }
}

/* Glassmorphism Mockup */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mockup {
    width: 350px;
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    border-color: rgba(255, 109, 0, 0.25); /* Un léger glow orange sur le bord */
}

/* Overlays du CardSpotlight (Aceternity UI) */
.mockup-spotlight {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        220px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        rgba(255, 109, 0, 0.18),
        transparent 80%
    );
    z-index: 1;
    pointer-events: none;
    opacity: 0.5; /* Légèrement visible par défaut pour le scan */
    transition: opacity 0.4s ease;
}

.mockup-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5; /* Légèrement visible par défaut pour le scan */
    transition: opacity 0.4s ease;
    -webkit-mask-image: radial-gradient(
        180px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        black 20%,
        transparent 80%
    );
    mask-image: radial-gradient(
        180px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
        black 20%,
        transparent 80%
    );
}

.mockup:hover .mockup-spotlight,
.mockup:hover .mockup-grid {
    opacity: 1;
}

.mockup-header,
.mockup-body {
    position: relative;
    z-index: 2;
    pointer-events: none; /* Laisse passer la souris pour la rotation et le spotlight */
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

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

.circle.red { background: #FF5F56; }
.circle.yellow { background: #FFBD2E; }
.circle.green { background: #27C93F; }

.mockup-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.item-text h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.item-text span {
    font-size: 11px;
    color: var(--text-muted);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
}

/* Sections : contenu limité à 1240px et centré, fond/bordure restent pleine largeur.
   padding-left/right calculé plutôt qu'un max-width direct sur la section, sinon
   les fonds dégradés et bordures (tools/about/reviews) seraient coupés au même 1240px. */
section {
    padding: 100px 5%;
    padding-left: max(5%, calc((100% - 1240px) / 2));
    padding-right: max(5%, calc((100% - 1240px) / 2));
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.feature-card {
    background: var(--surface-color);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform var(--transition-smooth),
                box-shadow var(--transition-smooth),
                border-color var(--transition-smooth);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 109, 0, 0.2);
    border-color: rgba(255, 109, 0, 0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 109, 0, 0.1);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-muted);
}

/* ===================== Antigravity 2.0 Side-by-Side Feature Section ===================== */
.features-section {
    position: relative;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 90px;
    max-width: 1240px;
    margin: 0 auto;
}

/* Rail de progression vertical du hub — masqué tant qu'il n'y a pas la place
   dans la marge (voir media query plus bas). Le rail lui-même est
   `position: sticky` : il ne reste visible/centré à l'écran que pendant que
   la section #features traverse le viewport, puis défile normalement une
   fois qu'on quitte la section (aucun JS de show/hide nécessaire). */
.hub-scroll-indicator {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 14px;
    width: 40px;
    z-index: 5;
    pointer-events: none;
}

.hub-indicator-track {
    position: sticky;
    top: 20%;
    margin: 0 auto;
    width: 2px;
    height: 56vh;
    max-height: 420px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.hub-indicator-fill {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: var(--hub-progress, 0%);
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(255, 109, 0, 0.25) 100%);
    border-radius: 999px;
}

.hub-indicator-arrow {
    position: absolute;
    left: 50%;
    top: var(--hub-progress, 0%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #0A0F1A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 5px rgba(255, 109, 0, 0.14), 0 8px 18px rgba(255, 109, 0, 0.4);
    animation: hubArrowNudge 1.8s ease-in-out infinite;
}

@keyframes hubArrowNudge {
    0%, 100% { margin-top: 0; }
    50% { margin-top: 5px; }
}

@media (min-width: 1360px) {
    .hub-scroll-indicator {
        display: block;
    }
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 70px;
}

.feature-row-reverse {
    flex-direction: row-reverse;
}

.feature-info {
    flex: 1;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 109, 0, 0.1);
    border: 1px solid rgba(255, 109, 0, 0.25);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.feature-info h3 {
    font-size: clamp(2.2rem, 3.8vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin: 0;
}

.duo-visual.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 200ms;
}
.duo-visual.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 10px 0;
}

.feature-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.feature-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.02rem;
    color: var(--text-muted);
}

.feature-points li i {
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Feature Visual Outer Container (Antigravity 2.0 Style Ambient Card Backdrop) */
.feature-visual {
    flex: 1.2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 44px 36px;
    border-radius: 36px;
    background: radial-gradient(circle at 10% 10%, rgba(255, 109, 0, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 90% 90%, rgba(0, 160, 255, 0.12) 0%, transparent 60%),
                linear-gradient(135deg, rgba(20, 28, 45, 0.6) 0%, rgba(10, 16, 28, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12),
                0 30px 70px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    min-height: 380px;
}

/* Ambient Backdrop Glow Aura */
.glow-bg {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 30% 20%, rgba(255, 109, 0, 0.22), transparent 50%),
                radial-gradient(circle at 75% 80%, rgba(0, 180, 255, 0.22), transparent 50%);
    filter: blur(50px);
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

/* Inner UI Mockup Card Floating inside Visual Container */
.visual-mockup {
    width: 100%;
    max-width: 580px;
    background: rgba(10, 16, 28, 0.88);
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.visual-mockup:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 40px 95px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 109, 0, 0.3);
    border-color: rgba(255, 109, 0, 0.45);
}

/* Feature Mockup Header (App Window Bar) */
.vmockup-header {
    height: 52px;
    background: rgba(8, 12, 22, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    padding: 0 22px;
    gap: 18px;
}

.vmockup-dots {
    display: flex;
    gap: 8px;
}

.vmockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.vmockup-dots span:nth-child(1) { background: #FF5F56; }
.vmockup-dots span:nth-child(2) { background: #FFBD2E; }
.vmockup-dots span:nth-child(3) { background: #27C93F; }

.vmockup-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 100px;
    height: 30px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 10px;
}

.vmockup-body {
    flex: 1;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
}

/* Sniff Detection Card */
.browser-body {
    align-items: center;
}

.sniff-detection-card {
    display: flex;
    align-items: center;
    background: rgba(15, 22, 38, 0.9);
    border: 1px solid rgba(255, 109, 0, 0.35);
    border-radius: 18px;
    padding: 22px 26px;
    gap: 20px;
    width: 100%;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.sniff-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
}

.sniff-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sniff-title {
    font-weight: 700;
    font-size: 1.12rem;
    color: var(--text-main);
}

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

.sniff-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 109, 0, 0.45);
    font-size: 1.1rem;
}

/* Downloads Card */
.downloads-body {
    gap: 20px;
}

.dl-row {
    background: rgba(15, 22, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dl-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

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

.dl-speed {
    color: var(--primary-color);
    font-weight: 700;
}

.dl-bar-wrapper {
    height: 9px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    overflow: hidden;
}

.dl-bar-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #FF9100 100%);
    box-shadow: 0 0 14px rgba(255, 109, 0, 0.7);
}

.dl-percent {
    align-self: flex-end;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Library Card */
.library-body {
    gap: 20px;
}

.lib-category-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding-bottom: 12px;
}

.tab-item {
    font-size: 0.92rem;
    padding: 8px 18px;
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
}

.tab-item.active {
    background: rgba(255, 109, 0, 0.16);
    color: var(--primary-color);
    font-weight: 700;
}

.lib-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.lib-grid-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(15, 22, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 14px;
}

.lib-thumbnail {
    width: 44px;
    height: 44px;
    background: rgba(255, 109, 0, 0.14);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.lib-item-name {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 600;
}

/* Tools Card */
.tools-body {
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.trimmer-preview {
    text-align: center;
}

.trimmer-preview .showcase-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
}

.trimmer-preview h4 {
    margin-top: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
}

/* ===================== Compact Login-Card Style Review Modal ===================== */
body.modal-open {
    overflow: hidden !important;
    touch-action: none;
}

.review-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overscroll-behavior: contain;
    animation: modalFadeIn 0.3s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.review-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 30px rgba(255, 109, 0, 0.15);
    box-sizing: border-box;
}

/* Custom Scrollbar for review-modal-card */
.review-modal-card::-webkit-scrollbar {
    width: 5px;
}

.review-modal-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.review-modal-card::-webkit-scrollbar-thumb {
    background: rgba(255, 109, 0, 0.3);
    border-radius: 10px;
}

.review-modal-card .modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.review-modal-card .modal-close-btn:hover {
    background: rgba(255, 109, 0, 0.2);
    color: #fff;
    border-color: rgba(255, 109, 0, 0.4);
    transform: rotate(90deg);
}

.review-modal-card .login-head {
    text-align: center;
    margin-bottom: 22px;
}

.review-modal-card .login-head .shield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 109, 0, 0.12);
    border: 1px solid rgba(255, 109, 0, 0.3);
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 12px;
}

.review-modal-card .login-head h1 {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    color: var(--text-main);
}

.review-modal-card .login-head p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

.review-modal-card .form-group {
    margin-bottom: 16px;
}

.review-modal-card .form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.review-modal-card .field {
    position: relative;
    display: flex;
    align-items: center;
}

.review-modal-card .field > i {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.review-modal-card .field-textarea > i {
    top: 14px;
}

.review-modal-card .field input,
.review-modal-card .field textarea {
    width: 100%;
    padding: 12px 14px 12px 38px;
    background: rgba(10, 15, 26, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.92rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    box-sizing: border-box;
}

.review-modal-card .field textarea {
    resize: vertical;
    min-height: 85px;
}

.review-modal-card .field input:focus,
.review-modal-card .field textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.15);
}

.review-modal-card .star-picker {
    display: flex;
    gap: 10px;
    margin-top: 2px;
}

.review-modal-card .star-pick {
    font-size: 1.6rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, color 0.2s ease;
}

.review-modal-card .star-pick:hover,
.review-modal-card .star-pick.active {
    color: #FFB800 !important;
    transform: scale(1.15);
}

.review-modal-card .char-count-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    text-align: right;
    margin-top: 4px;
}

/* Phone Frame Mockup (Single Mobile for Row 1) */
.phone-frame-mockup {
    width: 250px;
    height: 480px;
    background: #080c14;
    border-radius: 36px;
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 109, 0, 0.2);
    position: relative;
    z-index: 2;
    padding: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.phone-frame-mockup:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 109, 0, 0.35);
}

.phone-speaker {
    width: 60px;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin: 4px auto 10px;
    flex-shrink: 0;
}

.phone-screen {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Duo Stage (Mobile + Desktop Combined Combo) */
.duo-visual {
    padding: 30px 20px !important;
}

.duo-stage {
    position: relative;
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.desktop-duo-frame {
    position: absolute;
    left: 5px;
    top: 15px;
    width: 78%;
    height: 360px;
    background: rgba(10, 16, 28, 0.88);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    z-index: 1;
    animation: desktopDuoFloat 6s ease-in-out infinite alternate;
}

.desktop-duo-frame .duo-img-desktop {
    width: 100%;
    height: calc(100% - 46px);
    object-fit: cover;
    object-position: top left;
    display: block;
}

.phone-duo-frame {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 190px;
    height: 360px;
    background: #080c14;
    border-radius: 30px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 109, 0, 0.3);
    padding: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: phoneDuoFloat 6s ease-in-out infinite alternate-reverse;
}

.phone-duo-frame .phone-screen {
    border-radius: 20px;
}

/* Phone on Left variant (.duo-stage-reverse) */
.duo-stage-reverse .desktop-duo-frame {
    left: auto;
    right: 5px;
}

.duo-stage-reverse .phone-duo-frame {
    right: auto;
    left: 10px;
}

/* Continuous Floating Animations for Duo Transition */
@keyframes desktopDuoFloat {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-12px) rotate(-1deg); }
}

@keyframes phoneDuoFloat {
    0% { transform: translateY(0px) rotate(0deg) scale(1); }
    100% { transform: translateY(-18px) rotate(1.5deg) scale(1.03); }
}

.tools-section {
    background: linear-gradient(180deg, var(--bg-color) 0%, var(--surface-color) 100%);
}

.tools-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.tools-text, .tools-image {
    flex: 1;
}

.tools-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.tools-list {
    list-style: none;
}

.tools-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.tools-list strong {
    color: var(--text-main);
}

/* ===================== Desktop Showcase (style Upscayl) ===================== */
.desktop-showcase-section {
    position: relative;
    overflow: hidden;
    padding: 110px 5% 90px;
    background: linear-gradient(180deg, #0a0f1a 0%, var(--bg-color) 45%, var(--surface-color) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.desktop-showcase-inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.desktop-showcase-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.desktop-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 109, 0, 0.28);
    background: rgba(255, 109, 0, 0.1);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.desktop-showcase-intro h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 18px;
}

.desktop-lead {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.desktop-showcase-stage {
    margin-bottom: 56px;
}

/* Slider : texte à gauche, image à droite */
.desktop-slider {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr);
    grid-template-rows: auto auto;
    grid-template-areas:
        "copy visual"
        "nav visual";
    gap: 48px;
    align-items: center;
    margin-bottom: 56px;
}

.desktop-slider-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 320px;
}

.desktop-slider-visual {
    grid-area: visual;
    grid-row: 1 / -1;
    position: relative;
}

.desktop-slider-nav {
    grid-area: nav;
    align-self: start;
    display: flex;
    align-items: center;
    gap: 16px;
}

.desktop-slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.desktop-slider-panels {
    position: relative;
    flex: 1;
}

.desktop-slide-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-16px);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}

.desktop-slide-panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.desktop-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 109, 0, 0.28);
    background: rgba(255, 109, 0, 0.1);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.desktop-slide-panel h3 {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
}

.desktop-slide-lead {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.desktop-slide-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.desktop-slide-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.desktop-slide-points i {
    color: var(--primary-color);
    margin-top: 3px;
    flex-shrink: 0;
}

.desktop-slider-arrow:hover {
    background: rgba(255, 109, 0, 0.15);
    border-color: rgba(255, 109, 0, 0.4);
    transform: scale(1.05);
}

.desktop-slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.desktop-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transition: width 0.25s, background 0.25s;
}

.desktop-slider-dot.is-active {
    width: 28px;
    background: rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.desktop-slider-dot.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--primary-color);
    border-radius: inherit;
    animation: desktopSlideProgress 3.5s linear forwards;
}

@keyframes desktopSlideProgress {
    from { width: 0; }
    to { width: 100%; }
}

.desktop-slider-visual .desktop-frame {
    animation: none;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.desktop-slider-visual .desktop-screenshot-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10.4;
    background: #111;
    overflow: hidden;
    line-height: 0;
}

.desktop-slider-visual .desktop-screenshot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center top;
    opacity: 0;
    transform: none;
    transition: opacity 0.55s ease;
    pointer-events: none;
}

.desktop-slider-visual .desktop-screenshot.is-active {
    position: absolute;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.desktop-frame-shadow {
    display: none;
}

.desktop-frame {
    position: relative;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.desktop-window-chrome {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.desktop-window-dots {
    display: flex;
    gap: 7px;
}

.desktop-window-title {
    font-size: 0.76rem;
    color: var(--text-muted);
}

.desktop-screenshot-viewport {
    position: relative;
    width: 100%;
    background: #111;
    overflow: hidden;
    line-height: 0;
}

.desktop-screenshot {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transform: scale(1.02) translateY(6px);
    transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.desktop-screenshot:not(.is-active) {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.desktop-screenshot.is-active {
    position: relative;
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.desktop-shot-dots {
    display: none;
}

.desktop-dot {
    display: none;
}

.desktop-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 48px;
}

.desktop-feature-card {
    padding: 28px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.desktop-feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 109, 0, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.desktop-feature-card .icon-wrapper {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 14px;
    font-size: 1.15rem;
}

.desktop-feature-card h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
    color: #fff;
}

.desktop-feature-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

.desktop-showcase-cta {
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .desktop-screenshot,
    .desktop-slide-panel {
        transition: opacity 0.2s ease;
        transform: none !important;
    }

    .desktop-slider-dot.is-active::after {
        animation: none;
        width: 100%;
        background: var(--primary-color);
    }
}

@media (max-width: 960px) {
    .desktop-features-grid {
        grid-template-columns: 1fr;
    }

    .desktop-slider {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "copy"
            "visual"
            "nav";
        gap: 28px;
    }

    .desktop-slider-copy {
        min-height: auto;
        gap: 0;
        text-align: center;
    }

    .desktop-slider-visual {
        grid-row: auto;
    }

    .desktop-slider-nav {
        display: grid;
        grid-template-columns: 42px 1fr 42px;
        align-items: center;
        width: 100%;
        max-width: 360px;
        margin: 4px auto 0;
    }

    .desktop-slider-dots {
        flex: unset;
        justify-content: center;
        justify-self: center;
    }

    .desktop-lead,
    .desktop-slide-lead,
    .desktop-slide-points {
        display: none;
    }

    .desktop-slide-panel h3 {
        margin-bottom: 0;
    }

    .desktop-slider-panels {
        min-height: 110px;
    }
}

@media (max-width: 640px) {
    .desktop-showcase-section {
        padding: 72px 5% 64px;
    }

    .desktop-slider-panels {
        min-height: auto;
    }
}

/* ===================== Mobile Showcase ===================== */
.mobile-showcase-section {
    position: relative;
    overflow: hidden;
    padding: 110px 5% 90px;
    background: linear-gradient(180deg, var(--surface-color) 0%, #0a0f1a 40%, var(--bg-color) 100%);
    border-bottom: 1px solid var(--glass-border);
}

.mobile-showcase-inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
}

.mobile-showcase-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.mobile-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 109, 0, 0.28);
    background: rgba(255, 109, 0, 0.1);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mobile-showcase-intro h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 18px;
}

.mobile-lead {
    color: var(--text-muted);
    font-size: 1.08rem;
    line-height: 1.65;
}

.mobile-stage {
    display: flex;
    flex-direction: column;
    gap: 44px;
    margin-bottom: 48px;
}

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

.mobile-carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 20px 0 8px;
}

.mobile-carousel-track {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 28px);
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mobile-carousel-phone {
    flex: 0 0 auto;
    width: clamp(148px, 22vw, 228px);
    margin: 0;
    cursor: pointer;
    transform: scale(0.78);
    opacity: 0.42;
    filter: blur(1.5px);
    transition:
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.75s ease,
        filter 0.75s ease;
}

.mobile-carousel-phone.is-active {
    transform: scale(1);
    opacity: 1;
    filter: none;
    cursor: default;
}

.mobile-carousel-phone .mobile-frame {
    width: 100%;
}

.mobile-carousel-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(48px, 10vw, 120px);
    pointer-events: none;
    z-index: 2;
}

.mobile-carousel-edge--left {
    left: 0;
    background: linear-gradient(90deg, var(--bg-color) 0%, transparent 100%);
}

.mobile-carousel-edge--right {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-color) 0%, transparent 100%);
}

.mobile-caption {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.mobile-caption-panels {
    position: relative;
    min-height: 120px;
}

.mobile-caption-panel {
    transform: translateY(18px);
}

.mobile-caption-panel.is-active {
    transform: translateY(0);
}

.mobile-slide-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-16px);
    transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}

.mobile-slide-panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.mobile-slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 109, 0, 0.28);
    background: rgba(255, 109, 0, 0.1);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mobile-slide-panel h3 {
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0;
}

.mobile-frame {
    position: relative;
    width: min(100%, 320px);
    margin: 0 auto;
    padding: 12px 10px 14px;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.mobile-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 2;
}

.mobile-screenshot-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 19.5;
    background: #111;
    overflow: hidden;
    border-radius: 28px;
    line-height: 0;
}

.mobile-screenshot-viewport img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.mobile-showcase-cta {
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .mobile-carousel-track,
    .mobile-carousel-phone,
    .mobile-slide-panel,
    .mobile-caption-panel {
        transition: opacity 0.2s ease;
        transform: none !important;
    }
}

@media (max-width: 640px) {
    .mobile-showcase-section {
        padding: 72px 5% 64px;
    }

    .mobile-caption-panels {
        min-height: auto;
    }
}

.feature-showcase {
    text-align: center;
    padding: 40px;
}

.showcase-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.trimmer-ui {
    margin-top: 30px;
    position: relative;
    height: 60px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.timeline {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%);
}

.handles {
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    bottom: 0;
    background: rgba(255, 109, 0, 0.3);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
}

/* Contact Section */
.contact-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --glow-x: 50%;
    --glow-y: 50%;
    position: relative;
    overflow: hidden;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transition: transform 0.25s cubic-bezier(.16, 1, .3, 1),
                box-shadow var(--transition-smooth),
                border-color var(--transition-smooth);
    cursor: pointer;
}

/* Halo qui suit le curseur — position pilotée en JS via --glow-x/--glow-y
   (voir initContactReveal dans main.js). */
.contact-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 109, 0, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.contact-card:hover,
.contact-card:focus-within {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 109, 0, 0.22);
    border-color: rgba(255, 109, 0, 0.28);
}

.contact-card:hover::before,
.contact-card:focus-within::before {
    opacity: 1;
}

.contact-card .icon-wrapper {
    margin: 0 auto 20px;
    position: relative;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
}

/* Coordonnée masquée par défaut — ne se révèle qu'au survol/focus (voir
   initContactReveal dans main.js pour l'effet de décryptage caractère par
   caractère). Le hint et le lien se superposent puis se croisent en fondu. */
.contact-reveal-zone {
    position: relative;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-card:hover .contact-hint,
.contact-card:focus-within .contact-hint {
    opacity: 0;
    transform: translateY(-6px);
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    font-variant-numeric: tabular-nums;
    opacity: 0;
    transform: translateY(6px);
    transition: color 0.3s, opacity 0.3s ease, transform 0.3s ease;
}

.contact-card:hover .contact-link,
.contact-card:focus-within .contact-link {
    opacity: 1;
    transform: translateY(0);
}

.contact-link:hover {
    color: var(--primary-dark);
}

/* ===================== Download Section (compact) ===================== */
.download-section {
    position: relative;
    padding-top: 70px;
    padding-bottom: 70px;
    border-top: 1px solid var(--glass-border);
    --dl-card-width: 340px;
}

.download-section-title {
    text-align: center;
    margin-bottom: 32px;
}

.download-section-title p {
    display: none;
}

.dl-download-layout {
    max-width: calc(var(--dl-card-width) * 3 + 32px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.dl-card-size {
    width: var(--dl-card-width);
    max-width: var(--dl-card-width);
    min-width: var(--dl-card-width);
    box-sizing: border-box;
}

.dl-platform-blocks .download-card.dl-card-size {
    min-height: 100%;
    height: 100%;
    margin: 0;
}

.download-card .dl-meta {
    justify-content: center;
}

.dl-desktop-version {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.dl-platform-blocks {
    display: grid;
    grid-template-columns: repeat(3, var(--dl-card-width));
    gap: 16px;
    justify-content: center;
    width: 100%;
    align-items: stretch;
}

.dl-platform-blocks > .dl-card-size {
    height: 100%;
}

.dl-platform-block {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
}

.dl-platform-block:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 109, 0, 0.25);
}

.dl-platform-block-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 40px 28px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.dl-platform-block-head h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #fff;
    font-weight: 700;
}

.dl-card-version {
    font-size: 0.78rem;
    font-weight: 600;
    color: #94A3B8;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.dl-card-version i {
    color: #FF6D00;
    font-size: 0.72rem;
}

.dl-platform-block-head .dl-platform-icon {
    width: 80px;
    height: 80px;
    font-size: 2.4rem;
    border-radius: 22px;
}

.dl-compact-version {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    text-transform: lowercase;
}

.dl-compact-badge {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dl-compact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    text-decoration: none;
    color: #e8e8e8;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s, color 0.15s;
    min-height: 52px;
}

.dl-compact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.dl-compact-list li:last-child .dl-compact-row {
    border-bottom: none;
}

.dl-compact-row span {
    line-height: 1.35;
    padding-right: 6px;
    word-break: break-word;
}

.dl-compact-row i {
    flex-shrink: 0;
    font-size: 1.15rem;
    color: #666;
    transition: color 0.15s, transform 0.15s;
}

.dl-compact-list li:first-child .dl-compact-row i {
    color: var(--primary-color);
}

.dl-compact-row:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.dl-compact-row:hover i {
    color: var(--primary-color);
    transform: translateY(1px);
}

@media (max-width: 1040px) {
    .download-section {
        --dl-card-width: min(340px, 100%);
    }

    .dl-download-layout {
        max-width: 380px;
    }

    .dl-platform-blocks {
        grid-template-columns: 1fr;
    }

    .dl-card-size,
    .dl-desktop-version {
        width: 100%;
        max-width: 340px;
        min-width: 0;
    }
}

@media (max-width: 720px) {
    .dl-platform-blocks {
        grid-template-columns: 1fr;
    }
}

/* Legacy download styles (kept for compatibility) */
.download-platforms {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 920px;
    margin: 0 auto;
}

.download-platform-panel {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: border-color 0.3s;
}

.download-platform-panel:hover {
    border-color: rgba(255, 109, 0, 0.25);
}

.download-platform-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.download-platform-header h3 {
    font-size: 1.5rem;
    margin: 0 0 8px;
    color: #fff;
}

.dl-category {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 18px;
}

.dl-category h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.dl-category-desc {
    margin: 0 0 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.dl-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.dl-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #eee;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.dl-option:hover {
    background: rgba(255, 109, 0, 0.1);
    border-color: rgba(255, 109, 0, 0.35);
    transform: translateY(-2px);
}

.dl-option-featured {
    border-color: rgba(61, 220, 132, 0.35);
    background: rgba(61, 220, 132, 0.08);
}

.dl-option-featured:hover {
    background: rgba(61, 220, 132, 0.14);
    border-color: rgba(61, 220, 132, 0.5);
}

.dl-option-label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dl-option-hint {
    font-size: 0.75rem;
    color: #888;
}

.download-cards-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.download-card {
    flex: 0 0 auto;
    width: var(--dl-card-width, 320px);
    max-width: var(--dl-card-width, 320px);
    min-width: var(--dl-card-width, 320px);
    padding: 40px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    transition: transform 0.3s, border-color 0.3s;
    box-sizing: border-box;
}

.download-card:not(.download-card-soon):hover {
    transform: translateY(-6px);
    border-color: rgba(61, 220, 132, 0.3);
}

.download-card-soon {
    opacity: 0.6;
}

.dl-platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    flex-shrink: 0;
    overflow: hidden;
}

.dl-platform-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
}

.dl-android { background: rgba(61, 220, 132, 0.12); color: #3DDC84; }
.dl-windows { background: rgba(0, 120, 215, 0.12);  color: #0078D7; }
.dl-mac     { background: rgba(255, 255, 255, 0.08); color: #f5f5f7; }
.dl-linux   { background: rgba(255, 255, 255, 0.05); color: #bbb; }

.download-card h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #fff;
}

.dl-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.dl-meta span { display: flex; align-items: center; gap: 5px; }
.dl-badge-available { color: #3DDC84; font-weight: 600; }
.dl-badge-soon      { color: #FFC107; font-weight: 600; }

.dl-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.dl-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.dl-note {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.dl-note code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.85em;
}

@media (max-width: 800px) {
    .download-cards-grid { flex-direction: column; align-items: center; }
    .download-card { max-width: 100%; }
    .dl-options { grid-template-columns: 1fr; }
    .download-platform-header { flex-direction: column; text-align: center; }
    .download-platform-header .dl-meta { justify-content: center; }
}

/* ===================== Footer Subscribe ===================== */
.footer-subscribe-strip {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 18px 5%;
}

.footer-subscribe-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-subscribe-text {
    color: #ccc;
    font-size: 0.95rem;
    text-align: center;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.subscribe-input-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
    max-width: 380px;
}

.subscribe-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
    font-size: 0.9rem;
    pointer-events: none;
}

.subscribe-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.subscribe-input:focus {
    border-color: var(--primary-color);
}

.subscribe-input::placeholder { color: #555; }

.subscribe-btn {
    padding: 12px 22px;
    white-space: nowrap;
    border-radius: 10px;
    font-size: 0.95rem;
}

/* ===================== Footer & Grid ===================== */
.footer {
    background: #050810;
    padding: 0px 5% 25px;
    border-top: 1px solid rgba(255, 109, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.footer.mini-footer {
    padding: 35px 5% 20px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: radial-gradient(circle, rgba(255, 109, 0, 0.6) 0%, transparent 100%);
}

.footer-content {
    max-width: 1240px;
    margin: 0 auto 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    text-decoration: none;
    position: relative;
}

.footer-logo::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 68px;
    height: 68px;
    transform: translateY(-50%) scale(0.55);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 109, 0, 0.35) 0%, rgba(255, 109, 0, 0) 72%);
    opacity: 0;
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.16, 1, .3, 1);
    z-index: 0;
}

.footer-logo:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.footer-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.45s cubic-bezier(.16, 1, .3, 1), filter 0.45s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.08) rotate(-4deg);
    filter: drop-shadow(0 0 10px rgba(255, 109, 0, 0.55));
}

.footer-logo-text {
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

.footer-brand-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-links-col h3, .footer-social-col h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-hover {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    width: fit-content;
    transition: color 0.3s ease;
}

.footer-link-hover::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link-hover:hover {
    color: #fff;
}

.footer-link-hover:hover::after {
    width: 100%;
}

.footer-link-hover.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform var(--transition-smooth),
                background var(--transition-smooth),
                color var(--transition-smooth);
}

.social-icon:hover {
    transform: translateY(-4px);
    background: rgba(255, 109, 0, 0.15);
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

/* ===================== Reviews Carousel ===================== */
.reviews-carousel-outer {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
    mask-image: linear-gradient(to right, transparent, black 80px, black calc(100% - 80px), transparent);
}

.reviews-track {
    display: flex;
    gap: 24px;
    width: fit-content;
}

.reviews-track.carousel-active {
    animation: carouselScroll var(--carousel-duration, 40s) linear infinite;
}

.reviews-track.carousel-active:hover {
    animation-play-state: paused;
    cursor: default;
}

@keyframes carouselScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.review-card {
    flex-shrink: 0;
    width: 310px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(.16, 1, .3, 1),
                border-color 0.4s ease,
                box-shadow 0.4s ease,
                opacity 0.4s ease;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* La carte survolée se détache des autres (zoom + ombre + passe devant),
   pendant que ses voisines reculent légèrement (échelle réduite + fondu) —
   fonctionne aussi bien sur le carrousel qui défile (déjà mis en pause au
   survol) que sur la grille statique de moins de 3 avis. */
.review-card:hover {
    transform: scale(1.06);
    border-color: rgba(255, 109, 0, 0.3);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.reviews-track:has(.review-card:hover) .review-card:not(:hover) {
    transform: scale(0.96);
    opacity: 0.55;
}

.review-stars {
    display: flex;
    gap: 4px;
    font-size: 1.1rem;
}

.review-comment {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    font-style: italic;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.review-author strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Review Modal */
.review-modal-box {
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 36px;
    width: 100%;
    max-width: 520px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeInScale 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.review-form-group {
    margin-bottom: 20px;
}

.review-form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.review-input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    resize: vertical;
    transition: border-color 0.3s;
    outline: none;
}

.review-input:focus {
    border-color: var(--primary-color);
}

.star-picker {
    display: flex;
    gap: 10px;
    margin-bottom: 6px;
}

.star-pick:hover,
.star-pick.active {
    color: #FFB800 !important;
}

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

.review-new {
    animation: reviewFadeIn 0.45s ease forwards;
}

@media (max-width: 700px) {
    .subscribe-form { flex-direction: column; align-items: stretch; }
    .subscribe-input-wrap { max-width: 100%; }
    .subscribe-btn { width: 100%; justify-content: center; }
}

/* Responsive reviews */
@media (max-width: 600px) {
    .review-card { width: 260px; }
    .reviews-carousel-outer {
        -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
        mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
    }
    .review-modal-box {
        padding: 28px 20px;
    }
}

/* ===================== Animations (ui-motion) ===================== */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 109, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 109, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 109, 0, 0); }
}

@keyframes glowPulse {
    from { opacity: 0.2; transform: translate(-50%, -50%) scale(0.8); }
    to { opacity: 0.4; transform: translate(-50%, -50%) scale(1.2); }
}

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

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}

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

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 8px 0 rgba(255, 109, 0, 0.25); }
    50%      { box-shadow: 0 0 20px 4px rgba(255, 109, 0, 0.45); }
}

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

@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 glowBorderPulse {
    0%, 100% { border-color: rgba(255, 109, 0, 0.15); }
    50%      { border-color: rgba(255, 109, 0, 0.45); }
}

/* Scroll-triggered animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.animate-scale {
    transform: scale(0.92);
}

.animate-on-scroll.animate-scale.is-visible {
    transform: scale(1);
}

.animate-on-scroll.animate-left {
    transform: translateX(-40px);
}

.animate-on-scroll.animate-left.is-visible {
    transform: translateX(0);
}

.animate-on-scroll.animate-right {
    transform: translateX(40px);
}

.animate-on-scroll.animate-right.is-visible {
    transform: translateX(0);
}

/* Stagger delay utilities */
.delay-1 { transition-delay: 0.08s !important; }
.delay-2 { transition-delay: 0.16s !important; }
.delay-3 { transition-delay: 0.24s !important; }
.delay-4 { transition-delay: 0.32s !important; }
.delay-5 { transition-delay: 0.40s !important; }
.delay-6 { transition-delay: 0.48s !important; }
.delay-7 { transition-delay: 0.56s !important; }
.delay-8 { transition-delay: 0.64s !important; }
/* ===================== About / Author Cards ===================== */
.about-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.about-eyebrow {
    margin: 0 auto 16px;
}

.about-pillars {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    max-width: 1080px;
    margin: 0 auto;
}

.about-pillar {
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    text-align: center;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.about-pillar:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 109, 0, 0.2);
}

.about-pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    background: rgba(255, 109, 0, 0.1);
    border: 1px solid rgba(255, 109, 0, 0.25);
    color: var(--primary-color);
    font-size: 1.3rem;
}

.about-pillar h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.about-pillar p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.about-services-title {
    text-align: center;
    margin: 70px auto 30px;
    max-width: 640px;
}

.about-services-title h3 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.about-services-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
}

.about-service-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 12px;
    text-align: center;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: default;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                color 0.35s ease;
}

.about-service-tile i {
    font-size: 1.4rem;
    color: var(--primary-color);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-service-tile:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 109, 0, 0.35);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
    color: var(--text-main);
}

.about-service-tile:hover i {
    transform: scale(1.15) rotate(-6deg);
}

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

.authors-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1120px;
    margin: 0 auto;
}

/* La carte s'étend en largeur (pas en hauteur) au survol/focus pour révéler
   un second volet — voir .author-inspiration. `overflow: hidden` masque le
   volet tant que sa largeur est à 0, `align-items: stretch` fait que ce
   volet occupe exactement la hauteur déjà fixée par .author-main.
   `flex-grow: 1` est indispensable : sans lui, augmenter `max-width` au
   survol ne fait rien puisque l'élément reste figé à son flex-basis (350px)
   — avec grow, l'algorithme flex redistribue l'espace libre du conteneur
   vers la carte survolée jusqu'à sa nouvelle limite, pendant que l'autre
   carte reste bloquée à la sienne (350px). */
.author-card {
    display: flex;
    align-items: stretch;
    flex: 1 1 350px;
    min-width: 280px;
    max-width: 350px;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: max-width 0.55s cubic-bezier(.16, 1, .3, 1),
                transform var(--transition-smooth),
                box-shadow var(--transition-smooth),
                border-color var(--transition-smooth);
}

.author-card:hover,
.author-card:focus-within {
    max-width: 640px;
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 109, 0, 0.2);
}

.author-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

.author-main {
    flex: 0 0 auto;
    width: 260px;
    text-align: center;
}

.author-photo-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.author-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #fff;
}

.author-card .author-role {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-card .author-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Volet "inspiration" — réservé au survol/focus. Largeur animée à 0 par
   défaut (masqué), `.author-inspiration-inner` garde une largeur fixe pour
   que le texte ne se re-découpe pas pendant la transition (seul le cadre qui
   le révèle s'anime, pas le texte lui-même). */
.author-inspiration {
    flex: 0 0 auto;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.55s cubic-bezier(.16, 1, .3, 1), opacity 0.4s ease;
}

.author-inspiration-inner {
    width: 250px;
    height: 100%;
    margin-left: 26px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
}

.author-inspiration-inner p {
    font-size: 0.88rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: left;
    max-height: 100%;
    overflow: hidden;
}

.author-inspiration-inner p i {
    color: var(--primary-color);
    margin-right: 4px;
    font-style: normal;
}

.author-card:hover .author-inspiration,
.author-card:focus-within .author-inspiration {
    max-width: 300px;
    opacity: 1;
}

/* ===================== WhatsApp Floating Button ===================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 999;
    text-decoration: none;
    transition: transform var(--transition-smooth);
    animation: gentleFloat 3s ease-in-out infinite;
    box-shadow: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: none;
    animation-play-state: paused;
}

/* ===================== Focus Visible (Accessibility) ===================== */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Input focus glow ring */
.review-input:focus,
.lk-input:focus,
.subscribe-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.15);
}

/* ===================== Premium card glow ===================== */
.pricing-card.premium {
    animation: glowBorderPulse 3s ease-in-out infinite;
}

/* ===================== Prefers Reduced Motion (Global) ===================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

    .whatsapp-float {
        animation: none;
    }
}

/* ===================== Responsive ===================== */
@media (min-width: 1181px) and (max-width: 1380px) {
    .nav-links {
        gap: 16px;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .logo .atongo {
        font-size: 20px;
    }
    .logo-img {
        width: 42px;
        height: 42px;
    }
}

/* Bascule sur le menu burger avant que les liens ("À propos", "Version Pro")
   ne manquent de place et ne passent sur deux lignes dans la pilule. */
@media (max-width: 1180px) {
    .navbar {
        flex-wrap: wrap;
        padding: 10px 14px;
        width: calc(100% - 10%);
        left: 50%;
        transform: translateX(-50%);
        top: 12px;
    }
    .navbar.scrolled {
        padding: 8px 12px;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 15px;
        padding: 20px 0 10px;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    /* Menu déplié : fond opaque, sinon le hero transparaît derrière les liens. */
    .navbar:has(.nav-links.active) {
        background: rgba(10, 15, 26, 0.97);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
        border-radius: 28px;
    }
    .dropdown-content,
    .dropdown:hover .dropdown-content,
    .dropdown:active .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: none !important;
    }
    .dropbtn i.fa-chevron-down {
        display: none;
    }
}

@media (max-width: 900px) {
    .hero {
        text-align: center;
        padding-top: 150px;
    }
    /* C'est .hero-inner qui porte les deux colonnes : c'est lui qui doit s'empiler. */
    .hero-inner {
        flex-direction: column;
    }
    .hero-content,
    .hero-visual {
        flex: none;
        width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-downloads-badge {
        justify-content: center;
        width: 100%;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        margin: 0 auto 40px;
    }
    .mockup {
        margin-top: 60px;
        transform: perspective(1000px) rotateY(0) rotateX(0);
        width: 100%;
        max-width: 350px;
    }
    .tools-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Features section responsive column stack */
    .feature-row,
    .feature-row-reverse {
        flex-direction: column !important;
        gap: 36px;
        text-align: center;
    }

    .feature-info {
        max-width: 100%;
        align-items: center;
    }

    .feature-eyebrow {
        margin: 0 auto;
    }

    .feature-points {
        align-items: flex-start;
        text-align: left;
        max-width: 440px;
        margin: 0 auto;
    }

    .feature-visual,
    .duo-visual {
        width: 100%;
        max-width: 100%;
        padding: 24px 16px !important;
        border-radius: 28px;
        min-height: auto;
        box-sizing: border-box;
    }

    .duo-stage {
        height: 380px;
        max-width: 100%;
    }

    .desktop-duo-frame {
        height: 320px;
        width: 82%;
        border-radius: 16px;
        top: 10px;
    }

    .phone-duo-frame {
        height: 320px;
        width: 165px;
        border-radius: 26px;
        padding: 6px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .btn-large {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    section {
        padding: 60px 5%;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .tools-text h2 {
        font-size: 2rem;
    }
    /* Le survol n'a pas de sens tactile : sur mobile, le volet inspiration
       reste simplement affiché en permanence, empilé sous la bio. */
    .author-card {
        flex-direction: column;
        min-width: 100%;
        max-width: 100%;
    }
    .author-main {
        width: auto;
    }
    .author-inspiration,
    .author-card:hover .author-inspiration,
    .author-card:focus-within .author-inspiration {
        max-width: 100%;
        opacity: 1;
    }
    .author-inspiration-inner {
        width: auto;
        height: auto;
        margin: 20px 0 0;
        padding: 16px 0 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .contact-card {
        min-width: 100%;
    }
    .navbar {
        width: calc(100% - 10%);
        left: 50%;
        transform: translateX(-50%);
        top: 8px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-brand-col p {
        margin: 0 auto;
    }
    .footer-links-col {
        align-items: center;
    }
    .social-icons {
        justify-content: center;
    }

    .duo-stage {
        height: 290px;
    }

    .desktop-duo-frame {
        height: 240px;
        width: 84%;
        border-radius: 14px;
        top: 8px;
    }

    .phone-duo-frame {
        height: 240px;
        width: 130px;
        border-radius: 20px;
        padding: 5px;
        right: 5px;
        bottom: 5px;
    }

    .duo-stage-reverse .phone-duo-frame {
        left: 5px;
        right: auto;
    }

    .duo-stage-reverse .desktop-duo-frame {
        right: 5px;
        left: auto;
    }

    .vmockup-header {
        height: 38px;
        padding: 0 12px;
        gap: 10px;
    }

    .vmockup-dots span {
        width: 8px;
        height: 8px;
    }

    .vmockup-bar {
        height: 24px;
        font-size: 0.75rem;
        padding: 0 10px;
    }
}

/* ===================== Noise Background Button (Aceternity UI) ===================== */
.noise-btn-wrapper {
    position: relative;
    padding: 2px;
    border-radius: 9999px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 10;
}

.noise-bg-layers {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.noise-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    margin: -200px 0 0 -200px;
    background: conic-gradient(
        from 0deg,
        #FF6D00 0deg,
        #FFA000 90deg,
        #FF3D00 180deg,
        #0A0F1A 270deg,
        #FF6D00 360deg
    );
    z-index: 1;
    animation: noiseGradientRotate 4s linear infinite;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    z-index: 2;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.noise-btn-content {
    position: relative;
    z-index: 3;
    background: #0A0F1A !important;
    color: #fff !important;
    border-radius: 9999px !important;
    padding: 10px 24px !important;
    border: none !important;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all var(--transition-smooth) !important;
}

.noise-btn-content:hover {
    background: #121824 !important;
    color: #fff !important;
    transform: none !important; /* Annule la translation des boutons normaux */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

@keyframes noiseGradientRotate {
    0% {
        transform: rotate(0deg) scale(1);
        filter: hue-rotate(0deg);
    }
    50% {
        transform: rotate(180deg) scale(1.2); /* Effet de respiration / pulsation */
        filter: hue-rotate(20deg); /* Légère variation de teinte pour un effet de feu vivant */
    }
    100% {
        transform: rotate(360deg) scale(1);
        filter: hue-rotate(0deg);
    }
}

/* #reviews garde sa position relative : des elements y sont places en absolu. */
#reviews {
    position: relative;
}

