/* --- RESET & GLOBAL STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

::selection {
    background-color: #2563eb;
    color: #ffffff;
}

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

.responsive-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.img-cover {
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- UTILITIES & CONTAINERS --- */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.container-narrow {
    max-width: 768px;
}

.container-checkout {
    max-width: 448px;
}

.space-y > * + * {
    margin-top: 16px;
}

/* --- ANIMATION --- */
.pulse-green {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* --- HEADER / HERO SECTION --- */
.hero-header {
    position: relative;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0 64px 0;
    text-align: center;
}

.badge-blue {
    display: inline-block;
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.main-title {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-desc {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.mockup-wrapper {
    display: flex;
    justify-content: center;
    padding: 16px 0;
}

.mockup-box {
    width: 100%;
    max-width: 420px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.mockup-box .w-full {
    border-radius: 12px;
    overflow: hidden;
}

.img-hover {
    transition: transform 0.3s ease;
}

.img-hover:hover {
    transform: scale(1.02);
}

.social-proof {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 16px;
}

.badge-proof {
    background-color: #fef3c7;
    color: #92400e;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* --- PROBLEM SECTION --- */
.section-problem {
    padding: 64px 0;
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.problem-title {
    font-size: 22px;
    font-weight: 800;
    color: #dc2626;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.3;
}

.problem-desc {
    color: #334155;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 32px;
}

.card-problem {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.flex-list {
    display: flex;
    align-items: start;
    gap: 12px;
}

.flex-list p {
    color: #334155;
    font-weight: 500;
    font-size: 14px;
}

.icon-cross {
    font-size: 18px;
    flex-shrink: 0;
}

.visual-box {
    width: 100%;
    max-width: 576px;
    margin: 0 auto 40px auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.quote-box {
    text-align: center;
    color: #0f172a;
    font-weight: 700;
    font-size: 16px;
    font-style: italic;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 16px 24px;
    border-radius: 12px;
    line-height: 1.5;
}

/* --- INTRO SECTION --- */
.section-intro {
    padding: 64px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.badge-sub {
    color: #1d4ed8;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.intro-title {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    margin-top: 4px;
    margin-bottom: 16px;
}

.intro-desc {
    color: #475569;
    font-size: 15px;
    max-width: 672px;
    margin: 0 auto 48px auto;
}

.why-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

.grid-2x2 {
    display: grid;
    grid-template-cols: 1fr;
    gap: 24px;
    text-align: left;
}

.feature-card {
    padding: 20px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.card-bold {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
    font-size: 15px;
}

.card-text {
    font-size: 13px;
    color: #475569;
}

/* --- FEATURES DETAIL SECTION --- */
.section-features {
    padding: 64px 0;
    background-color: #ffffff;
}

.features-header-title {
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
    max-width: 448px;
    margin: 0 auto 48px auto;
    line-height: 1.3;
}

.row-feature {
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 48px;
    margin-bottom: 48px;
}

.row-feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.col-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feat-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.feat-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.feat-list {
    list-style: none;
    font-size: 13px;
    color: #334155;
    font-weight: 600;
}

.feat-list li + li {
    margin-top: 6px;
}

.col-img {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sub-grid {
    display: grid;
    grid-template-cols: 1fr;
    gap: 8px;
    font-size: 13px;
    color: #334155;
    font-weight: 600;
}

/* --- BONUS SECTION --- */
.section-bonus {
    padding: 64px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.bonus-main-title {
    font-size: 24px;
    font-weight: 900;
    text-align: center;
    color: #0f172a;
    margin-bottom: 8px;
}

.bonus-subtitle {
    text-align: center;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
}

.grid-bonus {
    display: grid;
    grid-template-cols: 1fr;
    gap: 24px;
}

.bonus-card {
    padding: 24px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.bonus-title {
    font-weight: 700;
    color: #1d4ed8;
    font-size: 15px;
    margin-bottom: 12px;
}

.bonus-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.bonus-img-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

/* --- CHECKOUT SECTION --- */
.section-checkout {
    padding: 64px 0;
    background-color: #ffffff;
    text-align: center;
}

.checkout-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
}

.pricing-card {
    background-color: #f8fafc;
    border: 2px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    padding: 32px 16px;
}

.pricing-note {
    font-size: 13px;
    color: #475569;
    margin-bottom: 24px;
}

.price-box {
    margin-bottom: 24px;
}

.old-price {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
}

.strikethrough {
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 3px;
}

.promo-tag {
    font-size: 13px;
    font-weight: 700;
    color: #1d4ed8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 16px;
}

.current-price {
    font-size: 40px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
    padding: 4px 0;
}

.sub-price {
    font-size: 10px;
    color: #64748b;
    font-weight: 600;
}

.warning-box {
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.warning-text {
    font-size: 12px;
    font-weight: 700;
    color: #b91c1c;
    line-height: 1.5;
}

.cta-button {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #10b981;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.cta-button:hover {
    background-color: #059669;
}

.cta-button:active {
    transform: scale(0.97);
}

.checkout-footer-text {
    font-size: 11px;
    color: #64748b;
    margin-top: 16px;
    line-height: 1.5;
    font-weight: 500;
}

/* --- FOOTER --- */
.main-footer {
    padding: 32px 0;
    background-color: #0f172a;
    color: #64748b;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #1e293b;
    padding-bottom: 100px; /* Jaga space agar tidak tertutup sticky bar */
}

/* --- MOBILE BOTTOM STICKY BAR --- */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 16px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.sticky-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #10b981;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 16px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: background-color 0.2s ease;
}

.sticky-cta-btn:active {
    transform: scale(0.98);
}


/* =========================================
   MEDIA QUERIES (DESKTOP OPTIMIZATION - md:)
   ========================================= */
@media (min-width: 768px) {
    .hero-header {
        padding: 80px 0;
    }
    
    .main-title {
        font-size: 44px;
    }

    .hero-desc {
        font-size: 18px;
    }

    .problem-title {
        font-size: 30px;
    }

    .problem-desc {
        font-size: 17px;
    }

    .card-problem {
        padding: 32px;
    }

    .intro-title {
        font-size: 36px;
    }

    .grid-2x2 {
        grid-template-cols: 1fr 1fr;
    }

    .features-header-title {
        font-size: 30px;
        max-width: 576px;
    }

    .row-feature {
        display: grid;
        grid-template-cols: repeat(12, minmax(0, 1fr));
        gap: 32px;
    }

    .col-text {
        grid-column: span 7 / span 7;
    }

    .col-img {
        grid-column: span 5 / span 5;
    }

    .invert-mobile .col-img {
        order: 1;
    }

    .invert-mobile .col-text {
        order: 2;
    }

    .sub-grid {
        grid-template-cols: 1fr 1fr;
    }

    .grid-bonus {
        grid-template-cols: 1fr 1fr;
    }

    .pricing-card {
        padding: 32px;
    }

    .current-price {
        font-size: 48px;
    }

    .sticky-bottom-bar {
        display: none; /* Sembunyikan sticky bar di desktop */
    }

    .main-footer {
        padding-bottom: 32px; /* Kembalikan padding normal di desktop */
    }
}
