/* ==========================================================================
   MADRASAQU DESIGN SYSTEM
   Strict Light-Mode, Enterprise-Grade Educational SaaS
   Design Tokens & Motion Architecture based on UI/UX Pro Max
   ========================================================================== */

:root {
  /* Brand Colors */
  --navy: #0F2D62;
  --navy-dark: #0A1E40;
  --navy-light: #1E3A8A;
  --royal: #2563EB;
  --royal-dark: #1D4ED8;
  --royal-light: #3B82F6;
  --sky: #38BDF8;
  --sky-dark: #0284C7;
  --sky-light: #E0F2FE;
  --soft-blue: #EFF6FF;
  --soft-blue-border: #DBEAFE;
  --gold: #F59E0B;
  --gold-dark: #D97706;
  --gold-light: #FEF3C7;

  /* Neutrals & Canvas */
  --ink: #0F172A;
  --muted: #475569;
  --muted-light: #64748B;
  --line: #E2E8F0;
  --line-subtle: #F1F5F9;
  --bg: #FFFFFF;
  --bg-tint: #F4F7FB;
  --bg-alt: #F8FAFC;

  /* Utility & Feedback */
  --wa: #16A34A;
  --wa-dark: #15803D;
  --emerald: #10B981;
  --emerald-light: #DCFCE7;

  /* Spacing & Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Elevation Shadows (Soft Multi-Layer Navy-Tinted) */
  --sh-sm: 0 1px 2px rgba(15, 45, 98, 0.05);
  --sh: 0 4px 20px -2px rgba(15, 45, 98, 0.06), 0 2px 6px -1px rgba(15, 45, 98, 0.04);
  --sh-lg: 0 14px 34px -4px rgba(15, 45, 98, 0.1), 0 4px 12px -2px rgba(15, 45, 98, 0.05);
  --sh-glow: 0 0 28px rgba(37, 99, 235, 0.16);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--royal);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--royal-dark);
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.5em;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 800;
}

h3, .h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

/* Tabular Nums Requirement (All KPI, Prices & Metrics) */
.tabular-nums,
.kpi-num,
.stat-num,
.price-val,
.tbl-num,
.metric-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Layout Wrappers */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 780px;
}

.center {
  text-align: center;
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}

.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  z-index: 9999;
  background: #FFFFFF;
  color: var(--navy);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-lg);
  font-weight: 700;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  line-height: 1.2;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--royal);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  background: var(--royal-dark);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.36);
  transform: translateY(-1px);
}

.btn-ghost {
  background: #FFFFFF;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--royal);
  color: var(--royal);
  background: var(--soft-blue);
  transform: translateY(-1px);
}

.btn-wa {
  background: var(--wa);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.24);
}

.btn-wa:hover {
  background: var(--wa-dark);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.32);
  transform: translateY(-1px);
}

.btn-white {
  background: #FFFFFF;
  color: var(--navy);
  box-shadow: var(--sh);
}

.btn-white:hover {
  background: var(--soft-blue);
  color: var(--royal);
  transform: translateY(-1px);
}

/* Section Eyebrow (Clean Title Case, No Box, No Border, No Line) */
.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563EB;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-transform: none;
  background: transparent;
  border: none;
  padding: 0;
}

.eyebrow::before {
  display: none;
}

.center-head .eyebrow,
.center .eyebrow {
  text-align: center;
}

/* Hero Eyebrow: Tactile SaaS Chip with 6px Blue Indicator Dot */
.hero .eyebrow,
.eyebrow-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(15, 45, 98, 0.06);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0F2D62;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 18px;
}

.hero .eyebrow::before,
.eyebrow-hero::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563EB;
  flex-shrink: 0;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 58ch;
  line-height: 1.65;
}

/* ==========================================================================
   Header: Floating Island Glass Navbar
   ========================================================================== */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: all 0.25s ease;
}

.fx .hdr {
  padding-top: 12px;
  pointer-events: none;
}

.fx .hdr-in {
  pointer-events: auto;
  height: 64px;
  max-width: 1140px;
  width: calc(100% - 24px);
  margin: 0 auto;
  padding: 0 12px 0 20px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: saturate(1.8) blur(16px);
  -webkit-backdrop-filter: saturate(1.8) blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--r-full);
  box-shadow: 0 4px 24px -6px rgba(15, 45, 98, 0.06), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.fx .hdr.scrolled .hdr-in {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(219, 234, 254, 0.95);
  box-shadow: 0 10px 32px -4px rgba(15, 45, 98, 0.12), 0 1px 0 #fff inset;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  height: 38px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: var(--r-full);
  transition: background 0.15s, color 0.15s;
}

.nav a:hover {
  background: var(--soft-blue);
  color: var(--royal);
}

.nav a.is-active,
.nav a.active {
  background: var(--soft-blue);
  color: var(--royal);
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--royal);
}

.hdr-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav-login {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: #FFFFFF;
  transition: all 0.15s;
}

.btn-nav-login:hover {
  border-color: var(--royal);
  color: var(--royal);
  background: var(--soft-blue);
}

.burger {
  display: none;
  margin-left: auto;
  background: var(--soft-blue);
  border: 1px solid var(--soft-blue-border);
  color: var(--navy);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  place-items: center;
  cursor: pointer;
}

.mnav {
  position: absolute;
  right: 14px;
  top: 76px;
  width: min(300px, calc(100vw - 28px));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: auto;
}

.mnav[hidden] {
  display: none;
}

.mnav a {
  padding: 12px 16px;
  border-radius: var(--r-md);
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.mnav a:hover {
  background: var(--soft-blue);
  color: var(--royal);
}

.mnav a.is-active,
.mnav a.active {
  background: var(--soft-blue);
  color: var(--royal);
  font-weight: 700;
  border-left: 3px solid var(--royal);
}

.mnav .btn {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .nav, .hdr-cta-group { display: none; }
  .burger { display: grid; }
}

/* ==========================================================================
   Hero Section & Cursor-Responsive Floating Assets
   ========================================================================== */
.hero {
  position: relative;
  background: #FFFFFF;
  padding: 60px 0 48px;
  overflow: hidden;
}

.home .hdr {
  margin-bottom: -76px;
}

.home .hero {
  padding-top: 120px;
}

@media (max-width: 900px) {
  .home .hdr { margin-bottom: 0; }
  .home .hero { padding-top: 36px; }
}

.hero-in {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-txt {
  position: relative;
  z-index: 2;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  border-top: 1px solid var(--line-subtle);
  padding-top: 18px;
  margin-top: 10px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  color: var(--royal);
  width: 18px;
  height: 18px;
}

/* 3D Floating Stage in Hero */
.hx-vis {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 24px 20px;
}

.hx-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  perspective: 1200px;
  padding: 40px 28px;
  overflow: visible;
}

.hx-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(37, 99, 235, 0.08) 55%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 1;
}

/* Main Dashboard Preview Mockup Frame */
.hx-win {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px -6px rgba(15, 45, 98, 0.12), 0 4px 12px -2px rgba(15, 45, 98, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease-out;
}

.hx-win-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--line);
}

.hx-win-dots {
  display: flex;
  gap: 5px;
}

.hx-win-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.hx-win-dots span:nth-child(1) { background: #EF4444; opacity: 0.75; }
.hx-win-dots span:nth-child(2) { background: #F59E0B; opacity: 0.75; }
.hx-win-dots span:nth-child(3) { background: #10B981; opacity: 0.75; }

.hx-win-url {
  margin-left: 8px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.hx-win-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 3 Floating Assets Cards (Micro-Widgets Ringkas di Tepi Luar Frame) */
.hero-float-card {
  position: absolute;
  z-index: 5;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(15, 45, 98, 0.10), 0 2px 6px rgba(15, 45, 98, 0.04);
  padding: 8px 12px;
  max-width: 195px;
  transition: transform 0.25s ease-out;
  animation: hxFloat 6s ease-in-out infinite;
  white-space: nowrap;
}

.hero-float-card.float-1 {
  top: 6px;
  left: -12px;
  animation-delay: 0s;
}

.hero-float-card.float-2 {
  top: 12px;
  right: -12px;
  animation-delay: -2s;
}

.hero-float-card.float-3 {
  bottom: 6px;
  left: -12px;
  animation-delay: -4s;
}

.hfc-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 2px;
}

.hfc-val {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.hfc-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--wa-dark);
  background: var(--emerald-light);
  padding: 2px 6px;
  border-radius: var(--r-full);
}

@keyframes hxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 1100px) {
  .hero-float-card.float-1 { left: -10px; }
  .hero-float-card.float-2 { right: -12px; }
  .hero-float-card.float-3 { left: -10px; }
}

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .lead { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-float-card { display: none; }
  .hx-vis { min-height: auto; }
}

/* ==========================================================================
   Section Alternating Styles
   ========================================================================== */
.sec {
  padding: 80px 0;
  position: relative;
}

.sec-tint {
  background: var(--bg-tint);
}

.sec-head {
  max-width: 680px;
  margin-bottom: 44px;
}

.center-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Section 3: Problem & Core Solution Strip
   ========================================================================== */
.prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.prob-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prob-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.prob-ic {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--soft-blue);
  color: var(--royal);
  margin-bottom: 20px;
}

.prob-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.prob-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .prob-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Section 4: Interactive Module Preview (7 Modul Utama)
   ========================================================================== */
.mod-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
}

.mod-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mod-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: inherit;
}

.mod-tab:hover {
  background: var(--bg-alt);
  color: var(--royal);
}

/* Vertical 3px Royal Blue Accent Pill on Active Tab */
.mod-tab.is-active {
  background: var(--soft-blue);
  color: var(--royal);
  font-weight: 700;
  border-color: var(--soft-blue-border);
}

.mod-tab.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3.5px;
  background: var(--royal);
  border-radius: 99px;
}

.mod-tab-idx {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--line-subtle);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.mod-tab.is-active .mod-tab-idx {
  background: var(--royal);
  color: #FFFFFF;
}

.mod-panel {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--sh);
}

.mod-panel[hidden] {
  display: none;
}

.mod-panel-head {
  margin-bottom: 24px;
}

.mod-panel-head h3 {
  font-size: 1.45rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.mod-panel-head p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

.mod-preview-box {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  margin: 20px 0;
  box-shadow: var(--sh-sm);
}

.mod-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.mod-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}

.mod-features svg {
  color: var(--royal);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 900px) {
  .mod-grid { grid-template-columns: 1fr; }
  .mod-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .mod-tab { white-space: nowrap; flex: 0 0 auto; }
  .mod-tab.is-active::before {
    left: 8px; right: 8px; top: auto; bottom: 0;
    width: auto; height: 3.5px;
  }
  .mod-features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Section 5: Solusi Per Segmen Lembaga
   ========================================================================== */
.seg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.seg-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.seg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--royal);
}

.seg-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--soft-blue);
  color: var(--royal);
  margin-bottom: 18px;
}

.seg-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.seg-card p {
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 16px;
}

.seg-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--royal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 960px) {
  .seg-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .seg-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Section 6: Pricing Packages (Basic, Pro, Custom) & Cycle Toggle
   ========================================================================== */
.price-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

.price-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 4px;
}

.price-toggle-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 18px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.price-toggle-btn.is-active {
  background: #FFFFFF;
  color: var(--navy);
  font-weight: 700;
  box-shadow: var(--sh-sm);
}

.price-badge-discount {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--gold-light);
  color: #B45309;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

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

.price-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh);
  transition: transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.price-card.is-popular {
  border: 2px solid var(--royal);
  box-shadow: 0 12px 36px -4px rgba(37, 99, 235, 0.16);
}

.badge-popular {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.price-card-head {
  margin-bottom: 18px;
}

.price-card-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.price-card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  min-height: 40px;
  margin: 0;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0;
}

.price-amount .price-val {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price-amount .price-period {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.45;
}

.price-features svg {
  color: var(--royal);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Section 7: 3-Step Onboarding Flow
   ========================================================================== */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--sh);
  position: relative;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--royal);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

@media (max-width: 860px) {
  .step-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Section 8 & 9: FAQ Accordion & Closing Banner CTA
   ========================================================================== */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq details {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq details[open] {
  border-color: var(--royal);
  box-shadow: var(--sh);
}

.faq summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--royal);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.96rem;
  margin: 0;
  line-height: 1.65;
}

/* Closing Banner CTA */
.cta-banner {
  background: var(--navy);
  color: #FFFFFF;
  border-radius: var(--r-xl);
  padding: 56px 48px;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 10px;
}

.cta-banner p {
  color: #CBD5E1;
  font-size: 1.05rem;
  margin: 0;
  max-width: 52ch;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }
  .cta-banner-actions { justify-content: center; width: 100%; }
}

/* ==========================================================================
   Section 10: Footer
   ========================================================================== */
.ftr {
  background: var(--navy);
  color: #CBD5E1;
  padding: 68px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ftr-in {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}

.ftr a {
  color: #94A3B8;
  text-decoration: none;
  display: block;
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: color 0.15s;
}

.ftr a:hover {
  color: #FFFFFF;
}

.ftr-contact span {
  display: block;
  color: #94A3B8;
  font-size: 0.92rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

.ftr-contact .ftr-hours {
  color: #CBD5E1;
  font-weight: 500;
}

.ftr h3 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.ftr-brand p {
  color: #94A3B8;
  font-size: 0.92rem;
  margin: 14px 0 20px;
  max-width: 340px;
  line-height: 1.6;
}

.soc {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.soc a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #CBD5E1;
  transition: all 0.2s ease;
}

.soc a:hover {
  background: var(--royal);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.ftr-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 14px;
}

.ftr-legal {
  display: flex;
  gap: 20px;
}

.ftr-legal a {
  margin: 0;
  display: inline;
}

@media (max-width: 860px) {
  .ftr-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .ftr-in { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Article Cards & Prose Typography
   ========================================================================== */
/* Spasi Aman Header Melayang untuk Seluruh Halaman Dalam */
.page-top {
  padding-top: 110px;
}

/* Filter Kategori Artikel (/artikel/) */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.filters button {
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.filters button:hover {
  background: var(--soft-blue);
  border-color: #BFDBFE;
  color: var(--royal);
}

.filters button.on,
.filters button.active,
.filters button.is-active {
  background: var(--royal);
  color: #FFFFFF;
  border-color: var(--royal);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

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

.pcard {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pcard[hidden] {
  display: none !important;
}

.pcard:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}

.pcard-img img {
  aspect-ratio: 16/9;
  object-fit: cover;
  width: 100%;
}

.pcard-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pcard h3 {
  font-size: 1.15rem;
  margin: 10px 0;
}

.pcard h3 a {
  color: var(--navy);
}

.pcard h3 a:hover {
  color: var(--royal);
}

.pcard p {
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--royal);
  background: var(--soft-blue);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.meta {
  font-size: 0.84rem;
  color: var(--muted-light);
  margin-top: 12px;
}

/* Single Article Prose */
.post {
  padding: 40px 0 80px;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--royal);
}

.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
  margin-top: 28px;
}

.prose h2 {
  font-size: 1.6rem;
  margin: 1.8em 0 0.6em;
  color: var(--navy);
}

.prose h3 {
  font-size: 1.3rem;
  margin: 1.4em 0 0.5em;
  color: var(--navy);
}

.prose p {
  margin-bottom: 1.4em;
}

.prose ul, .prose ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose .task-list {
  list-style: none;
  padding-left: 0;
  margin: 1.4em 0;
}

.prose .task-li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.65em;
  line-height: 1.6;
}

.prose .task-li::before {
  display: none !important;
}

.prose .task-li .chk-svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.prose blockquote {
  margin: 1.8em 0;
  padding: 16px 24px;
  border-left: 4px solid var(--royal);
  background: var(--soft-blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  color: var(--navy);
  font-style: italic;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.8em 0;
  font-size: 0.95rem;
}

.prose th, .prose td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
}

.prose th {
  background: var(--bg-alt);
  color: var(--navy);
  font-weight: 700;
}

/* Floating WhatsApp FAB */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wa);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
  transition: transform 0.2s, background 0.2s;
}

.fab:hover {
  background: var(--wa-dark);
  transform: scale(1.08);
}

/* ==========================================================================
   Halaman Solusi Segmen (/solusi/*)
   ========================================================================== */
.ls-hero {
  padding-top: 110px;
  padding-bottom: 32px;
  text-align: center;
}
.ls-hero .crumbs {
  justify-content: center;
}
.ls-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--navy);
  margin: 12px 0 16px;
  line-height: 1.25;
}
.ls-hero .lead {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.6;
}
.ls-hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ls-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.ls-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: var(--sh);
}
.ls-card h2 {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 10px 0 20px;
  line-height: 1.3;
}
.ls-card-prob {
  border-top: 4px solid #EF4444;
}
.ls-card-sol {
  border-top: 4px solid var(--royal);
}
.ls-x {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ls-x li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.5;
}
.ls-x li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #FEE2E2;
  color: #DC2626;
  font-size: 0.72rem;
  font-weight: 800;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.5;
}
.checks li svg {
  color: var(--wa-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.hp-lchips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.hp-lchips a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.hp-lchips a:hover {
  border-color: var(--royal);
  color: var(--royal);
  background: var(--soft-blue);
}
@media (max-width: 768px) {
  .ls-two {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Motion System: Bidirectional Scroll-Reveal & Shimmer Effects
   (Guaranteed Smooth 60 FPS, Reduced-Motion Compliant)
   ========================================================================== */
.fx .btn {
  position: relative;
  overflow: hidden;
}

.fx .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.fx .btn:hover::after {
  left: 130%;
}

/* Bidirectional Scroll-Reveal Classes */
.fx .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fx .rv.in {
  opacity: 1;
  transform: none;
}

.fx .rv-l {
  transform: translateX(-24px);
}

.fx .rv-r {
  transform: translateX(24px);
}

.fx .rv-l.in, .fx .rv-r.in {
  transform: none;
}

/* Mobile Motion Optimizations */
.is-mob .fx .rv,
.is-mob .fx .rv-l,
.is-mob .fx .rv-r {
  transform: translateY(12px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  transition-delay: 0s !important;
}

.is-mob .fx .rv.in {
  transform: none;
}

.is-mob .fx .btn::after {
  display: none;
}

/* Reduced Motion Override (WCAG AA Accessibility) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fx .rv, .fx .rv-l, .fx .rv-r {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-float-card {
    animation: none !important;
  }
}
