/* --- 1. Variables & Reset --- */
:root {
    --bg-dark: #0F172A; /* Bleu nuit profond */
    --bg-card: #1E293B; /* Bleu gris pour les cartes */
    --primary: #7C3AED; /* Violet vibrant */
    --primary-hover: #8B5CF6; /* Violet plus clair */
    --text-main: #F8FAFC; /* Blanc cassé */
    --text-muted: #94A3B8; /* Gris texte */
    --accent-glow: rgba(124, 58, 237, 0.4);
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.section-dark {
    background-color: #0B1120;
}
/* Fond alternatif plus sombre */

/* --- 2. Navigation --- */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    height: 36px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

    .logo-text span {
        color: var(--primary);
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

    .nav-links a:not(.btn-nav-buy) {
        color: var(--text-muted);
        font-weight: 500;
        font-size: 0.95rem;
    }

        .nav-links a:not(.btn-nav-buy):hover {
            color: var(--text-main);
        }

.btn-nav-buy {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

    .btn-nav-buy:hover {
        background: var(--primary-hover);
        box-shadow: 0 0 15px var(--accent-glow);
    }

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- 3. Hero Section --- */
.hero {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

    /* Effet de fond subtil (Glow) */
    .hero::before {
        content: '';
        position: absolute;
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
        z-index: -1;
        opacity: 0.5;
    }

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.15);
    color: #A78BFA;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero strong {
    color: var(--text-main);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.store-badge-img {
    height: 45px;
    transition: transform 0.2s;
}

.store-badge-link:hover .store-badge-img {
    transform: scale(1.05);
}

.btn-outline {
    padding: 10px 24px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    font-weight: 500;
}

    .btn-outline:hover {
        background: rgba(255,255,255,0.05);
        border-color: white;
    }

.hero-trust {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Hero Visual (Mockup) */
.hero-visual {
    flex: 1.2;
}

.app-window {
    background: #000;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.window-header {
    background: #1e1e1e;
    padding: 8px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.red {
    background: #FF5F56;
}

.yellow {
    background: #FFBD2E;
}

.green {
    background: #27C93F;
}

/* --- 4. Stats Bar --- */
.stats-bar {
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.02);
    padding: 30px 0;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
}

    .stat-item .number {
        display: block;
        font-size: 2rem;
        font-weight: 800;
        color: var(--text-main);
    }

    .stat-item .label {
        font-size: 0.9rem;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

/* --- 5. Features --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .section-header p {
        color: var(--text-muted);
        font-size: 1.1rem;
    }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        border-color: var(--primary);
    }

.card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- 6. Gallery --- */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .gallery-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

.gallery-info {
    padding: 20px;
}

    .gallery-info h4 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .gallery-info p {
        font-size: 0.9rem;
        color: var(--text-muted);
    }

/* --- 7. Specs Table --- */
.table-wrapper {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

.col-head {
    width: 25%;
    font-weight: 600;
    color: var(--primary-hover);
    border-right: 1px solid rgba(255,255,255,0.05);
    background: rgba(255,255,255,0.01);
}

    .col-head i {
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }

/* --- 8. Footer & CTA --- */
.cta-box {
    text-align: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.1) 100%);
    padding: 60px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 60px;
}

    .cta-box h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .cta-box p {
        color: var(--text-muted);
        margin-bottom: 30px;
    }

.store-badge-link.big img {
    height: 60px;
}

.footer-links {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
}

    .footer-links p {
        margin-bottom: 15px;
    }

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

    .socials a {
        color: var(--text-muted);
        text-decoration: underline;
        text-decoration-color: rgba(255,255,255,0.2);
    }

        .socials a:hover {
            color: var(--primary);
        }

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
    /* Pour faire simple, on cache le menu sur mobile dans cet exemple statique */
    .mobile-toggle {
        display: block;
    }

    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .col-head {
        width: 100%;
        border-right: none;
        display: block;
        border-bottom: none;
        padding-bottom: 5px;
        color: var(--primary);
    }

    td {
        display: block;
        padding: 10px 25px 25px;
    }
}
