/* Styles de la page d'accueil / landing (extraits de templates/landing.html.twig) */

/* ===== Variables & Base ===== */
:root {
    --mypuls-primary: #0d6efd;
    --mypuls-purple: #6f42c1;
    --mypuls-dark-bg: #121418;
    --mypuls-card-bg: #1a1d21;
    --mypuls-border: rgba(255, 255, 255, 0.08);
    --mypuls-glow: 0 0 40px rgba(13, 110, 253, 0.15);
}

body {
    background-color: var(--mypuls-dark-bg);
    color: #e9ecef;
    font-family: 'Inter', sans-serif; /* Assure-toi d'avoir une belle police */
}

/* ===== Typography Gradient ===== */
.text-gradient {
    background: linear-gradient(135deg, #20e3b2 0%, #29ffc6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.text-gradient-primary {
    background: linear-gradient(135deg, var(--mypuls-primary) 0%, #a6c5f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== Cards (Glassmorphism Lite) ===== */
.feature-card {
    background: var(--mypuls-card-bg);
    border: 1px solid var(--mypuls-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(13, 110, 253, 0.3);
    box-shadow: var(--mypuls-glow);
}
.feature-card::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:4px;
    background: linear-gradient(90deg, var(--mypuls-primary), var(--mypuls-purple));
    opacity: 0; transition: opacity 0.3s ease;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrapper {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--mypuls-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 6rem;
    background: radial-gradient(circle at 50% 10%, rgba(13,110,253,0.08), transparent 60%);
}

/* ===== Language Switcher ===== */
.lang-switch .dropdown-toggle {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--mypuls-border);
    color: #fff;
}

/* Effet "Ghost" pour le bouton langue */
.btn-ghost-secondary {
    color: var(--bs-secondary);
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}
.btn-ghost-secondary:hover, .btn-ghost-secondary:active, .btn-ghost-secondary[aria-expanded="true"] {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.btn-icon {
    width: 36px; height: 36px; padding: 0;
    display: inline-flex; align-items: center; justify-content: center;
}
/* Container du tableau */
.pricing-wrapper {
    background: var(--mypuls-card-bg, #1a1d21);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden; /* Pour que le border-radius s'applique aux enfants */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.pricing-clarity-card {
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 1rem 1.25rem;
}
.plan-chip {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    padding: .25rem .65rem;
    font-size: .78rem;
}

/* Le tableau lui-même */
.table-modern {
    width: 100%;
    border-collapse: separate; /* Important pour l'espacement si besoin */
    border-spacing: 0;
    margin-bottom: 0;
}

/* En-têtes */
.table-modern thead th {
    background: rgba(255, 255, 255, 0.02);
    color: #6c757d;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

/* Les lignes du corps */
.table-modern tbody tr {
    transition: all 0.2s ease;
}

.table-modern tbody tr:hover {
    background: rgba(255, 255, 255, 0.03); /* Éclaircit légèrement au survol */
    transform: scale(1.005); /* Effet "pop" très léger */
}

/* Les cellules */
.table-modern td {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
    color: #e9ecef;
}

/* Dernière ligne : pas de bordure */
.table-modern tbody tr:last-child td {
    border-bottom: none;
}

/* Typographie spécifique */
.tier-range {
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tier-price {
    font-family: 'Inter', sans-serif; /* Ou ta police principale */
    font-weight: 700;
    font-size: 1.25rem;
    text-align: right;
    color: #fff;
}

/* Highlight du prix (Vert ou Gradient) */
.price-value {
    color: #20e3b2; /* Ton vert 'success' */
    /* Option Gradient (décommente si tu préfères) */
    /* background: linear-gradient(135deg, #20e3b2 0%, #29ffc6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    */
}

.price-period {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 400;
}

/* Indicateur visuel (boule colorée) pour la gamme */
.range-indicator {
    width: 8px; height: 8px;
    border-radius: 50%;
    background-color: var(--mypuls-primary, #0d6efd);
    opacity: 0.5;
}
.table-modern tbody tr:hover .range-indicator {
    opacity: 1;
    box-shadow: 0 0 10px var(--mypuls-primary, #0d6efd);
}

.currency-switch-landing {
    display: inline-flex;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}
.btn-currency-landing {
    border: none;
    background: transparent;
    border-radius: 6px;
    padding: 5px 14px;
    font-size: .8rem;
    font-weight: 600;
    color: #9aa4b2;
    cursor: pointer;
    transition: all .18s ease;
    line-height: 1.4;
}
.btn-currency-landing.active {
    background: rgba(255,255,255,.12);
    color: #20e3b2;
}
