/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.main-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.main-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 400;
}

/* Choice Grid */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    flex: 1;
    align-content: start;
}

/* Choice Cards */
.choice-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.choice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.choice-card:hover::before {
    transform: scaleX(1);
}

.choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(52, 152, 219, 0.3);
}

.acpr-card:hover::before {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
}

.analytics-card:hover::before {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

/* Card Content */
.card-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.choice-card h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.choice-card p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    text-align: center;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.card-features span {
    font-size: 0.95rem;
    color: #5d6d7e;
    padding: 0.5rem 0;
    border-left: 3px solid #ecf0f1;
    padding-left: 1rem;
    transition: all 0.2s ease;
}

.acpr-card:hover .card-features span {
    border-left-color: #e74c3c;
}

.analytics-card:hover .card-features span {
    border-left-color: #27ae60;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .main-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .main-header h1 {
        font-size: 2rem;
    }
    
    .choice-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .choice-card {
        padding: 2rem;
    }
    
    .choice-card h2 {
        font-size: 1.5rem;
    }
}

/* Loading & Forms (pour plus tard) */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-1px);
}