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

:root {
    --white: #ffffff;
    --bg-page: #f7f8fc;
    --bg-section: #eef0f8;
    --violet: #4c3fd1;
    --violet-mid: #6258e8;
    --violet-soft: #e8e7ff;
    --violet-pale: #f1f0ff;
    --indigo: #3730a3;
    --grey-100: #f3f4f6;
    --grey-200: #e5e7eb;
    --grey-400: #9ca3af;
    --grey-600: #4b5563;
    --grey-800: #1f2937;
    --black: #111118;
    --text-main: #111118;
    --text-body: #374151;
    --text-muted: #6b7280;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(76, 63, 209, .08);
    --shadow: 0 8px 32px rgba(76, 63, 209, .13);
    --shadow-lg: 0 20px 60px rgba(76, 63, 209, .18);
    --font-display: 'DM Serif Display', serif;
    --font-body: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-page);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    display: block;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    color: var(--black);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 4.6vw, 2.8rem);
}

h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}

.logo img {
    width: 135px;
    padding-top: 3px;
}

.logo a {
    text-decoration: none;
}

.halal {
    width: 55px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--violet);
    background: var(--violet-soft);
    border-radius: 40px;
    padding: 5px 14px;
    margin-bottom: 18px;
}

section {
    padding: 50px 0;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 15px 34px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .28s cubic-bezier(.4, 0, .2, 1);
}

.btn-violet {
    background: linear-gradient(135deg, var(--violet), var(--violet-mid));
    color: #fff;
    box-shadow: 0 6px 24px rgba(76, 63, 209, .35);
}

.btn-violet:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(76, 63, 209, .48);
}

.btn-outline {
    background: transparent;
    color: var(--violet);
    border: 2px solid var(--violet);
}

.btn-outline:hover {
    background: var(--violet-soft);
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--grey-200);
    box-shadow: 0 1px 0 rgba(76, 63, 209, .06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
}

.logo-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--violet);
}

/* HERO */
.hero {
    padding: 40px 0 50px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -140px;
    right: -180px;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 63, 209, .09) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(98, 88, 232, .06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
}

.hero-grid h3 {
    margin-bottom: 25px;
    font-size: 30px;
    font-size: 19px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 20px;
}

.hero-eyebrow span {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--violet);
    border-radius: 2px;
}

.hero h1 {
    margin-bottom: 22px;
}

.hero h1 em {
    font-style: italic;
    color: var(--violet);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    border-left: 3px solid var(--violet-mid);
    padding-left: 13px;
    line-height: 1.75;
    margin-bottom: 25px;
}

.hero-visual {
    position: relative;
}

.img-ph {
    display: flex;
    justify-content: end;
}
.img-ph img{
     max-height: 440px;
     border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--violet-soft), var(--bg-section));
    border: 2px solid rgba(76, 63, 209, .15);
    box-shadow: var(--shadow-lg);
}

.img-ph.two img {
    border: none;
    box-shadow: none;
    background: none;
}

.hero-badge {
    position: absolute;
    bottom: 28px;
    left: -18px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 14px 18px;
    box-shadow: var(--shadow);
    font-size: 0.8rem;
    color: var(--text-body);
    animation: floatY 4s ease-in-out infinite;
}

.hero-badge strong {
    display: block;
    font-size: 1.2rem;
    color: var(--violet);
    font-family: var(--font-display);
}

@keyframes floatY {

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

    50% {
        transform: translateY(-8px)
    }
}

/* PRODUCT */
.product-section {
    background: var(--bg-section);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.product-img-box {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 2/3;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--grey-200);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-img-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, var(--violet-pale), transparent);
}

.product-sub {
    color: var(--violet);
    font-weight: 600;
    margin-bottom: 28px;
    font-size: 0.95rem;
    margin-top: 12px;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--violet-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.check svg {
    stroke: var(--violet);
}

/* SIGNS */
.signs-section {
    background: var(--white);
}

.signs-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.signs-inner h2 {
    margin-bottom: 14px;
}

.signs-sub {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.75;
}

.progress-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    margin-bottom: 30px;
}

.progress-track::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(100%/6);
    right: calc(100%/6);
    height: 2px;
    background: linear-gradient(90deg, var(--grey-200), var(--violet), var(--grey-200));
    z-index: 0;
}

.prog-card {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.prog-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 14px;
    background: var(--white);
    border: 2px solid var(--grey-200);
    box-shadow: var(--shadow-sm);
    transition: all .3s;
}

.prog-dot img {
    width: 25px;
}

.prog-card:hover .prog-dot {
    border-color: var(--violet);
    background: var(--violet-soft);
}

.prog-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--black);
    margin-bottom: 6px;
}

.prog-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ADVANTAGES */
.adv-section {
    background: var(--bg-section);
}

.adv-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 30px;
}

.adv-header p {
    color: var(--text-muted);
    margin-top: 12px;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.adv-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.adv-card:hover {
    border-color: var(--violet-mid);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.adv-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--violet-soft);
    color: var(--violet);
    display: flex;
    align-items: center;
    justify-content: center;
   font-size: 23px;
    margin-bottom: 14px;
}

.adv-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 6px;
}

.adv-card p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.adv-cta {
    text-align: center;
}

/* RESULT */
.result-section {
    background: var(--white);
}

.result-header {
    text-align: center;
    margin-bottom: 25px;
}

.result-header p {
    color: var(--text-muted);
    max-width: 505px;
    margin: 12px auto 0;
    font-size: 1rem;
}

.result-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 560px;
    margin: 0 auto 56px;
}

.result-step {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 26px;
    background: var(--bg-section);
    border-radius: var(--radius);
    border-left: 4px solid var(--violet-mid);
}

.step-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: rgba(76, 63, 209, .2);
    min-width: 40px;
    line-height: 1;
}

.step-text {
    font-size: 0.95rem;
    color: var(--text-body);
}

/* Before / After */
.ba-section-title {
    text-align: center;
    margin-bottom: 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--violet);
}

.ba-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius);
    overflow: hidden;
    /* border: 1px solid var(--grey-200); */
    /* box-shadow: var(--shadow-sm); */
    gap: 15px;
    max-width: 650px;
    margin: 0 auto 20px;
}

.ba-side {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg-section);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.ba-side+.ba-side {
    border-left: 2px solid var(--white);
}

.ba-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-ph-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    opacity: .18;
}

.ba-side.before .ba-ph-circle {
    background: #ef4444;
}

.ba-side.after .ba-ph-circle {
    background: var(--violet);
}

.ba-caption {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
    position: relative;
    z-index: 1;
}

.ba-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.ba-side.before .ba-label {
    color: #fca5a5;
}

.ba-side.after .ba-label {
    color: #a5b4fc;
}

.ba-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.4;
}

.result-cta {
    text-align: center;
    margin-top: 8px;
}

/* REVIEWS */
.reviews-section {
    background: var(--bg-section);
}

.reviews-header {
    text-align: center;
    margin-bottom: 48px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 26px 28px;
    display: grid;
    grid-template-areas:
        "meta  side"
        "body  body";
    grid-template-columns: 1fr auto;
    gap: 0 16px;
    transition: box-shadow .25s, border-color .25s;
}

.review-card:hover {
    box-shadow: var(--shadow);
    border-color: rgba(76, 63, 209, .2);
}

.review-meta {
    grid-area: meta;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar img{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--violet-soft);
    color: var(--violet);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--black);
    line-height: 1.3;
}

.reviewer-city {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-side {
    grid-area: side;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
}

.stars {
    color: #f59e0b;
    font-size: 0.92rem;
    letter-spacing: 1px;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.review-body {
    grid-area: body;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--grey-100);
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* CLOSING */
.closing-section {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--violet-mid) 60%, #7c72f0 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.closing-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    pointer-events: none;
}

.closing-inner {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    position: relative;
}

.closing-inner .tag {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}

.closing-inner h2 {
    color: #fff;
    margin-bottom: 14px;
}

.closing-sub {
    color: rgba(255, 255, 255, .75);
    margin-bottom: 30px;
    font-size: 1rem;
}

.discount-box {
    padding-top: 30px;
}

.discount-img img{
    max-width: 100px;
    margin: 15px auto 0;
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3dad7c, #2c8057);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 40px;
    padding: 6px 20px;
    margin-bottom: 5px;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
}

.price-old {
    font-size: 1.2rem;
    color: #9ca4b5;
    text-decoration: line-through;
}

.price-new {
    font-family: var(--font-display);
    font-size: 2.7rem;
    color: var(--violet);
    font-weight: 600;
}

.timer-label {
    font-size: 15px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}

.timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.timer-block {
    background: var(--bg-section);
    border: 1px solid var(--grey-200);
    border-radius: 12px;
    padding: 10px 18px;
    min-width: 68px;
    text-align: center;
}

.timer-block .num {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--violet);
    line-height: 1;
    display: block;
}

.timer-block .unit {
    font-size: 0.62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 3px;
    display: block;
}

.timer-sep {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--violet);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.limit-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 14px;
}

.limit-note strong {
    color: #ef4444;
}

/* FOOTER */
footer {
    padding: 36px 0;
    background: var(--white);
    border-top: 1px solid var(--grey-200);
    text-align: center;
}

footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    justify-content: center;
    align-items: center;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    margin: 0 6px;
    font-size: 13px;
    font-weight: 500;
}

.shop-address {
    font-size: 13px;
    color: #555;
    font-weight: 500;
    text-align: center;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.shop-address a {
    color: #555;
}

/* DIVIDER */
.divider {
    height: 1px;
    background: var(--grey-200);
}

/* FADE-UP */
.fade-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .65s ease, transform .65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.package-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 32px 28px;
    text-align: center;
    border: 1px solid #e5e5e5;
    transition: all 0.2s;
}

.package-card.popular {
    padding-top: 20px;
     border: 2px solid #dc2626;
}

.package-card h3 {
    font-family: var(--font-body);
}

.price-main {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 16px 0 0px;
    color: #000;
}

.installment {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.package-desc {
    margin: 10px 0 20px;
    color: #2c2c2c;
    font-weight: 500;
}

.prod-img {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 10px;
}

.btn-primary {
    background-color: #dc2626;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
    border-radius: 12px;
}

.kaspi-notice {
    font-size: 0.85rem;
    color: #4a4a4a;
    text-align: center;
    line-height: 1.4;
    max-width: 380px;
    margin: 0 auto;
}

.text-kas {
    color: #000;
    font-size: 13px;
}

.popular-badge {
    background: #dc2626;
    color: white;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-block;
    /* margin-bottom: 20px; */
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    section {
        padding: 30px 0;
    }

    .closing-section {
        padding: 30px 0 50px;
    }

    .package-grid {
        gap: 24px;
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 20px 0 30px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-img-wrap {
        max-height: 300px;
        border-radius: 120px;
    }

    .hero-badge {
        left: 0;
        bottom: 10px;
    }

    .img-ph {
    display: flex;
    justify-content: center;
}

    .product-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

   

    .progress-track {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .progress-track::before {
        display: none;
    }

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

    .ba-pair {
        grid-template-columns: 1fr;
    }

    .ba-side+.ba-side {
        border-left: none;
        border-top: 2px solid var(--white);
    }

    /* Review on mobile: stack meta + side vertically */
    .review-card {
        grid-template-areas: "meta""side""body";
        grid-template-columns: 1fr;
    }

    .review-side {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        justify-content: flex-start;
        margin-top: 8px;
    }

    .price-new {
        font-size: 2.2rem;
    }

    .timer-block {
        min-width: 56px;
        padding: 10px 12px;
    }

    .timer-block .num {
        font-size: 1.7rem;
    }

    .logo-brand {
        font-size: 1rem;
    }

    .result-header p, .closing-sub, .discount-badge {
    font-size: 0.8rem;
}

    .discount-box {
        padding: 28px 20px 0;
    }

    .package-grid {
        margin-top: 20px;
    }

    .package-card {
        padding-bottom: 20px;
    }

    .closing-sub {
        margin-bottom: 20px;
    }

    .signs-sub {
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.prog-card {
    padding: 10px 16px;

}

.adv-header {
    margin: 0 auto 20px;
}

.adv-grid, .reviews-header  {
    margin-bottom: 30px;
}

.product-text {
order: 1;
}

.product-img {
order: 2;
}
}