:root {
    --primary: #0c1e3a;
    --primary-hover: #15305c;
    --accent: #00d4ff; 
    --bg-dark: #020617;
    --card-dark: #0f172a;
    --text-slate: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1F2937;
    overflow-x: hidden;
}

.data-grid {
    background-image: none !important; /* Retire the grid background */
}

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    background-color: transparent; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-scrolled {
    background-color: rgba(2, 6, 23, 0.9);
    padding: 0.8rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.branding-icon-box {
    width: 2.25rem;
    height: 2.25rem;
    /* background-color: rgba(255, 255, 255, 0.05); */
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid rgba(255, 255, 255, 0.1); */
    overflow: hidden;
}

.branding-icon-box img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.branding-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

@media (max-width: 375px) {
    .branding-text {
        display: none !important;
    }
    
    .navbar > .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

.nav-link {
    color: var(--text-slate) !important;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.2s;
}

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

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Hero Section Styles */
.hero-section {
    position: relative;
    padding-top: 140px;
    padding-bottom: 12rem;
    background: linear-gradient(135deg, #030816 0%, #0F172A 100%);
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3rem; /* Reduced from display-4 default (~3.5rem) */
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.15rem; /* Reduced for better proportion */
    max-width: 600px;
}

.hero-shape {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60%;
    background-color: rgba(255, 255, 255, 0.03);
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 0;
}

.text-highlight {
    color: var(--accent);
}

.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 15;
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px; /* Increased to match screenshot */
}

.hero-divider .shape-fill {
    fill: #F8FAFC; /* Match bg-light of features section */
}

.bg-darker {
    background-color: #030816;
}

.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-15deg) rotateX(8deg); /* Match original screenshot rotation */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(4deg) scale(1.02);
    box-shadow: 0 35px 60px -15px rgba(0, 212, 255, 0.2);
}

/* Scroll Animations Utility */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #00e0ff;
    border-color: #00e0ff;
    color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Compact Navbar Buttons */
.btn-nav-primary-compact {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: none; /* Reference photo uses Title Case */
    padding: 0.5rem 1.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-nav-primary-compact:hover {
    background-color: #00e0ff;
    border-color: #00e0ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.btn-nav-outline-compact {
    background-color: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: none;
    padding: 0.5rem 1.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-nav-outline-compact:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

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

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


.bg-features {
    background-color: #f8fafc; /* Very light neutral background */
}

.feature-card-modern {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background: var(--primary-light, #f0f7ff);
    color: var(--accent); /* Cyan */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Feature Section Clean up */
.feature-card {
    display: none; /* Replaced by feature-card-modern */
}


/* Preview Section */
#preview {
    background-color: #fff;
}

.list-unstyled i {
    font-size: 1.25rem;
}

.feature-image {
    transition: transform 0.5s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-image:hover {
    transform: scale(1.02);
}

/* FAQ Section */
.bg-faq {
    background-color: #f8fafc;
}

.faq-accordion {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

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

.faq-item:last-child {
    border-bottom: none;
}

.faq-btn {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1F2937;
    background-color: #ffffff;
    padding: 1.25rem 1.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-btn:not(.collapsed) {
    background-color: #ffffff;
    color: var(--accent);
    box-shadow: none;
}

.faq-btn::after {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300d4ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-btn.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236B7280'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-btn:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-body {
    font-size: 0.9rem;
    color: #6B7280;
    line-height: 1.7;
    padding: 0 1.5rem 1.25rem 1.5rem;
    background-color: #ffffff;
}

/* Footer */
footer {
    background-color: #0d121d !important;
    font-size: 0.9rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-icon-accent {
    color: var(--accent) !important;
}

footer h5, footer h6 {
    letter-spacing: 0.5px;
}

footer a:hover {
    color: var(--accent) !important;
}

/* Responsiveness */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
        min-height: 100vh; /* Restore min-height for better content stability */
        padding-bottom: 8rem;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem !important;
    }
    
    .hero-image-wrapper {
        margin-top: 1.5rem; /* Reduced from 3rem */
        transform: scale(0.95) !important;
    }

    .hero-section .d-flex {
        width: 100%;
    }

    .btn-lg {
        padding-left: 1.5rem !important; 
        padding-right: 1.5rem !important;
    }

        /* Mobile specific button sizing */
    .hero-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .navbar-collapse {
        background-color: var(--primary);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
}

@media (min-width: 576px) {
    .hero-section .btn {
        width: auto !important;
        margin-bottom: 0 !important;
    }
}

/* ============================================================
   PRICING SECTION
   ============================================================ */

.bg-pricing {
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

/* Toggle mensuel/annuel */
.pricing-toggle {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.pricing-toggle-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    transition: color 0.2s;
}

.pricing-toggle-label.active {
    color: #0c1e3a;
    font-weight: 600;
}

.pricing-save-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
}

.pricing-switch {
    width: 2.5rem;
    height: 1.3rem;
    cursor: pointer;
}

/* Cards */
.pricing-card {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 1.25rem;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(12, 30, 58, 0.1);
}

.pricing-card-popular {
    border: 2px solid #00d4ff;
    background: linear-gradient(135deg, #f0fbff 0%, #ffffff 60%);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00d4ff, #0c1e3a);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Card header */
.pricing-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-plan-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.pricing-icon-free     { background: #f0fdf4; color: #16a34a; }
.pricing-icon-standard { background: #eff6ff; color: #2563eb; }
.pricing-icon-faitiere { background: #faf5ff; color: #7c3aed; }

.pricing-plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0c1e3a;
    margin-bottom: 0.4rem;
}

.pricing-plan-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0;
}

/* Price */
.pricing-card-price {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #0c1e3a;
}

.pricing-currency {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.pricing-period {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Billing sub-label (ex: "facturé 470 000 FCFA/an") */
.pricing-billed-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: #0369a1;
    letter-spacing: 0.01em;
}

/* Features list */
.pricing-features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.45rem 0;
    font-size: 0.88rem;
    color: #374151;
    border-bottom: 1px solid #f8fafc;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* CTA button */
.pricing-card-footer {
    margin-top: auto;
}

.pricing-btn {
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.pricing-card-popular .pricing-btn.btn-primary {
    background: linear-gradient(135deg, #0c1e3a, #00d4ff);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.pricing-card-popular .pricing-btn.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    transform: translateY(-1px);
}
