:root {
    --primary: #10b981;       /* Emerald 500 */
    --primary-dark: #059669;  /* Emerald 600 */
    --secondary: #4f46e5;     /* Indigo 600 */
    --bg-dark: #f3f4f6;       /* Light Gray Background (formerly dark) */
    --bg-card: #ffffff;       /* White Cards */
    --text-main: #1f2937;     /* Dark Gray Text */
    --text-muted: #6b7280;    /* Muted Gray Text */
    --accent-glow: rgba(16, 185, 129, 0.2);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients (Subtle for light mode) */
.bg-gradient {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.05), transparent 25%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(243, 244, 246, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary);
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
    padding: 1rem 0 1rem; /* Minimized top padding as requested */
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 3rem; /* Reduced from 3.5rem to ensure 2 lines */
    margin-bottom: 1rem; /* Reduced margin */
    line-height: 1.2;
    color: #111827; /* Fallback */
    background: linear-gradient(to right, #111827, #059669); /* Dark to Green */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px; /* Constrain width to force consistent wrapping if needed */
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 1.5rem; /* Reduced bottom margin */
}

.hero-subtitle-highlight {
    background: linear-gradient(to right, #111827, #059669); /* Match H1 */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-highlight {
    color: var(--primary);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features Grid */
.features {
    padding: 0 0 2rem; /* Removed top padding, reduced bottom padding */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem; /* Reduced from 3rem */
    color: var(--text-main);
}

.section-title span {
    color: var(--primary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s;
    position: relative;
    margin-top: 2rem; /* Reduced from 3rem */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2rem;
    position: absolute;
    top: -40px;
    left: 20px;
    right: auto;
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Lighter shadow */
    color: var(--primary); /* Icon color */
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    margin-top: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* How it Works */
.steps {
    padding: 4rem 0;
    background: rgba(255,255,255,0.5); /* Slightly darker/white overlay */
}

.step-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    flex-direction: column;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* Footer */
footer {
    border-top: 1px solid rgba(0,0,0,0.1);
    padding: 4rem 0;
    margin-top: 4rem;
    text-align: center;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 1.7rem; } /* Further reduced for better wrapping */
    .hero-buttons { flex-direction: column; }
    
    /* Header optimizations */
    header { 
        flex-direction: column; 
        gap: 1rem; 
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    /* Hide nav links on mobile to reduce clutter */
    .nav-links { display: none; }
    
    /* Ensure CTA is full width on mobile for easier tapping */
    .header-buttons { width: 100%; display: flex; justify-content: center; }
    .btn-cta { width: 100%; text-align: center; }
}

/* Static Demo Button */
.btn-demo-static {
    background: var(--primary);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-demo-static:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.5);
}

/* Tarifs Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.pricing-card.featured::before {
    content: "Populaire";
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 1rem 0;
}

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

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

.pricing-features li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

/* Security Section */
.security-section {
    padding: 5rem 0;
    background: #f8fafc;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: left;
}

/* Custom Typography & Trust Badges */
.font-serif {
    font-family: 'Libre Baskerville', Georgia, serif !important;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.9);
}

.trust-badge .badge-icon {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .trust-badges {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .trust-badge {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* How It Works Section (B2C) */
.how-it-works-section {
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: 24px;
    margin: 4rem auto 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    max-width: 1000px;
}

.section-main-title {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-num {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .how-it-works-section {
        padding: 3rem 1.5rem;
        margin: 2.5rem auto 1.5rem;
    }
    
    .section-main-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .steps-grid {
        gap: 2rem;
    }
}



