/* --- General & Variables --- */
:root {
    --primary-color: #007bff;
    --primary-hover-color: #0056b3;
    --secondary-color: #6c757d;
    --secondary-hover-color: #5a6268;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #dee2e6;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--text-color);
}

/* --- Header & Navigation --- */
.header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    background-color: var(--bg-light);
    text-align: center;
    padding: 80px 20px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-content .highlight {
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: var(--secondary-color);
}

/* --- Buttons --- */
.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-2px);
}

.cta-button.secondary {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

.feature-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.feature-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* --- How it Works Section --- */
.how-it-works {
    background-color: var(--bg-light);
}

.system-image-container {
    max-width: 800px;
    margin: 0 auto 40px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.step .step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* --- Final CTA --- */
.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 40px;
    background-color: var(--primary-color);
    color: white;
    padding: 60px;
    border-radius: 8px;
}

.final-cta-content {
    flex: 1;
    text-align: left;
}

.final-cta-image {
    flex-basis: 400px;
}

.final-cta-image img {
    border-radius: 8px;
}

.final-cta h2 {
    color: white;
    font-size: 2.2em;
    margin: 0 0 10px 0;
}

.final-cta p {
    margin: 0 0 20px 0;
}

.final-cta .cta-button {
    background-color: white;
    color: var(--primary-color);
}

.final-cta .cta-button.secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}


/* --- Footer --- */
.footer {
    text-align: center;
    padding: 30px;
    background-color: var(--text-color);
    color: var(--bg-light);
}

.footer a {
    color: var(--bg-light);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* --- Contact Page --- */
.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    font-family: var(--font-family);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.alternative-contact {
    margin-top: 40px;
    text-align: center;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2em;
    }
    .section-title {
        font-size: 2em;
    }
    .steps-container {
        flex-direction: column;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .final-cta {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .final-cta-content {
        text-align: center;
    }
    .final-cta-image {
        margin-top: 30px;
        width: 100%;
        flex-basis: auto;
    }
    .nav {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    .nav-menu {
        margin-top: 15px;
    }
    .nav-menu li {
        margin: 0 10px;
    }
}