@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #111d35;
  --navy-light: #1a2942;
  --cyan: #06b6d4;
  --cyan-bright: #22d3ee;
  --pink: #ec4899;
  --pink-dark: #db2777;
  --gold: #f0d48a;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --surface: #ffffff;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0,0,0,.25);
  --shadow-sm: 0 8px 24px rgba(15,23,42,.08);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: #f0f4f8;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
}

body.page-dark { background: var(--navy); color: var(--text); }

/* ── Navbar ── */
.navbar-inti {
  background: rgba(10, 22, 40, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .75rem 0;
}
.navbar-inti .navbar-brand img { height: 36px; }
.nav-link-inti {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: .925rem;
  padding: .5rem 1rem !important;
  transition: color .2s;
}
.nav-link-inti:hover { color: #fff !important; }
.btn-nav-login {
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: .45rem 1.1rem;
}
.btn-nav-login:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-nav-cta {
  background: linear-gradient(135deg, var(--cyan), #0891b2);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: .45rem 1.25rem;
  box-shadow: 0 4px 14px rgba(6,182,212,.35);
}
.btn-nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(6,182,212,.45); }

/* ── Hero ── */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(6,182,212,.18), transparent),
              linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(6,182,212,.12);
  border: 1px solid rgba(6,182,212,.25);
  color: var(--cyan-bright);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -.02em;
}
.hero-title span {
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin: 1.25rem 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-hero-primary {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(239,68,68,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-hero-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(239,68,68,.45); }
.btn-hero-secondary {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-weight: 600;
  padding: .85rem 1.75rem;
  border-radius: 12px;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat-num { font-size: 1.75rem; font-weight: 800; color: #fff; }
.hero-stat-label { font-size: .85rem; color: var(--text-muted); }

.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}
.hero-card h5 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .85rem;
  color: var(--text-muted);
  font-size: .925rem;
}
.hero-feature-icon {
  width: 28px; height: 28px;
  background: rgba(6,182,212,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-bright);
  flex-shrink: 0;
  font-size: .85rem;
}

/* ── Sections ── */
.section-dark {
  background: var(--navy);
  padding: 5rem 0;
  color: var(--text);
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: .5rem;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
}

/* ── Feature grid ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.feature-item {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.feature-item:hover { border-color: rgba(6,182,212,.3); transform: translateY(-3px); }
.feature-item-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(6,182,212,.2), rgba(6,182,212,.05));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.feature-item h5 { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.feature-item p { color: var(--text-muted); font-size: .875rem; margin: 0; line-height: 1.6; }

/* ── Pricing ── */
.pricing-section { padding: 5rem 0; background: linear-gradient(180deg, var(--navy-mid), var(--navy)); }
.plan-card {
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  background: #fff;
  transition: transform .25s;
}
.plan-card:hover { transform: translateY(-6px); }
.plan-card.featured { outline: 2px solid var(--cyan); outline-offset: 3px; }
.plan-header-basic {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: #fff;
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .05em;
}
.plan-header-bisnis {
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan));
  color: #fff;
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: .05em;
}
.plan-body { padding: 1.75rem 1.5rem 2rem; }
.plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.plan-price small { font-size: .9rem; font-weight: 500; color: #64748b; }
.plan-old-price { color: #94a3b8; text-decoration: line-through; font-size: .95rem; margin-bottom: .25rem; }
.plan-discount {
  display: inline-block;
  background: #fef2f2;
  color: #dc2626;
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 6px;
  margin-left: .5rem;
}
.plan-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .45rem 0;
  font-size: .9rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}
.plan-features li:last-child { border-bottom: 0; }
.plan-features li::before {
  content: '✓';
  color: #10b981;
  font-weight: 800;
  flex-shrink: 0;
}
.plan-features li.locked { color: #94a3b8; }
.plan-features li.locked::before { content: '🔒'; font-size: .75rem; }
.btn-plan-buy {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none;
  color: #fff;
  font-weight: 700;
  width: 100%;
  padding: .85rem;
  border-radius: 12px;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(239,68,68,.3);
  transition: transform .2s;
}
.btn-plan-buy:hover { color: #fff; transform: translateY(-2px); }
.btn-plan-soon {
  background: #e2e8f0;
  color: #64748b;
  font-weight: 700;
  width: 100%;
  padding: .85rem;
  border-radius: 12px;
  border: none;
  cursor: not-allowed;
}

/* ── Steps ── */
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.step-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--navy-light);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
}
.step-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--cyan), #0891b2);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.step-card h5 { color: #fff; font-weight: 700; margin-bottom: .5rem; }
.step-card p { color: var(--text-muted); font-size: .875rem; margin: 0; }

/* ── Integration banner ── */
.integration-banner {
  background: linear-gradient(135deg, rgba(6,182,212,.12), rgba(6,182,212,.04));
  border: 1px solid rgba(6,182,212,.2);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.integration-banner h4 { color: #fff; font-weight: 700; margin-bottom: .35rem; }
.integration-banner p { color: var(--text-muted); margin: 0; font-size: .925rem; }
.badge-partner {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 10px;
  font-size: .875rem;
}

/* ── FAQ ── */
.faq-item {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-q {
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-a {
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--cyan), #0891b2);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin: 0 0 3rem;
}
.cta-section h3 { color: #fff; font-weight: 800; margin-bottom: .75rem; }
.cta-section p { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }
.btn-cta-white {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 12px;
  border: none;
}
.btn-cta-white:hover { background: #f8fafc; color: var(--navy); }

/* ── Footer ── */
.footer-inti {
  background: #060d18;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 0 1.5rem;
  color: var(--text-muted);
  font-size: .875rem;
}
.footer-inti h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer-inti a { color: var(--text-muted); text-decoration: none; }
.footer-inti a:hover { color: var(--cyan-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); margin-top: 2rem; padding-top: 1.5rem; }

/* ── Auth pages ── */
.auth-wrap {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 2rem 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}
.auth-split { display: grid; grid-template-columns: 1fr 1fr; max-width: 960px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
@media (max-width: 768px) { .auth-split { grid-template-columns: 1fr; } }
.auth-brand {
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.06);
}
@media (max-width: 768px) { .auth-brand { display: none; } }
.auth-brand h2 { color: #fff; font-weight: 800; font-size: 1.75rem; margin: 1.5rem 0 .75rem; }
.auth-brand p { color: var(--text-muted); line-height: 1.7; margin: 0; }
.auth-form-side { background: #fff; padding: 2.5rem; }
.auth-form-side h3 { font-weight: 800; color: var(--navy); margin-bottom: .35rem; }
.auth-form-side .subtitle { color: #64748b; font-size: .925rem; margin-bottom: 1.75rem; }
.form-control-inti {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: .7rem 1rem;
  font-size: .925rem;
}
.form-control-inti:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(6,182,212,.15); }
.btn-auth-submit {
  background: linear-gradient(135deg, var(--cyan), #0891b2);
  border: none;
  color: #fff;
  font-weight: 700;
  width: 100%;
  padding: .8rem;
  border-radius: 10px;
  margin-top: .5rem;
}

/* ── Dashboard app layout ── */
.app-shell { display: flex; min-height: calc(100vh - 64px); }
.app-sidebar {
  width: 260px;
  background: var(--navy);
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 0;
  flex-shrink: 0;
}
@media (max-width: 768px) { .app-sidebar { display: none; } }
.app-sidebar-brand {
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 1rem;
}
.app-sidebar-brand img { height: 32px; }
.app-sidebar-plan {
  margin: 0 1rem 1rem;
  background: rgba(6,182,212,.1);
  border: 1px solid rgba(6,182,212,.2);
  border-radius: 10px;
  padding: .75rem 1rem;
  font-size: .8rem;
}
.app-sidebar-plan strong { color: var(--cyan-bright); display: block; font-size: .875rem; }
.app-sidebar-plan span { color: var(--text-muted); }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .65rem 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: .9rem;
  transition: all .15s;
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.sidebar-nav a.active {
  color: #fff;
  background: rgba(6,182,212,.1);
  border-left-color: var(--cyan);
  font-weight: 600;
}
.sidebar-nav a .lock { opacity: .5; font-size: .75rem; margin-left: auto; }
.app-main { flex: 1; padding: 1.75rem; background: #f0f4f8; overflow-x: auto; }
.page-header { margin-bottom: 1.75rem; }
.page-header h1 { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: 0; }
.page-header p { color: #64748b; margin: .25rem 0 0; font-size: .925rem; }

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8edf4;
  height: 100%;
}
.stat-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  margin-bottom: .75rem;
}
.stat-card-icon.cyan { background: rgba(6,182,212,.12); }
.stat-card-icon.green { background: rgba(16,185,129,.12); }
.stat-card-icon.gold { background: rgba(201,169,98,.15); }
.stat-label { font-size: .8rem; color: #64748b; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.stat-value { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-top: .15rem; }
.stat-meta { font-size: .8rem; color: #94a3b8; margin-top: .25rem; }

.panel-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e8edf4;
  overflow: hidden;
}
.panel-card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-card-body { padding: 1.5rem; }

.token-box {
  font-family: 'Consolas', 'Monaco', monospace;
  word-break: break-all;
  background: var(--navy);
  color: var(--cyan-bright);
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: .85rem;
  line-height: 1.6;
}
.qr-box {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius);
}
.btn-qr {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: .7rem 1.5rem;
  border-radius: 10px;
}
.qr-steps { list-style: none; padding: 0; counter-reset: step; }
.qr-steps li {
  counter-increment: step;
  display: flex;
  gap: .75rem;
  margin-bottom: .85rem;
  font-size: .925rem;
  color: #475569;
}
.qr-steps li::before {
  content: counter(step);
  width: 26px; height: 26px;
  background: rgba(6,182,212,.12);
  color: var(--cyan);
  font-weight: 700;
  font-size: .8rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.upgrade-banner {
  background: linear-gradient(135deg, rgba(236,72,153,.08), rgba(6,182,212,.08));
  border: 1px solid rgba(6,182,212,.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.upgrade-banner strong { color: var(--navy); }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 999px;
}
.status-pill.connected { background: #dcfce7; color: #166534; }
.status-pill.disconnected { background: #fef3c7; color: #92400e; }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

pre.code-block {
  background: var(--navy);
  color: #e2e8f0;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: .82rem;
  overflow-x: auto;
  margin-bottom: .75rem;
}

.navbar-app {
  background: #fff;
  border-bottom: 1px solid #e8edf4;
  padding: .65rem 0;
}
.navbar-app .navbar-brand img { height: 32px; }
