/* --- General Styles --- */
:root {
    --primary-color: #007bff;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --light-text-color: #fff;
    --container-width: 960px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* --- Header --- */
.main-header {
    background: var(--light-text-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
}

/* --- Hero Section --- */
#hero {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 80px 0;
}

#hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.cta-button {
    background: var(--light-text-color);
    color: var(--primary-color);
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* --- Features Section --- */
#features {
    padding: 60px 0;
    background: var(--secondary-color);
}

#features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
}

/* --- Footer --- */
.main-footer {
    background: #333;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.2rem;
    }
    .main-header .container {
        flex-direction: column;
        gap: 10px;
    }
}