/* ==========================================================================
   GASSA BUSINESS — Minimalist & High-End SaaS Design System
   ========================================================================== */

:root {
    /* Main Palette */
    --navy: #0A2540;
    --navy-dark: #051424;
    --navy-light: #123459;
    --navy-card: #0d2e4f;
    --gold: #D4AF37;
    --gold-hover: #C29D29;
    --gold-light: #FFF9E6;
    --white: #FFFFFF;
    --light-bg: #F5F7FB;
    --gray-border: rgba(0, 0, 0, 0.08);
    --gray-light: #F2F4F7;
    
    /* Text Colors */
    --text-main: #1D1D1F;
    --text-muted: #6E6E73;
    --text-navy: #0A2540;
    
    /* Status Colors */
    --success: #34C759;
    --success-bg: rgba(52, 199, 89, 0.12);
    --alert: #FF3B30;
    --alert-bg: rgba(255, 59, 48, 0.12);
    --warning: #FF9500;
    --warning-bg: rgba(255, 149, 0, 0.12);

    /* Apple SF Pro Inspired Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
    
    /* Apple Squircles & Radius Tokens */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-pill: 9999px;

    /* Apple Multi-layer Ambient Shadows */
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
    --shadow-card: 0 4px 20px -2px rgba(10, 37, 64, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
    --shadow-strong: 0 20px 40px -10px rgba(10, 37, 64, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
    
    /* iOS Spring Curves */
    --ease-spring: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-ios: cubic-bezier(0.32, 0.72, 0, 1);
    --transition: all 0.28s var(--ease-spring);
    --transition-bounce: all 0.4s var(--ease-bounce);
}

/* ==========================================================================
   RESET & BASE STYLES (iOS Optimized)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.55;
    letter-spacing: -0.012em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.bg-navy { background-color: var(--navy); }
.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-bg); }

.text-white { color: var(--white) !important; }
.text-navy { color: var(--navy) !important; }
.text-gold { color: var(--gold) !important; }
.text-success { color: var(--success) !important; }
.text-alert { color: var(--alert) !important; }
.text-muted { color: var(--text-muted) !important; }

.center { text-align: center; }

/* ==========================================================================
   BUTTONS & CTAs (iOS Tactile & Spring Physics)
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, #E2BD44 0%, var(--gold) 100%);
    color: var(--navy-dark);
    font-weight: 700;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    user-select: none;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ECCD50 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:active {
    transform: scale(0.96) translateY(0);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--white);
    font-weight: 600;
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: scale(0.96) translateY(0);
}

.btn-text {
    font-weight: 600;
    color: var(--navy);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--gold);
    background-color: rgba(10, 37, 64, 0.04);
}

.btn-text:active {
    transform: scale(0.96);
}

.btn-lg {
    padding: 15px 34px;
    font-size: 1.05rem;
}

/* Pulse animation for main conversion buttons */
.btn-pulse {
    position: relative;
    animation: pulse-glow 2.5s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* ==========================================================================
   HEADER (iOS Liquid Glassmorphism)
   ========================================================================== */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 200;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.08);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--navy);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-desktop {
    display: flex;
    gap: 32px;
}

.nav-desktop a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-desktop a:hover {
    color: var(--navy);
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-desktop a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
    padding: 8px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background-color: var(--white);
    border-top: 1px solid var(--gray-border);
    padding: 20px 24px 28px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    padding: 8px 0;
}

.mobile-menu hr {
    border: none;
    border-top: 1px solid var(--gray-border);
    margin: 6px 0;
}

.mobile-cta {
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   SECTIONS COMMON
   ========================================================================== */
.section {
    padding: 90px 0;
}

.section-head {
    margin-bottom: 56px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.025em;
    line-height: 1.25;
    margin-bottom: 14px;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding: 90px 0 85px;
    position: relative;
    background: linear-gradient(180deg, var(--navy) 0%, #06192d 100%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(10, 37, 64, 0) 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 860px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 22px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 720px;
    margin: 0 auto 38px;
    line-height: 1.55;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-trust span i {
    color: var(--gold);
}

/* ==========================================================================
   PROBLEM SECTION
   ========================================================================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-item {
    background: var(--light-bg);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
}

.problem-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: #cbd5e1;
}

.problem-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--alert);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.12);
}

.problem-item h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.problem-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--white);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 22px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--gold);
    color: var(--navy-dark);
    transform: scale(1.08);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   DASHBOARD MOCKUP (MINI SAAS INTERFACE)
   ========================================================================== */
.dashboard-mockup {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    max-width: 950px;
    margin: 0 auto;
}

.dash-head {
    background: var(--gray-light);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gray-border);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dash-dot.red { background-color: #EF4444; }
.dash-dot.yellow { background-color: #F59E0B; }
.dash-dot.green { background-color: #10B981; }

.dash-live-badge {
    font-size: 0.75rem;
    background-color: var(--success-bg);
    color: var(--success);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dash-live-badge i {
    font-size: 0.55rem;
}

.dash-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 32px 24px;
    gap: 20px;
}

.dash-kpi {
    background: var(--light-bg);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dash-kpi .label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-kpi .value {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.dash-kpi.highlight {
    background-color: #F0FDF4;
    border-color: #BBF7D0;
}

.dash-kpi.highlight .value {
    color: #15803D;
}

.dash-treasury {
    background: var(--navy);
    color: var(--white);
    padding: 18px 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 0.95rem;
}

.dash-treasury .t-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-treasury .t-item i {
    color: var(--gold);
}

.dash-treasury .t-item span {
    color: rgba(255, 255, 255, 0.7);
}

.dash-treasury .t-item strong {
    color: var(--white);
}

/* ==========================================================================
   SPLIT SECTIONS (Facturation, Dettes, Tontines)
   ========================================================================== */
.split-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.reverse .split-container {
    direction: rtl;
}

.reverse .split-content, 
.reverse .split-visual {
    direction: ltr;
}

.split-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(10, 37, 64, 0.06);
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.split-checks {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.mockup-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px;
    transition: var(--transition);
}

.mockup-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-3px);
}

.mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--text-main);
}

.mockup-row.header-row {
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 14px;
    margin-bottom: 14px;
    font-size: 1rem;
}

.client-name {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mockup-divider {
    height: 1px;
    background-color: var(--gray-border);
    margin: 10px 0;
}

.mockup-row.total-row {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
}

.remaining-row {
    background-color: var(--alert-bg);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    margin-top: 6px;
}

.mockup-footer {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px dashed var(--gray-border);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge.success { background: var(--success-bg); color: var(--success); }
.badge.alert { background: var(--alert-bg); color: var(--alert); }
.badge.gray { background: var(--gray-light); color: var(--text-muted); }

.mockup-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: var(--light-bg);
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    text-align: center;
}

.mockup-summary .col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-summary .col span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mockup-summary .col strong {
    font-size: 1.15rem;
}

.mockup-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    padding: 8px 12px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   SECURITY SECTION
   ========================================================================== */
.security-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.security-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: var(--transition);
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: var(--gold);
}

.security-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.security-item h4 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;
}

.security-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

/* ==========================================================================
   SECTORS
   ========================================================================== */
.sectors {
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-border);
}

.sectors-title {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 24px;
}

.sectors-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.sectors-tags span {
    background: var(--light-bg);
    color: var(--navy);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--gray-border);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.sectors-tags span:hover {
    background-color: var(--white);
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   STEPS (COMMENT ÇA MARCHE)
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-border);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.step-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
    border-color: var(--navy);
}

.step-num {
    width: 42px;
    height: 42px;
    background: var(--navy);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.2);
}

.step-body h4 {
    font-size: 1.15rem;
    color: var(--navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.step-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   PRICING (PARFAITEMENT ALIGNÉ)
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch; /* Cards have the exact same height */
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-6px);
}

.pricing-card.premium {
    border: 2px solid var(--gold);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.15);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF7 100%);
}

.pricing-card.premium:hover {
    box-shadow: 0 18px 48px rgba(212, 175, 55, 0.25);
    transform: translateY(-8px);
}

.pricing-badge, 
.pricing-badge-annual {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--gold);
    color: var(--navy-dark);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    gap: 6px;
}

.pricing-badge-annual {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(10, 37, 64, 0.35);
}

.pricing-header h3 {
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-weight: 800;
}

.price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-savings {
    font-size: 0.85rem;
    color: var(--success);
    font-weight: 700;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--success-bg);
    padding: 5px 12px;
    border-radius: 20px;
}

.savings-pct {
    margin-left: 2px;
}

.pricing-desc {
    color: var(--text-muted);
    margin-bottom: 28px;
    font-size: 0.95rem;
    min-height: 48px; /* Ensures identical vertical start for features */
    line-height: 1.45;
}

.pricing-features {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}

.pricing-features li i {
    font-size: 1.05rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
}

.pricing-note {
    margin-top: 40px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-container {
    max-width: 820px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--navy);
    font-weight: 700;
    margin: 0;
    padding-right: 16px;
}

.faq-question i {
    color: var(--gold);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active {
    border-color: var(--gold);
    box-shadow: var(--shadow-soft);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
    max-height: 250px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */
.cta-final {
    padding: 100px 0;
    background: linear-gradient(180deg, #071c31 0%, var(--navy) 100%);
}

.cta-subtitle {
    margin-bottom: 36px;
    font-size: 1.15rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 80px 0 30px;
    background-color: var(--navy-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 14px;
    color: var(--white);
}

.brand-col p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 280px;
    line-height: 1.55;
}

.footer-col h4 {
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a, 
.footer-col span {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--gold);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   MODAL DIALOG (Légal, À Propos, Contact)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 20, 36, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 580px;
    width: 90%;
    padding: 32px;
    box-shadow: var(--shadow-strong);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 12px;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--navy);
    font-weight: 800;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--navy);
}

.modal-body {
    font-size: 0.98rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 24px;
    max-height: 380px;
    overflow-y: auto;
}

.modal-body h4 {
    margin: 16px 0 6px;
    color: var(--navy);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal, .reveal-hero {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1100;
    pointer-events: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--gold);
    font-size: 1.1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }

    .problem-grid, 
    .features-grid, 
    .security-grid, 
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
    }

    .split-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .dash-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-desktop, 
    .header-actions .btn-text, 
    .header-actions .btn-primary {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        padding: 60px 0 60px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }
    
    .problem-grid, 
    .features-grid, 
    .security-grid, 
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .dash-grid {
        grid-template-columns: 1fr;
    }
    
    .dash-treasury {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }
}

/* Small Smartphones (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 40px 0 50px;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.22;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-cta .btn-lg {
        width: 100%;
        text-align: center;
        padding: 14px 18px;
        font-size: 0.95rem;
    }

    .pricing-card {
        padding: 28px 18px;
    }

    .price {
        font-size: 2.3rem;
    }

    .modal-card {
        padding: 18px;
        max-width: 95vw;
        border-radius: var(--radius);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-hero {
        opacity: 1 !important;
        transform: none !important;
    }
    .btn-pulse {
        animation: none !important;
    }
}

/* ==========================================================================
   MODAL STYLES (AUTHENTICATION & INFORMATION MODALS)
   ========================================================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 20, 36, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
}

.modal-overlay.active,
.modal-overlay[style*="display: flex"],
.modal-overlay[style*="display:flex"] {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: modalPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1000000;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--gray-border);
}

.modal-header h3 {
    font-size: 1.15rem;
    color: var(--navy);
    font-weight: 800;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-xs);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--navy);
    background: var(--gray-light);
}

.modal-body {
    padding: 20px;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.6;
}

.modal-body h4 {
    margin: 14px 0 6px 0;
    color: var(--navy);
    font-size: 0.95rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1px solid var(--gray-border);
}

@keyframes modalPop {
    from {
        transform: scale(0.94) translateY(10px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

