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

:root {
  /* bold fintech / e-wallet palette */
  --primary: #5b4fe9;
  --primary-dark: #4638d1;
  --primary-light: #7c72f0;
  --primary-soft: #eeecfd;
  --accent: #16c79a;
  --accent-soft: #e2f9f2;
  --ink: #101828;
  --ink-soft: #475467;
  --muted: #98a2b3;
  --bg: #ffffff;
  --bg-alt: #f8f9fc;
  --border: #e7e9f2;
  --radius: 20px;
  --radius-sm: 16px;
  --shadow: 0 16px 40px -14px rgba(16, 24, 40, 0.16);
  --shadow-soft: 0 10px 26px -12px rgba(16, 24, 40, 0.12);
  --shadow-primary: 0 14px 28px -10px rgba(91, 79, 233, 0.45);
  --container: 1160px;
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 14px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light {
  background: #fff;
  color: var(--primary);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(0,0,0,0.2); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 20px;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  box-shadow: var(--shadow-primary);
}
.brand-name span { color: var(--primary); }

.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-text h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 20px;
}
.hero-text h1 span {
  background: linear-gradient(90deg, var(--primary) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 40px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 24px; font-weight: 800; color: var(--ink); }
.hero-stats span { font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* ---- Phone mockup ---- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone {
  width: 290px;
  background: var(--ink);
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: var(--ink);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone-screen {
  background: var(--bg-alt);
  border-radius: 28px;
  padding: 30px 16px 16px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.app-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
}
.app-greet { font-size: 14px; font-weight: 700; color: var(--ink); }
.app-bell { font-size: 15px; }

.app-balance-card {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  border-radius: 18px;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-primary);
}
.app-balance-label { font-size: 12px; opacity: 0.85; font-weight: 600; }
.app-balance-amount { font-size: 22px; font-weight: 800; }
.app-balance-actions { display: flex; gap: 8px; margin-top: 4px; }
.app-mini-btn {
  background: rgba(255,255,255,0.2);
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 700;
}
.app-mini-btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,0.4); }

.app-section-label { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); padding: 0 4px; }

.app-wallet-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 4px; }
.app-wallet-chip {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--c, var(--primary));
  box-shadow: var(--shadow-soft);
}

.app-qris-panel {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  margin-top: auto;
}
.app-qris-code {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 8px;
}
.app-qris-caption { font-size: 12px; font-weight: 700; color: var(--ink-soft); }

.app-navbar {
  display: flex;
  justify-content: space-around;
  padding: 10px 4px 2px;
  font-size: 17px;
  opacity: 0.55;
}
.app-navbar .active { opacity: 1; }

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.chip-1 { top: 6%; left: -8%; }
.chip-2 { bottom: 10%; right: -10%; }

/* ===== Logos strip ===== */
.logos { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 26px 0; }
.logos-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.logos-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.logo-list { display: flex; gap: 30px; flex-wrap: wrap; }
.logo-list span {
  font-weight: 800;
  color: var(--ink-soft);
  font-size: 16px;
}

/* ===== Section shared ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 16px; }

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

/* Wallet cards */
.wallet-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wallet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.wallet-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
  font-weight: 800;
  border-radius: 14px;
  color: #fff;
}
.wallet-card:nth-child(1) .wallet-icon { background: #5c3ea6; }
.wallet-card:nth-child(2) .wallet-icon { background: #00aed6; }
.wallet-card:nth-child(3) .wallet-icon { background: #e2231a; }
.wallet-card:nth-child(4) .wallet-icon { background: #118eea; }
.wallet-card:nth-child(5) .wallet-icon { background: #ee4d2d; }
.wallet-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.wallet-card p { font-size: 13.5px; color: var(--muted); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 30px 24px;
  border: 1px solid var(--border);
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.step p { font-size: 14px; color: var(--muted); }

/* Feature cards */
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft);
  border-radius: 12px;
  font-size: 20px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--primary);
  margin-left: 12px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 12px; color: var(--ink-soft); font-size: 14.5px; }

/* CTA */
.cta {
  background: linear-gradient(120deg, var(--primary) 0%, #8b5cf6 100%);
  color: #fff;
  padding: 76px 0;
}
.cta-inner { text-align: center; max-width: 600px; margin: 0 auto; }
.cta h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; color: #fff; }
.cta p { opacity: 0.9; margin-bottom: 28px; }

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-soft);
  border-radius: 12px;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 15px; margin-bottom: 3px; font-weight: 700; }
.contact-item p { font-size: 14px; color: var(--muted); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg-alt);
  resize: vertical;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.form-note { text-align: center; margin-top: 14px; font-size: 13.5px; color: var(--accent); font-weight: 700; min-height: 18px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cfd3dc; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 40px;
}
.footer-brand p { margin-top: 14px; font-size: 13.5px; color: #9498a6; max-width: 280px; }
.footer-brand .brand-mark { background: var(--primary); }
.footer-brand .brand-name span { color: var(--primary-light); }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: #fff; }
.footer-col a { display: block; font-size: 14px; color: #a3a7b5; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: #7d8191;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .hero-text h1 { font-size: 32px; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
  .chip-1, .chip-2 { display: none; }
  .phone { width: 250px; }
}
