/* --- RESET ET VARIABLES (Thème Sombre) --- */
:root {
    --primary: #38bdf8; /* Cyan électrique pour le contraste */
    --primary-hover: #0ea5e9;
    --bg-dark: #0f172a; /* Bleu nuit très sombre */
    --bg-card: #1e293b; /* Bleu gris sombre pour les cartes */
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --radius: 12px;
    --primary-glow: rgba(56, 189, 248, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* --- FOND ANIMÉ (Conteneur) --- */
#tsparticles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Derrière tout le contenu */
}

/* --- ANIMATIONS D'APPARITION --- */
.animated-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-element.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* --- LAYOUT CONTAINER --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1; /* Devant le fond animé */
}

.container-small {
    max-width: 500px;
}

/* --- BOUTONS & BADGES --- */
.badge {
    display: inline-block;
    background-color: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.btn-primary {
    background-color: var(--primary);
    color: #0f172a;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.btn-full {
    display: block;
    width: 100%;
}

/* --- HERO SECTION --- */
.hero {
    padding: 96px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-top: 24px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hero .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}
/* Soulignement animé sous le texte important */
.hero .highlight::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.8s ease-in-out 0.4s;
}
.animated-element.reveal .hero .highlight::after {
    width: 100%;
}

.hero .subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 20px auto 0;
}

.cta-group {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- FEATURES SECTION --- */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 56px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.card {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.card .icon {
    font-size: 1.75rem;
    background-color: rgba(56, 189, 248, 0.1);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 700;
}

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

/* --- PROCESS SECTION --- */
.process {
    padding: 80px 0;
}

.process h2 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 56px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.step-card {
    background-color: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    position: relative;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.8;
    margin-bottom: 12px;
    font-family: monospace; /* Donne une petite touche technique très propre */
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

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

/* --- PRICING SECTION --- */
.pricing {
    background-color: rgba(30, 41, 59, 0.5); /* Semi-transparent */
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pricing-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: border-color 0.4s ease;
}
.pricing-card:hover {
    border-color: var(--primary);
}

.pricing-header {
    background-color: rgba(56, 189, 248, 0.05);
    color: var(--text-light);
    padding: 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.pricing-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.pricing .price {
    margin-top: 24px;
}

.pricing .amount {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
}

.pricing .period {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.recurring {
    font-size: 1.25rem;
    margin-top: 6px;
    font-weight: 600;
    color: var(--text-light);
}

.recurring small {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-body {
    padding: 40px;
}

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

.pricing-body li {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.pricing-body li strong {
    color: var(--primary);
}

.pricing-body .check {
    color: var(--primary);
    font-weight: bold;
    margin-right: 12px;
}

/* --- FOOTER --- */
footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.25rem; }
}