:root {
    --navy: #1E3A8A;
    --navy-dark: #152B63;
    --navy-light: #2D4FB3;
    --orange: #F37321;
    --orange-dark: #D95F1F;
    --orange-light: #FF8A3D;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ─── LANGUAGE VISIBILITY ─── */
html:not([data-lang="fr"]) [data-lang="fr"],
html:not([data-lang="ht"]) [data-lang="ht"],
html:not([data-lang="en"]) [data-lang="en"] {
    display: none !important;
}

/* ─── NAV ─── */
nav.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s;
}
nav.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}
.nav-brand img { height: 36px; width: auto; display: block; }
.nav-brand .brand-sub {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-left: 10px;
    border-left: 2px solid var(--gray-200);
}
.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}
.nav-links > a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links > a:hover { color: var(--navy); }
.nav-links .btn-nav {
    background: var(--navy);
    color: var(--white);
    padding: 9px 20px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}
.nav-links .btn-nav:hover { background: var(--navy-light); }

/* Language switcher */
.lang-switcher {
    display: flex;
    gap: 2px;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 3px;
}
.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-500);
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.15s;
}
.lang-btn:hover { color: var(--navy); }
.lang-btn.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--gray-700); margin: 5px 0; transition: 0.3s; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ─── HERO ─── */
.hero {
    padding: 160px 24px 100px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(243,115,33,0.25), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(243,115,33,0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}
.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero h1 .accent { color: var(--orange-light); }
.hero p.lead {
    font-size: clamp(16px, 2.5vw, 20px);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-badges {
    margin-top: 56px;
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.9;
}
.hero-badge-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* ─── SECTIONS ─── */
section { padding: 100px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}
.section-header h2 {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.section-header p {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ─── FEATURES ─── */
.features { background: var(--gray-50); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    transition: box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover {
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.feature-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
}
.feature-card:nth-child(even) .feature-icon {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}
.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}
.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ─── HOW IT WORKS ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.step {
    text-align: center;
}
.step-number {
    width: 56px;
    height: 56px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 20px;
}
.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.step p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ─── METHODS ─── */
.methods { background: var(--gray-50); }
.methods-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.method-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    width: 300px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.method-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.method-logo {
    width: 84px;
    height: 84px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
}
.method-moncash { background: linear-gradient(135deg, #ED1C24, #B4161C); }
.method-natcash { background: linear-gradient(135deg, #F37321, #D95F1F); }
.method-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.method-card p { font-size: 14px; color: var(--gray-500); line-height: 1.55; }

/* ─── ECOSYSTEM ─── */
.ecosystem {
    padding: 90px 24px;
    background: var(--white);
}
.ecosystem-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.ecosystem-logo {
    flex-shrink: 0;
}
.ecosystem-logo img {
    max-width: 220px;
    height: auto;
}
.ecosystem-text { flex: 1; min-width: 280px; }
.ecosystem-text h2 {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.ecosystem-text p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ─── CTA ─── */
.cta {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: var(--white);
    text-align: center;
    padding: 90px 24px;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(243,115,33,0.15), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-inner { position: relative; }
.cta h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    margin-bottom: 16px;
}
.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── FOOTER ─── */
footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 52px 24px 28px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-brand img { height: 42px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p {
    font-size: 13px;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 320px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-copy {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: var(--gray-500);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* ─── LEGAL PAGES ─── */
.legal-hero {
    padding: 140px 24px 60px;
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    color: var(--white);
    text-align: center;
}
.legal-hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.legal-hero p {
    opacity: 0.85;
    font-size: 15px;
}
.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}
.legal-content h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--navy);
    margin: 36px 0 12px;
    letter-spacing: -0.3px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-800);
    margin: 24px 0 8px;
}
.legal-content p, .legal-content li {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.75;
    margin-bottom: 12px;
}
.legal-content ul {
    padding-left: 22px;
    margin-bottom: 16px;
}
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--navy); font-weight: 600; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
    .nav-inner { gap: 12px; }
    .nav-brand .brand-sub { display: none; }
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px 24px;
        border-bottom: 1px solid var(--gray-200);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        gap: 16px;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .lang-switcher {
        align-self: flex-start;
        margin-top: 4px;
    }
    .features-grid, .steps-grid { grid-template-columns: 1fr; }
    .steps-grid { gap: 32px; }
    .hero { padding: 130px 24px 80px; }
    .hero-badges { flex-direction: column; align-items: center; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .footer-copy { flex-direction: column; align-items: center; text-align: center; }
}
