:root {
    --merah-indo: #ED2939; /* Merah Bendera Indonesia */
    --merah-gelap: #B71C1C;
    --putih: #FFFFFF;
    --hitam-teks: #212121;
    --abu-muda: #F5F5F5;
    --abu-teks: #616161;
    --wa-color: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #E0E0E0;
    display: flex;
    justify-content: center;
}

h1, h2, h3, .logo, .badge-promo, .price-amount, .btn-whatsapp {
    font-family: 'Montserrat', sans-serif;
}

.app-container {
    width: 100%;
    max-width: 480px;
    background-color: var(--putih);
    min-height: 100vh;
    box-shadow: 0 0 25px rgba(0,0,0,0.15);
    position: relative;
    overflow-x: hidden;
}

/* Animasi Bendera Atas */
.flag-banner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 10px;
}
.flag-red { height: 5px; background-color: var(--merah-indo); }
.flag-white { height: 5px; background-color: var(--putih); }

header {
    background: var(--putih);
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #EEEEEE;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--merah-indo);
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 11px;
    color: var(--abu-teks);
    margin-top: 3px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero {
    position: relative;
    height: 400px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) grayscale(20%);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(237, 41, 57, 0.95) 0%, rgba(237, 41, 57, 0.7) 50%, rgba(0, 0, 0, 0));
    padding: 60px 20px 30px 20px;
    color: var(--putih);
    text-align: center;
}

.badge-promo {
    display: inline-block;
    background-color: var(--putih);
    color: var(--merah-indo);
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.hero-overlay h1 {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-overlay p {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Story Section */
.story-section {
    padding: 35px 20px;
    background-color: var(--abu-muda);
}

.title-red {
    font-size: 22px;
    font-weight: 900;
    color: var(--merah-indo);
    text-align: center;
    margin-bottom: 25px;
}

.pain-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--putih);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid var(--merah-indo);
}

.point-item i {
    color: var(--merah-indo);
    font-size: 24px;
    margin-top: 2px;
}

.point-item p {
    font-size: 13px;
    color: var(--hitam-teks);
    line-height: 1.5;
}

.solution-box {
    background: var(--merah-indo);
    color: var(--putih);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(237, 41, 57, 0.3);
    position: relative;
    overflow: hidden;
}

.solution-box h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.solution-box p {
    font-size: 13px;
    line-height: 1.6;
}

/* Offer Section */
.offer-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--merah-indo), var(--merah-gelap));
    color: var(--putih);
    text-align: center;
}

.offer-section h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
}

.highlight-white {
    background: var(--putih);
    color: var(--merah-indo);
    padding: 2px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
}

.offer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.price-box {
    background: var(--putih);
    color: var(--hitam-teks);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.price-header {
    font-weight: 700;
    font-size: 14px;
    color: var(--abu-teks);
    text-transform: uppercase;
}

.price-amount {
    font-size: 36px;
    font-weight: 900;
    color: var(--merah-indo);
    margin: 10px 0 20px 0;
}
.price-amount span {
    font-size: 14px;
    color: var(--abu-teks);
    font-weight: 600;
}

.price-features {
    list-style: none;
    text-align: left;
}

.price-features li {
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}
.price-features li i {
    color: #4CAF50;
    margin-top: 2px;
}
.price-features li:last-child {
    font-size: 11px;
    color: var(--abu-teks);
    font-style: italic;
    margin-top: 15px;
}
.price-features li:last-child i { display: none; }

/* Portfolio Section */
.portfolio-section {
    padding: 40px 20px;
    background: var(--putih);
    text-align: center;
}

.portfolio-section h2 {
    font-size: 24px;
    color: var(--hitam-teks);
    margin-bottom: 10px;
    font-weight: 900;
}

.portfolio-desc {
    font-size: 13px;
    color: var(--abu-teks);
    margin-bottom: 25px;
    line-height: 1.5;
}

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

.template-card {
    background: var(--abu-muda);
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    text-decoration: none;
    color: var(--hitam-teks);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.template-card:hover, .template-card:active {
    background: var(--merah-indo);
    color: var(--putih);
    border-color: var(--merah-indo);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(237, 41, 57, 0.2);
}

.t-icon {
    font-size: 28px;
    margin-bottom: 10px;
    color: inherit;
}
.template-card:not(:hover):not(:active) .t-icon {
    color: var(--merah-indo);
}

.t-name {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}

/* FAQ */
.faq-section {
    padding: 30px 20px;
    background-color: var(--abu-muda);
}

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: var(--putih);
    border-radius: 8px;
    border: 1px solid #E0E0E0;
}
.faq-item summary {
    padding: 15px;
    font-weight: 700;
    font-size: 13px;
    color: var(--hitam-teks);
    cursor: pointer;
    list-style: none;
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-weight: 900;
    font-size: 20px;
    position: absolute;
    right: 15px;
    color: var(--merah-indo);
}
.faq-item[open] summary::after { content: "-"; }
.faq-content {
    padding: 0 15px 15px 15px;
    font-size: 13px;
    color: var(--abu-teks);
    line-height: 1.6;
}

/* Footer */
footer {
    background: var(--hitam-teks);
    color: var(--putih);
    text-align: center;
    padding: 0 0 60px 0;
    margin-bottom: 70px;
}
.flag-footer {
    width: 100%;
    height: 8px;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}
.f-red { height: 4px; background: var(--merah-indo); }
.f-white { height: 4px; background: var(--putih); }

footer p {
    font-size: 13px;
    margin-bottom: 5px;
}
footer p:last-child {
    font-size: 11px;
    color: #9E9E9E;
}

.bottom-spacer { height: 10px; }

/* Sticky Button */
.sticky-bottom {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: var(--putih);
    padding: 12px 20px;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 100;
}

.btn-whatsapp {
    width: 100%;
    background-color: var(--merah-indo);
    color: var(--putih);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(237, 41, 57, 0.4);
    animation: pulse 2s infinite;
}

.btn-whatsapp i { font-size: 18px; }

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 6px 20px rgba(237, 41, 57, 0.6); }
    100% { transform: scale(1); }
}

.btn-whatsapp:active { transform: scale(0.98); animation: none; }
