:root {
    --green-light: #6FC540;
    --green-dark: #024529;
    --green-darker: #01331d;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --card-shadow: 0 20px 45px rgba(2, 69, 41, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    color: var(--text-dark);
    background: linear-gradient(180deg, #024529 0%, #013721 40%, #011a0f 100%);
}

.bg-deep {
    background: linear-gradient(180deg, #024529 0%, #013721 40%, #011a0f 100%);
}

.app-wrapper {
    width: 100%;
}

.hero-section {
    width: 100%;
    background: url('../images/bg-hero-mesh.png') center/cover no-repeat,
        radial-gradient(circle at 10% 20%, rgba(111, 197, 64, 0.35), rgba(2, 69, 41, 0.9));
    padding: 3rem 1.5rem 5rem;
}

.hero-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 32px;
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--card-shadow);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: center;
}

.hero-media {
    position: relative;
    min-height: 320px;
}

.hero-media img {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: var(--card-shadow);
    display: block;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 16px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, var(--green-light), var(--green-dark));
    padding: 0.4rem 1rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin: 1.5rem 0 0.75rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    min-width: 260px;
    padding: 1.2rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    background: var(--green-light);
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 15px 35px rgba(111, 197, 64, 0.35);
}

.cta-button:hover {
    background: #05853c;
    transform: translateY(-2px);
}

.section {
    padding: 2.5rem 1.5rem;
}

.section.section-light {
    background: #f9fcf7;
}

.section.section-dark {
    background: radial-gradient(circle at 40% 10%, #0a6035, #012716 70%);
    color: #e1f5e1;
}

.section.section-dark .section-title,
.section.section-dark a {
    color: #f0fff4;
}

.section.section-dark .story-card,
.section.section-dark .card {
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

.section.section-dark .story-card strong {
    color: #ecfccb;
}

.section.section-dark .cta-button {
    box-shadow: 0 15px 30px rgba(6, 78, 59, 0.45);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.section-title {
    font-size: 1.75rem;
    color: var(--green-dark);
    margin-bottom: 1.5rem;
}

.benefits-list,
.receive-list,
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.benefit-item,
.receive-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(111, 197, 64, 0.2);
    color: var(--green-dark);
    font-weight: 700;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.footer {
    padding: 2rem 1.5rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #e5e7eb;
}

.footer strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.checkout-wrapper,
.payment-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.checkout-card,
.payment-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem;
    width: 100%;
    max-width: 640px;
    box-shadow: var(--card-shadow);
}

.product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--green-dark);
    margin: 0.25rem 0 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input {
    padding: 0.85rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    font-size: 1rem;
}

.btn-primary {
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    background: var(--green-light);
    padding: 1rem 1.5rem;
    width: 100%;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #05853c;
}

.qr-container {
    text-align: center;
}

.qr-code {
    width: 260px;
    height: 260px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    background: rgba(111, 197, 64, 0.08);
    padding: 1rem;
    border-radius: 24px;
}

.copy-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.copy-group input {
    flex: 1;
    border-radius: 18px;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1rem;
}

.copy-group button {
    border-radius: 18px;
    border: none;
    padding: 0.75rem 1.25rem;
    background: var(--green-dark);
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(255, 87, 34, 0.08);
    color: #b45309;
    margin-bottom: 1rem;
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: rgba(2, 69, 41, 0.12);
    color: var(--green-dark);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

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

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.story-card {
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--card-shadow);
}

.story-card strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--green-dark);
    font-size: 1.1rem;
}

.video-card {
    background: #ffffff;
    border-radius: 28px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--card-shadow);
}

.video-frame {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-top: 1.5rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.video-frame video {
    width: 100%;
    display: block;
    background: #000;
    max-height: 540px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-card,
    .card,
    .checkout-card,
    .payment-card {
        padding: 1.75rem;
    }

    .hero-media::after {
        inset: 10px;
    }

    .copy-group {
        flex-direction: column;
    }

    .hero-section {
        padding: 2.5rem 1rem 4rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

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

    .hero-media {
        order: -1;
        min-height: 220px;
    }

    .section {
        padding: 2rem 1rem;
    }

    .card,
    .video-card {
        padding: 1.5rem;
    }

    .benefit-item,
    .receive-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-button,
    .cta-secondary {
        width: 100%;
        min-width: auto;
        justify-content: center;
    }

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

    .testimonial-card {
        padding: 1rem;
    }

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

    .video-frame {
        max-height: none;
    }

    .video-frame video {
        max-height: none;
        object-fit: contain;
    }
}
.testimonial-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.25rem;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-header img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(6, 95, 70, 0.15);
}

.testimonial-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonial-meta strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.testimonial-body {
    color: var(--text-dark);
}
.btn-primary {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

.btn-primary.loading .btn-spinner {
    display: inline-block;
}

.btn-primary.loading .btn-label {
    opacity: 0.7;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
