:root {
    --bg: #f4f7f6;
    --ink: #171614;
    --muted: #5d6662;
    --paper: #ffffff;
    --panel: #e8efed;
    --line: #d5dfdc;
    --accent: #0f8f78;
    --accent-dark: #0a5f52;
    --green: #1d6b4d;
    --dark: #111413;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(18, 33, 29, 0.14);
    --radius: 8px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    line-height: 1.5;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(15, 143, 120, 0.1), transparent 28%),
        linear-gradient(245deg, rgba(17, 20, 19, 0.08), transparent 32%);
    animation: pageGlow 9s ease-in-out infinite alternate;
}

button,
input {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.top-bar {
    position: sticky;
    top: 0;
    z-index: 40;
    overflow: hidden;
    padding: 0;
    border-bottom: 1px solid rgba(184, 244, 232, 0.18);
    background:
        linear-gradient(90deg, #0d1211, #121c19 48%, #0d1211);
    color: var(--white);
    box-shadow: 0 8px 26px rgba(17, 20, 19, 0.18);
}

.top-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent, rgba(184, 244, 232, 0.1), transparent);
    transform: translateX(-100%);
    animation: barSweep 4.8s ease-in-out infinite;
}

.top-bar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), #b8f4e8, var(--accent));
    background-size: 220% 100%;
    animation: barProgress 3s linear infinite;
}

.top-bar-track {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    padding: 10px 16px;
    font-size: 0.84rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.top-pill,
.top-offer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.top-pill::before,
.top-offer::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(184, 244, 232, 0.78);
    box-shadow: 0 0 0 5px rgba(184, 244, 232, 0.08);
}

.top-offer {
    color: #b8f4e8;
    padding: 5px 12px;
    border: 1px solid rgba(184, 244, 232, 0.22);
    border-radius: 999px;
    background: rgba(184, 244, 232, 0.07);
    animation: offerPulse 1.9s ease-in-out infinite;
}

#timer {
    display: inline-block;
    min-width: 48px;
    font-variant-numeric: tabular-nums;
    animation: timerBeat 1.2s ease-in-out infinite;
}

.hero {
    min-height: calc(100vh - 41px);
    display: flex;
    align-items: center;
    padding: 56px 0;
    background:
        linear-gradient(90deg, rgba(244, 247, 246, 0.95), rgba(244, 247, 246, 0.7)),
        url("4.webp") center right / min(58vw, 820px) no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.88fr);
    gap: 56px;
    align-items: center;
}

.hero-copy {
    animation: heroIn 700ms ease-out both;
}

.hero-copy .eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-copy .eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 8px rgba(15, 143, 120, 0.12);
    animation: liveDot 1.8s ease-in-out infinite;
}

.eyebrow,
.kicker {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 6.2vw, 5.7rem);
    line-height: 0.96;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.03;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.hero-text {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.12rem;
}

.offer-panel {
    width: min(480px, 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 28px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
    animation: offerLift 4s ease-in-out infinite;
}

.old-price {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    text-decoration: line-through;
}

.new-price {
    display: block;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
    line-height: 1;
}

.saving {
    flex: 0 0 auto;
    padding: 8px 10px;
    border-radius: 6px;
    background: #d8f4ed;
    color: var(--accent-dark);
    font-weight: 900;
    font-size: 0.82rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 900;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-120%) skewX(-18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transition: transform 600ms ease;
}

.btn:hover::after {
    transform: translateX(120%) skewX(-18deg);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(15, 143, 120, 0.28);
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.btn-secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.75);
    color: var(--ink);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--green);
    font-weight: 800;
    font-size: 0.9rem;
}

.trust-row span {
    padding: 7px 10px;
    border: 1px solid rgba(29, 107, 77, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.hero-product {
    position: relative;
    isolation: isolate;
    animation: productIn 800ms 120ms ease-out both;
}

.hero-product::before {
    content: "";
    position: absolute;
    inset: 8% 4% auto;
    height: 62%;
    z-index: -1;
    border-radius: 50%;
    background: rgba(15, 143, 120, 0.16);
    filter: blur(34px);
    animation: productAura 5.5s ease-in-out infinite alternate;
}

.hero-product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    animation: productFloat 5.5s ease-in-out infinite;
}

.stock-note,
.rating-card {
    position: absolute;
    z-index: 2;
    max-width: 260px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
}

.stock-note {
    top: 16px;
    right: 16px;
    color: var(--accent-dark);
    font-weight: 900;
    font-size: 0.88rem;
}

.rating-card {
    left: 16px;
    bottom: 16px;
}

.rating-card strong {
    display: block;
    font-size: 1.5rem;
}

.rating-card span {
    display: block;
    color: var(--muted);
    font-size: 0.86rem;
}

.float-chip {
    position: absolute;
    z-index: 3;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 999px;
    background: rgba(17, 20, 19, 0.86);
    color: var(--white);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
    font-size: 0.78rem;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.chip-a {
    top: 28%;
    left: -18px;
    animation: chipFloat 4.2s ease-in-out infinite;
}

.chip-b {
    right: -12px;
    bottom: 31%;
    animation: chipFloat 4.8s 600ms ease-in-out infinite;
}

.confidence {
    padding: 42px 0;
    background: var(--dark);
    color: var(--white);
}

.confidence-grid,
.split,
.final-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
    gap: 44px;
    align-items: center;
}

.confidence p {
    color: #c8c4bb;
}

.proof-list {
    display: grid;
    gap: 12px;
}

.proof-list div {
    display: flex;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.proof-list div:hover {
    transform: translateX(4px);
    border-color: rgba(184, 244, 232, 0.38);
    background: rgba(255, 255, 255, 0.08);
}

.proof-list strong {
    color: #b8f4e8;
}

.section {
    padding: 82px 0;
}

.section.soft {
    background: var(--paper);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading.compact {
    max-width: 640px;
}

.bundle-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.bundle-photo {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.bundle-photo img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.bundle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.bundle-item,
.review-card,
.value-stack div {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.bundle-item {
    padding: 22px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bundle-item:hover,
.review-card:hover,
.value-stack div:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 143, 120, 0.32);
    box-shadow: 0 18px 40px rgba(18, 33, 29, 0.1);
}

.bundle-item span {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--accent-dark);
    font-weight: 900;
}

.bundle-item p,
.review-card p,
.value-stack p,
.final-box p {
    color: var(--muted);
}

.value-stack {
    display: grid;
    gap: 12px;
}

.value-stack div {
    padding: 20px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.value-stack span {
    display: block;
    margin-bottom: 6px;
    font-size: 1.6rem;
    font-weight: 950;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.review-card {
    padding: 24px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stars {
    margin-bottom: 12px;
    color: #b57919;
    letter-spacing: 0.04em;
    animation: starWarmth 2.4s ease-in-out infinite alternate;
}

.final-cta {
    padding-top: 20px;
}

.final-box {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--dark);
    color: var(--white);
}

.final-box .btn {
    justify-self: end;
}

.sticky-footer {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 35;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.sticky-footer span,
.sticky-footer small {
    display: block;
}

.sticky-footer span {
    font-weight: 950;
}

.sticky-footer small {
    color: var(--muted);
}

.sticky-footer .btn {
    min-height: 44px;
    padding: 10px 18px;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(17, 20, 19, 0.78);
    backdrop-filter: blur(8px);
}

.modal-panel {
    position: relative;
    width: min(660px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    font-size: 1.4rem;
}

.modal-intro,
.form-note {
    color: var(--muted);
}

.checkout-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 22px 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.checkout-summary span {
    display: block;
    color: var(--muted);
    font-size: 0.83rem;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-summary strong {
    display: block;
    font-size: 2rem;
}

.qty-selector {
    display: inline-grid;
    grid-template-columns: 42px 48px 42px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
}

.qty-btn,
.qty-input {
    width: 100%;
    height: 42px;
    border: 0;
    background: transparent;
    text-align: center;
    font-weight: 900;
}

.qty-btn {
    cursor: pointer;
}

.order-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.field,
.payment-options {
    display: grid;
    gap: 8px;
}

.field.full,
.payment-options,
.submit-btn,
.form-note {
    grid-column: 1 / -1;
}

.field span,
.payment-options > span {
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 900;
}

.field input {
    width: 100%;
    min-height: 48px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: var(--white);
    color: var(--ink);
}

.field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 143, 120, 0.15);
}

.payment-options label {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
}

.payment-options input {
    grid-row: span 2;
    margin-top: 4px;
}

.payment-options small {
    color: var(--muted);
}

.form-note {
    margin: 0;
    text-align: center;
    font-size: 0.86rem;
}

.success-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 120;
    width: min(440px, calc(100% - 28px));
    padding: 16px 18px;
    border: 1px solid rgba(29, 107, 77, 0.28);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
    transform: translate(-50%, 150%);
    transition: transform 220ms ease;
}

.success-toast.is-visible {
    transform: translate(-50%, 0);
}

.success-toast strong,
.success-toast span {
    display: block;
}

.success-toast span {
    color: var(--muted);
}

.reveal,
.bundle-item,
.review-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible,
.bundle-item.is-visible,
.review-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.bundle-item:nth-child(2),
.review-card:nth-child(2) {
    transition-delay: 90ms;
}

.bundle-item:nth-child(3),
.review-card:nth-child(3) {
    transition-delay: 180ms;
}

.bundle-item:nth-child(4) {
    transition-delay: 270ms;
}

.bundle-item.is-visible:hover,
.review-card.is-visible:hover {
    transform: translateY(-5px);
}

@keyframes pageGlow {
    from { opacity: 0.45; }
    to { opacity: 0.9; }
}

@keyframes timerBeat {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.72; }
}

@keyframes barSweep {
    0%, 38% { transform: translateX(-100%); }
    70%, 100% { transform: translateX(100%); }
}

@keyframes barProgress {
    from { background-position: 0% 50%; }
    to { background-position: 220% 50%; }
}

@keyframes offerPulse {
    0%, 100% {
        border-color: rgba(184, 244, 232, 0.22);
        box-shadow: 0 0 0 0 rgba(184, 244, 232, 0);
    }
    50% {
        border-color: rgba(184, 244, 232, 0.42);
        box-shadow: 0 0 0 6px rgba(184, 244, 232, 0.06);
    }
}

@keyframes liveDot {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 8px rgba(15, 143, 120, 0.12); }
    50% { transform: scale(0.82); box-shadow: 0 0 0 13px rgba(15, 143, 120, 0.04); }
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes productIn {
    from { opacity: 0; transform: translateY(22px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes productFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.45deg); }
}

@keyframes offerLift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes productAura {
    from { transform: scale(0.95); opacity: 0.62; }
    to { transform: scale(1.08); opacity: 0.9; }
}

@keyframes chipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes starWarmth {
    from { filter: saturate(1); }
    to { filter: saturate(1.4) brightness(1.08); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
    }
}

@media (max-width: 920px) {
    .hero {
        min-height: auto;
        background:
            linear-gradient(180deg, rgba(244, 247, 246, 0.94), rgba(244, 247, 246, 0.94)),
            url("4.webp") top center / 900px no-repeat;
    }

    .hero-grid,
    .confidence-grid,
    .split,
    .final-box,
    .bundle-layout {
        grid-template-columns: 1fr;
    }

    .final-box .btn {
        justify-self: start;
    }

    .review-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .top-bar {
        font-size: 0.68rem;
    }

    .top-bar-track {
        justify-content: space-between;
        gap: 8px;
        padding: 9px 12px;
    }

    .top-pill:last-child {
        display: none;
    }

    .top-offer {
        padding: 4px 9px;
    }

    .hero {
        padding: 34px 0 50px;
    }

    h1 {
        font-size: clamp(2.35rem, 14vw, 3.4rem);
    }

    .offer-panel,
    .checkout-summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .actions .btn {
        width: 100%;
    }

    .hero-product img {
        aspect-ratio: 4 / 5;
    }

    .stock-note,
    .rating-card,
    .float-chip {
        position: static;
        max-width: none;
        margin-top: 10px;
    }

    .bundle-grid {
        grid-template-columns: 1fr;
    }

    .bundle-photo img {
        min-height: 280px;
    }

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

    .modal {
        align-items: end;
        padding: 10px;
    }

    .modal-panel {
        max-height: 94vh;
        padding: 24px 16px;
    }

    .sticky-footer {
        left: 10px;
        right: 10px;
        display: flex;
        justify-content: space-between;
    }

    body {
        padding-bottom: 86px;
    }
}
