/* Landing page. Memakai token dari brand.css (navy, kuning, Poppins). */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--brand-text); background: #fff; -webkit-font-smoothing: antialiased; line-height: 1.6; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand-navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 2px; border-radius: 6px; }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 14.5px; padding: 12px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn-yellow { background: var(--brand-yellow); color: var(--brand-navy); }
.btn-yellow:hover { background: #e5ad08; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--brand-navy); border-color: #cbd5e1; }
.btn-outline:hover { border-color: var(--brand-navy); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* Navigasi */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--brand-border); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--brand-navy); letter-spacing: -.3px; }
.logo-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-yellow); display: grid; place-items: center; }
.logo-mark svg { width: 22px; height: 22px; }
.nav-links { display: none; margin-left: auto; gap: 28px; font-size: 14px; font-weight: 500; color: var(--brand-muted); }
.nav-links a:hover { color: var(--brand-navy); }
.nav-row .btn { margin-left: auto; padding: 9px 20px; }
@media (min-width: 820px) { .nav-links { display: flex; } .nav-row .btn { margin-left: 8px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--brand-tint) 100%); }
.hero::before, .hero::after { content: ''; position: absolute; border: 2px solid var(--brand-navy); border-radius: 50%; opacity: .06; pointer-events: none; }
.hero::before { width: 620px; height: 620px; right: -160px; top: -240px; }
.hero::after { width: 380px; height: 380px; right: 120px; top: -140px; }
.hero-grid { position: relative; display: grid; gap: 56px; padding: 64px 0 72px; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; color: var(--brand-blue); margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.12; font-weight: 700; letter-spacing: -1px; color: var(--brand-navy); }
.hero h1 span { background: linear-gradient(transparent 62%, rgba(247, 189, 12, .55) 62%); }
.lead { margin-top: 20px; font-size: 17px; color: var(--brand-muted); max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--brand-text); }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23033780' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; flex: none; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; padding: 88px 0 96px; } }

/* Ilustrasi HP */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.phone { width: 290px; border-radius: 34px; background: #fff; border: 8px solid #10182b; box-shadow: 0 30px 60px rgba(10, 42, 94, .25); overflow: hidden; }
.phone-head { display: flex; align-items: center; gap: 10px; padding: 26px 16px 44px; background: var(--brand-navy); color: #fff; }
.phone-logo { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-yellow); flex: none; }
.phone-head strong { display: block; font-size: 12.5px; font-weight: 600; line-height: 1.3; }
.phone-head small { display: block; font-size: 10.5px; color: #b7c8e4; }
.phone-sheet { position: relative; margin-top: -24px; background: #fff; border-radius: 20px 20px 0 0; padding: 18px 16px 22px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.ok-ring { width: 44px; height: 44px; border-radius: 50%; background: #e3f4e8; color: #1e8e3e; display: grid; place-items: center; }
.ok-ring svg { width: 22px; height: 22px; }
.phone-sheet b { color: var(--brand-navy); font-size: 15px; }
.kode { display: grid; gap: 2px; width: 100%; padding: 10px; border: 2px dashed var(--brand-navy); border-radius: 12px; background: var(--brand-tint); color: var(--brand-navy); font-weight: 700; font-size: 26px; letter-spacing: .18em; line-height: 1.2; }
.kode small { font-size: 8.5px; letter-spacing: 1.4px; color: var(--brand-blue); font-weight: 600; }
.phone dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 10px; width: 100%; margin: 0; padding: 12px; border: 1px solid var(--brand-border); border-radius: 12px; font-size: 11.5px; text-align: left; }
.phone dt { color: var(--brand-muted); }
.phone dd { margin: 0; font-weight: 500; text-align: right; color: var(--brand-text-strong); }
.pill { font-style: normal; background: #fef3c7; color: #b45309; border-radius: 999px; padding: 2px 8px; font-size: 10.5px; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--brand-border); box-shadow: 0 12px 28px rgba(10, 42, 94, .14); font-size: 13px; }
.float strong { display: block; color: var(--brand-navy); font-weight: 600; line-height: 1.3; }
.float small { display: block; color: var(--brand-muted); font-size: 11.5px; }
.float svg { width: 26px; height: 26px; flex: none; }
.float-a { right: 0; top: 70px; }
.float-b { left: 0; bottom: 70px; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.dot-green { background: #1e8e3e; box-shadow: 0 0 0 5px #e3f4e8; }
@media (max-width: 520px) { .float-a { right: -4px; top: 30px; } .float-b { left: -4px; bottom: 30px; } .phone { width: 260px; } }

/* Seksi umum */
.section { padding: 80px 0; }
.section-tint { background: var(--brand-page); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2, .security h2 { font-size: clamp(26px, 4vw, 36px); line-height: 1.2; font-weight: 700; letter-spacing: -.6px; color: var(--brand-navy); }
.section-head p:last-child { margin-top: 14px; color: var(--brand-muted); }

/* Fitur */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { padding: 28px; background: #fff; border: 1px solid var(--brand-border); border-radius: 20px; box-shadow: 0 8px 24px rgba(10, 42, 94, .06); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(10, 42, 94, .12); }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand-tint); color: var(--brand-navy); margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 17px; font-weight: 600; color: var(--brand-navy); margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--brand-muted); }
.soon { margin-top: 28px; text-align: center; font-size: 14px; color: var(--brand-muted); }
.soon b { color: var(--brand-navy); font-weight: 600; }

/* Cara kerja */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { position: relative; padding: 28px 24px; background: #fff; border-radius: 20px; border: 1px solid var(--brand-border); }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand-navy); color: var(--brand-yellow); font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 16.5px; font-weight: 600; color: var(--brand-navy); margin-bottom: 6px; }
.steps p { font-size: 14px; color: var(--brand-muted); }

/* Keamanan */
.security { display: grid; gap: 40px; align-items: start; }
.lead-sm { margin-top: 14px; color: var(--brand-muted); max-width: 440px; }
.checks { display: grid; gap: 14px; }
.checks li { position: relative; padding: 16px 18px 16px 52px; border: 1px solid var(--brand-border); border-radius: 16px; background: #fff; font-size: 14.5px; color: var(--brand-muted); }
.checks li::before { content: ''; position: absolute; left: 16px; top: 17px; width: 24px; height: 24px; border-radius: 50%; background: #e3f4e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e8e3e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks b { color: var(--brand-navy); font-weight: 600; }
@media (min-width: 900px) { .security { grid-template-columns: .8fr 1.2fr; gap: 64px; } .security > div:first-child { position: sticky; top: 100px; } }

/* Untuk siapa */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 860px; margin: 0 auto; }
.chips span { padding: 10px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--brand-border); font-size: 14.5px; font-weight: 500; color: var(--brand-navy); }

/* CTA */
.cta { background: var(--brand-navy); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border: 2px solid #fff; border-radius: 50%; opacity: .08; }
.cta-row-wide { position: relative; display: grid; gap: 24px; padding: 56px 0; align-items: center; }
.cta h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; letter-spacing: -.5px; line-height: 1.25; }
.cta p { margin-top: 8px; color: #b7c8e4; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 820px) { .cta-row-wide { grid-template-columns: 1fr auto; } }

/* Footer */
.foot { background: #fff; border-top: 1px solid var(--brand-border); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 24px 0; font-size: 13.5px; color: var(--brand-muted); }
.foot nav { display: flex; gap: 20px; }
.foot a:hover { color: var(--brand-navy); }

@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * { animation: rise .6s ease-out both; }
    .hero-copy > :nth-child(2) { animation-delay: .08s; }
    .hero-copy > :nth-child(3) { animation-delay: .16s; }
    .hero-copy > :nth-child(4) { animation-delay: .24s; }
    .hero-copy > :nth-child(5) { animation-delay: .32s; }
    .phone { animation: rise .7s ease-out .15s both; }
    .float-a { animation: bob 5s ease-in-out infinite; }
    .float-b { animation: bob 6s ease-in-out -2s infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .card { transition: none; } }
