:root {
    --primary: #673de6;
    --primary-dark: #5025d1;
    --primary-light: #ede9fe;
    --accent: #9333ea;
    --text: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --green: #16a34a;
    --wa: #25d366;
    --wa-dark: #1ebe5d;
    --radius: 14px;
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 14px 36px rgba(103, 61, 230, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-light); }
.brand-logo-fallback {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-weight: 800; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; }
.brand-title { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; line-height: 1.15; }
.brand-tagline { font-size: 12px; color: var(--text-muted); line-height: 1.25; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { font-size: 14px; font-weight: 600; color: var(--text-muted); transition: color 0.15s; }
.main-nav a:hover { color: var(--primary); }
.mobile-menu-btn { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; cursor: pointer; color: var(--text); }

/* Hero */
.hero-section {
    background: radial-gradient(circle at top center, #ede9fe 0%, #f5f3ff 42%, #ffffff 100%);
    padding: 72px 0 60px;
    text-align: center;
}
.hero-inner { max-width: 780px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; border: 1px solid #ddd6fe; color: var(--primary);
    padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
    box-shadow: 0 2px 10px rgba(103, 61, 230, 0.08);
    margin-bottom: 22px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero-title {
    margin: 0 0 18px;
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-description {
    font-size: 17px; color: var(--text-muted);
    max-width: 600px; margin: 0 auto 28px;
}
.hero-features {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
    margin-bottom: 32px;
}
.hero-feature-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid var(--border);
    padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
    color: var(--text);
}
.hero-feature-pill svg { color: var(--primary); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit; font-weight: 600; font-size: 14px;
    padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
    cursor: pointer; transition: all 0.16s ease;
}
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 4px 14px rgba(103, 61, 230, 0.25);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28); }
.btn-whatsapp:hover { background: var(--wa-dark); transform: translateY(-1px); }

/* Sections */
.section { padding: 68px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-title { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.section-subtitle { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Pricing */
.plan-group { margin-bottom: 52px; }
.plan-group:last-of-type { margin-bottom: 32px; }
.plan-group-header { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.plan-group-title { margin: 0; font-size: 22px; font-weight: 800; white-space: nowrap; }
.plan-group-line { height: 2px; flex: 1; background: linear-gradient(90deg, #ddd6fe, transparent); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}
.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #c4b5fd;
}
.pricing-card-featured { border: 2px solid #c4b5fd; }

.card-period-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.period-badge {
    background: var(--primary-light); color: var(--primary);
    font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.save-badge {
    background: #dcfce7; color: #15803d;
    font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.card-plan-name { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.card-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 16px; }
.price-amount { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.price-note { font-size: 12px; color: var(--text-muted); }

.price-breakdown {
    background: #f8fafc; border: 1px solid #eef2f7; border-radius: 10px;
    padding: 12px 14px; margin-bottom: 18px; font-size: 13px;
}
.breakdown-row { display: flex; justify-content: space-between; padding: 3px 0; color: var(--text-muted); }
.breakdown-row .strike { text-decoration: line-through; color: #94a3b8; }
.breakdown-row.discount-row { color: var(--green); font-weight: 600; border-top: 1px dashed #e2e8f0; margin-top: 4px; padding-top: 6px; }

.card-features {
    list-style: none; padding: 0; margin: 0 0 22px; flex: 1;
}
.card-features li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13.5px; color: #334155; margin-bottom: 8px;
}
.card-features svg { color: var(--primary); flex-shrink: 0; margin-top: 3px; }

.update-banner {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #f5f3ff; border: 1px solid #ddd6fe; color: var(--primary-dark);
    padding: 12px 20px; border-radius: 12px; font-size: 14px;
    margin-top: 16px;
}

/* Payment Methods */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}
.payment-card {
    text-align: left; background: #fff; border: 2px solid var(--border);
    border-radius: 12px; padding: 16px; cursor: pointer;
    transition: all 0.15s ease; font-family: inherit;
}
.payment-card:hover { border-color: #c4b5fd; }
.payment-card.active {
    border-color: var(--primary);
    background: #faf5ff;
    box-shadow: 0 6px 18px rgba(103, 61, 230, 0.12);
}
.pm-type-badge {
    display: inline-block; font-size: 11px; font-weight: 700;
    padding: 2px 8px; border-radius: 999px; margin-bottom: 8px;
}
.pm-type-badge.mobile { background: #ede9fe; color: var(--primary); }
.pm-type-badge.bank { background: #e0f2fe; color: #0369a1; }
.pm-name { font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 2px; }
.pm-hint { font-size: 12px; color: var(--text-muted); }

.payment-detail-box {
    background: #fff; border: 1px solid #ddd6fe; border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow);
}
.pm-detail-type { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; }
.pm-detail-title { margin: 4px 0 18px; font-size: 20px; font-weight: 800; }
.pm-detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 16px; }
.pm-detail-item label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.pm-detail-value { font-size: 16px; font-weight: 700; }
.pm-copy-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pm-detail-number { font-size: 18px; font-weight: 800; color: var(--primary); font-family: ui-monospace, SFMono-Regular, monospace; }
.btn-copy {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--primary-light); color: var(--primary);
    border: 0; border-radius: 8px; padding: 6px 12px;
    font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.btn-copy:hover { background: #ddd6fe; }
.btn-copy-sm { padding: 5px 10px; font-size: 12px; }
.pm-instructions {
    background: #f8fafc; border-left: 3px solid var(--primary);
    padding: 12px 14px; border-radius: 6px; font-size: 14px; color: #334155;
}

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.review-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.review-stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { margin: 0 0 20px; font-size: 14.5px; color: #334155; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary-light); color: var(--primary);
    font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.review-name { font-weight: 700; font-size: 14px; }
.review-role { font-size: 12px; color: var(--text-muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-question {
    width: 100%; text-align: left; background: none; border: 0;
    padding: 18px 20px; font-family: inherit; font-size: 15.5px; font-weight: 700;
    color: var(--text); cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-chevron { flex-shrink: 0; transition: transform 0.2s ease; color: var(--primary); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 18px; color: var(--text-muted); font-size: 14.5px; }
.faq-answer p { margin: 0; }
.faq-item.open .faq-answer { display: block; }

/* Contact */
.contact-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff; border-radius: 20px; padding: 48px 28px; text-align: center;
    box-shadow: var(--shadow-lg);
}
.contact-card h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.contact-card p { margin: 0 auto 24px; max-width: 560px; opacity: 0.92; font-size: 15.5px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--text-muted); }
.footer-inner p { margin: 0; }
.footer-admin-link { color: #94a3b8; font-size: 12.5px; }
.footer-admin-link:hover { color: var(--primary); }

/* Floating WhatsApp */
.floating-wa {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--wa); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
    transition: transform 0.16s ease;
}
.floating-wa:hover { transform: scale(1.08); }

/* Modal */
.modal-backdrop {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center; padding: 16px;
    overflow-y: auto;
}
.modal-backdrop.open { display: flex; }
.modal-dialog {
    position: relative; background: #fff; width: 100%; max-width: 540px;
    border-radius: 18px; padding: 28px; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    max-height: 92vh; overflow-y: auto;
}
.modal-close {
    position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
    border-radius: 50%; border: 0; background: #f1f5f9; color: #475569;
    font-size: 22px; line-height: 1; cursor: pointer;
}
.modal-close:hover { background: #e2e8f0; }
.modal-title { margin: 0 0 14px; font-size: 22px; font-weight: 800; }
.selected-pkg-pill {
    background: #f5f3ff; border: 1px solid #ddd6fe; color: var(--primary-dark);
    padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 700;
    margin-bottom: 18px;
}

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #334155; }
.req { color: #dc2626; }
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%; font-family: inherit; font-size: 14px;
    padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 9px;
    background: #fff; color: var(--text); outline: none; transition: border-color 0.15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(103, 61, 230, 0.12);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-divider {
    display: flex; align-items: center; gap: 10px; margin: 16px 0 12px;
    font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em;
}
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.modal-pm-info {
    background: #faf5ff; border: 1px solid #ddd6fe; border-radius: 10px;
    padding: 12px 14px; margin-bottom: 14px;
}
.modal-pm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.modal-pm-label { font-size: 12px; color: var(--text-muted); font-weight: 600; }
.modal-pm-num { font-size: 16px; font-weight: 800; color: var(--primary); font-family: monospace; }
.modal-pm-inst { font-size: 12.5px; color: #475569; margin-top: 6px; }

.proof-preview-wrap { margin-bottom: 14px; text-align: left; }
.proof-preview-wrap img { max-height: 140px; border-radius: 8px; border: 1px solid var(--border); display: block; margin-bottom: 6px; }
.btn-link-danger { background: none; border: 0; color: #dc2626; font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 0; }

.form-error {
    background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
    padding: 10px 12px; border-radius: 8px; font-size: 13.5px; margin-bottom: 14px;
}

.success-icon {
    width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px;
    background: #dcfce7; color: #15803d; font-size: 28px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.success-sub { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* Toast */
.toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
    background: #0f172a; color: #fff; padding: 10px 18px; border-radius: 10px;
    font-size: 13.5px; font-weight: 600; opacity: 0; pointer-events: none;
    transition: all 0.2s ease; z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 768px) {
    .mobile-menu-btn { display: inline-flex; }
    .main-nav {
        display: none; position: absolute; top: 70px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--border);
        flex-direction: column; padding: 16px 20px; gap: 14px; align-items: flex-start;
    }
    .main-nav.open { display: flex; }
    .form-row-2 { grid-template-columns: 1fr; }
    .hero-section { padding: 48px 0 42px; }
    .section { padding: 48px 0; }
}
