/**
 * Landing page - Styles
 */

/* Reset body pour landing */
body.landing-page {
    background: #ffffff !important;
}

body.landing-page main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

/* ==========================================
   HERO
   ========================================== */
.landing-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/assets/img/mosque.png') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.landing-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 80, 40, 0.75) 0%, rgba(0, 50, 30, 0.85) 100%);
    z-index: 1;
}

.landing-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.landing-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.landing-hero-tagline {
    font-size: 1.35rem;
    font-weight: 500;
    margin-bottom: 12px;
    opacity: 0.95;
}

.landing-hero-sub {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 32px;
    line-height: 1.6;
}

.landing-hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   BOUTONS
   ========================================== */
.btn-landing-primary {
    display: inline-block;
    background: #00A86B;
    color: #ffffff !important;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.3);
}

.btn-landing-primary:hover {
    background: #008f5b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.4);
    color: #ffffff !important;
    text-decoration: none;
}

.btn-landing-secondary {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.btn-landing-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    color: #ffffff !important;
    text-decoration: none;
}

/* ==========================================
   SECTIONS
   ========================================== */
.landing-section {
    padding: 72px 20px;
}

.landing-section-alt {
    background: #f8faf9;
}

.landing-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
}

.landing-section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #555;
    max-width: 680px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

/* ==========================================
   FEATURES (3 colonnes)
   ========================================== */
.landing-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.landing-feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.landing-feature-icon {
    font-size: 2.2rem;
    color: #00A86B;
    margin-bottom: 16px;
}

.landing-feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

.landing-feature-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   AUDIENCE (checklist)
   ========================================== */
.landing-audience {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.landing-audience-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.landing-audience-item i {
    font-size: 1.4rem;
    color: #00A86B;
    flex-shrink: 0;
    margin-top: 2px;
}

.landing-audience-item p {
    margin: 0;
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
}

/* ==========================================
   TARIFS
   ========================================== */
.landing-pricing {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 560px;
    margin: 0 auto;
}

.landing-pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid #e8f5f0;
}

.landing-pricing-icon {
    font-size: 2rem;
    color: #00A86B;
    margin-bottom: 12px;
}

.landing-pricing-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.landing-pricing-amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: #00A86B;
}

.landing-pricing-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

/* ==========================================
   NAV LANDING (inscription / connexion)
   ========================================== */
body.landing-page .app-header nav {
    display: flex !important;
}

body.landing-page .landing-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

body.landing-page .landing-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 20px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

body.landing-page .landing-nav .nav-login {
    color: #00A86B;
}

body.landing-page .landing-nav .nav-login:hover {
    background: rgba(0, 168, 107, 0.08);
}

body.landing-page .landing-nav .nav-register {
    background: #00A86B;
    color: #ffffff;
}

body.landing-page .landing-nav .nav-register:hover {
    background: #008f5b;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .landing-hero {
        min-height: 420px;
        padding: 60px 20px;
    }

    .landing-hero-content h1 {
        font-size: 2.2rem;
    }

    .landing-hero-tagline {
        font-size: 1.1rem;
    }

    .landing-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .landing-pricing {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .landing-section {
        padding: 48px 16px;
    }

    .landing-section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .landing-hero-content h1 {
        font-size: 1.8rem;
    }

    .landing-hero-tagline {
        font-size: 1rem;
    }

    .landing-hero-sub {
        font-size: 0.95rem;
    }

    .btn-landing-primary,
    .btn-landing-secondary {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }
}
