:root {
    --primary: #2E8B57;
    --primary-rgb: 46, 139, 87;
    --primary-light: #3CB371;
    --dark: #0A1628;
    --red: #E63946;
    --red-hover: #D62828;
    --green: #2DC653;
    --bg-light: #F8FAF0;
    --text-dark: #333333;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --accent: #E63946;
    /* кавуново-червоний акцент */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --radius: 16px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--white);
    padding-top: 50px;
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    font-size: 18px;
    /* Great for 40-65 years old */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

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

.bg-gray {
    background-color: var(--bg-light);
}

.mt-2 {
    margin-top: 10px;
}

.mt-4 {
    margin-top: 20px;
}

.w-100 {
    width: 100%;
}

.fw-bold {
    font-weight: 700;
}

.fw-black {
    font-weight: 900;
}

.fz-18 {
    font-size: 18px;
}

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

.text-white {
    color: var(--white);
}

/* --- BUTTONS --- */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 64px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    border-radius: var(--radius);
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-main {
    background: linear-gradient(135deg, var(--red), var(--red-hover));
    color: var(--white);
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(230, 57, 70, 0.5);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite ease-in-out;
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.float {
    animation: float 4s infinite ease-in-out;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) translateX(0) scale(1);
}

.fade-up {
    transform: translateY(40px);
}

.fade-left {
    transform: translateX(40px);
}

.fade-right {
    transform: translateX(-40px);
}

/* --- TOP BAR --- */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: var(--dark);
    z-index: 1001;
    color: var(--white);
    font-size: 12px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
    height: 100%;
    padding: 0 15px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--red);
    animation: pulse 1s infinite;
    flex-shrink: 0;
}

.top-timer-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    text-align: center;
}

.timer.top-timer {
    display: flex;
    gap: 2px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--red);
    margin-top: 2px;
}

.top-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

/* --- HERO --- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    padding: 30px 0 40px;
    color: var(--white);
    text-align: center;
}

.hero-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.hit-badge {
    background: var(--red);
    border-color: var(--red);
}

.hero h1 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 25px;
}

.hero-img-wrap {
    margin: 0 auto 20px;
}

.price-block {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 30px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-old {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
    font-weight: 600;
}

.price-new {
    font-size: 36px;
    font-weight: 900;
    color: var(--white);
    font-family: var(--font-heading);
}

.hero-list {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: var(--radius);
}

.hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 500;
}

.hero-list li:last-child {
    margin-bottom: 0;
}

.check-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hero-stock {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 15px;
}

/* --- SECTIONS COMMON --- */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark);
}

/* --- PAIN SECTION --- */
.pain-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.pain-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pain-img-box {
    width: 100%;
    height: 200px;
    flex-shrink: 0;
}

.pain-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pain-text {
    padding: 15px 18px;
}

.pain-card p {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

.pain-solution {
    background: var(--primary-light);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 20px rgba(46, 139, 87, 0.2);
}

.pain-solution h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* --- COMPARISON TABLE --- */
.comp-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.comp-table th,
.comp-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    font-size: 15px;
}

.comp-table th {
    background: var(--dark);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
}

.comp-table th.old-col {
    background: #555;
}

.comp-table th.new-col {
    background: var(--primary);
}

.comp-table .highlight {
    background: rgba(46, 139, 87, 0.05);
    font-weight: 700;
    color: var(--primary);
}

/* --- FEATURES --- */
.feature-row {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.feature-row.reverse {
    flex-direction: column;
}

.f-img {
    height: 220px;
}

.f-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.f-text {
    padding: 25px;
}

.f-text h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
}

.f-text p {
    color: var(--text-dark);
}

/* --- STEPS --- */
.steps-grid {
    display: grid;
    gap: 20px;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.step-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.step-card h4 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* --- REVIEWS --- */
.review-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.r-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.r-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.r-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.r-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.stars {
    color: #FFB800;
    font-size: 16px;
    letter-spacing: 2px;
}

/* --- ORDER SECTION --- */
.order-section {
    background: var(--dark);
    padding-bottom: 40px;
}

.bundles-col {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.bundle-opt {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    color: var(--white);
}

.bundle-opt .hit-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.4);
}

.bundle-opt:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
}

.bundle-opt.active {
    border-color: var(--primary-light);
    background: rgba(46, 139, 87, 0.15);
    box-shadow: 0 0 20px rgba(46, 139, 87, 0.2);
}

.bundle-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.bundle-body {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bundle-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.bundle-details h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.bundle-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.bundle-price-col {
    margin-left: auto;
    text-align: right;
}

.b-old-price {
    display: block;
    font-size: 14px;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 2px;
}

.b-new-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-light);
    font-family: var(--font-heading);
}

.form-col {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--gray-200);
}

.form-header h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    height: 60px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 0 20px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-light);
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.1);
}

.consent-text {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 15px;
}

.consent-text a {
    color: var(--primary);
    text-decoration: underline;
}

/* --- FAQ --- */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-head {
    padding: 20px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-head .arrow {
    font-size: 12px;
    color: var(--primary);
    transition: transform 0.3s;
    display: inline-block;
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.faq-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    color: #555;
    font-size: 15px;
}

.faq-item.active .faq-body {
    padding-bottom: 20px;
    max-height: 200px;
    /* arbitrary height for animation */
    opacity: 1;
}

/* --- FOOTER --- */
.footer {
    background: #111;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 30px 0;
    font-size: 13px;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.legal-links a {
    text-decoration: underline;
}

/* --- STICKY BOTTOM CTA --- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--gray-200);
    z-index: 1000;
    transition: transform 0.3s;
    display: flex;
    justify-content: center;
}

.sticky-cta.hidden {
    transform: translateY(110%);
}

.sticky-cta .btn {
    width: 100%;
    max-width: 440px;
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }

    .pain-grid {
        flex-direction: row;
    }

    .pain-card {
        flex: 1;
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .pain-img-box {
        margin-bottom: 15px;
    }

    .feature-row {
        flex-direction: row;
        align-items: center;
    }

    .feature-row.reverse {
        flex-direction: row-reverse;
    }

    .f-img,
    .f-text {
        flex: 1;
    }

    .f-img {
        height: 300px;
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .order-grid {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 30px;
        align-items: start;
    }
}
/* --- RECOMMENDED BUNDLE --- */
.bundle-opt.recommended {
    border-color: rgba(230, 57, 70, 0.5);
}

/* --- TRUST COD BLOCK --- */
.trust-cod {
    background: var(--bg-light);
    padding: 40px 0;
    text-align: center;
}

.trust-cod-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 25px;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.trust-item {
    background: var(--white);
    padding: 18px 12px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.trust-item .t-icon {
    font-size: 2rem;
    line-height: 1;
}

.trust-item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--dark);
}

.trust-item span {
    font-size: 0.72rem;
    color: #888;
    line-height: 1.4;
}

@media (max-width: 400px) {
    .trust-items {
        grid-template-columns: 1fr 1fr;
    }
    .trust-items .trust-item:last-child {
        grid-column: 1 / -1;
    }
}

/* --- PAIN CARDS — TABLET/DESKTOP (side by side) --- */
@media (min-width: 600px) {
    .pain-grid {
        flex-direction: row;
    }
    .pain-card {
        flex: 1;
    }
    .pain-img-box {
        height: 160px;
    }
}

/* --- MOBILE TWEAKS --- */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }
    .section-title {
        font-size: 26px;
    }
    .pain-img-box {
        height: 180px;
    }
}
