/* ============================================
   LANDING.CSS - Page d'accueil publique
   ============================================ */

/* ----------------
   RESET & BASE
   ---------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --primary-dark: #00a8cc;
    --secondary-color: #f7931a;
    --background: #0a0e17;
    --background-light: #111827;
    --text-color: #ffffff;
    --text-secondary: #9ca3af;
    --success-color: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ----------------
   HERO SECTION
   ---------------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(247, 147, 26, 0.1) 0%, transparent 50%),
        var(--background);
}

.hero-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--background);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.hero-free {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ghost-hero {
    width: 100%;
    max-width: 400px;
    height: auto;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ----------------
   SECTION TITLES
   ---------------- */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-color);
}

/* ----------------
   HOW IT WORKS
   ---------------- */
.how-it-works {
    padding: 80px 20px;
    background: var(--background-light);
}

.steps {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 32px 24px;
    background: var(--background);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.step p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ----------------
   COMMUNITY STATS
   ---------------- */
.community-stats {
    padding: 50px 20px;
    background: var(--background);
}

.stats-box-link {
    text-decoration: none;
    display: block;
}

.stats-box {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 32px 40px;
    background: var(--background-light);
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.stats-box-link:hover .stats-box {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.2);
}

.stats-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.stats-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
}

.stats-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stats-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
}

.stats-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.stats-divider {
    font-size: 24px;
    color: var(--text-secondary);
    opacity: 0.5;
}

/* ----------------
   WHY PLAY
   ---------------- */
.why-play {
    padding: 80px 20px;
    background: var(--background);
}

.features {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--background-light);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-color);
}

.feature-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ----------------
   CTA SECTION
   ---------------- */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: 
        radial-gradient(ellipse at center, rgba(0, 212, 255, 0.1) 0%, transparent 60%),
        var(--background-light);
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-color);
}

.cta-large {
    padding: 20px 48px;
    font-size: 20px;
}

/* ----------------
   FOOTER
   ---------------- */
.footer {
    padding: 48px 20px;
    background: var(--background);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 24px;
}

.footer-logo {
    width: 72px;
    height: 72px;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ----------------
   RESPONSIVE
   ---------------- */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .ghost-hero {
        max-width: 300px;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .how-it-works,
    .why-play,
    .cta-section {
        padding: 60px 16px;
    }
}
