/* ============================================
   DiPo Landing Page V2 — dengan gambar asli
   Theme: Dark + emerald accent
   Fonts: Sora (display) + Plus Jakarta Sans (body)
   ============================================ */

:root {
    /* Colors */
    --bg: #000000;
    --bg-soft: #0a0a0a;
    --surface: #111111;
    --surface-2: #161616;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text: #ffffff;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    --accent: #22c55e;
    --accent-bright: #4ade80;
    --accent-soft: rgba(34, 197, 94, 0.15);
    --accent-glow: rgba(34, 197, 94, 0.45);

    --blue: #3b82f6;
    --purple: #a855f7;
    --danger: #ef4444;

    /* Typography */
    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;

    /* Spacing */
    --container: 1200px;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
}

/* ===== Reset & base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Ambient background ===== */
.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(34, 197, 94, 0.10), transparent 70%),
        radial-gradient(ellipse 40% 30% at 100% 30%, rgba(34, 197, 94, 0.06), transparent 60%);
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.accent {
    color: var(--accent-bright);
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent-bright), var(--accent));
    color: #052e16;
    box-shadow: 0 0 30px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-outline:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.04);
}
.btn-dark {
    background: #0a0a0a;
    color: var(--text);
    border-color: var(--border-strong);
    padding: 12px 18px;
    font-size: 13px;
}
.btn-dark:hover { background: #181818; }
.btn.large { padding: 18px 36px; font-size: 15px; }

/* ===== Logo ===== */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 26px;
    color: var(--accent-bright);
    letter-spacing: -0.04em;
}
.logo-mark {
    width: 28px;
    height: 36px;
    object-fit: contain;
    /* Mascot sudah RGBA transparent — tidak perlu mix-blend-mode */
}

/* ===== Navbar ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 24px;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color .2s;
    font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

/* ===== Language Toggle ===== */
.lang-toggle {
    display: inline-flex;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 3px;
    gap: 0;
}
.lang-btn {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    transition: background .2s, color .2s;
    letter-spacing: 0.05em;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active,
.lang-btn[aria-pressed="true"] {
    background: var(--accent);
    color: #052e16;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}
.menu-toggle span {
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}
.menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    padding: 60px 0 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 600px;
}
.hero-title {
    font-size: clamp(40px, 5.5vw, 72px);
    font-weight: 700;
    margin-bottom: 24px;
}
.hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 420px;
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.social-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.avatars { display: flex; }
.avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg);
    margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.stars {
    color: #fbbf24;
    font-size: 14px;
    letter-spacing: 1px;
}
.proof-text { font-size: 13px; color: var(--text-muted); }
.proof-text strong { color: var(--text); }
.launch-live {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #4ade80;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    flex-shrink: 0;
    animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    60% { opacity: 0.8; box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}
.launch-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.launch-chip {
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 100px;
    padding: 4px 11px;
    white-space: nowrap;
}

/* ===== Phone image wrappers (hero) ===== */
.hero-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}
.hero-phone-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 560px;
    height: auto;
    /* Karena gambar memiliki tangan yang keluar dari frame, pakai filter agar kontras lebih bagus */
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
}
.phone-glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle at center, var(--accent-glow), transparent 65%);
    filter: blur(50px);
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}
.phone-glow.hero-glow {
    inset: 5% 25%;
    opacity: 0.7;
}
.phone-glow.subtle {
    inset: 15%;
    opacity: 0.5;
}
@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
}

/* ===== Feature strip ===== */
.feature-strip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 80px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.feature-icon-circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-bright);
    flex-shrink: 0;
}
.feature-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}
.feature-sub {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}
.divider-v {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ===== Sections ===== */
.section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}
.section-head {
    text-align: center;
    margin-bottom: 60px;
}
.section-head h2 {
    font-size: clamp(34px, 4.5vw, 56px);
    margin-bottom: 14px;
}
.section-head p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}
.kicker {
    color: var(--accent-bright);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 12px;
}
.kicker.left { display: inline-block; }

/* ===== Focus section (Savings phone) ===== */
.focus-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}
.focus-col {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.focus-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    max-width: 280px;
}
.focus-feature.right-align {
    text-align: right;
    flex-direction: row-reverse;
    margin-left: auto;
}
.focus-icon {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-bright);
    flex-shrink: 0;
}
.focus-feature h4 {
    font-size: 18px;
    margin-bottom: 8px;
    font-family: var(--font-display);
}
.focus-feature p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}
.focus-col.right { justify-content: center; }

.focus-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}
.focus-phone-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
}

/* ===== Debt section ===== */
.debt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.debt-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}
.debt-phone-img {
    width: 100%;
    max-width: 460px;
    height: auto;
    /* gambar ini sudah ada glow built-in, kita tambahkan sedikit drop shadow */
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}
.debt-text h2 {
    font-size: clamp(34px, 4.5vw, 52px);
    margin-bottom: 20px;
}
.debt-text p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 28px;
}
.check-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
}
.check {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ===== Smart Budget section (BARU) ===== */
.smart-section { padding-top: 40px; }
.smart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Smart Budget Headers - Mobile hidden by default, Desktop shown */
.smart-header-mobile {
    display: none;
}
.smart-header-desktop {
    display: block;
}

.smart-text h2 {
    font-size: clamp(34px, 4.5vw, 52px);
    margin: 12px 0 20px;
}
.smart-text > p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 28px;
    max-width: 480px;
}
.preset-row {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    width: 100%;
}
.preset-chip {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.preset-chip.active {
    background: var(--accent-soft);
    border-color: rgba(34, 197, 94, 0.4);
    color: var(--accent-bright);
}
.alloc-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 460px;
    width: 100%;
}
.alloc-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
}
.alloc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
}
.alloc-row strong { font-size: 16px; }
.alloc-icon {
    display: inline-flex;
    width: 22px; height: 22px;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-right: 6px;
    vertical-align: middle;
    overflow: hidden;
    flex-shrink: 0;
}
.alloc-icon img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    display: block;
}
.alloc-icon.blue { background: rgba(59, 130, 246, 0.2); }
.alloc-icon.purple { background: rgba(168, 85, 247, 0.2); }
.alloc-icon.green { background: rgba(34, 197, 94, 0.2); }
.alloc-track {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 99px;
    overflow: hidden;
}
.alloc-track span {
    display: block;
    height: 100%;
    border-radius: 99px;
    transition: width 1s ease-out;
}
.alloc-track .blue { background: var(--blue); }
.alloc-track .purple { background: var(--purple); }
.alloc-track .green { background: var(--accent); }

.smart-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.smart-phone-wrap picture {
    display: flex;
    justify-content: center;
    width: 100%;
}
.smart-phone-img {
    position: relative;
    z-index: 2;
    width: 95%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
}

/* ===== AI section (with mascot) ===== */
.ai-section .section-head { position: relative; }
.mascot-img {
    width: 110px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 16px;
    display: block;
    mix-blend-mode: screen;
    filter: brightness(1.08) contrast(1.05);
    animation: bounce 4s ease-in-out infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ai-card {
    position: relative;
    background: linear-gradient(180deg, var(--surface), var(--bg-soft));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    overflow: hidden;
    transition: transform .3s, border-color .3s;
}
.ai-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 197, 94, 0.3);
}
.ai-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
}
.ai-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
.ai-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 12px;
}
.ai-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}
.card-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80px;
    background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
    filter: blur(40px);
    opacity: 0.5;
    transition: opacity .3s;
}
.ai-card:hover .card-glow { opacity: 0.9; }

/* ===== Final CTA ===== */
.final-cta {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 100px 0;
}
.final-cta h2 {
    font-size: clamp(32px, 4.5vw, 52px);
    margin-bottom: 36px;
}

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    position: relative;
    z-index: 1;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.copyright {
    font-size: 13px;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    gap: 32px;
}
.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color .2s;
}
.footer-links a:hover { color: var(--text); }

/* ===== Scroll reveal animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
    opacity: 1;
    transform: none;
}

/* ===== Comparison Section (BARU) ===== */
.compare-section {
    padding-top: 80px;
    padding-bottom: 80px;
}
.compare-table {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 920px;
    margin: 0 auto;
}
.compare-head, .compare-row {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr;
    align-items: center;
}
.compare-head {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}
.compare-cell {
    padding: 18px 20px;
    text-align: center;
    font-size: 14px;
}
.compare-cell.head-cell {
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
}
.compare-cell.head-cell:first-child {
    text-align: left;
}
.compare-cell.feature-cell {
    text-align: left;
    font-weight: 500;
    color: var(--text);
}
.compare-row {
    border-top: 1px solid var(--border);
    transition: background .2s;
}
.compare-row:hover {
    background: rgba(255,255,255,0.02);
}
.compare-cell.highlighted {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.03));
    position: relative;
}
.compare-head .compare-cell.highlighted {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border-left: 1px solid rgba(34, 197, 94, 0.2);
    border-right: 1px solid rgba(34, 197, 94, 0.2);
}
.compare-row .compare-cell.highlighted {
    border-left: 1px solid rgba(34, 197, 94, 0.15);
    border-right: 1px solid rgba(34, 197, 94, 0.15);
}
.col-icon {
    font-size: 22px;
    margin-bottom: 6px;
    line-height: 1;
}
.col-mascot {
    width: 32px;
    height: auto;
    margin: 0 auto;
    /* Mascot sudah RGBA — tidak perlu mix-blend-mode */
}

.mark {
    display: inline-flex;
    width: 28px; height: 28px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.mark.check {
    background: var(--accent-soft);
    color: var(--accent-bright);
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.mark.x {
    background: rgba(239, 68, 68, 0.12);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.mark.partial {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.compare-legend {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 28px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-muted);
}
.compare-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.compare-legend .mark {
    width: 22px; height: 22px;
    font-size: 11px;
}

/* ===== Privacy & Security Section (BARU) ===== */
.privacy-section {
    position: relative;
}
.privacy-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 30% at 50% 50%, rgba(34, 197, 94, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.privacy-section .container { position: relative; z-index: 1; }

.privacy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-soft);
    color: var(--accent-bright);
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.25);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}
.privacy-card {
    background: linear-gradient(180deg, var(--surface), var(--bg-soft));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform .3s, border-color .3s;
}
.privacy-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 197, 94, 0.3);
}
.privacy-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--accent-soft);
    border: 1px solid rgba(34, 197, 94, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-bright);
    margin-bottom: 20px;
}
.privacy-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 12px;
}
.privacy-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.privacy-cta {
    text-align: center;
    margin-top: 48px;
    padding: 24px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.privacy-cta p {
    color: var(--text-muted);
    font-size: 14px;
}
.privacy-cta a {
    color: var(--accent-bright);
    font-weight: 600;
    transition: opacity .2s;
}
.privacy-cta a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* ===== Responsive ===== */
/* ===== Reduced motion ===== */
/* ============================================
   FIXES & NEW SECTIONS
   ============================================ */

/* Fix #1: scroll-padding-top untuk sticky navbar (penting!) */
html {
    scroll-padding-top: 80px;
}

/* Fix #2: Skip to content link (accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--accent);
    color: #052e16;
    padding: 12px 20px;
    border-radius: 0 0 var(--radius) var(--radius);
    font-weight: 700;
    font-size: 14px;
    z-index: 9999;
    transition: top .2s;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Fix #3: Focus-visible styling untuk keyboard navigation */
:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--accent-bright);
    outline-offset: 4px;
}

/* Fix #4: btn-play (Google Play style) */
.btn-play {
    background: linear-gradient(135deg, #34a853, #1e8e3e);
    color: #fff;
    box-shadow: 0 0 24px rgba(52, 168, 83, 0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(52, 168, 83, 0.5), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-outline-play {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(52, 168, 83, 0.4);
}
.btn-outline-play:hover {
    border-color: #34a853;
    background: rgba(52, 168, 83, 0.08);
}

/* Final CTA buttons row */
.final-cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Fix #5: navbar — dua tombol store di mobile (sembunyikan Play Store di nav, tetap di hero) */
/* ===== FAQ Section ===== */
.faq-section { padding: 80px 0; }

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .25s;
}
.faq-item[open] {
    border-color: rgba(34, 197, 94, 0.3);
}
.faq-item[open] .faq-q::after {
    transform: rotate(45deg);
}

.faq-q {
    list-style: none;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
    transition: color .2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    color: var(--accent-bright);
    flex-shrink: 0;
    transition: transform .3s ease;
    line-height: 1;
}
.faq-q:hover { color: var(--accent-bright); }

.faq-a {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}
.faq-a a {
    color: var(--accent-bright);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(74, 222, 128, 0.3);
}
.faq-a a:hover { text-decoration-color: var(--accent-bright); }

/* ===== Responsive: FAQ & Play Store ===== */
/* ===== Scan Struk Section ===== */
.scan-section { padding: 80px 0; }

.scan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scan-header-mobile { display: none; }
.scan-header-desktop { display: block; }

.scan-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.scan-phone-wrap picture,
.scan-phone-wrap > img {
    display: block;
}
.scan-phone-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

.scan-text h2 {
    font-size: clamp(34px, 4.5vw, 52px);
    margin: 12px 0 20px;
}
.scan-text > p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 28px;
    max-width: 480px;
}
.scan-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* ===== Pricing Section ===== */
.pricing-section { padding: 80px 0; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto 32px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}
.pricing-card:hover {
    transform: translateY(-6px);
}
.pricing-card.premium {
    border-color: rgba(234, 179, 8, 0.6);
    background: linear-gradient(180deg, rgba(234,179,8,0.08), var(--surface));
    box-shadow: 0 0 50px rgba(234,179,8,0.15);
}
.pricing-card.royal {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(180deg, rgba(139,92,246,0.1), var(--surface));
    box-shadow: 0 0 60px rgba(139,92,246,0.18);
}
.pricing-card.royal:hover { 
    box-shadow: 0 12px 60px rgba(139,92,246,0.25); 
    transform: scale(1.02) translateY(-6px);
}
.pricing-card.premium:hover { 
    box-shadow: 0 12px 56px rgba(234,179,8,0.25); 
}

/* Badges - Simplified System */
.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-bottom: 4px;
}
.pricing-badge.free { 
    background: rgba(255,255,255,0.1); 
    color: var(--text-muted); 
    border: 1px solid rgba(255,255,255,0.15);
}
.premium-badge { 
    background: rgba(234,179,8,0.25); 
    color: #fbbf24; 
    border: 1px solid rgba(234,179,8,0.4);
    box-shadow: 0 2px 8px rgba(234,179,8,0.2);
}
.royal-badge { 
    background: rgba(139,92,246,0.25); 
    color: #a78bfa; 
    border: 1px solid rgba(139,92,246,0.4);
    box-shadow: 0 2px 8px rgba(139,92,246,0.2);
}

.pricing-trial-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1c1003;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 999px;
    white-space: nowrap;
    letter-spacing: 0.08em;
    box-shadow: 0 6px 16px rgba(234,179,8,0.4);
    z-index: 10;
}
.pricing-trial-badge.royal-trial {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    box-shadow: 0 6px 16px rgba(139,92,246,0.4);
}

/* Icons - Enhanced */
.pricing-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin-bottom: 4px;
}
.free-icon { 
    background: rgba(255,255,255,0.08); 
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.12);
}
.premium-icon { 
    background: rgba(234,179,8,0.18); 
    color: #fbbf24;
    border: 1px solid rgba(234,179,8,0.3);
    box-shadow: 0 4px 12px rgba(234,179,8,0.15);
}
.royal-icon { 
    background: rgba(139,92,246,0.18); 
    color: #a78bfa;
    border: 1px solid rgba(139,92,246,0.3);
    box-shadow: 0 4px 12px rgba(139,92,246,0.15);
}

/* Name & Price - Enhanced Typography */
.pricing-name { 
    font-family: var(--font-display); 
    font-size: 24px; 
    font-weight: 700; 
    margin-bottom: 4px;
}
.pricing-card.premium .pricing-name { 
    color: #fbbf24; 
    text-shadow: 0 2px 4px rgba(234,179,8,0.2);
}
.pricing-card.royal .pricing-name { 
    color: #a78bfa; 
    text-shadow: 0 2px 4px rgba(139,92,246,0.2);
}
.pricing-card.royal .price-amount { 
    color: #a78bfa;
    text-shadow: 0 2px 4px rgba(139,92,246,0.2);
}
.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
    white-space: nowrap;
}
.price-amount { 
    font-family: var(--font-display); 
    font-size: 36px; 
    font-weight: 800; 
    line-height: 1;
}
.price-period { 
    font-size: 14px; 
    color: var(--text-muted); 
    font-weight: 500;
}
.price-note {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.8;
    margin-top: 2px;
    line-height: 1.3;
    display: block;
}


/* Features list - Improved Spacing */
.pricing-features {
    display: flex; flex-direction: column; gap: 14px;
    flex: 1;
    margin: 8px 0;
    align-self: stretch;
    text-align: left;
}
.pricing-features li {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; line-height: 1.5;
    padding: 4px 0;
}
.pricing-features li.muted { 
    color: var(--text-dim); 
    opacity: 0.7;
}
.pf-check {
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--accent-soft); 
    color: var(--accent-bright);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
    border: 1px solid rgba(34,197,94,0.3);
    box-shadow: 0 2px 4px rgba(34,197,94,0.1);
}
.royal-check {
    background: rgba(139,92,246,0.18); 
    color: #a78bfa;
    border-color: rgba(139,92,246,0.3);
    box-shadow: 0 2px 4px rgba(139,92,246,0.1);
}
.pf-x {
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: var(--text-dim); 
    flex-shrink: 0;
    opacity: 0.5;
}

/* CTA buttons - Enhanced */
.pricing-btn {
    display: flex; align-items: center; justify-content: center;
    padding: 16px 24px; border-radius: 999px;
    font-weight: 700; font-size: 15px;
    transition: transform .3s, box-shadow .3s;
    text-align: center;
    border: 1px solid transparent;
    margin-top: 8px;
    letter-spacing: 0.02em;
    width: 100%;
}
.pricing-btn:hover { 
    transform: translateY(-3px); 
}
.pricing-btn.outline {
    border-color: var(--border-strong);
    color: var(--text-muted);
    background: transparent;
}
.pricing-btn.outline:hover { 
    border-color: rgba(255,255,255,0.4); 
    color: var(--text); 
    box-shadow: 0 4px 12px rgba(255,255,255,0.05);
}
.pricing-btn.gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #1c1003;
    box-shadow: 0 4px 20px rgba(234,179,8,0.4);
}
.pricing-btn.gold:hover { 
    box-shadow: 0 8px 28px rgba(234,179,8,0.5); 
    background: linear-gradient(135deg, #f59e0b, #d97706);
}
.pricing-btn.royal-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 20px rgba(139,92,246,0.4);
}
.pricing-btn.royal-btn:hover { 
    box-shadow: 0 8px 28px rgba(139,92,246,0.5); 
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Note */
.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    max-width: 500px;
    margin: 0 auto;
}
.pricing-note strong { color: var(--text); }

/* Responsive pricing */
/* ===== Smart Currency Conversion Section ===== */
.conv-section { padding: 80px 0; }

.conv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Conversion Headers - Mobile hidden by default, Desktop shown */
.conv-header-mobile {
    display: none;
}
.conv-header-desktop {
    display: block;
}

.conv-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(234,179,8,0.15);
    color: #fbbf24;
    border: 1px solid rgba(234,179,8,0.3);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.conv-royal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(139,92,246,0.15);
    color: #8b5cf6;
    border: 1px solid rgba(139,92,246,0.3);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.conv-text h2 {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 16px;
}
.conv-text > p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 28px;
    max-width: 480px;
}

/* Demo card */
.conv-demo {
    background: var(--surface);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 28px;
    box-shadow: 0 0 32px rgba(34,197,94,0.08);
    width: 100%;
}
.conv-demo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.conv-side { flex: 1; }
.conv-label {
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 6px;
    font-weight: 500;
}
.conv-currency {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
}
.conv-flag {
    font-size: 13px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}
.conv-currency.usd .conv-flag { background: rgba(59,130,246,0.15); color: #60a5fa; }
.conv-currency.usd .conv-val  { color: #60a5fa; }
.conv-currency.idr .conv-flag { background: var(--accent-soft); color: var(--accent-bright); }
.conv-currency.idr .conv-val  { color: var(--accent-bright); }
.conv-arrow {
    color: var(--text-dim);
    flex-shrink: 0;
    opacity: 0.6;
}
.conv-rate-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 12px;
}
.conv-rate-val {
    margin-left: auto;
    font-weight: 600;
    color: var(--accent-bright);
    font-size: 12px;
}

/* Feature list */
.conv-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}
.conv-feat {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.conv-feat-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-bright);
    flex-shrink: 0;
}
.conv-feat-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}
.conv-feat-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Phone image */
.conv-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.conv-phone-img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 32px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.1),
        0 24px 48px rgba(0,0,0,0.6);
    /* Screenshot punya background terang — tambah vignette efek */
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

/* Responsive */

/* ===== Price note tagline (v8) ===== */
.price-note {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 4px;
    font-style: italic;
}
/* ============================================================
   RESPONSIVE SYSTEM — DiPo Landing Page
   Breakpoints:
     xl  : > 1200px  (large desktop)
     lg  : ≤ 1100px  (laptop / small desktop)
     md  : ≤ 960px   (tablet landscape / large phone)
     sm  : ≤ 640px   (phone)
     xs  : ≤ 375px   (small phone — iPhone SE)
   ============================================================ */


/* ── LG: 1100px ─────────────────────────────────────────────── */
/* ── MD: 960px (Tablet & bawah) ─────────────────────────────── */
/* ── SM: 640px (Smartphone) ──────────────────────────────────── */
/* ── XS: 375px (iPhone SE & HP kecil) ───────────────────────── */
/* ── Reduced motion ─────────────────────────────────────────── */

/* ============================================================
   RESPONSIVE SYSTEM — DiPo v9
   lg : ≤ 1100px  (laptop)
   md : ≤ 960px   (tablet)
   sm : ≤ 640px   (phone)
   xs : ≤ 375px   (iPhone SE)
   ============================================================ */

/* ── LG ─── */
@media (max-width: 1100px) {
    .nav-cta[data-platform="android"] { display: none; }
    .pricing-grid { gap: 14px; }
    .pricing-card { padding: 28px 20px 24px; }
    .price-amount { font-size: 26px; }
    .pricing-name { font-size: 20px; }
}

/* ── MD (Tablet & bawah) ─── */
@media (max-width: 960px) {

    /* Global */
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 44px; }
    .section-head h2 { font-size: clamp(28px, 6vw, 42px); }

    /* Navbar */
    .nav-links { display: none; }
    .nav-cta   { display: none; }
    .menu-toggle { display: flex; }
    .nav-right { gap: 8px; }
    .lang-toggle { padding: 2px; }
    .lang-btn { padding: 5px 10px; font-size: 11px; }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(0,0,0,0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 20px 24px 28px;
        border-bottom: 1px solid var(--border);
        gap: 4px;
        z-index: 99;
    }
    .nav-links.mobile-open a {
        font-size: 16px;
        font-weight: 600;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        color: var(--text);
    }
    .nav-links.mobile-open a:last-child { border-bottom: none; }

    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .hero-text { display: flex; flex-direction: column; align-items: center; }
    .hero-title { font-size: clamp(36px, 8vw, 56px); }
    .hero-sub { margin-inline: auto; max-width: 480px; }
    .hero-cta { justify-content: center; flex-wrap: wrap; }
    .social-proof { justify-content: center; }
    .hero-phone-wrap { min-height: unset; }
    .hero-phone-img { max-width: 480px; width: 90%; }

    /* Feature strip */
    .feature-strip {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 22px 20px;
        margin-top: 32px;
        margin-bottom: 56px;
    }
    .divider-v { display: none; }

    /* Focus section */
    .focus-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        justify-items: center;
    }
    .focus-col {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
        width: 100%;
    }
    .focus-feature { max-width: 280px; flex-direction: row; text-align: left; margin: 0; }
    .focus-feature.right-align { flex-direction: row; text-align: left; margin: 0; }
    .focus-phone-wrap { order: -1; }
    .focus-phone-img { max-width: 340px; width: 80%; }

    /* Debt */
    .debt-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .debt-text { order: 1; }
    .debt-phone-wrap { order: 2; display: flex; justify-content: center; }
    .debt-phone-img { max-width: 340px; width: 80%; }
    .check-list { display: inline-flex; flex-direction: column; text-align: left; }

    /* Scan Struk */
    .scan-header-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
    }
    .scan-header-desktop { display: none; }
    .scan-grid { display: flex; flex-direction: column; gap: 48px; }
    .scan-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .scan-text > p { width: 100%; max-width: 100%; }
    .scan-phone-wrap { display: flex; justify-content: center; align-items: center; width: 100%; }
    .scan-phone-img { max-width: 440px; width: 95%; border-radius: 16px; }
    .scan-features { width: 100%; text-align: left; }

    /* Smart Currency Conversion */
    .conv-header-mobile { 
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
    }
    .conv-header-desktop { display: none; }
    .conv-grid { grid-template-columns: 1fr; gap: 48px; }
    .conv-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .conv-text h2 { font-size: clamp(26px, 6vw, 38px); }
    .conv-text > p { max-width: 100%; width: 100%; }
    .conv-phone-wrap { display: flex; justify-content: center; width: 100%; }
    .conv-phone-img { max-width: 420px; width: 95%; }

    /* Smart Budget */
    .smart-header-mobile { 
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 32px;
    }
    .smart-header-desktop { display: none; }
    .smart-grid { display: flex; flex-direction: column; gap: 48px; }
    .smart-text { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .smart-text > p { width: 100%; max-width: 100%; }
    .smart-phone-wrap { display: flex; justify-content: center; align-items: center; width: 100%; }
    .smart-phone-img { max-width: 480px; width: 95%; }

    /* AI */
    .ai-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .mascot-img { width: 90px; }

    /* Pricing: 3-col → 1-col, reset scale, reorder */
    .pricing-grid { 
        grid-template-columns: 1fr; 
        max-width: 420px; 
        gap: 24px;
        margin: 0 auto 32px;
    }
    .pricing-card { padding: 28px 24px 24px; transform: none !important; }
    .pricing-card:hover { transform: translateY(-4px) !important; }
    .pricing-card.royal { order: -2; }
    .pricing-card.premium { order: -1; }

    /* Comparison: horizontal scroll on tablet, simplified on phone */
    .compare-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
    }
    .compare-head,
    .compare-row { min-width: 560px; }
    .compare-cell { padding: 14px 14px; font-size: 13px; }
    .compare-cell.head-cell { font-size: 12px; }
    .compare-cell.feature-cell { font-size: 13px; }
    .compare-legend { gap: 16px; font-size: 12px; }
    .compare-mobile-note { display: none; }

    /* Privacy */
    .privacy-grid { grid-template-columns: 1fr; }
    .privacy-card { padding: 26px 22px; }
    .privacy-cta { padding: 20px; }

    /* FAQ */
    .faq-q { font-size: 14px; padding: 16px 20px; }
    .faq-a { padding: 0 20px 16px; font-size: 13px; }

    /* Final CTA */
    .final-cta { padding: 72px 0; }
    .final-cta h2 { font-size: clamp(26px, 6vw, 40px); }
    .final-cta-btns { flex-direction: column; align-items: center; }
    .final-cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }

    /* Footer */
    .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

/* ── SM (Smartphone ≤ 640px) ─── */
@media (max-width: 640px) {

    /* Global */
    .container { padding-inline: 18px; }
    .section { padding: 52px 0; }
    .kicker { font-size: 11px; }

    /* Hero */
    .hero { padding-top: 40px; }
    .hero-title { font-size: clamp(30px, 9vw, 44px); }
    .hero-sub { font-size: 15px; }
    .hero-phone-img { max-width: 100%; width: 100%; }
    .hero-cta { gap: 10px; }
    .btn { padding: 13px 20px; font-size: 13px; }
    .btn.large { padding: 15px 28px; font-size: 14px; }

    /* Feature strip */
    .feature-strip { margin-bottom: 40px; }
    .feature-sub { display: none; }

    /* Focus */
    .focus-col { flex-direction: column; align-items: flex-start; }
    .focus-feature { max-width: 100%; }
    .focus-phone-img { max-width: 100%; width: 100%; }

    /* Debt */
    .debt-phone-img { max-width: 100%; width: 100%; }

    /* Smart Budget */
    .alloc-list { gap: 10px; }
    .preset-row { gap: 8px; }
    .preset-chip { font-size: 12px; padding: 6px 12px; }

    /* Currency Conversion */
    .conv-demo { padding: 16px; }
    .conv-currency { font-size: 18px; }
    .conv-phone-img { max-width: 380px; width: 92%; }
    .conv-features { gap: 12px; }
    .conv-sel { font-size: 12px; }
    .conv-amount-input, .conv-io-result { font-size: 16px; }
    .conv-preset { font-size: 10px; padding: 4px 8px; }

    /* AI */
    .ai-grid { grid-template-columns: 1fr; }
    .ai-card { padding: 24px; }

    /* Pricing */
    .pricing-grid { max-width: 100%; }
    .pricing-card { padding: 24px 18px; }
    .pricing-icon { width: 52px; height: 52px; border-radius: 13px; }
    .price-amount { font-size: 24px; }
    .pricing-name { font-size: 18px; }
    .pricing-features li { font-size: 13px; }
    .pricing-trial-badge { font-size: 10px; padding: 4px 12px; top: -14px; }

    /* Compare: hide Manual/Others columns, show only Feature + DiPo */
    .compare-table {
        overflow-x: visible;
        display: block;
    }
    .compare-head, .compare-row {
        display: grid;
        grid-template-columns: 2fr 1fr;
        min-width: unset;
    }
    .compare-cell:nth-child(2),
    .compare-cell:nth-child(3) { display: none; }
    .compare-cell { padding: 12px 14px; font-size: 13px; }
    .compare-cell.feature-cell { font-size: 13px; }
    .col-icon { font-size: 18px; margin-bottom: 4px; }
    .col-mascot { width: 26px; }
    .mark { width: 24px; height: 24px; font-size: 12px; }
    .compare-mobile-note { display: block; font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 16px; }

    /* Privacy */
    .privacy-badge { font-size: 11px; }
    .privacy-icon { width: 48px; height: 48px; border-radius: 12px; }
    .privacy-card h4 { font-size: 16px; }

    /* FAQ */
    .faq-q { font-size: 13px; padding: 14px 16px; }
    .faq-a { font-size: 12px; padding: 0 16px 14px; }
    .faq-q::after { font-size: 20px; }

    /* Footer */
    .logo { font-size: 22px; }
    .footer-links a { font-size: 12px; }
}

/* ── XS (iPhone SE ≤ 375px) ─── */
@media (max-width: 375px) {
    .container { padding-inline: 14px; }
    .hero-title { font-size: 28px; }
    .hero-sub { font-size: 14px; }
    .btn { padding: 11px 14px; font-size: 12px; gap: 7px; }
    .section-head h2 { font-size: 24px; }

    .feature-item { gap: 10px; }
    .feature-icon-circle { width: 38px; height: 38px; }
    .feature-title { font-size: 13px; }

    .conv-currency { font-size: 16px; }
    .conv-sel-flag { font-size: 15px; }
    .conv-sel { font-size: 11px; }
    .conv-io-field { padding: 8px 10px; }
    .conv-amount-input, .conv-io-result { font-size: 15px; }
    .conv-swap-btn { width: 30px; height: 30px; }
    .conv-io-arrow svg { width: 14px; height: 14px; }

    .pricing-card { padding: 20px 14px; }
    .price-amount { font-size: 22px; }
    .pricing-name { font-size: 16px; }
    .pricing-features li { font-size: 12px; gap: 8px; }
    .pf-check, .pf-x { width: 16px; height: 16px; font-size: 10px; }

    .ai-card { padding: 20px; }
    .privacy-card h4 { font-size: 15px; }
    .privacy-card p { font-size: 13px; }

    .mascot-img { width: 72px; }
    .lang-btn { padding: 4px 8px; font-size: 10px; }
}

/* ── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Live Currency Rate ===== */
.conv-rate-row { position: relative; }

.rate-live-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-bright);
    margin-right: 2px;
    vertical-align: middle;
    animation: rate-dot-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes rate-dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(74,222,128,0); }
}

.conv-rate-val.loading {
    color: var(--text-dim);
    animation: rate-blink 1.2s ease-in-out infinite alternate;
}
@keyframes rate-blink {
    from { opacity: 0.3; }
    to { opacity: 0.8; }
}
.conv-rate-val.loaded {
    animation: rate-pop 0.4s ease-out forwards;
}
@keyframes rate-pop {
    0% { opacity: 0; transform: translateY(3px); }
    100% { opacity: 1; transform: none; }
}

/* Direction toggle */
.conv-direction-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}
.conv-dir-btn {
    flex: 1;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
}
.conv-dir-btn.active {
    background: var(--accent-soft);
    border-color: rgba(34,197,94,0.4);
    color: var(--accent-bright);
}
.conv-dir-btn:not(.active):hover {
    border-color: rgba(255,255,255,0.2);
    color: var(--text);
}

/* Editable USD input in demo card */
.conv-usd-input {
    background: none;
    border: none;
    color: #60a5fa;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    width: 4ch;
    min-width: 4ch;
    max-width: 14ch;
    outline: none;
    cursor: text;
    padding: 2px 4px;
    border-bottom: 1px dashed rgba(96,165,250,0.4);
    transition: border-color .2s, color .2s, width .15s;
}
.conv-usd-input:focus { border-color: #60a5fa; }
/* IDR mode: result (USD) value — same green as IDR result */
.conv-demo.idr-mode .conv-currency.usd .conv-flag {
    background: var(--accent-soft);
    color: var(--accent-bright);
}
.conv-demo.idr-mode .conv-currency.usd .conv-val { color: var(--accent-bright); }

/* ===== Interactive Currency Converter ===== */

/* Selector row: [FROM group] [swap] [TO group] */
.conv-sel-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

/* Each currency selector pill: flag + <select> + caret */
.conv-sel-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: border-color .2s;
    min-width: 0;
}
.conv-sel-group:focus-within {
    border-color: rgba(34,197,94,0.4);
}

.conv-sel-flag {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.conv-sel {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    letter-spacing: 0.02em;
}
.conv-sel option {
    background: #1a1a1a;
    color: var(--text);
}

.conv-sel-caret {
    color: var(--text-dim);
    flex-shrink: 0;
    pointer-events: none;
}

/* Swap button — circular icon button between the two selector pills */
.conv-swap-btn {
    width: 34px; height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-muted);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, border-color .2s, color .2s;
}
.conv-swap-btn:hover {
    background: var(--accent-soft);
    border-color: rgba(34,197,94,0.4);
    color: var(--accent-bright);
}
.conv-swap-btn.spinning svg {
    animation: conv-swap-spin 0.42s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes conv-swap-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(180deg); }
}

/* Amount input / result row */
.conv-io-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.conv-io-side { flex: 1; min-width: 0; }

.conv-io-field {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    transition: border-color .2s;
}
.conv-io-field:focus-within {
    border-color: rgba(34,197,94,0.4);
}

.conv-io-sym {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dim);
    flex-shrink: 0;
}
.conv-io-sym.accent { color: var(--accent-bright); }

.conv-amount-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    width: 100%;
}
.conv-amount-input::-webkit-inner-spin-button,
.conv-amount-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.conv-amount-input[type=number] { -moz-appearance: textfield; }

.conv-io-result {
    flex: 1;
    min-width: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--accent-bright);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-io-arrow {
    color: var(--text-dim);
    opacity: 0.45;
    flex-shrink: 0;
}

/* Quick-pair preset buttons */
.conv-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.conv-preset {
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: background .2s, border-color .2s, color .2s;
    white-space: nowrap;
}
.conv-preset:hover:not(.active) {
    border-color: rgba(255,255,255,0.2);
    color: var(--text);
}
.conv-preset.active {
    background: var(--accent-soft);
    border-color: rgba(34,197,94,0.45);
    color: var(--accent-bright);
}

/* Copy button inside rate row */
.conv-copy-btn {
    margin-left: 6px;
    padding: 4px 6px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--text-dim);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: color .2s, background .2s;
    flex-shrink: 0;
}
.conv-copy-btn:hover { color: var(--text-muted); background: var(--surface-2); }
.conv-copy-btn.copied { color: var(--accent-bright); }

/* ===== Smart Budget Interactive ===== */
.preset-chip {
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, transform .1s;
    user-select: none;
}
.preset-chip:hover:not(.active) {
    border-color: rgba(255,255,255,0.2);
    color: var(--text);
}
.preset-chip:active { transform: scale(0.95); }

/* Alloc bar animation */
.alloc-track span {
    transition: width 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Sliders */
.alloc-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 99px;
    background: rgba(255,255,255,0.08);
    margin-top: 10px;
    outline: none;
    cursor: pointer;
    display: block;
}
.alloc-item:nth-child(1) .alloc-slider { accent-color: var(--blue); }
.alloc-item:nth-child(2) .alloc-slider { accent-color: var(--purple); }
.alloc-item:nth-child(3) .alloc-slider { accent-color: var(--accent); }

.alloc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    cursor: grab;
    transition: transform .15s;
}
.alloc-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.2);
}
.alloc-slider::-moz-range-thumb {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    cursor: grab;
}

/* Custom mode hint */
.budget-custom-hint {
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-align: center;
    font-style: italic;
    display: none;
}
.budget-custom-active .budget-custom-hint { display: block; }

/* Percentage total indicator */
.budget-total-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-dim);
    max-width: 460px;
    width: 100%;
}
.budget-total-val {
    font-weight: 700;
    font-size: 13px;
    color: var(--accent-bright);
    transition: color .2s;
}
.budget-total-val.over { color: var(--danger); }

@media (max-width: 640px) {
    .conv-usd-input { font-size: 18px; }
    .alloc-slider::-webkit-slider-thumb { width: 16px; height: 16px; }
}

/* ── Mobile image max-height fixes ── */
@media (max-width: 960px) {
    /* Batasi tinggi gambar portrait agar tidak dominasi layar */
    .debt-phone-img {
        max-height: 65vh;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
    .focus-phone-img {
        max-height: 65vh;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }
    .conv-phone-img {
        max-height: 70vh;
        width: auto;
        max-width: 420px;
    }
    
    /* Smart text heading */
    .smart-text h2 {
        font-size: clamp(26px, 6vw, 38px);
    }
    
    /* Kurangi section padding di tablet */
    .conv-section,
    .smart-section { padding-top: 48px; padding-bottom: 48px; }
    
    /* Jangan biarkan phone wrap punya height berlebih */
    .debt-phone-wrap,
    .focus-phone-wrap,
    .conv-phone-wrap { 
        min-height: unset; 
        max-height: 70vh;
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    /* Di HP kecil, batasi lebih ketat */
    .debt-phone-img { max-height: 55vh; }
    .focus-phone-img { max-height: 55vh; }
    .conv-phone-img { max-height: 65vh; max-width: 380px; }
    
    .smart-text h2 { font-size: clamp(24px, 8vw, 36px); }
    
    /* Section spacing lebih compact */
    .conv-section,
    .smart-section { padding-top: 40px; padding-bottom: 40px; }
    
    /* Alloc icon dengan image */
    .alloc-icon { width: 26px; height: 26px; }
    .alloc-icon img { width: 16px; height: 16px; }
}


/* ============================================================
   INTERACTIVE FEATURES — DiPo V5
   ============================================================ */

/* ── Scroll Progress Bar ── */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #60a5fa, var(--purple));
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 99px 99px 0;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ── Cursor Glow ── */
#cursor-glow {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.07) 0%, transparent 65%);
    transform: translate(-50%, -50%);
    transition: opacity .4s ease;
    opacity: 0;
}

/* ── Ripple ── */
.ripple-wrap { position: relative; overflow: hidden; }
.ripple-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transform: scale(0);
    animation: ripple-expand .6s linear forwards;
    pointer-events: none;
}
@keyframes ripple-expand {
    to { transform: scale(4); opacity: 0; }
}

/* ── Magnetic Button ── */
.btn-primary, .pricing-btn.royal-btn {
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

/* ── Floating CTA Bar ── */
#floating-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 999px;
    padding: 10px 10px 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 30px rgba(34,197,94,0.1);
    transition: transform .5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity .4s ease;
    opacity: 0;
    z-index: 500;
    white-space: nowrap;
}
#floating-cta.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.floating-cta-text {
    font-size: 13px;
    color: var(--text-muted);
}
.floating-cta-text strong { color: var(--text); }
#floating-cta .btn {
    padding: 10px 20px;
    font-size: 13px;
}
.floating-cta-close {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    align-self: center;
    transition: background .2s, color .2s;
}
.floating-cta-close:hover { background: rgba(255,255,255,0.12); color: var(--text); }

/* ── Typewriter cursor ── */
.tw-cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--accent-bright);
    margin-left: 2px;
    vertical-align: middle;
    border-radius: 2px;
    animation: tw-blink .8s step-end infinite;
}
@keyframes tw-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Counter animation ── */
.count-el { display: inline-block; }

/* ── Income Calculator (Smart Budget) ── */
.income-calc-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 20px;
    max-width: 460px;
    width: 100%;
    transition: border-color .3s;
}
.income-calc-wrap:focus-within {
    border-color: rgba(34,197,94,0.4);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.06);
}
.income-calc-label {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    font-weight: 500;
}
.income-calc-field {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 140px;
}
.income-calc-prefix {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-bright);
    flex-shrink: 0;
}
.income-calc-input {
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    min-width: 80px;
}
.income-calc-input::placeholder { color: var(--text-dim); font-weight: 500; }

/* Rp amount shown in alloc-row */
.alloc-rp {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 1px;
    transition: opacity .3s;
    display: block;
}

/* ── Savings Calculator ── */
.savings-calc-section {
    padding: 0 0 40px;
    position: relative;
    z-index: 1;
}
.savings-calc-card {
    background: linear-gradient(135deg, rgba(34,197,94,0.07), rgba(34,197,94,0.02));
    border: 1px solid rgba(34,197,94,0.25);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
}
.savings-calc-card .sc-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.savings-calc-card .sc-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.sc-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.sc-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.sc-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: border-color .25s, box-shadow .25s;
}
.sc-input-wrap:focus-within {
    border-color: rgba(34,197,94,0.4);
    box-shadow: 0 0 0 3px rgba(34,197,94,0.06);
}
.sc-input-wrap span {
    font-size: 13px;
    color: var(--accent-bright);
    font-weight: 700;
    flex-shrink: 0;
}
.sc-input {
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    width: 100%;
}
.sc-input::placeholder { color: var(--text-dim); font-weight: 400; }
.sc-result {
    background: var(--surface);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    border: 1px solid var(--border);
    transition: all .4s ease;
}
.sc-result.has-result {
    border-color: rgba(34,197,94,0.3);
    background: rgba(34,197,94,0.06);
    flex-direction: column;
    gap: 4px;
    align-items: center;
}
.sc-result-number {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-bright);
    line-height: 1.1;
}
.sc-result-label { font-size: 13px; color: var(--text-muted); }
.sc-result-sub { font-size: 11px; color: var(--text-dim); }

/* ── Debt Payoff Calculator ── */
.debt-calc-wrap {
    margin-top: 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    max-width: 460px;
    transition: border-color .3s;
}
.debt-calc-wrap:focus-within { border-color: rgba(168,85,247,0.4); }
.debt-calc-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.debt-calc-title svg { color: var(--purple); }
.debt-calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.debt-calc-field label {
    display: block;
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.debt-calc-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    transition: border-color .25s;
}
.debt-calc-input-wrap:focus-within { border-color: rgba(168,85,247,0.4); }
.debt-calc-input-wrap span {
    font-size: 12px; font-weight: 700; color: var(--purple); flex-shrink: 0;
}
.debt-calc-input {
    background: none; border: none; outline: none;
    color: var(--text); font-family: var(--font-display);
    font-size: 14px; font-weight: 700; width: 100%;
}
.debt-calc-input::placeholder { color: var(--text-dim); font-weight: 400; font-size: 13px; }
.debt-calc-result {
    font-size: 13px;
    color: var(--text-muted);
    padding: 10px 14px;
    background: rgba(168,85,247,0.06);
    border-radius: 8px;
    border: 1px solid rgba(168,85,247,0.15);
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all .35s ease;
}
.debt-calc-result .dc-highlight {
    color: #a78bfa;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-display);
}

/* ── Stats ticker (social proof strip) ── */
.stats-strip {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 48px 0 0;
    padding: 28px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-bright);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
    transition: transform .25s ease, color .25s ease;
}

/* Live user counter dot */
.stat-live-dot-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.stat-live-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-bright);
    animation: rate-dot-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Currency display: IDR & USD */
.stat-currency-text {
    font-size: 24px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}
.stat-currency-sep {
    font-size: 16px;
    color: var(--text-dim);
    font-weight: 400;
}

/* New release badge */
.stat-new-badge {
    font-size: 20px;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, var(--accent-bright), #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 3s ease-in-out infinite;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ── Tilt cards ── */
.tilt-card { transform-style: preserve-3d; will-change: transform; }
.tilt-card .card-glow { transition: opacity .3s, transform .3s; }

/* ── Particle canvas ── */
#hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* ── FAQ smooth animation ── */
.faq-a {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height .4s ease, padding .3s ease;
    border-top: none;
}
.faq-item[open] .faq-a {
    max-height: 400px;
    padding-top: 16px;
    padding-bottom: 20px;
    border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 960px) {
    #floating-cta { width: calc(100% - 32px); border-radius: 16px; }
    .floating-cta-text { font-size: 12px; }
    .sc-inputs { grid-template-columns: 1fr; }
    .debt-calc-row { grid-template-columns: 1fr; }
    .savings-calc-card { padding: 24px 20px; }
}
@media (max-width: 640px) {
    .stats-strip { gap: 24px; padding: 20px 16px; }
    .stat-number { font-size: 26px; }
    .income-calc-wrap { flex-direction: column; align-items: flex-start; }
    .income-calc-label { white-space: normal; }
    .income-calc-field { width: 100%; flex: none; }
    .savings-calc-card { padding: 20px 16px; }
    .sc-result-number { font-size: 22px; }

    /* Floating CTA: fix overflow on small screens */
    #floating-cta {
        white-space: normal;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
    }
    .floating-cta-text { font-size: 11px; flex: 1; min-width: 0; }
}
