/* Override any conflicting styles to match index.html */
a {
    color: inherit;
    text-decoration: none;
}

/* Page-specific styles */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.hero__logo {
    width: 130px;
    height: 130px;
    border-radius: 28px;
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: var(--font-extrabold);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.5;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    font-family: var(--font-family);
    color: var(--text-primary);
    background: var(--accent-gradient);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
}

/* Hero Preview Image */
.hero__preview {
    margin-top: 60px;
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.hero__preview-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 2px solid rgba(41, 85, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero__preview-img:hover {
    transform: translateY(-5px);
    border-color: rgba(41, 85, 255, 0.8);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Badge Icon Images */
.perf-badge__icon-img {
    height: 45px;
    width: auto;
    vertical-align: middle;
}

/* Bigger badge containers */
.badge-row .perf-badge {
    padding: 25px 40px;
    min-height: 90px;
}

.section-divider__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--text-muted);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-divider--with-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.chevron-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.chevron-group .chevron:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.4;
}

.chevron-group .chevron:nth-child(2) {
    animation-delay: 0.15s;
    opacity: 0.6;
}

.chevron-group .chevron:nth-child(3) {
    animation-delay: 0.3s;
    opacity: 0.8;
}

/* Benefits Section */
.benefits {
    padding: 50px 20px;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit {
    text-align: center;
    padding: 28px 20px;
}

.benefit__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(41, 85, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.benefit__icon svg {
    width: 40px;
    height: 40px;
}

.benefit__title {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin-bottom: 16px;
}

.benefit__description {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.6;
}

.benefit__list {
    list-style: none;
    margin-top: 16px;
    text-align: left;
}

.benefit__list li {
    color: var(--text-muted);
    font-size: var(--text-sm);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.benefit__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* Placeholder sections */
.section-placeholder {
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.section-placeholder__title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--text-muted);
    font-weight: var(--font-medium);
}

/* Preuves Section */
.preuves {
    padding: 80px 20px;
}

.preuves__container {
    max-width: 1000px;
    margin: 0 auto;
}

.preuves__section-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-secondary);
}

/* Graph Section */
/* Graph Section */
.graph-card {
    padding: 40px;
    margin-bottom: 60px;
    background: rgba(10, 10, 18, 0.95);
    /* Solid background instead of backdrop-filter */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.graph__title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    text-align: center;
    margin-bottom: 32px;
}

.graph__games {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
}

.game-tab {
    padding: 12px 24px;
    border-radius: 6px;
    background: rgba(25, 25, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', monospace;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.game-tab.active {
    background: rgba(41, 85, 255, 0.1);
    border-color: var(--accent-blue);
    color: #fff;
}

.game-tab:hover {
    border-color: var(--accent-blue);
    background: rgba(41, 85, 255, 0.05);
}

.game-tab img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.game-tab span {
    font-weight: var(--font-medium);
}

.graph__comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comparison-item {
    text-align: center;
}

.comparison-item__label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-item__bar-container {
    height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 40px;
    /* Grid lines */
    padding-bottom: 1px;
    /* Align with border */
}

.bar {
    width: 50px;
    border-radius: 4px 4px 0 0;
    position: relative;
    animation: bar-grow 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform-origin: bottom;
}

.bar--windows {
    background: linear-gradient(180deg, #555, #333);
    border: 1px solid #666;
    opacity: 0.8;
}

.bar--optix {
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue));
    border: 2px solid #aaddff;
}

.bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    overflow: hidden;
    z-index: 1;
}

/* Shimmer effect now on bar-fill */
.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateY(100%);
    animation: shimmer-up 2.5s infinite;
}

@keyframes shimmer-up {
    0% {
        transform: translateY(150%);
    }

    40% {
        transform: translateY(-150%);
    }

    100% {
        transform: translateY(-150%);
    }
}

.bar__value {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: ui-monospace, 'Cascadia Code', monospace;
    color: #fff;
    /* Ensure visibility */
    z-index: 2;
    white-space: nowrap;
}

.bar__value .fps-unit {
    font-size: 0.6em;
    opacity: 0.7;
    margin-left: 2px;
}

@keyframes bar-grow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.graph__legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.legend-item__color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-item__color--windows {
    background: #555;
    border: 1px solid #777;
}

.legend-item__color--optix {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Benefit Collage Styles (Hone.gg inspired) */
.benefit {
    position: relative;
    overflow: hidden !important;
    /* Clip images at borders */
    /* Ensure content stays on top */
    z-index: 1;
}

.benefit--with-collage .benefit__content {
    position: relative;
    z-index: 2;
    /* Text above images */
}

.benefit__collage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    /* Subtle blend */
}

.collage-img {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

/* Card 1: Boost Immédiat */
.collage-img--bg {
    /* 'Auto boost' in background */
    width: 160px;
    top: -20px;
    right: -30px;
    transform: rotate(15deg);
    opacity: 0.4;
    filter: blur(1px);
}

.collage-img--main {
    /* 'Button' main focus */
    width: 130px;
    top: 40px;
    right: -20px;
    transform: rotate(-10deg);
    z-index: 1;
    /* Floating animation */
    animation: float-img 6s ease-in-out infinite;
}

/* Card 2: Performance Durable */
.collage-img--single {
    /* 'Nettoyage' */
    width: 180px;
    bottom: -40px;
    right: -40px;
    transform: rotate(-15deg);
    opacity: 0.5;
    animation: float-img-slow 8s ease-in-out infinite reverse;
}

/* Hover effects */
.benefit:hover .collage-img--main {
    transform: rotate(-5deg) scale(1.05) translate(-5px, -5px);
    opacity: 1;
}

.benefit:hover .collage-img--bg {
    transform: rotate(10deg) scale(1.05);
    opacity: 0.6;
}

.benefit:hover .collage-img--single {
    transform: rotate(-10deg) scale(1.05) translate(-5px, -5px);
    opacity: 0.8;
    bottom: -30px;
}

/* Floating Animations */
@keyframes float-img {

    0%,
    100% {
        transform: rotate(-10deg) translate(0, 0);
    }

    50% {
        transform: rotate(-8deg) translate(0, -10px);
    }
}

@keyframes float-img-slow {

    0%,
    100% {
        transform: rotate(-15deg) translate(0, 0);
    }

    50% {
        transform: rotate(-13deg) translate(5px, -8px);
    }
}

/* Adjust content spacing to make room for images if needed */
.benefit--with-collage .benefit__content {
    /* Add gradient background to text to make it readable over images if overlap occurs */
    background: linear-gradient(to right, rgba(20, 20, 30, 0.8) 0%, rgba(20, 20, 30, 0.4) 100%);
    padding: 20px;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Card 3: Toujours à la pointe (Game Fan Effect) */
.collage-img--game-1 {
    /* Valorant - Left */
    width: 140px;
    bottom: -20px;
    right: 80px;
    transform: rotate(-15deg);
    z-index: 1;
    opacity: 0.6;
    transition: all 0.4s ease;
}

.collage-img--game-2 {
    /* Fortnite - Center */
    width: 150px;
    bottom: -30px;
    right: -10px;
    transform: rotate(5deg);
    z-index: 2;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.collage-img--game-3 {
    /* Apex - Right */
    width: 140px;
    bottom: 20px;
    right: -60px;
    transform: rotate(20deg);
    z-index: 1;
    opacity: 0.6;
    transition: all 0.4s ease;
}

/* Hover Fan Expansion */
.benefit:hover .collage-img--game-1 {
    transform: rotate(-25deg) translate(-20px, 0);
    opacity: 0.9;
}

.benefit:hover .collage-img--game-2 {
    transform: rotate(0deg) scale(1.1) translate(0, -10px);
    opacity: 1;
    z-index: 3;
}

.benefit:hover .collage-img--game-3 {
    transform: rotate(30deg) translate(20px, 0);
    opacity: 0.9;
}

/* Mobile Adjustments for Collage */
@media (max-width: 768px) {
    .brand-logo {
        height: 50px;
    }

    .brand-logo img {
        max-height: 50px;
        max-width: 120px;
    }

    .benefit__collage {
        opacity: 0.3;
        /* Fader les images sur mobile pour la lisibilité */
        transform: scale(0.85);
        transform-origin: center center;
    }

    /* Security Mobile Adjustments */
    .security__grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .security-wrapper {
        padding: 3px !important;
        /* Keep border space */
    }

    .security-inner {
        padding: 25px 15px !important;
    }

    .security-item {
        padding: 20px 15px !important;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
}

.faq__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq__title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    text-align: center;
    margin: 0 auto 48px auto;
    background: linear-gradient(90deg, #004ffa, #ae00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    width: fit-content;
}

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(15, 15, 25, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-blue);
}

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    font-family: var(--font-family);
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-item__question:hover {
    color: var(--accent-blue);
}

.faq-item__icon {
    font-size: 1.5em;
    color: var(--accent-violet);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-item__answer {
    max-height: 500px;
}

.faq-item__answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
}

/* Supported Brands Section */
.brands-section {
    padding: 10px 0 60px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2), transparent);
    overflow: hidden;
    width: 100%;
}

.brands__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.brands__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.brands__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-extrabold);
    margin: 0;
    padding: 0 20px;
    background: linear-gradient(90deg, #004ffa, #ae00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    letter-spacing: 0.03em;
}

.brands__subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: 100px;
    padding: 0 20px;
    opacity: 0.8;
}


/* Mobile: Security Grid 2 columns */
@media (max-width: 768px) {
    .security__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .security-wrapper {
        padding: 20px 10px;
    }

    .security-item {
        padding: 15px 10px;
    }

    .security-item__title {
        font-size: var(--text-sm);
    }

    .security-item__desc {
        font-size: var(--text-xs);
    }

    .security-item__icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }

    .security-item__icon svg {
        width: 20px;
        height: 20px;
    }

    /* Mobile Pricing Optimization */
    .pricing-card {
        padding: 24px !important;
        margin: 0 0 40px !important;
        border-radius: 20px !important;
        width: 100% !important;
        max-width: none !important;
    }

    .pricing-card__title {
        font-size: var(--text-xl) !important;
        margin-bottom: 12px !important;
    }

    .pricing-card__price {
        font-size: 2.5rem !important;
    }

    .pricing-card {
        padding: 20px 15px !important;
    }

    .pricing-card__title {
        font-size: 1.5rem !important;
        margin-bottom: 5px !important;
    }

    .pricing-card__price {
        font-size: 2.5rem !important;
        margin-bottom: 10px !important;
    }

    .pricing-card__features {
        margin: 15px 0 !important;
        padding: 0 5px !important;
    }

    .pricing-card__features li {
        padding: 6px 0 !important;
        font-size: var(--text-sm) !important;
    }

    .mobile-flow {
        display: block !important;
        margin-top: 20px !important;
        padding: 15px !important;
    }

    /* Mobile Graph Optimization */
    .graph-carousel-container {
        padding: 20px 10px !important;
        margin: 0 10px !important;
    }

    .graph-toggle-btn {
        padding: 8px 16px !important;
        font-size: var(--text-sm) !important;
    }

    .graph__title {
        font-size: var(--text-lg) !important;
        margin-bottom: 20px !important;
    }

    .graph__games {
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .game-tab {
        padding: 8px 12px !important;
        font-size: var(--text-sm) !important;
    }

    .game-tab img {
        width: 20px !important;
        height: 20px !important;
    }

    .graph__comparison {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        height: 250px !important;
    }

    .comparison-item__label {
        font-size: var(--text-sm) !important;
        margin-bottom: 10px !important;
    }

    .bar {
        width: 40px !important;
    }

    .bar__value {
        font-size: var(--text-xs) !important;
    }

    .fps-unit {
        font-size: 10px !important;
    }

    /* Mobile Benefits Optimization */
    .benefits {
        padding: 30px 10px !important;
    }

    .benefits__grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 5px !important;
    }

    .benefit {
        padding: 20px 15px !important;
        margin-bottom: 0 !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .benefit__icon svg {
        width: 32px;
        height: 32px;
    }

    .benefit__title {
        font-size: var(--text-lg) !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }

    .benefit__description {
        font-size: var(--text-xs) !important;
        margin-bottom: 10px !important;
        line-height: 1.4;
    }

    .benefit__list {
        margin: 0;
    }

    .benefit__list li {
        font-size: var(--text-xs) !important;
        margin-bottom: 4px !important;
        line-height: 1.3;
    }
}

/* Security Section Redesign ("Cyber-Shield") */
.security-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background: rgba(10, 10, 15, 0.4);
    border-radius: 24px;
    padding: 3px;
    /* Space for border */
    overflow: hidden;
    padding: 3px;
    /* Space for border */
    overflow: hidden;
    box-shadow: none;
    border: 1px solid rgba(154, 77, 255, 0.3);
}

/* Animated Border Background */
.security-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            rgba(154, 77, 255, 0.1),
            transparent 30%);
    animation: rotate-border 4s linear infinite;
    /* will-change removed - causes GPU memory overhead */
    z-index: 0;
}

/* Inner Content Card */
.security-inner {
    position: relative;
    background: rgba(12, 12, 18, 0.98);
    /* Solid dark background - no backdrop-filter */
    border-radius: 22px;
    padding: 40px;
    z-index: 1;
    height: 100%;
    overflow: hidden !important;
    /* Clip the lock */
}

/* Essential for layering content above lock */
.security-main-title,
.security__grid {
    position: relative;
    z-index: 2;
}

/* Ambient Lock Background */
.security-lock-bg {
    position: absolute;
    top: 50%;
    right: -100px;
    /* Moved to right */
    left: auto;
    /* Unset left */
    transform: translateY(-50%) rotate(10deg);
    /* Tilt slightly */
    width: 500px;
    /* Larger */
    height: 500px;
    z-index: 1;
    /* Inside inner, below content */
    opacity: 0.2;
    /* Slightly increased visibility */
    pointer-events: none;
    overflow: visible;
}

.security-lock-svg {
    width: 100%;
    height: 100%;
    animation: float-lock 8s ease-in-out infinite;
    /* will-change removed - causes GPU memory overhead */
}

@keyframes float-lock {

    0%,
    100% {
        transform: translateY(0) rotate(10deg);
    }

    50% {
        transform: translateY(-20px) rotate(12deg);
    }
}

.security-main-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    background: linear-gradient(90deg, #004ffa, #ae00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
}

.security-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.security__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    /* Focus Effect Container */
}

/* Responsive: Tablet (2 columns) */
@media (max-width: 1024px) {
    .security__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hover effects disabled */

.security-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(154, 77, 255, 0.4);
    border-radius: 16px;
    padding: 30px 20px;
    cursor: default;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.security-item__icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(154, 77, 255, 0.2) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.security-item__icon svg {
    transition: transform 0.3s ease;
}

/* Icon hover effect disabled */

.security-item__title {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: #fff;
    margin-bottom: 10px;
}

.security-item__desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.brands-carousel {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
}

.brands-track {
    display: flex;
    gap: 80px;
    animation: scroll-brands 30s linear infinite;
    width: max-content;
    /* will-change removed - causes GPU memory overhead for infinite carousels */
}

.brand-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    pointer-events: none;
    /* Disable interaction */
    user-select: none;
}

.brand-logo img {
    max-height: 85%;
    width: auto;
    object-fit: contain;
}

@keyframes scroll-brands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile: Smaller brand logos */
@media (max-width: 768px) {
    .brands-track {
        gap: 40px;
    }

    .brand-logo {
        height: 50px;
    }

    .brand-logo img {
        max-height: 50px;
        max-width: 120px;
    }

    .brands__title {
        font-size: var(--text-xl);
    }

    .brands__subtitle {
        font-size: var(--text-sm);
        margin-bottom: 30px;
    }

    /* Mobile: Smaller badges to fit on one line */
    .badge-row .perf-badge {
        padding: 10px 15px;
        min-height: auto;
    }

    .perf-badge__icon-img {
        height: 25px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .benefits__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__title {
        font-size: var(--text-4xl);
    }

    .hero__subtitle {
        font-size: var(--text-lg);
    }

    .graph__comparison {
        grid-template-columns: 1fr;
        gap: 50px;
        /* More space between the two metrics */
    }

    .graph-card {
        padding: 25px 15px;
        /* Less horizontal padding to fit bars */
    }

    .game-tab {
        padding: 8px 12px;
        font-size: 0.8em;
    }

    .bar__value {
        font-size: 0.9rem;
        top: -30px;
    }
}

/* Testimonials Carousel - Disable Interactions */
.testimonials-carousel {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* ==========================================
   DUAL GRAPH CAROUSEL STYLES
   ========================================== */
.graph-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(10, 10, 18, 0.95);
    /* Solid background - no backdrop-filter */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px;
    padding: 20px;
}

.graph-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.graph-toggle {
    display: flex;
    background: rgba(20, 20, 30, 0.8);
    border-radius: 30px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.graph-toggle-btn {
    padding: 10px 24px;
    border-radius: 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s;
    font-family: inherit;
}

.graph-toggle-btn.active {
    color: #fff;
}

.graph-toggle-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: var(--accent-violet);
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.graph-slides {
    position: relative;
    /* removed fixed min-height to adapt to content */
}

.graph-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 100%; REMOVED to allow auto height when relative */
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    transform: translateX(20px);
    pointer-events: none;
    /* Prevent clicking hidden */
}

.graph-view.active-view {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative;
    /* Be part of flow */
    pointer-events: auto;
}

/* Stability Chart Specifics */
.stability-card {
    width: 100%;
    /* Removed flex to avoid layout bugs during transition */
}

.chart-container-stability {
    position: relative;
    width: 100%;
    height: 360px;
    /* Taller to fill void */
    margin-top: 0;
}

/* Info Button Styles */
.info-icon {
    width: 32px;
    height: 32px;
    background: rgba(154, 77, 255, 0.15);
    border: 1px solid rgba(154, 77, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.info-icon:hover {
    background: var(--accent-violet);
    border-color: var(--accent-violet);
    transform: scale(1.1);
}

.info-tooltip {
    position: absolute;
    bottom: 40px;
    right: 0;
    width: 250px;
    background: rgba(18, 18, 28, 0.98);
    /* Solid background instead of backdrop-filter */
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    text-align: left;
}

.graph-info-wrapper:hover .info-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile spacing adjustment */
@media (max-width: 768px) {
    .faq-section {
        padding-top: 20px !important;
    }

    .section-placeholder {
        padding-bottom: 20px !important;
    }

    .neon-separator {
        margin: 20px auto !important;
        opacity: 0.5;
    }

    /* Réduction de l'espace entre Benefits et Preuves sur mobile */
    .benefits {
        padding-bottom: 20px !important;
    }

    .preuves {
        padding-top: 30px !important;
        padding-bottom: 20px !important;
    }

    /* Réduction de l'espace autour de Supported Brands sur mobile */
    .brands-section {
        padding-top: 20px !important;
        padding-bottom: 10px !important;
    }

    .brands__subtitle {
        margin-bottom: 40px !important;
    }

    .brands__header {
        margin-bottom: 10px !important;
    }

    /* Réduction de l'espace au-dessus de Security sur mobile */
    .security {
        padding-top: 30px !important;
        padding-bottom: 20px !important;
    }

    /* Réduire l'espace autour du neon-separator entre security et pricing */
    .security+.neon-separator {
        margin: 10px auto !important;
    }

    /* Réduire le padding-top de la section pricing */
    #pricing {
        padding-top: 15px !important;
    }

    /* Masquer les chevrons autour du titre brands sur mobile */
    .brands__header .chevron-group {
        display: none !important;
    }

    /* Réduction des espaces autour de la section L'expertise Optix */
    .section-divider--with-title {
        margin-top: 0 !important;
        margin-bottom: 5px !important;
        padding: 0px 0 !important;
    }

    /* Réduire le padding de la section pricing au-dessus */
    #pricing {
        padding-bottom: 0px !important;
    }

    .pricing-card {
        margin-bottom: 20px !important;
    }

    .testimonials__header {
        margin-bottom: 20px !important;
    }

    .testimonials__header .hero__title {
        font-size: var(--text-2xl) !important;
        margin-bottom: 8px !important;
    }

    .testimonials__header .hero__subtitle {
        font-size: var(--text-sm) !important;
        margin-bottom: 10px !important;
    }

    /* Section testimonials placeholder */
    section.section-placeholder {
        padding-top: 20px !important;
    }

    /* Réduire l'espace avant la FAQ sur mobile */
    .testimonials-carousel+.neon-separator,
    section.section-placeholder+.neon-separator {
        margin: 10px auto !important;
    }

    .faq-section {
        padding-top: 20px !important;
    }

    /* Pousser le preview vers le bas sur mobile */
    .hero__preview {
        margin-top: 20px !important;
    }

    /* Masquer les chevrons autour de "Compatible avec" sur mobile */
    .hero+.section-divider--with-title .chevron-group {
        display: none !important;
    }

    /* Centrer verticalement le texte "Découvre notre Logiciel" sur mobile */
    .hero .section-divider--with-title {
        margin-top: 35px !important;
        margin-bottom: 10px !important;
    }
}