:root {
    --page: #eef3ec;
    --surface: #ffffff;
    --surface-muted: #f6f8f4;
    --green-900: #173b27;
    --green-800: #1f5134;
    --green-700: #287044;
    --green-100: #e8f4ec;
    --text: #172018;
    --muted: #647064;
    --line: #dde6dc;
    --yellow: #f5cd2e;
    --yellow-strong: #ffc928;
    --red: #e23434;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--page);
}

html.modal-open {
    overflow: hidden;
}

body {
    display: flex;
    justify-content: center;
    min-width: 320px;
    margin: 0;
    color: var(--text);
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.45;
    background: var(--page);
}

html.modal-open body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 10;
    background: rgba(8, 20, 12, 0.68);
    backdrop-filter: blur(3px);
}

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

ul {
    margin: 0;
    padding: 0;
}

button {
    font: inherit;
}

.wrapper {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    overflow: hidden;
    background: var(--surface);
}

.page-header {
    padding: 18px 18px 16px;
    color: #ffffff;
    background: var(--green-900);
}

.page-title {
    max-width: 360px;
    margin: 0 auto;
    font-size: 24px;
    line-height: 1.08;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
}

.page-main {
    background: var(--surface);
}

.section {
    padding: 26px 18px;
}

.section + .section {
    border-top: 1px solid var(--line);
}

.section-title {
    margin: 0 0 18px;
    color: var(--green-900);
    font-size: 28px;
    line-height: 1.1;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-section {
    padding-top: 18px;
    background: linear-gradient(180deg, #fbfcf8 0%, #ffffff 44%, #f3f7f1 100%);
}

.hero-subtitle {
    margin-bottom: 14px;
    padding: 12px 14px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.12;
    font-weight: 900;
    text-align: center;
    background: var(--green-800);
    border-radius: 8px;
}

.hero-image,
.section-image,
.order-image {
    border-radius: 8px;
    background: var(--surface-muted);
}

.hero-image {
    border: 1px solid var(--line);
}

.benefits-list,
.problem-list,
.solution-list,
.card-list {
    display: grid;
    gap: 8px;
}

.hero-benefits {
    margin-top: 14px;
}

.benefits-item,
.problem-item,
.solution-item,
.card-list-item {
    list-style: none;
    padding: 13px 14px;
    font-size: 17px;
    line-height: 1.3;
    font-weight: 800;
    border-radius: 8px;
}

.benefits-item {
    color: var(--green-900);
    background: var(--green-100);
}

.price-box,
.final-offer {
    margin-top: 16px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.price-label,
.price-value {
    padding: 10px 8px;
    text-align: center;
}

.price-label {
    color: var(--muted);
    font-size: 15px;
    font-weight: 800;
    background: var(--surface-muted);
}

.price-value {
    grid-row: 2;
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.price-value-old {
    color: var(--muted);
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.price-label-new {
    color: var(--red);
}

.price-value-new {
    color: var(--red);
    font-size: 38px;
}

.timer {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 16px;
    padding: 14px 0 6px;
}

.timer-title {
    color: #404440;
    font-size: 19px;
    line-height: 1.2;
    text-align: center;
}

.timer-panel {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    column-gap: 4px;
    min-width: 0;
}

.timer-unit {
    display: grid;
    gap: 8px;
    min-width: 0;
    text-align: center;
}

.timer-number {
    display: block;
    color: #080908;
    font-size: 48px;
    line-height: 0.9;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.timer-label {
    display: block;
    padding-top: 8px;
    color: #151515;
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-top: 4px solid #eeeeee;
}

.timer-separator {
    color: #080908;
    font-size: 44px;
    line-height: 0.82;
    font-weight: 700;
}

.order-button {
    width: 100%;
    min-height: 58px;
    margin-top: 16px;
    padding: 16px 18px;
    color: #151515;
    font-size: 18px;
    line-height: 1.12;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    background: linear-gradient(180deg, #ffe36a 0%, var(--yellow-strong) 100%);
    border: 0;
    border-bottom: 4px solid #c79200;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.order-button:hover {
    background: linear-gradient(180deg, #ffe77b 0%, #ffd43b 100%);
}

.order-button:active {
    transform: translateY(1px);
    border-bottom-width: 3px;
}

.order-status {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.order-status-item {
    padding: 10px;
    color: var(--green-900);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
    text-align: center;
    background: var(--green-100);
    border: 1px solid rgba(40, 112, 68, 0.16);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-status-left {
    color: var(--red);
    background: #fff3ef;
    border-color: rgba(226, 52, 52, 0.18);
}

.problem-section,
.power-section,
.final-section {
    background: var(--green-900);
}

.problem-section .section-title,
.power-section .section-title,
.final-section .section-title {
    color: #ffffff;
}

.problem-item {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.problem-list {
    margin-top: 14px;
}

.solution-section {
    background: var(--surface);
}

.solution-list {
    margin-bottom: 14px;
}

.solution-item {
    color: var(--green-900);
    background: var(--surface-muted);
    border-left: 4px solid var(--green-700);
}

.feature-figure {
    margin: 0;
}

.feature-caption {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.42;
    text-align: center;
}

.power-section .benefits-list {
    margin-top: 14px;
}

.power-section .benefits-item {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 9px;
    align-items: center;

    img {
        width: 24px;
        height: 24px;
    }
}

.cards-section {
    display: grid;
    gap: 14px;
    background: var(--surface-muted);
}

.info-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.card-title {
    margin: 0;
    color: var(--green-900);
    font-size: 21px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0;
}

.card-image {
    width: 100%;
    height: auto;
    object-fit: initial;
    padding: 0;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.card-text {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.45;
}

.card-list {
    gap: 7px;
}

.card-list-item {
    padding: 0;
    color: var(--text);
    font-weight: 700;
}

.reviews-section {
    background: #ffffff;
    padding: 26px 0px;

    h2 {
        padding: 0px 18px;
    }

    .reviews-lead {
        padding: 0px 18px;
    }

    .slider {
        padding: 0px 18px;
    }
}

.reviews-lead {
    margin: -6px 0 16px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
}

.slider {
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.slider-wrapper {
    display: grid;
    grid-auto-columns: minmax(240px, 82%);
    grid-auto-flow: column;
    gap: 10px;
}

.review-card {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-muted);
}

.review-name {
    margin-bottom: 8px;
    color: var(--green-900);
    font-size: 18px;
    font-weight: 900;
}

.review-text {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.42;
}

.review-image {
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.order-title {
    margin-top: 22px;
}

.order-image {
    width: 100%;
}

.final-section .feature-figure {
    margin-bottom: 14px;
}

.final-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.45;
    text-align: center;
}

.final-offer {
    padding: 14px;
    background: #ffffff;
    border-radius: 8px;
}

.final-offer .timer {
    margin-top: 12px;
}

.page-footer {
    display: grid;
    gap: 8px;
    padding: 22px 18px 24px;
    color: rgba(255, 255, 255, 0.72);
    text-align: center;
    background: #101610;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.footer-link-button {
    width: 100%;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.footer-link-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
}

.footer-text {
    max-width: 280px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.4;
}

.footer-copy {
    padding-top: 6px;
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
    line-height: 1;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    width: min(390px, calc(100vw - 28px));
    max-height: min(82vh, 720px);
    margin: auto;
    padding: 54px 18px 20px;
    overflow: auto;
    color: var(--text);
    font-family: "Manrope", Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    white-space: pre-line;
    background: var(--surface);
    border: 1px solid rgba(23, 59, 39, 0.16);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(8, 20, 12, 0.34);
}

.modal:not([open]) {
    display: none;
}

.modal::backdrop {
    background: rgba(8, 20, 12, 0.68);
    backdrop-filter: blur(3px);
}

.modal-close-form {
    position: sticky;
    top: -54px;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    margin: -54px -18px 16px;
    padding: 12px;
    background: linear-gradient(180deg, #ffffff 72%, rgba(255, 255, 255, 0));
}

.modal-close-button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: var(--green-900);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
}

.modal-close-button::before {
    content: "×";
    font-size: 27px;
    line-height: 1;
    font-weight: 700;
    transform: translateY(-1px);
}

.modal-close-button:hover {
    background: var(--green-800);
}

.order-modal {
    padding-bottom: 18px;
}

.order-form {
    display: grid;
    gap: 12px;
}

.order-modal-title {
    margin: 0;
    color: var(--green-900);
    font-size: 26px;
    line-height: 1.12;
    font-weight: 900;
    text-align: center;
}

.order-modal-text {
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

.form-field {
    display: grid;
    gap: 6px;
}

.form-label {
    color: var(--green-900);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.form-input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--text);
    font: inherit;
    font-size: 16px;
    line-height: 1.25;
    background: var(--surface-muted);
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-input::placeholder {
    color: #9aa59a;
}

.form-input:focus {
    background: #ffffff;
    border-color: var(--green-700);
}

.form-input.is-invalid {
    background: #fff7f5;
    border-color: rgba(226, 52, 52, 0.55);
}

.form-textarea {
    min-height: 86px;
    resize: vertical;
}

.form-message {
    min-height: 20px;
    color: var(--red);
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
}

.form-message.is-success {
    color: var(--green-700);
}

.form-submit-button {
    width: 100%;
    min-height: 56px;
    padding: 15px 18px;
    color: #151515;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
    background: linear-gradient(180deg, #ffe36a 0%, var(--yellow-strong) 100%);
    border: 0;
    border-bottom: 4px solid #c79200;
    border-radius: 8px;
    cursor: pointer;
}

.form-submit-button:active {
    transform: translateY(1px);
    border-bottom-width: 3px;
}

.thanks-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 28px 18px;
    background:
        linear-gradient(180deg, #fbfcf8 0%, #ffffff 44%, #f3f7f1 100%);
}

.thanks-card {
    display: grid;
    gap: 14px;
    width: 100%;
    padding: 28px 20px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.thanks-mark {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto;
    color: #ffffff;
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
    background: var(--green-900);
    border-radius: 999px;
}

.thanks-title {
    margin: 0;
    color: var(--green-900);
    font-size: 28px;
    line-height: 1.12;
    font-weight: 900;
}

.thanks-text {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.45;
}

.thanks-button {
    display: block;
    margin-top: 6px;
    padding: 15px 18px;
    color: #151515;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffe36a 0%, var(--yellow-strong) 100%);
    border-bottom: 4px solid #c79200;
    border-radius: 8px;
}

@media (max-width: 380px) {
    .section {
        padding-right: 14px;
        padding-left: 14px;
    }

    .page-title,
    .section-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 21px;
    }

    .benefits-item,
    .problem-item,
    .solution-item,
    .card-list-item {
        font-size: 16px;
    }

    .card-image {
        height: auto;
        padding: 0;
    }

    .price-value {
        font-size: 28px;
    }

    .price-value-new {
        font-size: 34px;
    }

    .order-button {
        min-height: 56px;
        font-size: 16px;
    }

    .order-status {
        grid-template-columns: 1fr;
    }

    .timer {
        grid-template-columns: 98px 1fr;
        gap: 9px;
    }

    .timer-title {
        font-size: 15px;
    }

    .timer-number {
        font-size: 44px;
    }

    .timer-separator {
        font-size: 41px;
    }

    .timer-label {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .modal {
        width: calc(100vw - 20px);
        padding-right: 14px;
        padding-left: 14px;
        font-size: 14px;
    }

    .modal-close-form {
        margin-right: -14px;
        margin-left: -14px;
    }

    .order-modal-title {
        font-size: 23px;
    }
}
