/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    color: #333;
}

a { text-decoration: none; color: inherit; }

/* Cartes et containers */
.card, .dashboard, .form-card {
    background: #fff;
    padding: 30px 40px;
    border-radius: 16px;
    max-width: 500px;
    margin: 30px auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .dashboard:hover, .form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Formulaires */
input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 12px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
}

/* Boutons */
button, .btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg,#667eea,#764ba2);
    color: white;
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
    background: #fff;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-secondary:hover { background: #667eea; color: white; }

/* Hero section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    text-align: center;
    background: linear-gradient(135deg,#667eea,#764ba2);
    color: #fff;
    padding: 20px;
}

.hero h1 { font-size: 3rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; max-width: 600px; }

.hero-buttons a {
    padding: 15px 30px;
    margin: 10px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-block;
}

.hero-buttons a:hover { opacity: 0.9; }

/* Features section */
.features { text-align: center; padding: 60px 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 30px; max-width: 1000px; margin: auto; }
.feature { background: #fff; padding: 30px; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); transition: transform 0.3s ease; }
.feature:hover { transform: translateY(-10px); }

/* Footer */
footer { text-align: center; padding: 20px; background: #222; color: #fff; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
}