/* BASE STYLES */
:root {
    --c-navy: #17233F;
    --c-green: #10B981;
    --c-mint: #DFF8EE;
    --c-yellow: #FFD84D;
    --c-orange: #FFB000;
    --c-white: #FFFFFF;
    --c-bg: #F8FAFC;
    --c-muted: #64748B;
    --c-warning: #F59E0B;
    --c-danger: #EF4444;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--c-navy);
    background-color: var(--c-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.text-center { text-align: center; }
.text-primary { color: var(--c-green); }
.text-danger { color: var(--c-danger); }
.text-white { color: var(--c-white); }
.text-muted { color: var(--c-muted); }
.bg-navy { background-color: var(--c-navy); }
.bg-mint { background-color: var(--c-mint); }
.bg-yellow { background-color: var(--c-yellow); }
.bg-green { background-color: var(--c-green); }
.bg-danger { background-color: var(--c-danger); }
.bg-muted { background-color: #F1F5F9; }
.font-semibold { font-weight: 600; }
.w-full { width: 100%; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.hidden { display: none !important; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--c-green);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.39);
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* ANNOUNCEMENT BAR */
.announcement-bar {
    background-color: var(--c-yellow);
    color: var(--c-navy);
    text-align: center;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* NAVBAR */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--c-muted);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--c-navy);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--c-navy);
}

.mobile-menu {
    display: none;
    padding: 16px 24px;
    background: white;
    border-top: 1px solid #E2E8F0;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-link {
    font-weight: 500;
    color: var(--c-navy);
}

/* HERO */
.hero {
    padding: 80px 0;
    overflow: hidden;
}

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

.eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--c-orange);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.subheadline {
    font-size: 1.125rem;
    color: var(--c-muted);
    margin-bottom: 32px;
}

.hero-cta-group {
    margin-bottom: 24px;
}

.trust-microcopy {
    font-size: 0.875rem;
    color: var(--c-muted);
    margin-top: 12px;
}

.supporting-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.875rem;
    font-weight: 500;
}

.supporting-proof span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--c-navy);
}
.supporting-proof svg {
    color: var(--c-green);
    width: 18px;
    height: 18px;
}

/* HERO VISUAL MOCKUP */
.hero-visual {
    position: relative;
}

.mockup-container {
    position: relative;
    width: 100%;
}

.rounded-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 6s ease-in-out infinite;
}

.fc-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.fc-2 {
    bottom: 20%;
    right: -5%;
    animation-delay: 2s;
}

.fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-navy);
}

.fc-text {
    display: flex;
    flex-direction: column;
}
.fc-text strong { font-size: 0.875rem; }
.fc-text span { font-size: 0.75rem; color: var(--c-muted); }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* TRUST STRIP */
.trust-strip {
    background: white;
    padding: 32px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    font-weight: 600;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c-mint);
    color: var(--c-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 48px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

/* PROBLEM DESIRE */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.speech-bubble {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    font-size: 1.125rem;
    text-align: center;
    border-bottom-left-radius: 4px;
    position: relative;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.ba-col h4 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.ba-col ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.before ul li i { color: var(--c-danger); }
.after ul li i { color: var(--c-green); }

/* PILLARS */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}
.pillar {
    background: var(--c-mint);
    padding: 32px;
    border-radius: 24px;
}
.pillar-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--c-green);
}

/* HOW IT WORKS */
.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.step {
    text-align: center;
}
.step-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--c-mint);
    margin-bottom: 8px;
    line-height: 1;
}

/* ECOSYSTEM */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.eco-card {
    background: rgba(255,255,255,0.1);
    padding: 32px;
    border-radius: 24px;
    transition: transform 0.2s;
}
.eco-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.15);
}
.eco-card i {
    color: var(--c-yellow);
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
}

/* TIMELINE */
.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-mint);
    z-index: 1;
}
.tl-item {
    position: relative;
    z-index: 2;
    background: white;
    padding: 8px 16px;
    border-radius: 16px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    font-size: 0.875rem;
}
.tl-item span {
    display: block;
    font-size: 0.75rem;
    color: var(--c-green);
}

/* PRICING */
.pricing-card {
    background: white;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.pricing-header {
    padding: 32px;
    background: var(--c-navy);
    color: white;
    text-align: center;
}
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.price-box {
    margin: 24px 0;
}
.price-strike {
    font-size: 1.25rem;
    text-decoration: line-through;
    color: var(--c-muted);
    margin-right: 12px;
}
.price-final {
    font-size: 3rem;
    font-weight: 800;
}
.pricing-body {
    padding: 32px;
}
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}
.countdown-timer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--c-bg);
    padding: 8px 12px;
    border-radius: 8px;
}
.countdown-timer small {
    font-size: 0.6rem;
    color: var(--c-muted);
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}
.alert {
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}
.alert-success {
    background: var(--c-mint);
    color: var(--c-navy);
}
.voucher-code {
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 8px 0;
    letter-spacing: 2px;
}

/* FOOTER */
.footer {
    background: var(--c-navy);
    color: white;
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer h4 {
    margin-bottom: 16px;
}
.footer ul li {
    margin-bottom: 8px;
}
.footer ul a {
    color: #94A3B8;
}
.footer ul a:hover {
    color: white;
}
.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94A3B8;
    font-size: 0.875rem;
}

/* ANIMATIONS */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-container { gap: 24px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid, .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
    .how-it-works-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta-group { display: flex; flex-direction: column; align-items: center; }
    .supporting-proof { justify-content: center; }
    .floating-card { display: none; }
    
    .problem-grid, .before-after-grid, .pillars-grid, .ecosystem-grid, .how-it-works-steps {
        grid-template-columns: 1fr;
    }
    
    .timeline { flex-direction: column; gap: 24px; align-items: center; }
    .timeline::before { width: 2px; height: 100%; top: 0; left: 50%; right: auto; }
    
    .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Rapikan 2026-10-17: logo, aset 3D, ilustrasi ===== */
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 48px; width: auto; display: block; }
.footer-logo { height: 56px; width: auto; margin-bottom: 12px; background: #fff; border-radius: 14px; padding: 6px 10px; }

/* Hero */
.hero { background: radial-gradient(1200px 520px at 85% 20%, #E7F8F0 0%, rgba(231,248,240,0) 60%), radial-gradient(700px 400px at 10% 90%, #FFF4D6 0%, rgba(255,244,214,0) 60%); }
.mockup-main { position: relative; z-index: 1; border-radius: 28px; padding: 10px; background: #fff; box-shadow: 0 30px 60px -30px rgba(23,35,63,.35); }
.rounded-image { display: block; height: auto; aspect-ratio: 4 / 3; border-radius: 20px; box-shadow: none; }
.hero-deco { position: absolute; z-index: 2; width: 64px; height: auto; pointer-events: none; animation: float 7s ease-in-out infinite; }
.deco-star { top: -26px; right: 18%; }
.deco-sun { bottom: -22px; left: 8%; width: 72px; animation-delay: 1.5s; }
.floating-card { z-index: 3; }
.fc-icon { background: #F1F8F5; }
.fc-icon img { width: 34px; height: 34px; object-fit: contain; }

/* Trust strip */
.trust-icon { width: 64px; height: 64px; background: transparent; }
.trust-icon img { width: 64px; height: 64px; object-fit: contain; }

/* Problem cards */
.problem-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.problem-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--c-mint); }
.problem-card .speech-bubble { box-shadow: none; border-radius: 0; }

/* Pillars & steps */
.pillar-icon { width: 96px; height: 96px; background: #fff; }
.pillar-icon img { width: 72px; height: 72px; object-fit: contain; }
.step-icon { width: 64px; height: 64px; object-fit: contain; display: block; margin: 0 auto 4px; }
.step-num { color: #BCECD8; }

/* Ecosystem */
.eco-icon { width: 56px; height: 56px; object-fit: contain; display: block; margin-bottom: 16px; background: rgba(255,255,255,.92); border-radius: 16px; padding: 6px; }
.eco-card h4 { margin-bottom: 6px; }
.eco-card p { color: #CBD5E1; }

/* Content hidden for animation only when JS runs, and never with reduced motion */
html:not(.js) .fade-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
    .floating-card, .hero-deco { animation: none !important; }
    html { scroll-behavior: auto; }
}

@media (max-width: 768px) {
    .logo-img { height: 40px; }
    .hero-deco { width: 48px; }
    .deco-star { top: -18px; right: 6%; }
}

/* HP: lebih ringkas tanpa mengubah urutan isi */
@media (max-width: 768px) {
    .problem-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .problem-card .speech-bubble { font-size: 0.9rem; padding: 12px 8px; }
    .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .pillar { padding: 16px 6px; border-radius: 18px; }
    .pillar-icon { width: 64px; height: 64px; margin-bottom: 8px; }
    .pillar-icon img { width: 48px; height: 48px; }
    .pillar h3 { font-size: 1rem; }
    .how-it-works-steps { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
    .step-num { font-size: 2.25rem; }
    .step p { font-size: 0.9rem; }
}

/* Fitur */
.feature-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-bottom: 72px; }
.feature-row:last-child { margin-bottom: 0; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-visual { background: linear-gradient(135deg, #DFF8EE, #FFF4D6); border-radius: 28px; padding: 18px; box-shadow: var(--shadow-md); }
.feature-visual > img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; object-position: top; border-radius: 18px; box-shadow: var(--shadow-sm); background: #fff; }
.feature-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-collage img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; display: block; }
.feature-soft > img { object-fit: contain; max-height: 380px; background: transparent; box-shadow: none; }
.feature-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 12px; }
.feature-text h3 { font-size: 1.75rem; margin-bottom: 12px; }
.feature-text p { color: var(--c-muted); margin-bottom: 16px; }
.feature-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 500; }
.feature-list svg { color: var(--c-green); width: 20px; height: 20px; flex-shrink: 0; }

/* FAQ */
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 0 20px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-family: var(--font-heading); font-weight: 700; position: relative; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--c-green); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 18px; color: var(--c-muted); }
.faq-item a { color: var(--c-green); font-weight: 600; text-decoration: underline; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; }

@media (max-width: 768px) {
    .feature-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; text-align: left; }
    .feature-row.reverse .feature-visual { order: 0; }
    .feature-visual { padding: 10px; border-radius: 22px; }
    .feature-text h3 { font-size: 1.4rem; }
    .feature-visual > img { max-height: 320px; }
}
