/* ==========================================================================
   ShyzosImage - Landing page (home)
   Dépend de theme.css (chargé avant).
   ========================================================================== */

.lp {
    position: relative;
    overflow-x: clip;
}

/* Conteneur central commun */
.lp-container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 13, 18, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.lp-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    letter-spacing: -0.01em;
}
.lp-brand:hover {
    color: var(--text);
}
.lp-brand-logo {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    font-size: 0.95rem;
}
.lp-brand-logo i {
    line-height: 1;
}
.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.lp-nav-actions .btn {
    padding: 0.55rem 1.05rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.lp-hero {
    position: relative;
    text-align: center;
    padding: 5.5rem 0 4rem;
    overflow: hidden;
}
/* Halo d'ambiance */
.lp-hero::before {
    content: "";
    position: absolute;
    top: -260px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(
        circle,
        rgba(108, 92, 231, 0.2) 0%,
        rgba(76, 139, 245, 0.07) 42%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}
/* Grille subtile en fond */
.lp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
            var(--border) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(
        ellipse 70% 60% at 50% 0%,
        #000 0%,
        transparent 75%
    );
    mask-image: radial-gradient(
        ellipse 70% 60% at 50% 0%,
        #000 0%,
        transparent 75%
    );
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}
.lp-hero > * {
    position: relative;
    z-index: 1;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    margin-bottom: 1.6rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-full);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}
.lp-badge i {
    color: var(--accent);
}

.lp-title {
    margin: 0 0 1.1rem;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.lp-title .grad {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-sub {
    max-width: 620px;
    margin: 0 auto 2.2rem;
    color: var(--text-muted);
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    line-height: 1.6;
}

.lp-hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}
.lp-hero-cta .btn {
    padding: 0.85rem 1.5rem;
}

.lp-hero-note {
    margin-top: 1.4rem;
    color: var(--text-faint);
    font-size: 0.85rem;
}
.lp-hero-note i {
    color: var(--accent-2);
}

/* ==========================================================================
   Stats
   ========================================================================== */
.lp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 760px;
    margin: 3.5rem auto 0;
}
.lp-stat {
    text-align: center;
    padding: 1.4rem 1rem;
}
.lp-stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.lp-stat-label {
    display: block;
    margin-top: 0.3rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.lp-section {
    padding: 5rem 0;
}
.lp-section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.lp-section-head h2 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}
.lp-section-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.lp-pricing-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    max-width: 560px;
    margin: -1.4rem auto 2.6rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--accent-soft);
    color: var(--text-muted);
    font-size: 0.88rem;
}
.lp-pricing-note i {
    color: var(--accent);
}

.lp-plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    max-width: 820px;
    margin: 0 auto;
    align-items: stretch;
}
.lp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}
.lp-plan.featured {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
}
.lp-plan-ribbon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-full);
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.lp-plan-icon {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}
.lp-plan h3 {
    margin: 0 0 0.3rem;
    font-size: 1.25rem;
    font-weight: 700;
}
.lp-plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.4rem;
}
.lp-plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    margin-bottom: 1.6rem;
}
.lp-plan-price .cur {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-muted);
}
.lp-plan-price .amt {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.lp-plan-price .per {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.lp-plan-features {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}
.lp-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.4;
}
.lp-plan-features li i {
    color: var(--accent);
    margin-top: 0.15rem;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.lp-plan-features li.muted {
    color: var(--text-muted);
}

/* ==========================================================================
   Features
   ========================================================================== */
.lp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.lp-feature {
    padding: 1.6rem;
    transition: border-color var(--t), transform var(--t);
}
.lp-feature:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.lp-feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1rem;
    border-radius: var(--radius);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.2rem;
}
.lp-feature h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
}
.lp-feature p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.lp-footer {
    border-top: 1px solid var(--border);
    padding: 2.2rem 0;
}
.lp-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}
.lp-footer-links {
    display: flex;
    gap: 1.2rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 760px) {
    .lp-plans {
        grid-template-columns: 1fr;
    }
    .lp-features {
        grid-template-columns: 1fr;
    }
    .lp-stats {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
    .lp-section {
        padding: 3.5rem 0;
    }
    .lp-hero {
        padding: 3.5rem 0 2.5rem;
    }
}

@media (max-width: 420px) {
    .lp-nav-actions .btn-ghost {
        display: none;
    }
}
