/* =============================================
   LazyProfitBot - Pure CSS Styles
   Trading Terminal Theme
   ============================================= */

/* CSS Variables */
:root {
    /* Colors - LazyProfitBot Fintech Theme */
    --background: hsl(222, 47%, 6%);
    --foreground: hsl(210, 40%, 96%);

    --card: hsl(222, 47%, 8%);
    --card-foreground: hsl(210, 40%, 96%);

    /* Algorithmic Gold */
    --primary: hsl(43, 74%, 49%);
    --primary-foreground: hsl(222, 47%, 6%);

    --secondary: hsl(222, 30%, 14%);
    --secondary-foreground: hsl(210, 40%, 96%);

    --muted: hsl(222, 30%, 12%);
    --muted-foreground: hsl(215, 20%, 55%);

    --accent: hsl(222, 40%, 16%);
    --accent-foreground: hsl(43, 74%, 49%);

    --destructive: hsl(0, 72%, 51%);
    --destructive-foreground: hsl(210, 40%, 98%);

    /* Trading colors */
    --success: hsl(142, 76%, 36%);
    --success-foreground: hsl(210, 40%, 98%);
    --warning: hsl(38, 92%, 50%);
    --warning-foreground: hsl(222, 47%, 6%);

    --border: hsl(222, 30%, 18%);
    --input: hsl(222, 30%, 14%);
    --ring: hsl(43, 74%, 49%);

    --radius: 0.5rem;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg,
            hsl(44, 100%, 58%) 0%,
            hsl(46, 100%, 68%) 45%,
            hsl(42, 100%, 52%) 100%);
    --gradient-dark: linear-gradient(180deg, hsl(222, 47%, 8%) 0%, hsl(222, 47%, 4%) 100%);
    --gradient-card: linear-gradient(145deg, hsl(222, 47%, 10%) 0%, hsl(222, 47%, 6%) 100%);
    --gradient-glow: radial-gradient(ellipse at center, hsl(43, 74%, 49%, 0.15) 0%, transparent 70%);

    /* Shadows */
    --shadow-gold: 0 0 40px hsl(43, 74%, 49%, 0.2);
    --shadow-card: 0 4px 24px hsl(222, 47%, 4%, 0.5);
    --shadow-glow: 0 0 60px hsl(43, 74%, 49%, 0.3);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Utility Classes */
.text-gradient-gold {
    display: inline-block;
    background: var(--gradient-gold);
    background-size: 200% 200%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.hidden {
    display: none !important;
}

/* Terminal Grid Background */
.terminal-grid {
    background-image: linear-gradient(hsl(222, 30%, 15%, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, hsl(222, 30%, 15%, 0.5) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Card Terminal */
.card-terminal {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.card-terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(43, 74%, 49%, 0.5), transparent);
}

/* Glass Effect */
.glass {
    background: hsl(222, 47%, 8%, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid hsl(222, 30%, 20%, 0.5);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--primary-foreground);
}

.btn-gold:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

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

.btn-gold-outline:hover {
    background: hsl(43, 74%, 49%, 0.1);
    box-shadow: var(--shadow-gold);
}

.btn-ghost {
    background: transparent;
    color: var(--muted-foreground);
}

.btn-ghost:hover {
    color: var(--foreground);
    background: var(--accent);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

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

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.9s;
}

.delay-5 {
    animation-delay: 0.12s;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

/* Right cluster (Discord + Flags + Mobile menu) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/*
.logo-icon {
    /*
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
}
*/
.logo-icon {
    height: 55px;
    display: flex;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.logo-icon img {
    height: 100%;
    width: auto;
    display: block;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .logo-icon {
        margin-top: 2px;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color 0.2s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .nav-cta {
        display: flex;
    }
}

.mobile-menu-btn {
    display: flex;
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-nav {
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
    background: var(--accent);
}

.mobile-nav-cta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--background), hsl(222, 47%, 6%, 0.8), var(--background));
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.hero-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: hsl(43, 74%, 49%, 0.1);
    border-radius: 50%;
    filter: blur(120px);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid hsl(43, 74%, 49%, 0.3);
    background: hsl(43, 74%, 49%, 0.05);
    margin-bottom: 2rem;
}

.hero-badge span:last-child {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    padding: 1.5rem;
    text-align: center;
    border-radius: 0.75rem;
}

.stat-icon {
    color: var(--primary);
    margin: 0 auto 0.75rem;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

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

.hero-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: linear-gradient(to top, var(--background), transparent);
}

/* Indicateur de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--muted-foreground);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator span {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section-header {
    margin-bottom: 2rem;
}

.section-header.centered {
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .section-header:not(.centered) {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

.section-tag {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--foreground);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-desc {
    color: var(--muted-foreground);
    margin-top: 0.75rem;
    max-width: 36rem;
}

/* =============================================
   FEATURED PRODUCTS
   ============================================= */
.featured-products {
    padding: 3rem 0;
    position: relative;
    margin-top: -1rem;
}

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

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

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Card */
.product-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-card.featured {
    box-shadow: var(--shadow-gold);
    border: 1px solid var(--primary);
}

/* =============================================
   PRODUCT CORNER RIBBON (promo / offer)
   ============================================= */




.product-image {
    position: relative;
    height: 12rem;
    background: var(--secondary);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
    filter: saturate(1.12) contrast(1.1);
}

.product-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--card), transparent);
}

.product-performance {
    display: none;
}

.product-performance.positive {
    background: hsl(142, 76%, 36%, 0.2);
    color: var(--success);
}

.product-performance.negative {
    background: hsl(0, 72%, 51%, 0.2);
    color: var(--destructive);
}

.product-content {
    padding: 1.5rem;
}

.product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    transition: color 0.2s;
}

.product-card:hover .product-name {
    color: var(--primary);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-rating svg {
    color: var(--primary);
}

.product-rating span {
    font-size: 0.875rem;
    font-weight: 500;
}

.product-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pairs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pair-tag {
    padding: 0.25rem 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    background: var(--accent);
    border-radius: 0.25rem;
    color: var(--accent-foreground);
}

.product-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.price-original {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
    padding: 3rem 0;
    background: var(--card);
    position: relative;
    overflow: hidden;
}

.features-grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    margin-top: 1.5rem;
}

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

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: hsl(43, 74%, 49%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
    transition: background 0.2s;
}

.feature-card:hover .feature-icon {
    background: hsl(43, 74%, 49%, 0.2);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* =============================================
   LIVE TRADING SECTION
   ============================================= */
.live-trading {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.live-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: hsl(43, 74%, 49%, 0.05);
    border-radius: 50%;
    filter: blur(150px);
}

.live-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .live-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid hsl(0, 72%, 51%, 0.3);
    background: hsl(0, 72%, 51%, 0.1);
    margin-bottom: 1.5rem;
}

.live-badge span:last-child {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--destructive);
}

.live-pulse {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--destructive);
    animation: pulse 2s infinite;
}

.live-desc {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin: 1.5rem 0 2rem;
}

.live-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.live-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.live-stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.live-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

.live-stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.live-embed-wrapper {
    position: relative;
}

.live-embed {
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.live-embed-content {
    width: 100%;
    height: 100%;
    background: var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.live-embed-content .terminal-grid {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.twitch-placeholder {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.twitch-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: hsl(263, 100%, 65%, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.twitch-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #9146FF;
}

.twitch-placeholder p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.twitch-channel {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: hsl(215, 20%, 55%, 0.6);
}

.live-indicator {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
    background: hsl(0, 72%, 51%, 0.2);
}

.live-indicator span:last-child {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--destructive);
}

.viewer-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius);
    background: hsl(222, 47%, 6%, 0.8);
}

.viewer-count svg {
    color: var(--muted-foreground);
}

.viewer-count span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.embed-glow-1 {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    width: 8rem;
    height: 8rem;
    background: hsl(43, 74%, 49%, 0.2);
    border-radius: 50%;
    filter: blur(48px);
}

.embed-glow-2 {
    position: absolute;
    top: -1rem;
    left: -1rem;
    width: 6rem;
    height: 6rem;
    background: hsl(263, 100%, 65%, 0.2);
    border-radius: 50%;
    filter: blur(48px);
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
    padding: 3rem 0;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, hsl(43, 74%, 49%, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

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

.faq-section .section-tag {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    background: hsl(43, 74%, 49%, 0.1);
    border: 1px solid hsl(43, 74%, 49%, 0.2);
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.faq-section .section-desc {
    max-width: 40rem;
    margin: 0 auto;
}

.faq-container {
    max-width: 56rem;
    margin: 0 auto;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
}

.faq-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, hsl(43, 74%, 49%, 0.5), transparent);
}

.faq-item {
    border-bottom: 1px solid hsl(222, 30%, 18%, 0.5);
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.card-terminal {
    background: transparent;
    border: none;
    border-bottom: 1px solid hsl(222, 30%, 18%, 0.5);
    box-shadow: none;
}

.faq-item.card-terminal::before {
    display: none;
}

.faq-item:last-child.card-terminal {
    border-bottom: none;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--foreground);
    transition: all 0.2s ease;
}

.faq-trigger:hover {
    background: transparent;
}

.faq-trigger:hover .faq-number {
    background: hsl(43, 74%, 49%, 0.2);
}

.faq-trigger:hover .faq-question {
    color: var(--primary);
}

.faq-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: hsl(43, 74%, 49%, 0.1);
    border-radius: 0.5rem;
    transition: background 0.2s ease;
}

.faq-question {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    padding-top: 0.25rem;
    transition: color 0.2s ease;
}

@media (min-width: 768px) {
    .faq-question {
        font-size: 1.125rem;
    }
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--muted-foreground);
    transition: transform 0.3s ease, color 0.3s ease;
    margin-top: 0.25rem;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-content {
    max-height: 400px;
}

.faq-content p {
    padding: 0 1.5rem 1.5rem;
    padding-left: calc(3rem + 1rem);
    color: var(--muted-foreground);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 2rem 0;
    }

    .faq-trigger {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }

    .faq-question {
        font-size: 0.9375rem;
    }

    .faq-content p {
        padding: 0 1.25rem 1.25rem;
        padding-left: calc(2.75rem + 0.75rem);
        font-size: 0.875rem;
    }
}

/* =============================================
   NEWSLETTER SECTION
   ============================================= */
.newsletter {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--background), var(--card), var(--background));
}

.newsletter-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: hsl(43, 74%, 49%, 0.1);
    border-radius: 50%;
    filter: blur(120px);
}

.newsletter-content {
    position: relative;
    z-index: 10;
    max-width: 42rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter-desc {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 28rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--foreground);
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input::placeholder {
    color: var(--muted-foreground);
}

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

.newsletter-success {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
}

.newsletter-success svg {
    color: var(--success);
}

.newsletter-success span {
    font-weight: 500;
    color: var(--foreground);
}

.newsletter-privacy {
    font-size: 0.75rem;
    color: hsl(215, 20%, 55%, 0.6);
    margin-top: 1rem;
}

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

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand .logo-link {
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    max-width: 28rem;
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--accent);
    color: var(--primary);
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    transition: color 0.2s;
}

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

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: hsl(215, 20%, 55%, 0.6);
    max-width: 32rem;
}

@media (min-width: 768px) {
    .footer-disclaimer {
        text-align: right;
    }
}

/* =============================================
   DISCORD BUTTON
   ============================================= */
.btn-discord {
    background: hsl(235, 86%, 65%);
    color: hsl(0, 0%, 100%);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-discord:hover {
    background: hsl(235, 86%, 55%);
    box-shadow: 0 0 30px hsl(235, 86%, 65%, 0.4);
    transform: translateY(-2px);
}

/* =============================================
   MT4/MT5 BADGES
   ============================================= */
.mt-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.mt-badge.mt4 {
    background: linear-gradient(135deg, hsl(200, 85%, 45%) 0%, hsl(200, 85%, 35%) 100%);
    color: hsl(0, 0%, 100%);
    box-shadow: 0 2px 8px hsl(200, 85%, 45%, 0.3);
}

.mt-badge.mt5 {
    background: linear-gradient(135deg, hsl(280, 70%, 50%) 0%, hsl(280, 70%, 40%) 100%);
    color: hsl(0, 0%, 100%);
    box-shadow: 0 2px 8px hsl(280, 70%, 50%, 0.3);
}

.mt-badge.mt5-combo {
    background: linear-gradient(135deg, hsl(200, 85%, 45%) 0%, hsl(280, 70%, 50%) 100%);
    color: hsl(0, 0%, 100%);
    box-shadow: 0 2px 8px hsl(240, 70%, 50%, 0.3);
}

/* Product Image Link */
.product-image-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.product-image-link:hover .product-image img {
    transform: scale(1.05);
}

.product-image-link:hover .product-image-overlay {
    opacity: 0.3;
}

.product-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.product-image img {
    transition: transform 0.4s ease;
}

/* =============================================
   BADGE D'ÉCONOMIE
   ============================================= */
.price-save {
    background-color: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 1rem;
    display: inline-block;
}

.price-save[data-savings]::after {
    content: " (" attr(data-savings) "%)";
    font-size: 0.75rem;
    opacity: 0.9;
}

/* =============================================
   AJUSTEMENTS RESPONSIVE SUPPLÉMENTAIRES
   ============================================= */
@media (max-width: 768px) {

    /* Sections plus compactes sur mobile */
    .featured-products,
    .features,
    .faq-section,
    .live-trading,
    .newsletter {
        padding: 2rem 0;
    }

    .hero {
        padding-bottom: 1.5rem;
    }

    .hero-fade-bottom {
        height: 3rem;
    }

    /* Header réduit */
    .nav-content {
        height: 3.5rem;
    }

    /* Titres plus petits */
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    /* Grilles en colonne unique */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .live-grid {
        gap: 1.5rem;
    }

    /* CTA buttons en colonne */
    .hero-cta {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Footer en colonne */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* =============================================
   ANIMATIONS SUPPLÉMENTAIRES
   ============================================= */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* =============================================
   AMÉLIORATIONS VISUELLES
   ============================================= */
/* Effet de brillance sur les cartes */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.product-card:hover::after {
    left: 100%;
}

/* Surbrillance des liens actifs */
.nav-link.active {
    font-weight: 600;
}

/* Amélioration du contraste des textes */
.section-desc,
.feature-desc,
.product-desc {
    opacity: 0.9;
}

/* =============================================
   CORRECTIONS FINALES
   ============================================= */
/* Assurer que les sections sont visibles */
main>section {
    scroll-margin-top: 5rem;
}

/* Correction des transitions */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Optimisation des performances */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =============================================
   Language switch (FR/EN)
   ============================================= */
.lang-switch {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 0;
}

.lang-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    opacity: 0.85;
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.lang-switch a img {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    display: block;
}

.lang-switch a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.lang-switch a.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

/* =============================
   Legal modal (CGU / Privacy)
   ============================= */

.legal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
}

.legal-backdrop.hidden {
    display: none;
}

.legal-modal {
    width: min(920px, 100%);
    max-height: min(80vh, 760px);
    overflow: hidden;
    border-radius: 18px;
    background: rgba(17, 24, 39, 0.92);
    border: 1px solid rgba(255, 215, 0, 0.18);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.legal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-modal-header h3 {
    margin: 0;
    font-size: 1.05rem;

}

.legal-modal-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
}

.legal-modal-close:hover {
    opacity: 1;
}

.legal-modal-body {
    padding: 15px 50px 10px;
    overflow: auto;
    max-height: calc(min(80vh, 760px) - 54px);
}

.legal-modal-body h3 {
    margin-top: 0;
    padding: 20px 0px 0px;
    color: rgb(92, 91, 91);

}

.legal-modal-body h2 {
    margin-top: 0;
    color: rgb(128, 131, 131);

}

html.legal-modal-open {
    overflow: hidden;
}

.legal-modal-body li,
p {
    font-size: 13px;
    margin: 6px 0;
    color: rgba(202, 194, 194, 0.582);
}

.legal-modal-body ul {
    margin: 6px 0 6px 18px;
}

/* ==============================
   Corner ribbon (triangle + texte)
   ============================== */

.product-badge {
    position: absolute;
    isolation: isolate;
    top: 0;
    right: 0;
    z-index: 999;

    width: 110px;
    height: 110px;
    overflow: hidden;
    pointer-events: none;
}

/* triangle */
.product-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--primary);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* texte */
.product-badge::after {
    content: attr(data-badge);
    position: absolute;
    z-index: 1;
    /* Ajuste ici le placement du texte */
    top: 35px;
    right: -68px;

    transform: rotate(45deg);
    width: 230px;
    text-align: center;

    font-family: "JetBrains Mono", monospace;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;

    color: var(--primary-foreground);
    white-space: nowrap;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

/* si data-badge est vide, on cache le ribbon */
.product-badge[data-badge=""] {
    display: none;
}