/* Landing Page CSS - MixLetters */

/* Variables CSS */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --dark-color: #1a1a2e;
    --light-color: #f5f7fa;
    --text-color: #333;
    --text-light: #666;
    --success-color: #48c774;
    --border-radius: 12px;
    --max-width: 1200px;
}

/* Reset et Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background: white;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: clamp(0.5rem, 2vw, 1rem) clamp(0.5rem, 4vw, 20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: clamp(5px, 1.5vw, 10px);
}

.nav-logo {
    height: 2.5rem;
    width: 2.5rem;
    min-height: 24px;
    min-width: 24px;
}

.nav-title {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: clamp(0.3rem, 1.5vw, 0.5rem) clamp(0.8rem, 3vw, 1.5rem);
    border-radius: clamp(15px, 4vw, 25px);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: clamp(3px, 1vw, 5px);
}

.nav-toggle span {
    width: 1.5rem;
    height: 0.2rem;
    background: var(--text-color);
    margin: 0.2rem 0;
    transition: 0.3s;
    border-radius: 0.2rem;
}

/* Hero Section */
.hero {
    padding: 120px 20px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-play:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.3rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: min(300px, 40vw);
    height: min(600px, 80vw);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: clamp(20px, 5vw, 40px);
    padding: 0.6rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: clamp(15px, 4vw, 30px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen::after {
    content: "🎮";
    font-size: 4rem;
}

/* Features Section */
.features {
    padding: 80px 20px;
    background: var(--light-color);
}

.section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: clamp(2rem, 6vw, 3rem);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 80px 20px;
    text-align: center;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.store-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.store-button:hover {
    transform: scale(1.05);
}

.store-button img {
    height: clamp(40px, 8vw, 60px);
}

.web-app {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
}

.web-app-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.web-icon {
    font-size: 2rem;
}

.web-app-content div {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.web-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.web-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Partners CTA Section */
.partners-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #6C63FF15 0%, #4A47A315 100%);
}

.partners-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.partners-text {
    flex: 1;
}

.partners-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.partners-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.partners-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.partners-benefits li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.btn-partners {
    display: inline-block;
    background: linear-gradient(135deg, #6C63FF, #4A47A3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}

.btn-partners:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 99, 255, 0.4);
}

.partners-stats {
    display: flex;
    gap: 3rem;
}

.partner-stat {
    text-align: center;
}

.partner-number {
    display: block;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: bold;
    background: linear-gradient(135deg, #6C63FF, #4A47A3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.partner-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Press Section */
.press {
    padding: 80px 20px;
    background: white;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.press-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.press-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.press-source {
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto 3rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.3rem 0;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .partners-content {
        flex-direction: column;
    }
    
    .partners-stats {
        width: 100%;
        justify-content: space-around;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
    }
}

/* Très petites interfaces (max 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 80px 1rem 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-play,
    .btn-secondary {
        text-align: center;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
    
    .hero-stats {
        gap: 1rem;
        justify-content: center;
    }
    
    .nav-container {
        padding: clamp(0.4rem, 1.5vw, 0.8rem) clamp(0.5rem, 2vw, 1rem);
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .partners-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Interfaces ultra-petites (max 320px) */
@media (max-width: 320px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 50px 0.5rem 20px;
    }
    
    .nav-container {
        padding: clamp(0.3rem, 1vw, 0.5rem);
    }
    
    .nav-logo {
        height: 1.8rem;
        width: 1.8rem;
        min-height: 20px;
        min-width: 20px;
    }
    
    .nav-title {
        font-size: 1rem;
    }
    
    .nav-cta {
        padding: 0.25rem 0.75rem;
        font-size: 0.8rem;
        border-radius: 12px;
    }
    
    .feature-card,
    .press-card {
        padding: 1rem;
    }
    
    .btn-play,
    .btn-secondary {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
}