/* ============================================
   KLARIO POS - Site Web Marketing
   ============================================ */

:root {
    --klario-green: #00843D;
    --klario-green-dark: #006B31;
    --klario-green-light: #2AAE5A;
    --klario-gold: #D4A843;
    --klario-gold-light: #F0D68A;
    --klario-dark: #1a1a2e;
    --klario-dark-light: #16213e;
    --klario-gray: #6c757d;
    --klario-gray-light: #f8f9fa;
    --klario-white: #ffffff;
    --klario-text: #2d3436;
    --klario-text-light: #636e72;
    --klario-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --klario-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --klario-radius: 12px;
    --klario-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--klario-text);
    line-height: 1.7;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

img { max-width: 100%; height: auto; }

a {
    color: var(--klario-green);
    text-decoration: none;
    transition: var(--klario-transition);
}
a:hover { color: var(--klario-green-dark); }

/* ---- Navbar ---- */
.klario-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--klario-transition);
    padding: 0;
}

.klario-navbar .navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--klario-green) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.klario-navbar .navbar-brand img {
    width: 40px;
    height: 40px;
}

.klario-navbar .nav-link {
    color: var(--klario-text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--klario-transition);
}

.klario-navbar .nav-link:hover,
.klario-navbar .nav-link.active {
    color: var(--klario-green) !important;
    background: rgba(0, 132, 61, 0.06);
}

.klario-navbar .btn-cta {
    background: var(--klario-green);
    color: white !important;
    border: none;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--klario-transition);
}

.klario-navbar .btn-cta:hover {
    background: var(--klario-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 132, 61, 0.3);
}

/* ---- Hero Section ---- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 132, 61, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 132, 61, 0.1);
    color: var(--klario-green);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--klario-dark);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title .highlight {
    color: var(--klario-green);
    position: relative;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--klario-text-light);
    max-width: 520px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-img-wrapper {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s both;
}

.hero-img-wrapper img {
    border-radius: 20px;
    box-shadow: var(--klario-shadow-lg);
    width: 100%;
    max-width: 520px;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat h3 {
    font-size: 2rem;
    color: var(--klario-green);
    margin-bottom: 0;
}

.hero-stat p {
    color: var(--klario-text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* ---- Buttons ---- */
.btn-klario {
    background: var(--klario-green);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--klario-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

.btn-klario:hover {
    background: var(--klario-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 132, 61, 0.3);
    color: white;
    text-decoration: none;
}

.btn-klario-outline {
    background: transparent;
    color: var(--klario-green);
    border: 2px solid var(--klario-green);
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--klario-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

.btn-klario-outline:hover {
    background: var(--klario-green);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ---- Sections ---- */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--klario-gray-light);
}

.section-dark {
    background: var(--klario-dark);
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark p {
    color: white;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 132, 61, 0.1);
    color: var(--klario-green);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--klario-text-light);
    max-width: 600px;
}

/* ---- Solutions Cards ---- */
.solution-card {
    background: white;
    border-radius: var(--klario-radius);
    overflow: hidden;
    box-shadow: var(--klario-shadow);
    transition: var(--klario-transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--klario-shadow-lg);
}

.solution-card-img {
    height: 260px;
    overflow: hidden;
}

.solution-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-card-img img {
    transform: scale(1.05);
}

.solution-card-body {
    padding: 1.8rem;
}

.solution-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--klario-dark);
}

.solution-card-body p {
    color: var(--klario-text-light);
    font-size: 0.95rem;
}

.solution-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.badge-commerce {
    background: rgba(0, 132, 61, 0.1);
    color: var(--klario-green);
}

.badge-restau {
    background: rgba(212, 168, 67, 0.15);
    color: var(--klario-gold);
}

/* ---- Features ---- */
.feature-card {
    background: white;
    border-radius: var(--klario-radius);
    padding: 2rem;
    box-shadow: var(--klario-shadow);
    transition: var(--klario-transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--klario-shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    background: rgba(0, 132, 61, 0.1);
    color: var(--klario-green);
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    color: var(--klario-dark);
}

.feature-card p {
    color: var(--klario-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ---- Avant/Apres ---- */
.avant-apres-section {
    position: relative;
}

.avant-apres-img {
    border-radius: var(--klario-radius);
    box-shadow: var(--klario-shadow-lg);
    overflow: hidden;
}

.avant-apres-img img {
    width: 100%;
    border-radius: var(--klario-radius);
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.check-list li .icon {
    color: var(--klario-green);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---- Payment Section ---- */
.payment-img {
    border-radius: var(--klario-radius);
    box-shadow: var(--klario-shadow-lg);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.payment-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid #e0e0e0;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--klario-transition);
}

.payment-chip:hover {
    border-color: var(--klario-green);
    box-shadow: 0 2px 10px rgba(0, 132, 61, 0.1);
}

/* ---- Pricing ---- */
.pricing-section {
    background: linear-gradient(135deg, var(--klario-green) 0%, var(--klario-green-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--klario-radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--klario-transition);
}

.pricing-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
}

.pricing-card.featured {
    background: white;
    color: var(--klario-text);
    border: none;
    transform: scale(1.05);
    box-shadow: var(--klario-shadow-lg);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-card.featured .pricing-amount {
    color: var(--klario-green);
}

.pricing-card.featured .pricing-label,
.pricing-card.featured .pricing-feature {
    color: var(--klario-text-light);
}

.pricing-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-amount small {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-feature {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-img-wrapper {
    position: relative;
}

.pricing-img-wrapper img {
    border-radius: var(--klario-radius);
    max-width: 400px;
    width: 100%;
}

/* ---- Download Section ---- */
.download-section {
    background: var(--klario-dark);
    color: white;
}

.download-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--klario-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--klario-transition);
    height: 100%;
}

.download-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: var(--klario-green);
}

.download-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.2rem;
    background: rgba(0, 132, 61, 0.15);
    color: var(--klario-green-light);
}

.download-card h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.download-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.download-card .btn-download {
    background: var(--klario-green);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--klario-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

.download-card .btn-download:hover {
    background: var(--klario-green-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 174, 90, 0.3);
    color: white;
    text-decoration: none;
}

.download-card .version-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Footer ---- */
.klario-footer {
    background: #0d0d1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 1.5rem;
}

.klario-footer h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

.klario-footer a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--klario-transition);
}

.klario-footer a:hover {
    color: var(--klario-green-light);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    font-size: 0.85rem;
}

.senegal-flag {
    display: inline-flex;
    gap: 2px;
    margin-left: 0.3rem;
}

.senegal-flag span {
    display: inline-block;
    width: 8px;
    height: 12px;
    border-radius: 1px;
}

.flag-green { background: #00843D; }
.flag-yellow { background: #FDEF42; }
.flag-red { background: #E31B23; }

/* ---- Animations ---- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .hero-img-wrapper {
        margin-top: 2rem;
        text-align: center;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 3rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-buttons a {
        text-align: center;
    }
    .section {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
}
