:root {
    --bg: #f5f5f5;
    --fg: #000000;
    --accent: #2B82FB;
    /* Blue from mockup */
    --accent-glow: rgba(43, 130, 251, 0.2);
    --card-bg: #ffffff;
    --border: rgba(0, 0, 0, 0.05);
    --text-muted: #4A4A4A;
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    /* Mockup uses a clean sans-serif */
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mobile-padding {
    padding-left: 20px;
    padding-right: 20px;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--transition);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

.logo-wrapper {
    margin-bottom: 20px;
}

.logo-img {
    height: 35px;
    width: auto;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center container */
    justify-content: center;
    padding: 0;
    text-align: left;
    background: url('features/backg.png') no-repeat center center;
    /* Final background */
    background-size: cover;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    width: 100%;
    max-width: 800px;
    padding: 0 24px 0;
    /* Zero bottom padding */
    /* Zero top padding */
    z-index: 2;
}

.hero-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 0;
    /* Remove top margin */
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 500;
    margin-bottom: 15px;
    color: #ffffff;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 8vw, 64px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #ffffff;
    /* Explicitly white */
}

.hero-content h1 span {
    display: block;
}

.hero-content p {
    font-size: clamp(15px, 3vw, 18px);
    color: #ffffff;
    /* White text */
    margin: 0;
    max-width: 600px;
    line-height: 1.4;
    font-weight: 500;
}

.hero-actions {
    margin-top: auto;
    padding-top: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    /* Resetting to 0 */
    gap: 8px;
}

.trust-badges {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 0;
    background: transparent;
    /* No block like image */
    padding: 0;
    margin-bottom: 15px;
    width: 100%;
}

.trust-item {
    font-size: 14px;
    color: #ffffff;
    /* White text like image */
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: 0.3s var(--transition);
    text-align: center;
    width: 100%;
}

.btn-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    /* Changed to medium */
    font-size: 18px;
    transition: 0.3s var(--transition);
}

.btn-minimal:hover {
    transform: translateY(5px);
    opacity: 0.8;
}

.chevron-down {
    width: 24px;
    /* Reduced size */
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        height: 100dvh;
        /* Dynamic height for mobile browsers */
        min-height: 550px;
        padding: 0;
    }

    .hero-container {
        justify-content: flex-start;
        /* Move everything to the top */
        padding: 0 20px 0;
        /* Zero bottom padding */
        gap: 0;
    }

    .hero-top {
        margin-top: 20px;
        /* Reset vertical offset */
        align-items: flex-start;
    }

    .logo-wrapper {
        margin-bottom: 20px;
        align-self: center;
        /* Center the logo only */
    }

    .logo-img {
        height: 28px;
        /* Slightly smaller size */
        width: auto;
    }

    .hero-content h1,
    .section-header h2 {
        font-size: clamp(32px, 10vw, 48px);
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.3;
    }

    .hero-actions {
        margin-top: auto;
        /* Push button to the bottom of the viewport */
        padding-top: 0;
        gap: 5px;
        /* Tighter gap */
        margin-bottom: 0;
        /* Adjusted for better balance */
    }

    .btn-minimal {
        font-size: 12px;
        /* Standardized with trust items */
        gap: 4px;
    }

    .chevron-down {
        width: 16px;
        /* Slightly smaller to match text */
    }

    .badge {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .logo-wrapper {
        margin-bottom: 20px;
    }

    .trust-badges {
        flex-direction: row;
        /* Single line */
        gap: 12px;
        width: 100%;
        max-width: 280px;
        padding: 5px 10px;
        margin-top: 15px;
        /* Reduced for better grouping */
        margin-bottom: -10px;
        /* Forced proximity */
    }

    .trust-item {
        font-size: 12px;
        /* Standardized with btn */
        gap: 4px;
    }
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: #1a6fd4;
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 60px;
    font-size: 20px;
}

/* Features Section */
.features {
    padding: 60px 0 40px;
    /* Reduced bottom padding */
    background: linear-gradient(to bottom, #010101, #050D18);
    color: #ffffff;
}

.section-header {
    text-align: left;
    max-width: 800px;
    margin-bottom: 0px;
    /* Removed large gap */
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 8vw, 64px);
    line-height: 1.1;
    /* Adjusted for better balance */
    font-weight: 700;
    margin-bottom: 16px;
    /* Slightly more space */
    max-width: 800px;
    color: #ffffff;
}

.section-intro {
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.35;
    max-width: 800px;
    margin-bottom: 0px;
    color: #ffffff;
}

.features-carousel {
    position: relative;
    width: 100%;
    margin-top: 20px;
    /* Small gap to separate from text */
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    /* Removed padding */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    scroll-snap-type: x mandatory;
    /* Snap behavior */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari and Opera */
}

.feature-card {
    min-width: 85%;
    /* +5% */
    height: clamp(425px, 68vh, 510px);
    /* +5% */
    border-radius: 0;
    /* Natural shape */
    background-size: contain;
    /* Show full image without cropping */
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: center;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    position: relative;
    z-index: 15;
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: 0.3s var(--transition);
}

.nav-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

.carousel-next {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #000000;
    transition: opacity 0.3s ease;
}

.carousel-prev {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #000000;
    transition: opacity 0.3s ease;
}

.carousel-next svg {
    width: 16px;
    height: 16px;
}

.carousel-prev svg {
    width: 16px;
    height: 16px;
}

/* Self Awareness Section */
.self-awareness {
    padding: 40px 0 40px;
    /* Tightened bottom */
    background: linear-gradient(to bottom, #050D18, #010101);
    color: #ffffff;
}

.awareness-title {
    font-size: clamp(36px, 8vw, 64px);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 30px;
}

.awareness-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    /* Closer to the image */
}

.awareness-list li {
    font-size: 16px;
    /* Reduced to 14px as requested */
    font-weight: 500;
    /* Medium weight requested */
    line-height: 1.2;
    /* Tightened */
    margin-bottom: 6px;
    /* Reduced gap */
    color: #ffffff;
}

.awareness-image {
    width: 100%;
    margin-bottom: 15px;
    /* Reduced to lift the footer text */
}

.awareness-image img {
    width: 100%;
    height: auto;
    display: block;
}

.awareness-footer {
    text-align: right;
}

/* How It Works Section */
.how-it-works {
    padding: 40px 0 40px;
    /* Tightened */
    background: linear-gradient(to bottom, #010101, #050D18);
    color: #ffffff;
}

.work-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

/* Step row */
.work-step {
    display: flex;
    flex-direction: column;
    /* Badge on top, text below */
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

/* Blue numbered badge */
.step-badge {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563ff, #1a40cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.step-desc {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

.work-auto-note {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 50px;
}

/* Pricing Section */
.pricing {
    padding: 40px 0 80px;
    /* Reduced top padding */
    background: linear-gradient(to bottom, #050D18, #010101);
    color: #ffffff;
    text-align: center;
}

.awareness-title.centered {
    text-align: center;
    margin-bottom: 10px;
}

.pricing-subtitle {
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
    /* Added medium weight */
    margin-bottom: 15px;
    /* Reduced to pull the package-list upwards */
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    /* Space added above since it's below the button now */
    margin-bottom: 0;
}

.timer-item {
    display: flex;
    flex-direction: column;
    min-width: 60px;
}

.timer-item .time {
    font-size: 28px;
    font-weight: 700;
}

.timer-item .label {
    font-size: 12px;
    font-weight: 500;
    /* Added medium weight */
    opacity: 0.7;
}

.timer-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.15));
}

/* Package List */
.package-list {
    list-style: none;
    padding: 0;
    max-width: 500px;
    margin: 0 auto 20px;
    /* Reduced to pull up the pricing box and elements below */
    text-align: left;
}

.package-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    /* Reduced to compress block height */
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15)) 1;
    font-size: 14px;
    font-weight: 500;
    /* Medium weight */
}

.package-list li:first-child {
    border-top: 2px solid;
    border-image: linear-gradient(to right, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.15)) 1;
}

.check-icon svg {
    width: 19px;
    /* 20% smaller than 24px */
    height: 19px;
    display: block;
}

/* Price Box */
.price-box {
    border: 2px solid transparent;
    background-image: linear-gradient(#000000, #000000), linear-gradient(to right, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.15));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 20px;
    /* 20% smaller */
    padding: 16px 24px;
    /* 20% smaller */
    max-width: 500px;
    margin: 0 auto 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-container {
    display: flex;
    flex-direction: row;
    /* Back to row to place logo on the right */
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* Space between price and logo */
    width: 100%;
}

.price-info {
    text-align: center;
    /* Prices stay centered relative to each other */
}

.old-price {
    font-size: 14px;
    /* 20% smaller */
    text-decoration: line-through;
    opacity: 0.5;
    margin-bottom: 2px;
}

.current-price {
    font-size: 29px;
    /* 20% smaller */
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
}

.price-promo {
    font-size: 11px;
    /* 20% smaller */
    font-weight: 500;
    opacity: 0.7;
    margin-top: 0;
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

.kaspi-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin-top: 16px;
    /* 20% smaller */
}

.kaspi-logo-small {
    height: 32px;
    /* 20% smaller */
    width: auto;
}

.kaspi-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.kaspi-installments {
    background: #FF0000;
    /* Kaspi red */
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.kaspi-monthly {
    background: #FFD700;
    /* Kaspi yellow */
    color: black;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.urgency-note {
    font-size: 14px;
    font-weight: 500;
    /* Medium weight */
    margin: 20px 0;
    /* Centered between price box and button */
}

.btn-kaspi {
    background: #f14635;
    /* Kaspi Red */
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    padding: 20px 0;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    display: inline-block;
    text-decoration: none;
    transition: 0.3s var(--transition);
}

.btn-kaspi:hover {
    /* No color change on hover */
    background: #f14635;
    transform: none;
}

/* Benefits Section */
.benefits {
    padding: 120px 0;
    background: #f9f9f9;
}

.benefits-container {
    display: flex;
    justify-content: center;
}

.benefits-text {
    text-align: center;
    max-width: 700px;
}

.benefits-text h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 40px;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin-bottom: 60px;
}

.benefits-list li {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
}

.check {
    font-size: 24px;
}

.tagline {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    color: var(--fg);
    margin-top: 40px;
}

/* How it works */
.how-works {
    padding: 120px 0;
    background: #ffffff;
}

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

.step-card {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border: 1px solid var(--border);
    border-radius: 24px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--fg);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 24px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 600;
}

.auto-note {
    text-align: center;
    margin-top: 60px;
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
}

/* Final CTA */
.final-cta {
    padding: 150px 0;
    text-align: center;
    background: #f5f5f5;
}

.final-container h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 60px;
    border-radius: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.kaspi-logo {
    margin-bottom: 30px;
}

.kaspi-logo img {
    height: 40px;
}

.price {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--text-muted);
}

/* Reviews Section */
.reviews {
    padding: 40px 0 60px;
    background: linear-gradient(to bottom, #010101, #050D18);
    color: #ffffff;
    overflow: hidden;
}

.reviews .awareness-title {
    text-align: center;
    margin-bottom: 16px; /* Tighter gap to cards */
}

.reviews-track-wrapper {
    width: 100%;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 4px 24px 10px; /* Reduced top padding */
    box-sizing: border-box;
}

.reviews-track-wrapper::-webkit-scrollbar {
    display: none;
}

.reviews-track {
    display: flex;
    gap: 16px;
    width: max-content;
}

.review-card {
    width: 260px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563ff, #1a40cc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.review-stars {
    color: #FFD700;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    flex: 1;
}

.review-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 4px;
}

.review-card-img {
    flex-shrink: 0;
    width: 260px;
    height: 300px;
    /* Reduced */
    border-radius: 20px;
    overflow: hidden;
}

.review-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.review-card-combined {
    flex-shrink: 0;
    width: 260px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.review-card-combined .review-card-img {
    width: 100%;
    height: 300px;
    border-radius: 0;
    flex-shrink: 0;
}

.review-card-text {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* WhatsApp CTA */
.whatsapp-cta-wrapper {
    background: linear-gradient(to bottom, #050D18, #010101);
    padding: 30px 24px 50px;
    display: flex;
    justify-content: center;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp-pricing {
    width: 100%;
    max-width: 500px;
    justify-content: center;
    margin-top: 12px;
}

/* Footer */
.footer {
    padding: 60px 0;
    background: #010101;
    /* Matching the end of pricing */
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
    /* Reduced logo size */
    width: auto;
}

.footer-copy {
    color: #ffffff;
    /* White text as requested */
    font-size: 16px;
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-content p {
        margin-left: 0;
        margin-right: 0;
    }

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

    .hero {
        padding-top: 0;
    }
}

@media (max-width: 480px) {

    .hero-content h1,
    .section-header h2 {
        font-size: clamp(28px, 9vw, 40px);
    }

    .benefits-text h2 {
        font-size: 32px;
    }

    .benefits-list li {
        font-size: 18px;
    }

    .final-container h2 {
        font-size: 36px;
    }
}