* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --card-bg: #141414;
    --text: #ffffff;
    --text-muted: #888888;
    --accent: #6366f1;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
}

.container {
    width: 100%;
}

/* Header - epure */
header {
    text-align: center;
    margin-bottom: 80px;
}

header h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 15px;
    color: var(--text);
}

.tagline {
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 30px;
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.welcome {
    font-size: 1.2rem;
    color: var(--text);
    margin-top: 25px;
    font-weight: 500;
}

/* Apps Grid - 2 colonnes */
.apps-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

/* Cartes avec effet 3D */
.app-showcase-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

/* Image de fond avec dégradé sombre vers le bas */
.app-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: top center;
}

.app-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(20, 20, 20, 0.5) 0%, 
        rgba(20, 20, 20, 0.85) 25%, 
        rgba(20, 20, 20, 1) 45%,
        rgba(20, 20, 20, 1) 100%);
}

.app-showcase-card:hover {
    transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) scale(1.02);
    box-shadow: 
        15px 25px 50px rgba(0, 0, 0, 0.6),
        0 1px 0 rgba(255, 255, 255, 0.05) inset;
    border-color: rgba(255, 255, 255, 0.7);
}

/* Contenu carte */
.app-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.app-header-showcase {
    margin-bottom: 25px;
    text-align: center;
}

.app-logo {
    width: 300px;
    height: 300px;
    max-width: 100%;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.app-icon-large {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
}

.app-title-large {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
    text-align: center;
}

.app-subtitle {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
    text-align: center;
}

.app-description-large {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

.app-features {
    list-style: none;
    margin-bottom: 25px;
    flex: 1;
}

.app-features li {
    color: var(--text);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
}

.app-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Boutons */
.app-actions-large {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    opacity: 0.85;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.btn-icon {
    font-size: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 800px) {
    .page {
        padding: 40px 20px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .apps-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .app-showcase-card {
        min-height: auto;
    }
    
    .app-logo {
        margin-left: auto;
        margin-right: auto;
    }
}
