:root {
  --bg-body: #f5f5f7;
  --bg-card: #ffffff;
  --bg-soft: #f9fafb;
  --accent: #4f46e5;
  --accent-2: #3b82f6;
  --accent-soft: rgba(79, 70, 229, 0.08);
  --accent-strong: rgba(79, 70, 229, 0.18);
  --border-soft: rgba(148, 163, 184, 0.5);
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --radius-xl: 1.4rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 55%),
    radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.1), transparent 55%),
    var(--bg-body);
  color: var(--text-main);
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  min-height: 100vh;
}

/* NAVBAR */

.nav-blur {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.brand-logo-square {
  width: 32px;
  height: 32px;
  border-radius: .9rem;
  background: conic-gradient(from 150deg, #4f46e5, #22c55e, #38bdf8, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: #f9fafb;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.6);
}

.brand-title {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: -2px;
}

.nav-link {
  font-size: .86rem;
  color: var(--text-muted) !important;
  padding-inline: .7rem !important;
  transition: color .15s ease, transform .1s ease;
}

.nav-link:hover {
  color: var(--accent) !important;
  transform: translateY(-1px);
}

.nav-cta-wrapper {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .6rem;
}

@media (min-width: 992px) {
  .nav-cta-wrapper {
    margin-top: 0;
    margin-left: 1rem;
  }
}

.nav-cta {
  border-radius: 999px;
  font-size: .8rem;
  padding-inline: 1.1rem;
}

.btn-outline-primary.nav-cta {
  border-color: rgba(129, 140, 248, 0.8);
  color: var(--accent);
  background: #f5f3ff;
}

.btn-outline-primary.nav-cta:hover {
  background: #eef2ff;
}

.btn-primary.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.55);
}

.btn-primary.nav-cta:hover {
  background: linear-gradient(135deg, #4338ca, #2563eb);
}

/* Custom hamburger */

.navbar-toggler-icon {
  width: 1.3rem;
  height: 1.3rem;
  position: relative;
  background-image: none;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background-color: #4b5563;
  transition: transform .15s ease, opacity .15s ease;
}

.navbar-toggler-icon::before {
  top: 0;
}

.navbar-toggler-icon::after {
  bottom: 0;
}

.navbar-toggler-icon span {
  top: 50%;
  transform: translateY(-50%);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
  opacity: 0;
}

/* HERO */

.hero {
  padding-top: 5.6rem;
  padding-bottom: 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2.4rem;
  align-items: center;
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-title {
  font-size: clamp(2rem, 2.5vw + 1.5rem, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
  margin-bottom: .8rem;
  color: var(--text-main);
}

.hero-gradient-text {
  background: linear-gradient(135deg, #1d4ed8, #4f46e5, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: .96rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .18rem .6rem;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid rgba(129, 140, 248, 0.6);
  font-size: .74rem;
  color: #1e40af;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}

.hero-chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: .72rem;
  padding: .16rem .7rem;
  background: rgba(255, 255, 255, 0.9);
  color: #4b5563;
}

.hero-chip span {
  color: #1d4ed8;
  font-weight: 500;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem .9rem;
  margin-top: 1.3rem;
}

.btn-main {
  border-radius: 999px;
  font-size: .88rem;
  padding: .55rem 1.35rem;
  font-weight: 600;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.6);
}

.btn-main:hover {
  background: linear-gradient(135deg, #4338ca, #2563eb);
  box-shadow: 0 18px 50px rgba(79, 70, 229, 0.85);
  transform: translateY(-1px);
}

.btn-ghost {
  border-radius: 999px;
  font-size: .86rem;
  padding: .55rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.8);
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
}

.btn-ghost:hover {
  background: #e5edff;
}

.hero-meta-small {
  font-size: .78rem;
  color: var(--text-muted);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
  font-size: .8rem;
  color: var(--text-muted);
}

.hero-meta strong {
  display: block;
  color: #111827;
}

/* Hero mockup */

.hero-card {
  position: relative;
  padding: 1.3rem;
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, #eff6ff, #ffffff);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  isolation: isolate;
}

.hero-bubble {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.22), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(129, 140, 248, 0.23), transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(45, 212, 191, 0.18), transparent 55%);
  opacity: .6;
  z-index: -1;
}

.hero-badge-top {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.6);
  padding: .16rem .6rem;
  font-size: .72rem;
  color: #166534;
}

.hero-badge-top span {
  color: #16a34a;
  font-weight: 600;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.hero-screen {
  margin-top: .5rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.96);
  padding: .8rem .8rem .85rem;
  font-size: .76rem;
  color: #111827;
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.4);
}

.hero-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .65rem;
}

.hero-dots {
  display: flex;
  gap: .18rem;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #e5e7eb;
}

.hero-dot:nth-child(1) { background: #f97373; }
.hero-dot:nth-child(2) { background: #facc15; }
.hero-dot:nth-child(3) { background: #4ade80; }

.hero-screen-title {
  font-size: .78rem;
  color: #6b7280;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.hero-pill {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.75);
  padding: .14rem .6rem;
  background: #f9fafb;
  font-size: .72rem;
  color: #374151;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: .7rem;
}

.hero-metric {
  border-radius: .9rem;
  border: 1px solid rgba(209, 213, 219, 0.9);
  background: #f9fafb;
  padding: .5rem .55rem;
}

.hero-metric-label {
  font-size: .7rem;
  color: #6b7280;
}

.hero-metric-main {
  display: block;
  font-size: .9rem;
  font-weight: 600;
}

.hero-metric-sub {
  font-size: .7rem;
  color: #4b5563;
}

.hero-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
}

.hero-footer-pill {
  border-radius: 999px;
  padding: .16rem .6rem;
  font-size: .7rem;
  background: #eef2ff;
  color: #1d4ed8;
}

.hero-footer-text {
  font-size: .72rem;
  color: #6b7280;
}

/* SECTION GLOBAL */

.section-block {
  padding: 2.7rem 0;
}

@media (max-width: 767.98px) {
  .section-block {
    padding: 2.1rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  margin-bottom: .4rem;
}

.section-sub {
  font-size: .9rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-inline: auto;
}

/* FEATURE GRID */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

@media (max-width: 991.98px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.feature-card {
  border-radius: 1.1rem;
  padding: 1rem 1rem .95rem;
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.35);
  height: 100%;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.55);
  border-color: rgba(129, 140, 248, 0.9);
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .6rem;
  font-size: 1.1rem;
  background: radial-gradient(circle at top left, #e0e7ff, #eff6ff);
  border: 1px solid rgba(129, 140, 248, 0.8);
  box-shadow: 0 10px 26px rgba(79, 70, 229, 0.35);
}

.feature-title {
  font-size: .98rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

.feature-text {
  font-size: .84rem;
  color: var(--text-muted);
  margin-bottom: .5rem;
}

.feature-tag {
  font-size: .74rem;
  color: #4f46e5;
}

/* FLOW / CARA KERJA */

.flow-card {
  border-radius: 1.2rem;
  padding: 1.1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 38px rgba(148, 163, 184, 0.35);
}

.flow-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .7rem;
  align-items: flex-start;
}

.flow-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 600;
  color: #f9fafb;
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.5);
}

.flow-title {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .15rem;
}

.flow-text {
  font-size: .82rem;
  color: var(--text-muted);
}

.flow-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(148, 163, 184, 0.6), transparent);
  margin-block: .85rem;
}

/* PRICING / SKEMA PAKAI */

.pricing-card {
  border-radius: 1.2rem;
  padding: 1.15rem 1.3rem 1.2rem;
  background: linear-gradient(135deg, #eef2ff, #f0fdf4);
  border: 1px solid rgba(129, 140, 248, 0.7);
  box-shadow: 0 18px 40px rgba(129, 140, 248, 0.5);
}

.pricing-badge {
  font-size: .78rem;
  color: #166534;
  margin-bottom: .2rem;
}

.pricing-title {
  font-size: 1.05rem;
  font-weight: 650;
}

.pricing-note {
  font-size: .84rem;
  color: #065f46;
}

.pricing-list {
  font-size: .82rem;
  margin-bottom: 0;
}

.pricing-list li {
  margin-bottom: .25rem;
}

.pricing-btn {
  border-radius: 999px;
  font-size: .9rem;
  padding: .55rem 1.3rem;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.7);
}

.pricing-btn:hover {
  background: linear-gradient(135deg, #4338ca, #2563eb);
}

.pricing-footnote {
  font-size: .78rem;
  color: #065f46;
  margin-top: .5rem;
}

/* USAHA / UNTUK SIAPA */

.testi-card {
  border-radius: 1.1rem;
  padding: 1rem 1rem .95rem;
  background: var(--bg-card);
  border: 1px solid rgba(226, 232, 240, 0.95);
  font-size: .8rem;
  color: var(--text-muted);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.35);
}

.testi-name {
  font-size: .86rem;
  color: var(--text-main);
  font-weight: 500;
}

.testi-role {
  font-size: .74rem;
  color: var(--text-muted);
}

.badge-soft {
  border-radius: 999px;
  padding: .16rem .6rem;
  font-size: .7rem;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid rgba(129, 140, 248, 0.7);
}

.usaha-subtitle {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: .3rem;
}

.usaha-text {
  font-size: .86rem;
  color: var(--text-muted);
  max-width: 30rem;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1rem;
}

.chip {
  border-radius: 999px;
  padding: .18rem .6rem;
  font-size: .74rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  color: #374151;
}

.usaha-footnote {
  margin-top: 1.2rem;
  font-size: .84rem;
  color: var(--text-muted);
}

.usaha-footnote span {
  color: #111827;
}

/* FAQ */

.faq-accordion .accordion-item {
  background-color: transparent;
  border-radius: .9rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  overflow: hidden;
  margin-bottom: .7rem;
  box-shadow: 0 12px 28px rgba(148, 163, 184, 0.3);
}

.faq-accordion .accordion-button {
  background: #f9fafb;
  color: var(--text-main);
  font-size: .86rem;
  padding: .8rem 1rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, #e0e7ff, #dbeafe);
  color: #111827;
  box-shadow: inset 0 -1px 0 rgba(209, 213, 219, 0.9);
}

.faq-accordion .accordion-body {
  background: #ffffff;
  font-size: .82rem;
  color: var(--text-muted);
  padding: .8rem 1rem 1rem;
}

/* CTA FINAL */

.cta-final-box {
  border-radius: 1.4rem;
  padding: 1.5rem 1.5rem 1.6rem;
  background: linear-gradient(135deg, #e0e7ff, #bfdbfe);
  border: 1px solid rgba(129, 140, 248, 0.9);
  box-shadow: 0 25px 70px rgba(129, 140, 248, 0.8);
  text-align: center;
}

.cta-title {
  font-size: 1.4rem;
  font-weight: 650;
  letter-spacing: -0.04em;
  margin-bottom: .3rem;
}

.cta-sub {
  font-size: .9rem;
  color: #1e3a8a;
  margin-bottom: 1rem;
}

.cta-btn-main,
.cta-btn-ghost {
  border-radius: 999px;
  font-size: .9rem;
  padding: .55rem 1.4rem;
}

.cta-btn-main {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  box-shadow: 0 18px 48px rgba(79, 70, 229, 0.7);
}

.cta-btn-main:hover {
  background: linear-gradient(135deg, #4338ca, #2563eb);
}

.cta-btn-ghost {
  border-color: rgba(129, 140, 248, 0.9);
}

/* FOOTER */

.footer {
  border-top: 1px solid rgba(209, 213, 219, 0.9);
  font-size: .78rem;
  color: var(--text-muted);
  padding-block: 1rem;
}

/* WA FLOATING */

.wa-floating {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 999;
}

.wa-button {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .5rem .9rem;
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(34, 197, 94, 0.7);
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 16px 40px rgba(22, 163, 74, 0.75);
}

.wa-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-icon svg {
  width: 14px;
  height: 14px;
  fill: #16a34a;
}

.wa-label small {
  display: block;
  font-size: .67rem;
  opacity: .8;
}

/* FLOATING SECTION TOGGLE (KANAN) */

.section-toggle {
  position: fixed;
  top: 50%;
  right: 1.1rem;
  transform: translateY(-50%);
  z-index: 900;
  flex-direction: column;
  gap: .4rem;
}

.section-toggle-item {
  border: none;
  border-radius: 999px;
  padding: .28rem .55rem .28rem .35rem;
  display: flex;
  align-items: center;
  gap: .28rem;
  font-size: .74rem;
  background: rgba(255, 255, 255, 0.9);
  color: #4b5563;
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.5);
  border: 1px solid rgba(209, 213, 219, 0.85);
  cursor: pointer;
  transition: background .15s ease, transform .12s ease, box-shadow .12s ease, color .12s ease, border-color .12s ease;
}

.section-toggle-item .icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-toggle-item .label {
  white-space: nowrap;
}

.section-toggle-item:hover {
  transform: translateX(-2px);
  background: #eef2ff;
  color: #111827;
  border-color: rgba(129, 140, 248, 0.9);
}

.section-toggle-item.active {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #f9fafb;
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.8);
}

.section-toggle-item.active .icon {
  background: rgba(249, 250, 251, 0.2);
}

/* MOBILE MINI TOGGLE */

.section-toggle-mobile {
  position: fixed;
  right: .9rem;
  bottom: 4rem;
  z-index: 901;
  flex-direction: column;
  gap: .35rem;
}

.section-toggle-mobile-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(148, 163, 184, 0.6);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.section-toggle-mobile-btn:hover {
  background: #eef2ff;
  transform: translateY(-1px);
}

.section-toggle-mobile-btn.active {
  background: linear-gradient(135deg, #4f46e5, #3b82f6);
  color: #f9fafb;
  border-color: transparent;
}

/* ANIMATION */

.fade-in-up {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp .6s ease forwards;
}

.fade-in-up.delay-1 {
  animation-delay: .08s;
}
.fade-in-up.delay-2 {
  animation-delay: .16s;
}
.fade-in-up.delay-3 {
  animation-delay: .24s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE TWEAKS */

@media (max-width: 991.98px) {
  .hero-card {
    margin-top: .5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-meta {
    flex-direction: column;
  }
  .hero-cta-row {
    align-items: flex-start;
  }
  .feature-card,
  .flow-card,
  .pricing-card,
  .testi-card,
  .cta-final-box {
    border-radius: 1rem;
  }
  .wa-button {
    padding-inline: .8rem;
  }
  .section-toggle {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .section-toggle-mobile {
    display: none !important;
  }
}
