body {
    position: relative;
}
html, body {
    overflow-x: auto;
    margin: 0;
    padding: 0;
}
button:active, .nav-link:active {
    filter: brightness(80%);
}
.hero {
    background-color: var(--light-green);
padding-top: 10rem;
    padding-bottom: 5rem;
}
.hero-texts {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 2rem;
    background-clip: text;
    -webkit-background-clip: text;
}
.hero-subtexts {
    font-size: 1rem;
    font-weight: 400;
    color: var(--secondary-text-color);
}
.highlight1 {
    color: var(--primary-color);
    font-weight: 600;
}



.reviews-section {
    padding: 60px 20px;
}

.highlighted-reviews {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.highlight-card {
    background: var(--gradient-1);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px;
}

.highlight-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 3px solid white;
}
.feature-icon {
    min-width: 50px;
    width: 50px;
    height: 50px;
    background: var(--light-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 1rem; */
    color: var(--primary-color);
}

.highlight-card h5 {
    margin-bottom: 10px;
    font-size: 20px;
}

.highlight-card p {
    font-size: 14px;
    line-height: 1.6;
}

.written-reviews {
    margin-top: 40px;
}

.review-card {
    background: white;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.review-card h6 {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-color);
}
.nav-sys-register {
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    padding: 6px 18px;
    background-color: transparent;
    color: var(--primary-color);
    transition: 0.15s;
}
.nav-sys-register:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.review-card p {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}
.hero-features {
    gap: calc(var(--bs-gutter-x) * .5);
    flex-wrap: nowrap;
    padding: calc(var(--bs-gutter-x) * .5);
}
.feature-item h5 {
    display: inline-flex;
    gap: 5px;
    max-width: 290px;
}

.hero-features .col-md-4 {
    padding: 12px;
    min-height: 150px;
    height: min-content;
    border-radius: 16px;
    background: #fff;
}
@media (max-width: 992px) {
    .hero {
        padding-top: 140px;
    }
}
@media (max-width: 767px) {
    .hero-features {
        flex-wrap: wrap;
    }
    .hero-features .col-md-4 {
        min-height: auto;
    }
}
@media (max-width: 400px)  {
    #calculatorResult .highlight {
        font-size: calc(1.5vw + 1.5vh + 0.9vmin);
    }
}




.calculator-section {
    padding: 60px 0;
    background-color: var(--chat-bg);
}

.calculator-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.calculator-input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.3s ease;
}

.calculator-input:focus {
    border-color: var(--primary-color);
}

.calculator-button {
    width: 100%;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.calculator-button:hover {
    background-color: var(--button-hover);
}

.calculator-result {
    margin-top: 30px;
    text-align: center;
    padding: 20px;
    padding-top: 5px;
    background-color: var(--light-green);
    border-radius: 8px;
}

.calculator-result h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.calculator-result .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

#profitAmount {
    color: var(--primary-color);
}

.calculator-title {
    text-align: center;
    font-weight: 700;
    font-size: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
    font-weight: 400;
    font-size: .7rem;
}
.mb-3 {
    font-style: italic;
}

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

.phone-mockup {
    filter: drop-shadow(1px 1px 10px rgba(0, 0, 0, 0.5));
    width: 200px; /* Намного меньше размер */
    max-width: 200px;
    height: auto; /* Сохраняет пропорции */
    margin-left: auto; /* Прижимает к правому краю */
    margin-right: auto ;
    display: block; /* Необходимо для работы margin: auto */
}
