/* =============================================================================
   LANDING PAGE - landing.css
   Page d'accueil promotionnelle pour les visiteurs non connectés
   ============================================================================= */

/* --- HERO SECTION --- */
.hero {
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
}

.hero h1 {
    font-size: 3.2em;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.15;
    letter-spacing: -1px;
}

/* Dégradé sur le texte principal */
.hero h1 span {
    background: linear-gradient(135deg, #EA5885 0%, #5f3ee5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p.subtitle {
    font-size: 1.25em;
    color: var(--grey-17);
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

/* Boutons CTA du hero */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--purple-1);
    color: white !important;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 200ms;
    box-shadow: var(--purple-o-1) 0px 8px 20px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--purple-o-1) 0px 12px 30px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #ea588512;
    border: 1px solid #9f5f733b;
    color: var(--black) !important;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 14px;
    text-decoration: none;
    transition: all 200ms;
}

.btn-secondary:hover {
    background: #ea588525;
    transform: translateY(-2px);
}

/* --- SECTION COMMUNE --- */
.landing-section {
    padding: 70px 0;
}

.landing-section .section-title {
    text-align: center;
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 15px;
}

.landing-section .section-subtitle {
    text-align: center;
    color: var(--grey-17);
    font-size: 1.1em;
    max-width: 550px;
    margin: 0 auto 50px;
    line-height: 1.5;
}

/* --- FEATURES GRID (Pour qui ?) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: #ea588512;
    border: 1px solid #9f5f733b;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    transition: transform 200ms, box-shadow 200ms;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
    font-size: 2.5em;
    margin-bottom: 18px;
    display: block;
}

.feature-card h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin: 0 0 12px;
}

.feature-card p {
    color: var(--grey-17);
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

/* --- DOUBLE COLUMN (Créateurs / Fans) --- */
.dual-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.dual-card {
    background: #ea588512;
    border: 1px solid #9f5f733b;
    border-radius: 20px;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
}

.dual-card .badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 18px;
}

.dual-card.creator .badge {
    background: #EA588830;
    color: #EA5885;
}

.dual-card.customer .badge {
    background: #5f3ee530;
    color: #5f3ee5;
}

.dual-card h3 {
    font-size: 1.4em;
    font-weight: 700;
    margin: 0 0 15px;
}

.dual-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}

.dual-card ul li {
    padding: 8px 0;
    font-size: 0.95em;
    color: var(--grey-17);
    display: flex;
    align-items: start;
    gap: 10px;
    line-height: 1.4;
}

.dual-card ul li::before {
    content: "✓";
    color: #4CAF50;
    font-weight: 700;
    flex-shrink: 0;
}

/* --- TRUST / SECURITY SECTION --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.trust-card {
    text-align: center;
    padding: 30px 25px;
    background: #ea588512;
    border: 1px solid #9f5f733b;
    border-radius: 20px;
}

.trust-card .icon {
    font-size: 2.2em;
    margin-bottom: 15px;
    display: block;
}

.trust-card h3 {
    font-size: 1.05em;
    font-weight: 700;
    margin: 0 0 10px;
}

.trust-card p {
    color: var(--grey-17);
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
}

/* --- STATS BAR --- */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--purple-1);
    display: block;
}

.stat-item .label {
    font-size: 0.95em;
    color: var(--grey-17);
    margin-top: 5px;
}

/* --- CREATOR PREVIEW GRID --- */
.creators-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.creator-preview-card {
    background: #ea588512;
    border: 1px solid #9f5f733b;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--black);
    transition: transform 200ms, box-shadow 200ms;
    display: block;
}

.creator-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.creator-preview-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--purple-1);
    margin-bottom: 12px;
}

.creator-preview-card h4 {
    margin: 0 0 4px;
    font-size: 1em;
    font-weight: 700;
}

.creator-preview-card .username {
    color: var(--purple-1);
    font-size: 0.85em;
    margin: 0 0 8px;
}

.creator-preview-card .meta {
    font-size: 0.8em;
    color: var(--grey-17);
}

/* --- FINAL CTA (Bannière d'inscription) --- */
.final-cta {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #EA5885 0%, #5f3ee5 100%);
    border-radius: 25px;
    margin-bottom: 0;
}

.final-cta h2 {
    color: white;
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 15px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1em;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.final-cta .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    background: white;
    color: #EA5885 !important;
    font-size: 1.1em;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    transition: all 200ms;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.final-cta .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 900px) {
    .hero h1 {
        font-size: 2.4em;
    }

    .features-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .dual-columns {
        grid-template-columns: 1fr;
    }

    .creators-preview {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar {
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .hero {
        padding: 50px 10px 40px;
    }

    .hero h1 {
        font-size: 1.9em;
    }

    .hero p.subtitle {
        font-size: 1.05em;
    }

    .creators-preview {
        grid-template-columns: 1fr 1fr;
    }

    .final-cta {
        padding: 40px 20px;
    }

    .final-cta h2 {
        font-size: 1.5em;
    }
}

/* =============================================================================
   DASHBOARD — Page d'accueil utilisateur connecté
   ============================================================================= */

.dashboard-hero {
    padding: 60px 0 30px;
}

.dashboard-greeting {
    text-align: center;
    margin-bottom: 45px;
}

.dashboard-greeting .dashboard-wave {
    font-size: 2.5em;
    display: block;
    margin-bottom: 10px;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(20deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    60% {
        transform: rotate(15deg);
    }

    80% {
        transform: rotate(-5deg);
    }
}

.dashboard-greeting h1 {
    font-size: 2.4em;
    font-weight: 800;
    margin: 0 0 10px;
}

.gradient-text {
    background: linear-gradient(135deg, #EA5885 0%, #5f3ee5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-greeting p {
    color: var(--grey-17);
    font-size: 1.1em;
}

/* Raccourcis rapides */
.dashboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.shortcut-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 20px;
    background: #ea588512;
    border: 1px solid #9f5f733b;
    border-radius: 20px;
    text-decoration: none;
    color: var(--black);
    transition: transform 200ms, box-shadow 200ms, background 200ms;
    text-align: center;
    position: relative;
}

.shortcut-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #ea588520;
}

.shortcut-card span {
    font-size: 2em;
}

.shortcut-card strong {
    font-size: 17px;
    font-weight: 600;
}

.shortcut-card small {
    font-size: 16px;
    color: var(--grey-17);
}

.shortcut-card .badge-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #EA5885;
    color: white;
    font-size: 0.72em;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Statistiques personnelles */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px 0 50px;
}

.dashboard-stat-card {
    background: #ea588512;
    border: 1px solid #9f5f733b;
    border-radius: 18px;
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dsc-number {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--purple-1);
}

.dsc-label {
    font-size: 0.9em;
    color: var(--grey-17);
}

/* État vide — pas encore d'abonnements */
.dashboard-empty-state {
    text-align: center;
    padding: 60px 30px;
    background: #ea588508;
    border: 1px dashed #9f5f7350;
    border-radius: 24px;
}

.dashboard-empty-state span {
    font-size: 3em;
    display: block;
    margin-bottom: 16px;
}

.dashboard-empty-state h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.dashboard-empty-state p {
    color: var(--grey-17);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA créateur */
.dashboard-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 50px;
    background: linear-gradient(135deg, #EA5885 0%, #5f3ee5 100%);
    border-radius: 24px;
}

.dashboard-cta-text h2 {
    font-size: 1.6em;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.dashboard-cta-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95em;
    line-height: 1.5;
    max-width: 450px;
}

.dashboard-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.dashboard-cta-actions .btn-primary {
    background: white;
    color: #EA5885 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.dashboard-cta-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: white !important;
}

/* =============================================================================
   FAQ ACCORDÉON
   ============================================================================= */

.faq-list {
    /* max-width: 720px; */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #ea588508;
    border: 1px solid #9f5f733b;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 200ms;
}

.faq-item.open {
    border-color: var(--purple-1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    /* font-weight: 600; */
    color: var(--black);
    cursor: pointer;
    text-align: left;
    font-family: 'Manrope', sans-serif;
    transition: color 200ms;
}

.faq-question:hover {
    color: var(--purple-1);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 300ms ease;
    color: var(--grey-17);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--purple-1);
}

/* Réponse en accordéon — height animée via maxHeight */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 350ms ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.92em;
    color: var(--grey-17);
    line-height: 1.65;
}

.faq-answer a {
    color: var(--purple-1);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Hint formats upload */
.upload-formats-hint {
    font-size: 0.8em;
    color: var(--grey-17);
    margin-top: -6px;
    margin-bottom: 8px;
}

/* =============================================================================
   RESPONSIVE — Dashboard
   ============================================================================= */

@media screen and (max-width: 900px) {
    .dashboard-shortcuts {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .dashboard-cta {
        flex-direction: column;
        text-align: center;
        padding: 35px 25px;
    }

    .dashboard-cta-text p {
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .dashboard-greeting h1 {
        font-size: 1.7em;
    }

    .dashboard-shortcuts {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .dashboard-stats {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .dsc-number {
        font-size: 1.8em;
    }

    .dashboard-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .dashboard-cta-actions a {
        width: 100%;
        justify-content: center;
    }

    .faq-question {
        font-size: 0.9em;
        padding: 16px 18px;
    }
}