/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
}
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-full { width: 100%; }
.btn-green { background: #f97316; color: #fff; }
.btn-green:hover { background: #ea580c; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid #1a1a1a; color: #1a1a1a; }
.btn-outline:hover { background: #1a1a1a; color: #fff; }

/* Nav */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid #eee;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo { font-size: 20px; font-weight: 800; }
.logo span { color: #f97316; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; }
.mobile-menu {
    display: none; background: none; border: none;
    font-size: 24px; cursor: pointer;
}

/* Hero */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 50%, #fff7ed 100%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.badge {
    display: inline-block;
    background: #ffedd5;
    color: #ea580c;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.highlight { color: #f97316; }
.hero-sub { font-size: 18px; color: #555; margin-bottom: 28px; line-height: 1.7; }
.hero-cta { display: flex; gap: 12px; margin-bottom: 28px; }
.trust-row { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item { font-size: 14px; color: #444; font-weight: 500; }

.phone-showcase { text-align: center; }
.phone-card-hero {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: inline-block;
}
/* Hero Featured Product */
.hero-featured { text-align: center; }
.hero-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-align: left;
    position: relative;
    max-width: 300px;
}
.hero-product-card:hover { transform: translateY(-4px); box-shadow: 0 24px 70px rgba(0,0,0,0.14); }
.hero-product-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: #ef4444;
    color: #fff;
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
}
.hero-product-img {
    padding: 24px;
    background: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 240px;
}
.hero-product-img img { height: 200px; width: auto; object-fit: contain; }
.hero-product-info { padding: 20px 24px 24px; }
.hero-product-info h3 { font-size: 22px; font-weight: 800; margin-bottom: 2px; }
.hero-product-specs { font-size: 14px; color: #888; margin-bottom: 12px; }
.hero-product-price { font-size: 32px; font-weight: 800; color: #f97316; }
.hero-product-price span { font-size: 16px; font-weight: 500; color: #888; }
.hero-product-plan { font-size: 13px; color: #999; margin-bottom: 16px; }

/* Trust Badges */
.trust-badges {
    padding: 32px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.trust-badges-inner {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid #f97316;
    border-radius: 50px;
    background: #fff7ed;
    transition: transform 0.2s;
}
.trust-badge:hover {
    transform: translateY(-2px);
}
.trust-badge-icon {
    font-size: 22px;
    flex-shrink: 0;
}
.trust-badge-label {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}
.checkout-trust {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
}
.checkout-trust .checkout-note {
    color: #9a3412;
    font-weight: 600;
    margin: 0;
    font-size: 13px;
}

/* Partners */
.partners {
    padding: 40px 0;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}
.partners-label {
    text-align: center;
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.partners-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.partner-logo {
    font-size: 16px;
    font-weight: 700;
    color: #888;
    padding: 10px 24px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

/* How It Works */
.how-it-works { padding: 80px 0; }
h2 { font-size: 36px; font-weight: 800; text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: #666; font-size: 17px; margin-bottom: 48px; }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.step-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid #f0f0f0;
}
.step-num {
    width: 48px; height: 48px;
    background: #f97316;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
    margin: 0 auto 16px;
}
.step-card h3 { font-size: 17px; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: #666; }

/* Visual Flow */
.flow-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    padding: 32px 24px;
    background: #fff7ed;
    border-radius: 16px;
    border: 2px solid #ffedd5;
    flex-wrap: wrap;
}
.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.flow-icon {
    width: 52px; height: 52px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.flow-step span { font-size: 13px; font-weight: 600; color: #333; text-align: center; }
.flow-arrow { font-size: 24px; color: #f97316; font-weight: 700; }

/* Products */
.products { padding: 80px 0; background: #f9fafb; }
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s;
    position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: #f97316;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}
.product-badge.hot { background: #ef4444; }
.product-badge.new { background: #3b82f6; }
.product-img {
    padding: 24px 20px 12px;
    display: flex;
    justify-content: center;
    background: #fafafa;
}
.product-img img {
    height: 200px;
    width: auto;
    object-fit: contain;
}
.product-info { padding: 16px 20px 20px; }
.product-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.product-specs { font-size: 13px; color: #888; margin-bottom: 12px; }
.product-price { margin-bottom: 16px; }
.price-monthly { font-size: 26px; font-weight: 800; color: #f97316; }
.price-monthly span { font-size: 14px; font-weight: 500; color: #888; }
.price-detail { font-size: 13px; color: #999; }

/* Why Us */
.why-us { padding: 80px 0; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card {
    text-align: center;
    padding: 32px 20px;
}
.why-icon { font-size: 40px; margin-bottom: 16px; }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: #666; }

/* BNPL Setup Guide */
.setup-guide { padding: 80px 0; }
.setup-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}
.setup-tab {
    padding: 12px 28px;
    border-radius: 10px;
    border: 2px solid #eee;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.setup-tab.active {
    background: #f97316;
    color: #fff;
    border-color: #f97316;
}
.setup-content {
    max-width: 640px;
    margin: 0 auto;
}
.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.setup-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}
.setup-step-num {
    width: 36px; height: 36px;
    min-width: 36px;
    background: #f97316;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700;
}
.setup-step h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.setup-step p { font-size: 14px; color: #666; line-height: 1.6; }

/* FAQ */
.faq { padding: 80px 0; background: #f9fafb; }
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid #eee;
    overflow: hidden;
    cursor: pointer;
}
.faq-q {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-q::after { content: '+'; font-size: 20px; color: #999; }
.faq-item.open .faq-q::after { content: '-'; }
.faq-a {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}
.faq-item.open .faq-a {
    padding: 0 24px 18px;
    max-height: 300px;
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal {
    background: #fff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
}
.modal h2 { text-align: left; font-size: 24px; margin-bottom: 24px; }
.modal-close {
    position: absolute; top: 16px; right: 20px;
    background: none; border: none;
    font-size: 28px; cursor: pointer; color: #999;
}

.plan-selector h3, .payment-methods h3 {
    font-size: 15px; font-weight: 600; margin-bottom: 12px;
}
.plans { display: flex; gap: 8px; margin-bottom: 24px; }
.plan-option { flex: 1; cursor: pointer; }
.plan-option input { display: none; }
.plan-box {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.2s;
    position: relative;
}
.plan-option input:checked + .plan-box {
    border-color: #f97316;
    background: #fff7ed;
}
.plan-months { font-size: 13px; font-weight: 600; color: #666; }
.plan-price { font-size: 18px; font-weight: 800; margin-top: 4px; }
.plan-popular {
    font-size: 10px;
    color: #f97316;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 4px;
}

.order-summary {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}
.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-top: 4px;
}

.payment-options { display: flex; gap: 8px; margin-bottom: 24px; }
.payment-option { flex: 1; cursor: pointer; }
.payment-option input { display: none; }
.payment-box {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 14px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}
.payment-option input:checked + .payment-box {
    border-color: #f97316;
    background: #fff7ed;
}

.modal-note {
    font-size: 13px;
    color: #888;
    background: #f9fafb;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}
.checkout-note {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
}
.setup-hint {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 8px;
}
.setup-hint a {
    color: #f97316;
    font-weight: 600;
    text-decoration: underline;
}

/* Comparison Table */
.comparison { padding: 80px 0; background: #f9fafb; }
.compare-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.compare-col {
    border-radius: 16px;
    overflow: hidden;
}
.compare-header {
    padding: 20px 24px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}
.compare-them .compare-header { background: #fee2e2; color: #991b1b; }
.compare-us .compare-header { background: #ffedd5; color: #9a3412; }
.compare-item {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
}
.compare-item:last-child { border-bottom: none; }
.compare-item.bad::before { content: '✗'; color: #ef4444; font-weight: 700; font-size: 16px; }
.compare-item.good::before { content: '✓'; color: #f97316; font-weight: 700; font-size: 16px; }
.compare-them { border: 2px solid #fecaca; }
.compare-us { border: 2px solid #fed7aa; }

/* Setup CTA on main page */
.setup-cta {
    text-align: center;
    margin-top: 24px;
    padding: 16px;
    font-size: 15px;
    color: #555;
}
.setup-cta a {
    color: #f97316;
    font-weight: 600;
    text-decoration: underline;
}

/* Panduan Page */
.panduan-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 50%, #fff7ed 100%);
    text-align: center;
}
.panduan-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.panduan-sub { font-size: 17px; color: #555; max-width: 600px; margin: 0 auto 32px; line-height: 1.7; }
.panduan-nav-pills {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.pill-link {
    padding: 10px 28px;
    border-radius: 25px;
    background: #fff;
    border: 2px solid #e5e5e5;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}
.pill-link:hover { border-color: #f97316; color: #f97316; }

.panduan-section { padding: 40px 0; }
.panduan-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
}
.panduan-card-header {
    padding: 32px;
    color: #fff;
}
.panduan-card-header h2 { text-align: left; color: #fff; font-size: 28px; margin-bottom: 6px; }
.panduan-card-header p { font-size: 15px; opacity: 0.9; }
.spaylater-bg { background: linear-gradient(135deg, #ee4d2d, #f26522); }
.atome-bg { background: linear-gradient(135deg, #00c4b4, #00a89d); }
.grab-bg { background: linear-gradient(135deg, #00b14f, #009944); }
.panduan-card-body { padding: 32px; }
.panduan-steps { display: flex; flex-direction: column; gap: 24px; }
.p-step { display: flex; gap: 16px; align-items: flex-start; }
.p-step-num {
    width: 40px; height: 40px; min-width: 40px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: #333;
}
.p-step-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.p-step-content p { font-size: 14px; color: #555; line-height: 1.7; }
.p-step-content a { color: #f97316; font-weight: 600; }

.app-links { display: flex; gap: 8px; margin-top: 12px; }
.app-btn {
    padding: 8px 20px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s;
}
.app-btn:hover { background: #333; }

.referral-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    padding: 16px;
    background: #fff7ed;
    border: 2px dashed #fb923c;
    border-radius: 12px;
}
.referral-box.atome-ref { background: #f0fdfa; border-color: #2dd4bf; }
.referral-box.grab-ref { background: #fff7ed; border-color: #fb923c; }
.referral-code {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #1a1a1a;
    flex: 1;
}
.referral-link {
    font-size: 14px;
    font-weight: 600;
    color: #0d9488;
    word-break: break-all;
    flex: 1;
}
.copy-btn {
    padding: 8px 16px;
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.copy-btn:hover { background: #ea580c; }
.referral-note { font-size: 12px; color: #999; margin-top: 4px; }

.panduan-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
}
.panduan-cta h2 { margin-bottom: 12px; }
.panduan-cta p { font-size: 16px; color: #555; margin-bottom: 28px; }

/* Footer */
.footer {
    padding: 60px 0 24px;
    background: #111;
    color: #ccc;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer .logo { color: #fff; margin-bottom: 12px; }
.footer-col p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a {
    display: block;
    font-size: 14px;
    color: #aaa;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer-col a:hover { color: #f97316; }
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 36px; }
    .hero-cta { justify-content: center; flex-wrap: wrap; }
    .trust-row { justify-content: center; }
    .phone-showcase { margin-top: 32px; }
    .steps-grid, .steps-3 { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .flow-visual { gap: 8px; }
    .flow-step span { font-size: 11px; }
    .compare-table { grid-template-columns: 1fr; }
    .trust-badges-inner { gap: 10px; }
}
@media (max-width: 600px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid #eee;
        gap: 16px;
    }
    .nav-links.show { display: flex; }
    .mobile-menu { display: block; }
    .hero { padding: 100px 0 60px; }
    .hero h1 { font-size: 28px; }
    .hero-sub { font-size: 16px; }
    .steps-grid, .steps-3 { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .plans { flex-direction: column; }
    .payment-options { flex-direction: column; }
    .hero-cta { flex-direction: column; }
    .flow-arrow { display: none; }
    .flow-visual { flex-direction: column; gap: 16px; }
    .setup-tabs { flex-direction: column; }
    .referral-box { flex-direction: column; text-align: center; }
    .panduan-hero h1 { font-size: 28px; }
    .panduan-card-header h2 { font-size: 22px; }
    .trust-badge { padding: 10px 14px; }
    .trust-badge-label { font-size: 11px; }
}
