@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&family=Lato&display=swap');
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: #F5F7FA;
    color: #34495E;
}
a, a:hover, a:visited, a:active {
    color: #E74C3C;
    text-decoration: none;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #E74C3C;
    background-color: #e42e1b;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
header {
    background-color: #2C3E50;
    color: #FFFFFF;
    text-align: center;
    padding: 60px 20px;
}
header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5em;
    margin: 0;
}
header p {
    font-size: 1.2em;
    margin: 10px 0;
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #E74C3C;
    color: #FFFFFF !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}
.cta-button:hover {
    background-color: #C0392B;
}
section {
    padding: 40px 20px;
    text-align: center;
}
section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2em;
    color: #2C3E50;
    margin-bottom: 20px;
}
section p {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
.icon {
    width: 50px;
    height: 50px;
    margin: 10px auto;
    fill: #2C3E50;
}
.services-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.service-item {
    width: 30%;
    min-width: 250px;
    padding: 20px;
}
.illustration {
    width: 100%;
    height: 200px;
    margin: 20px auto;
}
footer {
    background-color: #2C3E50;
    color: #FFFFFF;
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

section#login {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc; /* Лёгкая граница для выделения */
}
section#login h2 {
    margin-top: 0;
    font-size: 1.5em;
}
form p {
    margin: 10px 0;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    float: left;
}
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
input[type="checkbox"] {
    margin-right: 5px;
}
input[type="submit"] {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f0f0f0; /* Нейтральный фон, можно изменить */
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #e0e0e0; /* Лёгкое затемнение при наведении */
}
.links a {
    margin: 0 10px;
    text-decoration: underline;
}
.how-it-works {
    padding: 80px 20px;
    text-align: center;
    background-color: #1a2a44;
    color: #ffffff;
}
.how-it-works h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #e63946;
}
.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.step {
    flex: 1 1 220px;
    max-width: 260px;
    padding: 25px;
    background-color: #2a3a54;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}
.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.step img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}
.step h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #e63946;
    margin-bottom: 10px;
}
.step p {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.6;
}
.payment-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, #e6f0fa 0%, #f5ece1 100%);
    position: relative;
    overflow: hidden;
    color: #1a2a44;
}
.payment-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1a2a44;
    position: relative;
    z-index: 2;
}
.payment-section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(173, 216, 230, 0.3);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    z-index: 1;
}
.payment-section::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 245, 238, 0.4);
    border-radius: 50%;
    bottom: 15%;
    right: 15%;
    z-index: 1;
}
.payment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.option {
    flex: 1 1 400px;
    max-width: 450px;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}
.option h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a2a44;
    margin-bottom: 15px;
}
.option p {
    font-size: 1rem;
    color: #1a2a44;
    line-height: 1.6;
}
.triangle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 100px solid #f4c7c3;
    z-index: 1;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    .service-item {
        width: 100%;
    }
    .illustration {
        height: 150px;
    }
    section#login {
        margin: 10px;
        padding: 10px;
    }
    input[type="email"],
    input[type="password"] {
        width: 100%;
    }
    .how-it-works h2 {
        font-size: 2rem;
    }
    .step {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .payment-section h2 {
        font-size: 2rem;
    }
    .option {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .triangle {
        display: none;
    }
}