:root {
    --primary-color: #E63946; /* Rouge médical moderne */
    --primary-dark: #C1121F;
    --primary-light: #FF8C94;
    --soft-primary: #FFF1F2;
    --blue-dark: #1D3557;
    --blue-light: #F1FAEE;
    --text-dark: #2B2D42;
    --text-muted: #6C757D;
    --bg-light: #F8F9FA;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .fw-bold {
    font-family: var(--font-main);
}

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

.bg-primary {
    background-color: var(--primary-color) !important;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-white {
    background-color: #fff;
    color: var(--primary-color);
}

.bg-soft-primary {
    background-color: var(--soft-primary);
}

.bg-blue-light {
    background-color: var(--blue-light);
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Typography Enhancements */
.fw-extrabold {
    font-weight: 800;
}

.display-3 {
    letter-spacing: -0.02em;
}

.smaller {
    font-size: 0.875rem;
}

.x-smaller {
    font-size: 0.75rem;
}

/* Layout Elements */
.hero-section {
    background: radial-gradient(circle at 100% 0%, rgba(230, 57, 70, 0.05) 0%, rgba(255, 255, 255, 1) 50%);
}

.navbar-brand img {
    /* Suppression de l'arrondi forcé si nécessaire, ou on le garde sans bordure */
    border: none;
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
}

.phone-mockup {
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.phone-mockup img {
    border: none;
    border-radius: 20px; /* On réduit un peu l'arrondi qui était de 44px pour correspondre à la bordure de 12px */
}

.floating-card {
    position: absolute;
    bottom: 40px;
    right: -10px;
    z-index: 2;
    width: 240px;
}

.bg-success-soft {
    background-color: #D1FAE5;
}

.bg-primary-soft {
    background-color: rgba(230, 57, 70, 0.1) !important;
}

.bg-info-soft {
    background-color: rgba(23, 162, 184, 0.1) !important;
}

.border-primary-light {
    border-color: rgba(230, 57, 70, 0.2) !important;
}

/* Animations */
.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

.animate-float-delayed {
    animation: float 4s ease-in-out infinite;
    animation-delay: 1.5s;
}

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.vault-illustration {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
}

.vault-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.vault-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(230, 57, 70, 0.2);
    border-radius: 50%;
}

.ring-1 { width: 100px; height: 100px; animation: rotate 10s linear infinite; }
.ring-2 { width: 150px; height: 150px; animation: rotate 15s linear reverse infinite; }
.ring-3 { width: 200px; height: 200px; animation: rotate 20s linear infinite; }

.vault-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.protection-node {
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    border: 1px solid rgba(0,0,0,0.05);
}

.node-1 { top: 10%; right: 10%; }
.node-2 { bottom: 15%; left: 0%; }
.node-3 { top: 20%; left: 10%; }

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.sovereignty-badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sovereignty-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Steps */
.step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

/* Radar Chart (Mockup) */
.radar-chart-placeholder {
    background: url('data:image/svg+xml;utf8,<svg width="400" height="400" xmlns="http://www.w3.org/2000/svg"><circle cx="200" cy="200" r="150" stroke="rgba(255,255,255,0.1)" stroke-width="1" fill="none"/><circle cx="200" cy="200" r="100" stroke="rgba(255,255,255,0.1)" stroke-width="1" fill="none"/><circle cx="200" cy="200" r="50" stroke="rgba(255,255,255,0.1)" stroke-width="1" fill="none"/><line x1="200" y1="50" x2="200" y2="350" stroke="rgba(255,255,255,0.1)"/><line x1="50" y1="200" x2="350" y2="200" stroke="rgba(255,255,255,0.1)"/></svg>');
    background-position: center;
    background-repeat: no-repeat;
}

/* FAQ */
.accordion-button:not(.collapsed) {
    background-color: var(--soft-primary);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(230, 57, 70, 0.1);
}

.shadow-sm-hover:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.075)!important;
    transition: box-shadow 0.3s ease;
}

/* Responsive fixes */
@media (max-width: 991.98px) {
    .floating-card {
        right: 0;
        bottom: -20px;
        width: 180px;
    }
    .display-3 {
        font-size: 2.5rem;
    }
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.z-index-2 {
    position: relative;
    z-index: 2;
}

nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
}

nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Section Tarifs */
.ls-1 {
    letter-spacing: 0.1em;
}

.bg-success-soft {
    background-color: rgba(74, 222, 128, 0.15) !important;
}

.bg-info-soft {
    background-color: rgba(0, 180, 216, 0.15) !important;
}

.pricing-card-premium {
    background-color: #1e110e; /* Très sombre, accordé au thème de l'image */
    color: white;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.premium-badge .badge {
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.pricing-price .display-3 {
    font-family: serif;
}

@media (max-width: 991px) {
    .pricing-card-premium {
        margin-top: 2rem;
    }
}
/* Section de comparaison (SuiviBio vs Autres apps) */
.comparison-section {
    background-color: #1e1e1e; /* Moins noir (gris très sombre) */
    color: #fff;
    padding: 100px 0;
}

.comparison-section h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-family: serif; /* Pour se rapprocher du style de l'image */
}

.comparison-section .subtitle {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.comparison-table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th, 
.comparison-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.comparison-table th {
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
    color: #888;
}

.comparison-table td {
    font-size: 1rem;
    color: #888;
}

/* Colonne Autres apps */
.col-others {
    width: 35%;
}

/* Colonne SuiviBio - mise en évidence */
.col-suivibio {
    width: 35%;
    background-color: rgba(230, 57, 70, 0.03); /* Très légère teinte rouge */
    color: #4ade80 !important; /* Vert vif pour le texte */
    font-weight: 600;
}

.col-suivibio-border {
    border-left: 2px solid #E63946;
    border-right: 2px solid #E63946;
}

.comparison-table tr:first-child .col-suivibio-border {
    border-top: 2px solid #E63946;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.comparison-table tr:last-child .col-suivibio-border {
    border-bottom: 2px solid #E63946;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
    border-bottom: none;
}

.text-suivibio {
    color: #4ade80 !important;
}

.header-suivibio {
    color: #fff !important;
    background-color: rgba(230, 57, 70, 0.2) !important; /* Fond plus marqué pour le header */
}

.icon-cross {
    color: #E63946;
    margin-right: 8px;
}

.icon-check {
    color: #4ade80;
    margin-right: 8px;
}

.header-label {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 6px;
}

.label-suivibio {
    background-color: #E63946;
    color: white;
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 60px 0;
    }
    .comparison-section h2 {
        font-size: 1.8rem;
    }
    .comparison-table th, 
    .comparison-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }
}
