/* Aset Zeka — landing statis. Warna diambil dari tema aplikasi (mobile/lib/theme/app_colors.dart, mobile/lib/main.dart). */
:root {
  color-scheme: light;
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Roboto Mono', monospace;
  /* palet aplikasi */
  --navy: #153259;          /* latar ikon aplikasi */
  --primary: #2563eb;       /* AppColors.primary */
  --primary-dark: #1e3a8a;  /* AppColors.primaryDark / seedColor */
  --primary-soft: #eff6ff;  /* AppColors.primaryLight */
  --teal: #0d9488;          /* colorScheme.secondary */
  --emerald: #059669;       /* financeAccent */
  --emerald-soft: #ecfdf5;
  --violet: #7c3aed;        /* locationAccent */
  --violet-soft: #f5f3ff;
  --amber: #d97706;         /* maintenanceAccent */
  --amber-soft: #fffbeb;
  --sky: #0284c7;           /* photoAccent */
  --sky-soft: #f0f9ff;
  /* permukaan */
  --bg: #f8fafc;            /* screenBackground */
  --surface: #ffffff;       /* cardBackground */
  --surface-2: #f1f5f9;     /* divider */
  --line: #e2e8f0;          /* border */
  --line-strong: #cbd5e1;   /* borderHover */
  --text: #0f172a;          /* textPrimary */
  --muted: #5b6b82;         /* textSecondary, sedikit digelapkan agar kontras >= 4.5:1 */
  --accent: var(--primary);
  --accent-text: #1d4ed8;   /* badgeRequiredText */
  --accent-soft: var(--primary-soft);
  --btn-bg: var(--primary-dark);
  --btn-ink: #ffffff;
  --btn-hover: #1b3377;
  --header-bg: rgba(255, 255, 255, 0.86);
  --radius: 12px;
  --shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --primary-soft: rgba(96, 165, 250, 0.12);
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --violet-soft: rgba(167, 139, 250, 0.13);
  --amber-soft: rgba(251, 191, 36, 0.12);
  --sky-soft: rgba(56, 189, 248, 0.12);
  --emerald: #34d399;
  --violet: #a78bfa;
  --amber: #fbbf24;
  --sky: #38bdf8;
  --teal: #2dd4bf;
  --bg: #08111f;
  --surface: #0e1a2e;
  --surface-2: #13233c;
  --line: rgba(148, 178, 224, 0.16);
  --line-strong: rgba(148, 178, 224, 0.3);
  --text: #e8eefb;
  --muted: #9aabc4;
  --accent: #60a5fa;
  --accent-text: #93c5fd;
  --btn-bg: #f4f8ff;
  --btn-ink: #0b1a33;
  --btn-hover: #ffffff;
  --header-bg: rgba(8, 17, 31, 0.8);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); color: var(--text); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: 1248px; margin: 0 auto; padding-inline: 24px; }
section { padding-block: 96px; scroll-margin-top: 64px; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: var(--header-bg); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); transition: background 0.25s, border-color 0.25s; }
.site-header.at-top { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--muted); padding: 8px 12px; border-radius: 8px; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--text); background: var(--accent-soft); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line);
  background: transparent; color: var(--text); cursor: pointer; transition: border-color 0.15s; }
.icon-btn:hover { border-color: var(--accent); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn .i-sun { display: none; }
:root[data-theme='dark'] .icon-btn .i-sun { display: block; }
:root[data-theme='dark'] .icon-btn .i-moon { display: none; }
.menu-btn, .mobile-menu { display: none; }
/* header di atas hero (hero selalu navy) */
.site-header.at-top .brand, .site-header.at-top .icon-btn { color: #eef4ff; }
.site-header.at-top .nav-links a { color: #b4c6e4; }
.site-header.at-top .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-header.at-top .icon-btn { border-color: rgba(190, 212, 250, 0.25); }
.site-header.at-top .btn.primary { background: #f4f8ff; color: #0b1a33; border-color: #f4f8ff; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header.open { background: var(--header-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom-color: var(--line); }
  .site-header.open .mobile-menu { display: grid; padding: 4px 20px 16px; border-top: 1px solid var(--line); }
  .mobile-menu a { padding: 13px 0; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-menu a:last-child { border-bottom: 0; }
  .site-header.at-top.open .brand, .site-header.at-top.open .icon-btn { color: var(--text); }
  .site-header.at-top.open .icon-btn { border-color: var(--line); }
  .site-header.at-top.open .btn.primary { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
}
@media (max-width: 480px) { .nav-actions .btn { display: none; } }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 9px;
  font: 600 14px var(--font); border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.15s; white-space: nowrap; }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--btn-bg); color: var(--btn-ink); border-color: var(--btn-bg); }
.btn.primary:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn.lg { height: 48px; padding: 0 22px; border-radius: 12px; font-size: 15px; }
/* tombol unduh buatan sendiri (bukan lencana resmi toko) */
.store-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 22px 8px 16px; border-radius: 12px;
  background: #f4f8ff; color: #0b1a33; border: 1px solid #f4f8ff; transition: background 0.15s, transform 0.15s, box-shadow 0.2s; }
.store-btn:hover { text-decoration: none; background: #fff; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(3, 12, 30, 0.35); }
.store-btn:active { transform: translateY(1px); }
.store-btn svg { width: 26px; height: 26px; flex: none; color: var(--primary); }
.store-btn span { display: grid; line-height: 1.2; text-align: left; }
.store-btn small { font-size: 11.5px; font-weight: 600; color: #48597a; letter-spacing: 0.02em; }
.store-btn b { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.store-btn.on-light { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-ink); }
.store-btn.on-light:hover { background: var(--btn-hover); }
.store-btn.on-light small { color: inherit; opacity: 0.75; }
.store-btn.on-light svg { color: inherit; }
.demo-note { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #b4c6e4; }
.demo-note i, .kicker i { width: 7px; height: 7px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 10px #5eead4; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }

/* ---------- hero (selalu navy, serasi ikon aplikasi) ---------- */
.hero { position: relative; overflow: hidden; padding: 136px 0 88px; color: #eef4ff;
  background: radial-gradient(1100px 620px at 78% 18%, rgba(37, 99, 235, 0.42), transparent 62%),
    radial-gradient(700px 500px at 8% 92%, rgba(13, 148, 136, 0.2), transparent 60%),
    linear-gradient(180deg, #0b1a33 0%, #153259 58%, #12294b 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-sky i { position: absolute; border-radius: 50%; background: #dbeafe; opacity: 0.5; animation: twinkle 4.9s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.12; } }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 48px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(190, 212, 250, 0.22);
  background: rgba(8, 20, 42, 0.45); font-size: 12.5px; font-weight: 600; color: #cfe0fb; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 5.3vw, 70px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 20px; }
.hero h1 span { display: block; color: #93c5fd; }
.hero .lead { font-size: 17px; line-height: 1.62; color: #c3d2ec; max-width: 560px; margin-bottom: 30px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.hero .btn.ghost { color: #eef4ff; border-color: rgba(190, 212, 250, 0.3); background: rgba(8, 20, 42, 0.35); }
.hero .btn.ghost:hover { border-color: #93c5fd; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding: 0; list-style: none; }
.hero-facts li { font: 600 12px var(--mono); color: #b9cdf0; padding: 6px 10px; border-radius: 8px; border: 1px solid rgba(190, 212, 250, 0.18); background: rgba(8, 20, 42, 0.35); }

/* ponsel dari CSS: komponen UI sebagai grafis utama hero */
.stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.stage::before { content: ''; position: absolute; width: 420px; height: 420px; max-width: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(96, 165, 250, 0.35), transparent 68%); filter: blur(8px); }
.ring { position: absolute; width: 340px; height: 340px; border-radius: 50%; border: 1px solid rgba(147, 197, 253, 0.35); animation: ping 3.6s ease-out infinite; }
.ring.r2 { animation-delay: 1.8s; }
@keyframes ping { from { transform: scale(0.72); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }
.phone { position: relative; width: 278px; border-radius: 38px; padding: 10px; background: #0a1426; border: 1px solid rgba(190, 212, 250, 0.28);
  box-shadow: 0 40px 80px rgba(2, 8, 22, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset; animation: bob 8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(9px) rotate(0.6deg); } }
.screen { border-radius: 29px; overflow: hidden; background: #f8fafc; color: #0f172a; font-size: 11px; line-height: 1.35; }
.s-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 4px; font-weight: 700; font-size: 10px; color: #334155; }
.s-bar i { width: 54px; height: 14px; border-radius: 99px; background: #0a1426; }
.s-head { display: flex; align-items: center; gap: 8px; padding: 8px 14px 10px; }
.s-head img { width: 26px; height: 26px; border-radius: 7px; }
.s-head b { font-size: 13px; letter-spacing: -0.01em; }
.s-head span { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; color: #047857; background: #ecfdf5; padding: 3px 7px; border-radius: 99px; }
.s-head span svg { width: 9px; height: 9px; }
.s-worth { margin: 0 12px; padding: 14px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #1e3a8a, #2563eb); }
.s-worth small { display: block; font-size: 9.5px; opacity: 0.8; margin-bottom: 4px; }
.s-worth strong { display: block; font-size: 20px; letter-spacing: -0.02em; }
.s-worth div { display: flex; gap: 14px; margin-top: 10px; font-size: 9.5px; opacity: 0.92; }
.s-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px; }
.s-quick div { display: grid; justify-items: center; gap: 5px; font-size: 8.5px; font-weight: 600; color: #475569; text-align: center; }
.s-quick i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; }
.s-quick svg { width: 16px; height: 16px; }
.s-list { margin: 0 12px 12px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.s-row { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-bottom: 1px solid #f1f5f9; }
.s-row:last-child { border-bottom: 0; }
.s-row i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; }
.s-row svg { width: 14px; height: 14px; }
.s-row div { min-width: 0; }
.s-row b { display: block; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-row small { font-size: 9px; color: #64748b; }
.s-row em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 10px; white-space: nowrap; }
.s-nav { display: flex; justify-content: space-around; padding: 9px 0 12px; background: #fff; border-top: 1px solid #e2e8f0; font-size: 8.5px; font-weight: 700; color: #94a3b8; }
.s-nav span { display: grid; justify-items: center; gap: 3px; }
.s-nav svg { width: 15px; height: 15px; }
.s-nav .on { color: #1e3a8a; }
.t-blue { background: #eff6ff; color: #2563eb; } .t-green { background: #ecfdf5; color: #059669; }
.t-violet { background: #f5f3ff; color: #7c3aed; } .t-amber { background: #fffbeb; color: #d97706; }
.float { position: absolute; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 12px; font-size: 12px; font-weight: 600; color: #e6efff;
  background: rgba(10, 24, 48, 0.78); border: 1px solid rgba(190, 212, 250, 0.24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 34px rgba(2, 8, 22, 0.4); }
.float svg { width: 16px; height: 16px; color: #5eead4; flex: none; }
.float code { display: block; font: 500 10.5px var(--mono); color: #93c5fd; }
.float.f1 { top: 74px; left: -6px; animation: bob 7s ease-in-out -2s infinite; }
.float.f2 { bottom: 86px; right: -8px; animation: bob 9s ease-in-out -4s infinite; }

/* ---------- kepala section ---------- */
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 12px; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 16.5px; max-width: 620px; }

/* ---------- E2EE ---------- */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.1fr) 72px minmax(0, 1fr); align-items: stretch; margin-bottom: 12px; }
.node { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.alt .node { background: var(--bg); }
.node-top { display: flex; align-items: center; gap: 10px; }
.node-top .ico { margin: 0; }
.node-top b { display: block; font-size: 15px; letter-spacing: -0.01em; }
.node-top small { color: var(--muted); font-size: 12.5px; }
.doc { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 12px 14px; font-size: 13px; display: grid; gap: 6px; }
.doc div { display: flex; justify-content: space-between; gap: 12px; }
.doc span { color: var(--muted); }
.doc b { font-weight: 700; text-align: right; }
.tag { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; }
.tag svg { width: 12px; height: 12px; }
.tag.ok { background: var(--emerald-soft); color: var(--emerald); }
.tag.lock { background: var(--surface-2); color: var(--muted); }
.node.server { background: #0b1a33; border-color: #1f3a66; color: #e6efff; position: relative; overflow: hidden; }
.node.server .node-top small { color: #9db3d6; }
.node.server .ico { background: rgba(96, 165, 250, 0.14); border-color: rgba(147, 197, 253, 0.25); color: #93c5fd; }
.cipher { position: relative; border: 1px solid rgba(147, 197, 253, 0.2); background: #071225; border-radius: 12px; padding: 12px 14px; font: 500 12px/1.7 var(--mono); color: #7fb0f5; word-break: break-all; min-height: 96px; }
.cipher .scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #5eead4, transparent); box-shadow: 0 0 14px #5eead4; opacity: 0; }
.in-view .cipher .scan { animation: scan 3.4s ease-in-out infinite; }
@keyframes scan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.node.server .tag.lock { background: rgba(148, 178, 224, 0.14); color: #b9cdf0; }
.pipe { position: relative; display: grid; place-items: center; }
.pipe::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 6px, transparent 6px 16px); opacity: 0.75; animation: flow-x 1.1s linear infinite; }
@keyframes flow-x { to { background-position: 16px 0; } }
@keyframes flow-y { to { background-position: 0 16px; } }
.pipe span { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); color: var(--accent-text); }
.pipe span svg { width: 15px; height: 15px; }
.flow-cap { color: var(--muted); font-size: 13px; margin-bottom: 44px; }

.grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: border-color 0.2s, transform 0.2s; }
.alt .card { background: var(--bg); }
.card:hover { border-color: var(--line-strong); }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.015em; line-height: 1.3; }
.card p { color: var(--muted); font-size: 14.5px; }
.ico { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--line); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 16px; flex: none; }
.ico svg { width: 18px; height: 18px; }
.ico.green { background: var(--emerald-soft); color: var(--emerald); }
.ico.violet { background: var(--violet-soft); color: var(--violet); }
.ico.amber { background: var(--amber-soft); color: var(--amber); }
.ico.sky { background: var(--sky-soft); color: var(--sky); }

.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.honest .card ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.honest li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); }
.honest li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; }
.honest .yes svg { color: var(--emerald); }
.honest .no svg { color: var(--amber); }
.warn { margin-top: 12px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--amber) 40%, var(--line)); background: var(--amber-soft); }
.warn svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 2px; }
.warn p { font-size: 14.5px; }
.warn b { display: block; margin-bottom: 2px; }

/* ---------- fitur: bento 3 kolom ---------- */
.bento { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bento .card { position: relative; overflow: hidden; min-height: 196px; display: flex; flex-direction: column; }
.bento .card:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateY(-2px); }
.bento .card.wide { grid-column: span 2; }
.bento .card::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); pointer-events: none; }
.bento .card p { max-width: 560px; }
.chips { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }

/* ---------- langkah ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.step { position: relative; padding: 24px 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-ink); font-weight: 800; font-size: 15px; margin-bottom: 18px; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- paket ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.hot { border-color: var(--accent); box-shadow: var(--shadow); }
.plan .badge { align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 12px; }
.plan h3 { font-size: 18px; }
.price { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 2px; }
.price small { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .alt-price { font-size: 13px; color: var(--muted); min-height: 21px; }
.plan ul { margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; gap: 9px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { width: 16px; height: 16px; color: var(--emerald); flex: none; margin-top: 4px; }
.fine { color: var(--muted); font-size: 13px; margin-top: 18px; max-width: 760px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; display: grid; gap: 8px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 700; font-size: 16px; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); max-width: 720px; }
.faq details p + p { margin-top: -8px; }

/* ---------- CTA akhir & footer ---------- */
.final { text-align: center; color: #eef4ff; background: radial-gradient(800px 400px at 50% 0%, rgba(37, 99, 235, 0.45), transparent 65%), linear-gradient(180deg, #153259, #0b1a33); }
.final img { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 22px; box-shadow: 0 18px 40px rgba(2, 8, 22, 0.45); }
.final h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; max-width: 760px; margin: 0 auto 14px; }
.final p { color: #c3d2ec; max-width: 560px; margin: 0 auto 28px; font-size: 16.5px; }
.final .cta { display: grid; justify-items: center; gap: 14px; }
footer { padding: 32px 0; border-top: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { color: var(--muted); font-weight: 600; }
.foot a:hover { color: var(--text); }

/* ---------- halaman teks (privasi) ---------- */
.page { padding: 120px 0 80px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; margin-bottom: 12px; }
.prose .lead { color: var(--muted); font-size: 16.5px; margin-bottom: 36px; }
.prose h2 { font-size: 21px; font-weight: 700; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.prose p + p { margin-top: 10px; }
.prose ul { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.prose strong { color: var(--text); }
.prose .card { margin-bottom: 8px; }

/* ---------- animasi muncul saat digulir (IntersectionObserver) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .hero .rise { opacity: 0; transform: translateY(18px); animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: var(--d, 0ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- responsif ---------- */
@media (max-width: 1040px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 24px; }
  .float.f1 { left: -2px; } .float.f2 { right: -2px; }
}
@media (max-width: 900px) {
  .hero { padding: 112px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .stage { min-height: 540px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .pipe { height: 60px; }
  .pipe::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0 0 0 -1px;
    background: repeating-linear-gradient(180deg, var(--accent) 0 6px, transparent 6px 16px); animation-name: flow-y; }
  .pipe span svg { transform: rotate(90deg); }
  .steps, .plans { grid-template-columns: 1fr; }
  .honest { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  section { padding-block: 64px; }
  .wrap { padding-inline: 20px; }
  .sec-head { margin-bottom: 32px; }
  .hero .lead { font-size: 16px; }
}
@media (max-width: 620px) {
  .bento, .grid { grid-template-columns: 1fr; }
  .bento .card.wide { grid-column: auto; }
  .bento .card { min-height: 0; }
  .store-btn { width: 100%; justify-content: center; }
  .hero .cta .btn { width: 100%; }
  .float.f1 { top: 28px; left: 0; } .float.f2 { bottom: 40px; right: 0; }
  .float { font-size: 11px; padding: 8px 10px; }
  .phone { width: 256px; }
  .final .store-btn { width: auto; }
}
