:root {
    --primary-color: #2c6b4f; /* Глубокий зеленый */
    --secondary-color: #f4f4f2; /* Светло-серый фон */
    --text-color: #333333;
    --light-text-color: #f9f9f9;
    --accent-color: #e86e5a; /* Теплый акцент */
    --border-radius: 12px;
    --font-family: "Manrope", sans-serif;
}

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

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

header {
    padding: 2rem 0;
}

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

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0 6rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.form-cta-text {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #555;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: cover;
    aspect-ratio: 4/5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Email Form */
.email-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
}

.email-form input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
}

.email-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 107, 79, 0.2);
}

.email-form button {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-family);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.email-form button:hover {
    background-color: #1e4d38;
}

/* Flash Messages */
.flash {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    text-align: center;
}
.flash-success {
    background-color: #e0f2e9;
    color: #2c6b4f;
}
.flash-error {
    background-color: #fce8e6;
    color: #c5221f;
}
.flash-info {
    background-color: #e8f0fe;
    color: #1a73e8;
}

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.step img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 1rem;
    color: #555;
    padding: 0 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    color: #777;
    border-top: 1px solid #e0e0e0;
    margin-top: 4rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text {
        order: 2;
    }
    .hero-image {
        order: 1;
        margin-bottom: 3rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .email-form {
        justify-content: center;
    }
    .steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .email-form {
        flex-direction: column;
    }
}
