/* =====================================================
   landing_page/style.css — Feuille de style Landing Page
   ===================================================== */

/* 1. Design System & Variables */
:root {
    --bg-dark: 224, 20%, 7%;        /* #0b0c10 - Fond principal */
    --bg-card: 224, 18%, 11%;       /* #151821 - Fond des cartes */
    --bg-card-hover: 224, 18%, 15%; /* #1e222f - Hover cartes */
    --accent: 140, 100%, 45%;       /* #00e676 - Vert néon principal */
    --accent-glow: 140, 100%, 45%, 0.15;
    --text-white: 0, 0%, 100%;
    --text-muted: 224, 10%, 65%;
    --border: 224, 15%, 18%;        /* Bordures subtiles */
    --gradient-glow: linear-gradient(135deg, hsl(140, 100%, 45%), hsl(160, 100%, 40%));
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Variables de support dynamiques */
    --whatsapp-color: 142, 70%, 49%;
    --telegram-color: 200, 100%, 40%;
}

/* Reset de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    background-color: hsl(var(--bg-dark));
    color: hsl(var(--text-white));
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Grilles & Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typographie & Titres */
h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

p {
    color: hsl(var(--text-muted));
    font-size: 1.1rem;
    font-weight: 400;
}

/* Gradients et Effets spéciaux */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 30%, hsl(var(--accent)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-accent {
    color: hsl(var(--accent)) !important;
}

/* Orbes Néon d'ambiance */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.25;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: hsl(var(--accent));
    top: -150px;
    right: -100px;
}

.orb-2 {
    width: 350px;
    height: 350px;
    background: #00bcd4;
    top: 300px;
    left: -150px;
}

/* 2. Header / Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(11, 12, 16, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.3));
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: hsl(var(--text-white));
    letter-spacing: -0.02em;
}

.brand-accent {
    color: hsl(var(--accent));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    color: hsl(var(--text-muted));
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-item:hover {
    color: hsl(var(--text-white));
}

/* Boutons & CTAs */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--gradient-glow);
    color: #050508;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 230, 118, 0.25);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 230, 118, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: hsl(var(--text-white));
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-support-nav {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: hsl(var(--text-white));
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.btn-support-nav:hover {
    background: var(--support-color, hsl(var(--accent)));
    color: #050508;
    border-color: transparent;
    box-shadow: 0 4px 15px var(--support-shadow, rgba(0, 230, 118, 0.25));
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: hsl(var(--text-white));
    font-size: 1.8rem;
    cursor: pointer;
}

/* 3. Hero Section */
.hero-section {
    position: relative;
    padding-top: 170px;
    padding-bottom: 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge-premium-glow {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 230, 118, 0.06);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: hsl(var(--accent));
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.03em;
}

.hero-desc {
    font-size: 1.25rem;
    line-height: 1.55;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 32px;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-val {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #ffffff 40%, hsl(var(--accent)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-lbl {
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.metric-divider {
    width: 1px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-bg-glow {
    position: absolute;
    width: 320px;
    height: 480px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.app-mockup-img {
    width: 100%;
    max-width: 330px;
    height: auto;
    object-fit: contain;
    border-radius: 36px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

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

/* 4. Features Section */
.features-section {
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tagline {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: hsl(var(--accent));
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.15rem;
    margin-top: 16px;
}

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

.feature-card {
    background-color: hsl(var(--bg-card));
    border: 1px solid hsl(var(--border));
    border-radius: 20px;
    padding: 36px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(0, 230, 118, 0.06), transparent 40%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
}

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 230, 118, 0.25);
    background-color: hsl(var(--bg-card-hover));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.icon-box {
    width: 56px;
    height: 56px;
    background-color: rgba(0, 230, 118, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent));
    font-size: 1.6rem;
    margin-bottom: 24px;
    border: 1px solid rgba(0, 230, 118, 0.15);
}

.feature-card h3 {
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 5. How It Works Section */
.how-works-section {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.step-card {
    position: relative;
    padding: 30px;
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-card h3 {
    margin-top: 24px;
    font-size: 1.35rem;
}

/* 6. Pricing Section */
.pricing-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.pricing-card-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pricing-card {
    background: linear-gradient(135deg, hsl(var(--bg-card)) 0%, rgba(21, 24, 33, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    width: 100%;
    max-width: 580px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.premium-card {
    border-color: rgba(0, 230, 118, 0.25);
    box-shadow: 0 20px 50px rgba(0, 230, 118, 0.05);
}

.pricing-popular-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--gradient-glow);
    color: #050508;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.pricing-header p {
    font-size: 1rem;
    margin-bottom: 24px;
}

.price-box {
    display: flex;
    align-items: baseline;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
}

.period {
    font-size: 1.2rem;
    color: hsl(var(--text-muted));
    margin-left: 8px;
}

.pricing-features ul {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    color: #e0e0e0;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.pricing-action {
    text-align: center;
}

.btn-pricing-cta {
    width: 100%;
    justify-content: center;
    padding: 16px;
    border-radius: 14px;
    font-size: 1.1rem;
}

.pricing-hint {
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
    margin-top: 12px;
}

/* 7. Download Section */
.download-section {
    padding: 60px 0;
    position: relative;
}

.download-box {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.08) 0%, rgba(21, 24, 33, 0.9) 100%);
    border: 1px solid rgba(0, 230, 118, 0.2);
    border-radius: 28px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.download-content {
    max-width: 600px;
    z-index: 2;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

.apk-info {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    color: #ffffff;
    font-size: 0.95rem;
    align-items: center;
}

.apk-info .divider {
    color: rgba(255, 255, 255, 0.2);
}

.download-badge-icon {
    font-size: 12rem;
    color: rgba(0, 230, 118, 0.03);
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.15rem;
    border-radius: 14px;
}

/* 8. FAQ Section */
.faq-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

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

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

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

.faq-question i {
    font-size: 1.1rem;
    color: hsl(var(--text-muted));
    transition: var(--transition-smooth);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
    font-size: 1rem;
    padding-top: 16px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: hsl(var(--accent));
}

/* 9. Support dynamic Box */
.support-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.support-box {
    background-color: hsl(var(--bg-card));
    border: 1px solid hsl(var(--border));
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.support-box h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.support-box p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-support-dynamic {
    display: inline-flex;
    align-items: center;
    background-color: var(--support-bg, rgba(0, 230, 118, 0.12));
    border: 1px solid var(--support-border, rgba(0, 230, 118, 0.3));
    color: var(--support-color, hsl(var(--accent)));
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-support-dynamic:hover {
    background-color: var(--support-color, hsl(var(--accent)));
    color: #050508;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--support-shadow, rgba(0, 230, 118, 0.2));
    border-color: transparent;
}

/* 10. Footer */
.footer {
    background-color: #050508;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 36px;
    height: 36px;
}

.footer-desc {
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4, .footer-legal h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links li, .footer-legal li {
    margin-bottom: 12px;
}

.footer-links a, .footer-legal a {
    color: hsl(var(--text-muted));
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover, .footer-legal a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
}

/* 11. Responsive Design System */
@media (max-width: 1024px) {
    h1 { font-size: 3.2rem; }
    h2 { font-size: 2.4rem; }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(11, 12, 16, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 40px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-item {
        font-size: 1.15rem;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    
    .btn-support-nav {
        width: 100%;
        justify-content: center;
        padding: 12px;
        font-size: 1.05rem;
        margin-top: 10px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-ctas {
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-metrics {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .metric-divider {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-box {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }
    
    .download-content {
        margin-bottom: 30px;
    }
    
    .apk-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .apk-info .divider {
        display: none;
    }
    
    .download-badge-icon {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 12. Dynamic Support Pricing Button Override */
.btn-pricing-cta {
    background: var(--support-color, var(--gradient-glow)) !important;
    color: #050508 !important;
    box-shadow: 0 8px 24px var(--support-shadow, rgba(0, 230, 118, 0.25)) !important;
    border: none !important;
}

.btn-pricing-cta:hover {
    background: var(--support-hover-color, var(--gradient-glow)) !important;
    color: #050508 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--support-shadow, rgba(0, 230, 118, 0.4)) !important;
}

/* 13. Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay helpers */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

