:root {
    --page: #eef7ee;
    --surface: #ffffff;
    --surface-muted: #f4f8f1;
    --green-950: #0f2618;
    --green-900: #163820;
    --green-800: #1f5a31;
    --green-700: #2f7b43;
    --green-100: #e5f3dc;
    --green-50: #f3faee;
    --text: #1f2d22;
    --muted: #657469;
    --line: #d7e5d1;
    --yellow: #ffd85a;
    --yellow-strong: #f2a915;
    --red: #d75f34;
    --red-soft: #fff1e7;
}

* {
    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(15, 35, 59, 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);
    box-shadow: 0 0 0 1px rgba(22, 56, 32, 0.06), 0 22px 60px rgba(22, 56, 32, 0.12);
}

.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: 28px 18px;
}

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

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

.hero-section {
    padding-top: 16px;
    background:
        radial-gradient(circle at 50% 0%, rgba(242, 169, 21, 0.2) 0, rgba(242, 169, 21, 0) 42%),
        linear-gradient(180deg, #f7fbf2 0%, #ffffff 48%, #edf7e7 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: 10px;
    background: var(--surface-muted);
    box-shadow: 0 12px 28px rgba(22, 56, 32, 0.12);
}

.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: 10px;
}

.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: 12px;
    background: var(--surface);
    box-shadow: 0 10px 22px rgba(22, 56, 32, 0.08);
}

.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);
    background: var(--red-soft);
}

.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: 10px 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(47, 123, 67, 0.12);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(22, 56, 32, 0.08);
}

.timer-title {
    color: var(--green-800);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
    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: var(--green-900);
    font-size: 44px;
    line-height: 0.9;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.timer-label {
    display: block;
    padding-top: 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-top: 3px solid var(--line);
}

.timer-separator {
    color: var(--green-800);
    font-size: 44px;
    line-height: 0.82;
    font-weight: 700;
}

.order-button {
    width: 100%;
    min-height: 58px;
    margin-top: 16px;
    padding: 16px 18px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.12;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
    text-shadow: 0 1px 0 rgba(125, 72, 0, 0.16);
    background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-strong) 100%);
    border: 0;
    border-bottom: 4px solid #b56e06;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 13px 24px rgba(242, 169, 21, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.order-button:hover {
    filter: brightness(1.04);
    box-shadow: 0 15px 28px rgba(242, 169, 21, 0.34);
}

.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(61, 111, 159, 0.18);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-status-left {
    color: var(--red);
    background: var(--red-soft);
    border-color: rgba(215, 95, 52, 0.2);
}

.problem-section,
.power-section,
.final-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 216, 90, 0.2) 0, rgba(255, 216, 90, 0) 42%),
        linear-gradient(180deg, var(--green-900) 0%, var(--green-950) 100%);
}

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

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

.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.84);
    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.11);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    gap: 9px;
    align-items: center;
}

.power-section .benefits-item img {
    width: 24px;
    height: 24px;
}

.cards-section {
    display: grid;
    gap: 14px;
    background: #eef7e8;
}

.info-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdf8 100%);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 26px rgba(22, 56, 32, 0.09);
}

.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: 10px;
    box-shadow: none;
}

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

.card-list {
    gap: 7px;
}

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

.card-list-item::before {
    content: "";
    position: absolute;
    top: 0.32em;
    left: 0;
    width: 16px;
    height: 16px;
    background: var(--green-700);
    border-radius: 999px;
    box-shadow: inset 0 0 0 4px #ffffff, 0 0 0 1px rgba(47, 123, 67, 0.2);
}

.video-section {
    background:
        linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
}

.video {
    display: block;
    width: min(100%, 330px);
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    object-fit: cover;
    background: #111827;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(22, 56, 32, 0.16);
}

.video-instruction-section {
    padding-right: 14px;
    padding-left: 14px;
    background: linear-gradient(180deg, #eef7e8 0%, var(--surface) 100%);
}

.video-instruction-card {
    display: grid;
    gap: 16px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 26px rgba(22, 56, 32, 0.1);
}

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

.video-instruction-details summary {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 15px 16px;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    background: var(--green-800);
    border-radius: 12px;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.15s ease;
}

.video-instruction-details summary::-webkit-details-marker {
    display: none;
}

.video-instruction-details summary::before {
    content: "▶";
    font-size: 13px;
    line-height: 1;
}

.video-instruction-details summary::after {
    content: "";
    width: 10px;
    height: 10px;
    margin-left: auto;
    border-right: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transform-origin: center;
    transition: transform 0.15s ease;
}

.video-instruction-details summary:hover {
    background: var(--green-700);
}

.video-instruction-details[open] summary::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

.video-instruction-frame {
    overflow: hidden;
    margin-top: 12px;
    aspect-ratio: 16 / 9;
    background: #111827;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.video-instruction-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-fullscreen-link {
    display: block;
    margin-top: 10px;
    padding: 14px 12px;
    color: var(--green-800);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    background: var(--green-100);
    border: 1px solid rgba(61, 111, 159, 0.18);
    border-radius: 10px;
}

.reviews-section {
    background: var(--surface);
    padding: 26px 0px;
}

.reviews-section h2,
.reviews-section .reviews-lead,
.reviews-section .slider {
    padding-right: 18px;
    padding-left: 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: 12px;
    background: var(--green-50);
    box-shadow: 0 10px 22px rgba(22, 56, 32, 0.08);
}

.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: 10px;
    box-shadow: none;
}

.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.84);
    font-size: 18px;
    line-height: 1.45;
    text-align: center;
}

.final-offer {
    padding: 14px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 14px;
    box-shadow: 0 16px 34px rgba(6, 21, 11, 0.24);
}

.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: var(--green-950);
    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.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    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(22, 56, 32, 0.16);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(6, 21, 11, 0.34);
}

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

.modal::backdrop {
    background: rgba(15, 35, 59, 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, var(--surface) 72%, rgba(255, 255, 255, 0));
}

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

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

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

.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: 10px;
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-input::placeholder {
    color: #94a3b8;
}

.form-input:focus {
    background: var(--surface);
    border-color: var(--green-700);
    box-shadow: 0 0 0 3px rgba(61, 111, 159, 0.12);
}

.form-input.is-invalid {
    background: var(--red-soft);
    border-color: rgba(215, 95, 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: #ffffff;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
    background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-strong) 100%);
    border: 0;
    border-bottom: 4px solid #b56e06;
    border-radius: 12px;
    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, #f7fbf2 0%, #ffffff 44%, #edf7e7 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: 14px;
    box-shadow: 0 16px 34px rgba(22, 56, 32, 0.12);
}

.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: #ffffff;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-strong) 100%);
    border-bottom: 4px solid #b56e06;
    border-radius: 12px;
}

@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;
    }

    .video-instruction-section {
        padding-right: 8px;
        padding-left: 8px;
    }

    .video-instruction-card {
        padding: 10px;
    }

    .video-instruction-text {
        font-size: 16px;
    }

    .video-instruction-details summary {
        min-height: 62px;
        padding-right: 14px;
        padding-left: 14px;
        font-size: 16px;
    }

    .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;
    }
}
