/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* --- CSS Variables (from App Theme) --- */
:root {
    --primary-color: #3B82F6;
    --secondary-color: #FACC15;
    --dark-blue: #1E3A8A;
    --light-background: #F0F5FF; /* Slightly tweaked for better contrast */
    --text-dark: #1A2035;
    --text-grey: #555e68;
    --text-light: #ffffff;
    --border-radius: 12px;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* --- General Styling --- */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: var(--light-background);
    color: var(--text-grey);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 0;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: -0.5px;
}

h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* --- Header --- */
.main-header {
    padding: 20px 0;
    background-color: #fff;
    border-bottom: 1px solid #dee5ef;
    position: sticky;
    top: 0;
    z-index: 10;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 2.5rem; /* Increased font size */
    gap: 15px; /* Increased space between logo and text */
}

.logo-img {
    width: 100px; /* Doubled size */
    height: 100px; /* Doubled size */
    object-fit: cover;
    border-radius: 20%;
    box-shadow: var(--shadow-light);
}

.brand-logo span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.5rem; /* Increased font size */
    color: var(--dark-blue);
    line-height: 1;
}

/* --- Hero Section --- */
.hero {
    background: url('images/banniere.png') no-repeat center center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(30, 58, 138, 0.85), rgba(59, 130, 246, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    color: var(--text-light);
}

.hero-content .subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- App Stores Buttons --- */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.store-buttons a img {
    height: 65px; /* Increased size for better visual impact */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border-radius: 8px;
}

.store-buttons a:hover img {
    transform: scale(1.05);
    box-shadow: var(--shadow-strong);
}

/* --- Features Section --- */
.features {
    background-color: #fff;
}

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

.feature-card {
    padding: 40px 30px;
    border-radius: var(--border-radius);
    background-color: #fff;
    box-shadow: var(--shadow-light);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* --- How it Works Section --- */
.how-it-works .steps {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.step {
    max-width: 300px;
}

.step .step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-light);
}

/* --- Testimonials Section --- */
.testimonials {
    background-color: #fff;
}
.testimonial-card {
    background: var(--dark-blue);
    color: var(--text-light);
    padding: 50px;
    border-radius: var(--border-radius);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-strong);
}
blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    margin: 0 0 2rem 0;
    border: none;
    padding: 0;
}
blockquote::before {
    content: '“';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    margin-left: -45px;
    margin-top: -10px;
}
cite {
    font-weight: 600;
    font-style: normal;
    color: var(--light-background);
}


/* --- Final CTA Section --- */
.cta-section {
    background-color: var(--dark-blue);
    color: var(--text-light);
    text-align: center;
}

.cta-section h2 {
    color: var(--text-light);
}

/* --- Footer --- */
.main-footer {
    text-align: center;
    padding: 30px 0;
    background-color: var(--light-background);
    border-top: 1px solid #dee5ef;
    color: var(--text-grey);
}

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


/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .container {
        padding: 60px 0;
    }

    .hero {
        padding: 80px 0;
    }

    .how-it-works .steps {
        flex-direction: column;
        align-items: center;
    }

    blockquote {
        font-size: 1.1rem;
    }

    blockquote::before {
        margin-left: -35px;
    }
}