/* styles.css */

/* Réinitialisation de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Header */
header {
    background: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0071e3;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #0071e3;
}

.auth-buttons a {
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.auth-buttons a.btn-primary {
    background-color: #0071e3;
    color: #fff;
}

.auth-buttons a.btn-primary:hover {
    background-color: #005bb5;
}

.auth-buttons a.btn-secondary {
    background-color: #f4f4f4;
    color: #333;
}

.auth-buttons a.btn-secondary:hover {
    background-color: #ddd;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: #f4f4f4;
}

.hero h1 {
    font-size: 48px;
    margin: 20px 0;
    color: #333;
}

.hero p {
    font-size: 18px;
    color: #555;
    margin-bottom: 20px;
}

.hero .btn-primary {
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Sections */
section {
    padding: 80px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    text-align: left;
}

.card img {
    width: 100%;
    height: auto;
}

.card h3 {
    font-size: 20px;
    margin: 15px;
    color: #0071e3;
}

.card p {
    font-size: 16px;
    margin: 0 15px 15px;
    color: #555;
}

/* Demo Grid */
.demo-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.demo-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
}

.demo-item img {
    width: 100%;
    height: auto;
}

.demo-item h3 {
    font-size: 20px;
    margin: 15px;
}

/* Newsletter */
#newsletter {
    background-color: #f4f4f4;
    padding: 60px 20px;
}

#newsletter form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

#newsletter input[type="email"] {
    padding: 10px;
    width: 300px;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#newsletter button {
    background-color: #0071e3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#newsletter button:hover {
    background-color: #005bb5;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
}

footer ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: #0071e3;
}
