/* ==========================================================================
   RefiKita — Corporate Trust Design System (v2)
   ========================================================================== */

:root {
  /* Corporate palette — deep trust navy + emerald growth + orange CTA */
  --navy-900: #0A1E3F;
  --navy-800: #0E2A57;
  --navy-700: #123670;
  --navy-600: #1D4A95;
  --navy-500: #2C64B8;
  --navy-100: #E8EFF9;
  --navy-50:  #F4F7FC;

  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10B981;
  --emerald-100: #D1FAE5;
  --emerald-50:  #ECFDF5;

  --orange-700: #C2410C;
  --orange-600: #EA580C;
  --orange-500: #F97316;
  --orange-100: #FFEDD5;

  --amber-500: #F59E0B;
  --red-600: #DC2626;

  /* Aliases kept for backward-compat with inline styles that use var(--primary) etc. */
  --primary:        var(--navy-700);
  --primary-dark:   var(--navy-900);
  --primary-light:  var(--navy-50);
  --secondary:      var(--emerald-600);
  --secondary-dark: var(--emerald-700);
  --secondary-light:var(--emerald-50);
  --accent:         var(--orange-600);
  --accent-light:   var(--orange-100);

  /* Neutrals */
  --ink-900: #0B1220;
  --ink-800: #111827;
  --ink-700: #1F2937;
  --ink-600: #334155;
  --ink-500: #475569;
  --ink-400: #64748B;
  --ink-300: #94A3B8;
  --ink-200: #CBD5E1;
  --ink-100: #E2E8F0;
  --ink-50:  #F1F5F9;
  --paper:   #FFFFFF;
  --bg:      #F8FAFC;

  --text:        var(--ink-900);
  --text-muted:  var(--ink-500);
  --text-light:  var(--ink-400);
  --border:      var(--ink-200);
  --border-light:var(--ink-100);

  --success: var(--emerald-600);
  --error:   var(--red-600);
  --warning: var(--amber-500);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* Radii — slightly tighter for enterprise feel */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* Elevation — subtle, cool-toned */
  --shadow-xs: 0 1px 2px rgba(15, 30, 65, .04);
  --shadow-sm: 0 2px 4px rgba(15, 30, 65, .06);
  --shadow:    0 4px 12px rgba(15, 30, 65, .06), 0 1px 3px rgba(15, 30, 65, .04);
  --shadow-lg: 0 14px 32px rgba(15, 30, 65, .09), 0 2px 6px rgba(15, 30, 65, .05);
  --shadow-xl: 0 28px 60px rgba(15, 30, 65, .14);

  --container: 1200px;
  --header-h: 72px;

  --t-fast: 140ms ease;
  --t: 240ms cubic-bezier(.4,0,.2,1);
  --t-slow: 400ms cubic-bezier(.4,0,.2,1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-700); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--navy-900); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 16px; color: inherit; }
::selection { background: var(--navy-100); color: var(--navy-900); }

/* Focus ring for a11y */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--navy-500);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Typography scale */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.125rem, 3.5vw + 1rem, 3.375rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem);  font-weight: 800; }
h3 { font-size: clamp(1.25rem, 1vw + 0.6rem, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text); }
.lead {
  font-size: clamp(1.0625rem, .4vw + .9rem, 1.1875rem);
  color: var(--ink-600);
  line-height: 1.6;
}
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.section    { padding: clamp(48px, 6vw, 88px) 0; }
.section-sm { padding: clamp(32px, 4vw, 56px) 0; }

/* Dark section — alternates with light to break up the page */
.section-dark {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(16, 185, 129, .16), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(44, 100, 184, .22), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, #071634 100%);
  color: rgba(255,255,255,.88);
  position: relative;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  pointer-events: none;
}
.section-dark > * { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }
.section-dark .section-title .eyebrow {
  background: rgba(16, 185, 129, .15);
  color: var(--emerald-500);
  border: 1px solid rgba(16, 185, 129, .3);
}
.section-dark .section-title p { color: rgba(255,255,255,.7); }
@media (max-width: 768px) { .container { padding: 0 var(--space-5); } }

.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: var(--space-2); } .gap-4 { gap: var(--space-4); } .gap-6 { gap: var(--space-6); }
.mt-4 { margin-top: var(--space-4); } .mt-6 { margin-top: var(--space-6); } .mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); } .mb-6 { margin-bottom: var(--space-6); } .mb-8 { margin-bottom: var(--space-8); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 13px 24px;
  font-size: .95rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t), border-color var(--t);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
  border: 1.5px solid transparent;
  letter-spacing: .01em;
  position: relative;
  isolation: isolate;
}
.btn:active { transform: translateY(1px); }

/* Primary = orange CTA (standout) */
.btn-primary {
  background: linear-gradient(180deg, var(--orange-500), var(--orange-600));
  color: #fff;
  box-shadow: 0 6px 18px rgba(234, 88, 12, .32), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover {
  background: linear-gradient(180deg, var(--orange-600), var(--orange-700));
  color: #fff;
  box-shadow: 0 10px 26px rgba(234, 88, 12, .38), inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateY(-1px);
}

/* Outline on light bg */
.btn-outline {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--ink-200);
}
.btn-outline:hover {
  color: var(--navy-900);
  border-color: var(--navy-700);
  background: var(--navy-50);
  transform: translateY(-1px);
}

/* Solid navy — used for calmer CTAs */
.btn-navy, .btn-dark {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
}
.btn-navy:hover, .btn-dark:hover { background: var(--navy-900); color: #fff; }

/* WhatsApp green — kept distinct */
.btn-wa {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .28);
}
.btn-wa:hover { background: #1EBE5A; color: #fff; transform: translateY(-1px); }

/* Ghost */
.btn-ghost { color: var(--ink-700); }
.btn-ghost:hover { background: var(--ink-50); color: var(--ink-900); }

.btn-lg { padding: 16px 32px; font-size: 1rem; min-height: 54px; }
.btn-sm { padding: 10px 16px; font-size: .875rem; min-height: 40px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid rgba(15, 30, 65, .06);
  z-index: 100;
  transition: box-shadow var(--t);
}
.header.scrolled { box-shadow: 0 6px 20px rgba(15, 30, 65, .05); background: rgba(255, 255, 255, .96); }
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo-img { display: block; height: 42px; width: auto; max-width: 180px; }
@media (max-width: 480px) { .logo-img { height: 36px; } }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--emerald-600) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.125rem;
}

.nav-main { display: flex; gap: 4px; }
.nav-main a {
  padding: 10px 14px;
  color: var(--ink-700);
  font-weight: 600;
  font-size: .9375rem;
  border-radius: 8px;
  transition: all var(--t-fast);
  position: relative;
}
.nav-main a:hover { color: var(--navy-800); background: var(--navy-50); }
.nav-main a.active {
  color: var(--navy-900);
  background: var(--navy-50);
}
.nav-main a.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--navy-700), var(--emerald-600));
}

.header-actions { display: flex; align-items: center; gap: var(--space-3); }

/* Burger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px;
  background: var(--ink-800);
  border-radius: 2px;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0;
  transition: transform var(--t);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }

@media (max-width: 960px) {
  .nav-main { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }   /* duplicated in mobile-bar */
}
@media (max-width: 640px) {
  .header-actions .btn-wa { display: none; }        /* also duplicated in mobile-bar */
}

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: var(--space-4);
  transform: translateY(-120%);
  transition: transform var(--t);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  padding: var(--space-4);
  color: var(--ink-800);
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu a:last-child { border: 0; }

/* ==========================================================================
   Hero — dark, dense, high contrast
   ========================================================================== */
.hero {
  padding: clamp(56px, 6vw, 96px) 0 clamp(64px, 7vw, 104px);
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 520px at 90% -10%, rgba(16, 185, 129, .28), transparent 60%),
    radial-gradient(900px 520px at -5% 110%, rgba(44, 100, 184, .35), transparent 58%),
    radial-gradient(600px 300px at 60% 110%, rgba(249, 115, 22, .14), transparent 60%),
    linear-gradient(160deg, #0A1E3F 0%, #0E2A57 55%, #071634 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  /* soft bottom fade into page */
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(7, 22, 52, .6));
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: .8125rem;
  font-weight: 700;
  margin-bottom: var(--space-5);
  letter-spacing: .01em;
  backdrop-filter: blur(6px);
}
.hero-badge::before {
  content: '';
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--emerald-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .25);
}

.hero h1 {
  margin-bottom: var(--space-5);
  color: #fff;
  font-size: clamp(2.25rem, 3.6vw + 1rem, 3.6rem);
  line-height: 1.08;
}
.hero h1 strong, .hero-accent {
  background: linear-gradient(90deg, #6EE7B7, var(--emerald-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin-bottom: var(--space-8);
  max-width: 520px;
  color: rgba(255,255,255,.78);
  font-size: 1.125rem;
}
.hero p.lead strong { color: #fff; font-weight: 700; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}
.hero .btn-outline {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
}
.hero .btn-outline:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  font-size: .875rem;
  font-weight: 600;
}
.hero-trust-item svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: #fff;
  background: rgba(16, 185, 129, .9);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}

/* Hero visual (simulation card) */
.hero-visual { position: relative; }
.hero-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255,255,255,.08);
  border: 1px solid var(--ink-100);
  position: relative;
  overflow: hidden;
  color: var(--ink-900);
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy-700), var(--emerald-600), var(--orange-500));
}
.hero-card-title {
  font-size: .75rem;
  font-weight: 800;
  color: var(--navy-700);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: var(--space-3);
}
.hero-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}
.hero-compare-item {
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--ink-100);
}
.hero-compare-item.before { background: #FFF1F2; border-color: #FECDD3; }
.hero-compare-item.after  { background: var(--emerald-50); border-color: var(--emerald-100); }
.hero-compare-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.hero-compare-value { font-size: 1.375rem; font-weight: 800; color: var(--ink-900); }
.hero-compare-item.before .hero-compare-value { color: var(--red-600); text-decoration: line-through; opacity: .85; }
.hero-compare-item.after  .hero-compare-value { color: var(--emerald-700); }

.hero-savings {
  padding: var(--space-5);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-savings::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(400px 120px at 50% 0%, rgba(16, 185, 129, .35), transparent 70%);
  pointer-events: none;
}
.hero-savings-label { font-size: .8125rem; opacity: .8; margin-bottom: 4px; letter-spacing: .04em; }
.hero-savings-value { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; }

.hero-float {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--ink-800);
  border: 1px solid var(--ink-100);
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}
.hero-float-1 { top: -14px; left: -14px; animation-delay: -1s; }
.hero-float-2 { bottom: 24px; right: -8px; animation-delay: -3s; }
@media (max-width: 960px) { .hero-float { display: none; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   Stats strip (directly under hero)
   ========================================================================== */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 2;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -36px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--ink-100);
  overflow: hidden;
}
@media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: var(--space-6) var(--space-5);
  text-align: center;
  border-right: 1px solid var(--border-light);
  position: relative;
}
.stat:last-child { border-right: 0; }
@media (max-width: 860px) {
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border-light); }
}
.stat-value {
  font-size: clamp(1.625rem, 2.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-value span {
  font-size: .55em;
  color: var(--emerald-600);
  margin-left: 2px;
  vertical-align: super;
  font-weight: 800;
}
.stat-label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ==========================================================================
   Trust bar (partners)
   ========================================================================== */
.trust-bar {
  background: #fff;
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border-light);
}
.trust-bar-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 800;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: var(--space-6);
}
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.partner-logo {
  color: var(--ink-400);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all var(--t);
  filter: grayscale(1) opacity(.7);
}
.partner-logo:hover {
  color: var(--navy-700);
  filter: grayscale(0) opacity(1);
  background: var(--navy-50);
}

/* ==========================================================================
   Section title
   ========================================================================== */
.section-title {
  text-align: center;
  max-width: 740px;
  margin: 0 auto var(--space-10);
}
.section-title .eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  color: var(--navy-700);
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: var(--space-3);
  padding: 4px 12px;
  background: var(--navy-50);
  border-radius: var(--radius-full);
}
.section-title h2 { margin-bottom: var(--space-4); }
.section-title p { color: var(--ink-500); font-size: 1.0625rem; }

/* ==========================================================================
   Benefits / Feature cards
   ========================================================================== */
/* Benefits grid gets tighter gaps so the block reads as one unit */
.benefits-grid { gap: var(--space-4); }

.benefit {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--ink-100);
  border-left: 4px solid var(--navy-700);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-4);
  align-items: start;
}
.benefit:nth-child(3n+2) { border-left-color: var(--emerald-600); }
.benefit:nth-child(3n)   { border-left-color: var(--orange-500); }
.benefit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy-50);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  grid-row: span 2;
}
.benefit:nth-child(3n+2) .benefit-icon { background: var(--emerald-50); color: var(--emerald-700); }
.benefit:nth-child(3n)   .benefit-icon { background: var(--orange-100); color: var(--orange-700); }
.benefit:hover .benefit-icon { transform: scale(1.06); }
.benefit-icon svg { width: 24px; height: 24px; }

.benefit h3 { margin-bottom: 6px; color: var(--ink-900); font-size: 1.0625rem; }
.benefit p { color: var(--ink-600); font-size: .9rem; line-height: 1.5; margin: 0; }

/* ==========================================================================
   Steps (Cara kerja)
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); position: relative; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; gap: var(--space-7, 28px) var(--space-4); } }

.step {
  position: relative;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6) var(--space-6);
  border: 1px solid rgba(255,255,255,.12);
  text-align: left;
  transition: transform var(--t), background var(--t), border-color var(--t);
  backdrop-filter: blur(4px);
}
.step:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.09);
  border-color: rgba(16, 185, 129, .45);
}
.step-num {
  position: absolute;
  top: -18px; left: var(--space-6);
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.0625rem;
  box-shadow: 0 8px 20px rgba(16, 185, 129, .35);
  border: 3px solid var(--navy-900);
}
.step h3 { margin: var(--space-4) 0 var(--space-2); font-size: 1.0625rem; color: #fff; }
.step p  { color: rgba(255,255,255,.72); font-size: .9rem; line-height: 1.5; }

/* Light variant (used on inner pages where steps sit on white bg) */
.section:not(.section-dark) .step { background: #fff; border-color: var(--ink-100); }
.section:not(.section-dark) .step:hover { background: #fff; box-shadow: var(--shadow); border-color: var(--ink-100); }
.section:not(.section-dark) .step-num { border-color: #fff; }
.section:not(.section-dark) .step h3 { color: var(--ink-900); }
.section:not(.section-dark) .step p  { color: var(--ink-500); }

/* ==========================================================================
   Products (homepage grid — rate-first cards)
   ========================================================================== */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
@media (max-width: 960px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products { grid-template-columns: 1fr; } }

.product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  color: var(--ink-900);
  position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-500);
  color: var(--ink-900);
}
.product-tag {
  position: absolute;
  top: -10px; right: 16px;
  background: var(--orange-600);
  color: #fff;
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(234, 88, 12, .35);
}
.product h3 { font-size: 1.0625rem; margin-bottom: var(--space-3); color: var(--navy-900); }
.product-rate {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--navy-800);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-light);
}
.product-rate span {
  font-size: .9rem;
  font-weight: 700;
  color: var(--emerald-700);
  margin-left: 6px;
  letter-spacing: 0;
}
.product-rate-text { font-size: 1.5rem; }
.product ul { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--space-4); flex: 1; }
.product li {
  font-size: .9rem;
  color: var(--ink-700);
  padding-left: 22px;
  position: relative;
}
.product li::before {
  content: '';
  position: absolute; left: 0; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--emerald-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
}
.product-link {
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy-700);
  margin-top: auto;
  transition: color var(--t-fast), transform var(--t-fast);
  display: inline-block;
}
.product:hover .product-link { color: var(--orange-600); transform: translateX(4px); }

.product-all {
  background:
    radial-gradient(300px 160px at 90% 0%, rgba(16, 185, 129, .25), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-color: transparent;
  color: #fff;
  justify-content: center;
}
.product-all h3 { color: #fff; }
.product-all p  { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: var(--space-4); }
.product-all .product-link { color: var(--emerald-500); }
.product-all:hover { color: #fff; border-color: var(--emerald-500); }
.product-all:hover .product-link { color: #fff; }

/* Light alt section (white instead of gray) */
.section-light { background: #fff; }

/* ==========================================================================
   Calculator
   ========================================================================== */
.calc-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-10);
}
@media (max-width: 860px) {
  .calc-wrap { grid-template-columns: 1fr; padding: var(--space-6); gap: var(--space-8); }
}

.calc-field { margin-bottom: var(--space-6); }
.calc-field label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: var(--space-3);
  font-weight: 700;
  color: var(--ink-800);
  font-size: .9375rem;
}
.calc-field .calc-value {
  color: var(--navy-800);
  font-weight: 800;
  font-size: 1.0625rem;
}

.calc-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--navy-50);
  transition: all var(--t-fast);
}
.calc-input:focus { outline: none; border-color: var(--navy-600); background: #fff; box-shadow: 0 0 0 4px rgba(29, 74, 149, .12); }

/* Range slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%; height: 6px;
  background: var(--ink-100);
  border-radius: var(--radius-full);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px;
  background: var(--navy-700);
  border: 4px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(18, 54, 112, .35);
  transition: transform var(--t-fast);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); background: var(--navy-800); }
input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  background: var(--navy-700);
  border: 4px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(18, 54, 112, .35);
}

.calc-result {
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900) 60%, #06142F);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.calc-result::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(500px 150px at 50% -20%, rgba(16, 185, 129, .4), transparent 60%);
  pointer-events: none;
}
.calc-result > * { position: relative; }
.calc-result-label { font-size: .875rem; opacity: .85; margin-bottom: var(--space-2); letter-spacing: .04em; }
.calc-result-big {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: var(--space-2);
  letter-spacing: -.025em;
  background: linear-gradient(180deg, #fff, var(--emerald-100));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.calc-result-sub { font-size: 1rem; opacity: .85; margin-bottom: var(--space-6); }

.calc-bar-wrap { margin-bottom: var(--space-6); }
.calc-bar-row { margin-bottom: var(--space-4); }
.calc-bar-head {
  display: flex; justify-content: space-between;
  font-size: .8125rem; margin-bottom: var(--space-2); opacity: .9; font-weight: 600;
}
.calc-bar-track {
  height: 10px;
  background: rgba(255, 255, 255, .15);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.calc-bar-fill {
  height: 100%;
  background: #fff;
  border-radius: var(--radius-full);
  transition: width var(--t-slow);
}
.calc-bar-fill.before { background: linear-gradient(90deg, #FDA4AF, #F87171); }
.calc-bar-fill.after  { background: linear-gradient(90deg, #86EFAC, var(--emerald-500)); }

.calc-disclaimer {
  font-size: .8125rem;
  color: var(--ink-400);
  margin-top: var(--space-4);
  line-height: 1.5;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 960px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial::before {
  content: '“';
  position: absolute;
  top: 10px; right: 20px;
  font-size: 5rem;
  font-family: Georgia, serif;
  line-height: 1;
  color: var(--navy-100);
  pointer-events: none;
}

.testimonial-rating {
  color: var(--orange-500);
  font-size: 1.125rem;
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}
.testimonial-quote {
  font-size: .9375rem;
  color: var(--ink-800);
  line-height: 1.55;
  margin-bottom: var(--space-4);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--navy-50);
  border-radius: var(--radius);
  margin-bottom: var(--space-5);
  border: 1px solid var(--border-light);
}
.testimonial-numbers div { text-align: center; }
.testimonial-numbers .label { font-size: .75rem; color: var(--ink-400); font-weight: 700; margin-bottom: 2px; letter-spacing: .04em; text-transform: uppercase; }
.testimonial-numbers .value { font-weight: 800; color: var(--ink-900); font-size: .9375rem; }
.testimonial-numbers .value.before { color: var(--red-600); text-decoration: line-through; opacity: .75; }
.testimonial-numbers .value.after  { color: var(--emerald-700); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--emerald-600));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.0625rem;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border-light);
}
.testimonial-name { font-weight: 700; color: var(--ink-900); font-size: .9375rem; }
.testimonial-meta { font-size: .8125rem; color: var(--ink-500); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
  overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.faq-item.open { box-shadow: var(--shadow); border-color: var(--navy-100); }
.faq-q {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1rem;
  transition: color var(--t-fast);
}
.faq-q:hover { color: var(--navy-800); }
.faq-q::after {
  content: '';
  width: 12px; height: 12px;
  border-right: 2.5px solid var(--navy-700);
  border-bottom: 2.5px solid var(--navy-700);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--t);
  flex-shrink: 0;
}
.faq-item.open .faq-q::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); padding: 0 var(--space-6); }
.faq-item.open .faq-a { max-height: 500px; padding: 0 var(--space-6) var(--space-5); }
.faq-a p { color: var(--ink-600); font-size: .9375rem; line-height: 1.65; }

/* ==========================================================================
   Application form
   ========================================================================== */
.form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
  border: 1px solid var(--ink-100);
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink-900);
}
.section-apply .form-wrap p { color: var(--ink-600); }
.section-apply .form-wrap h3 { color: var(--ink-900); }
.section-apply .form-wrap label { color: var(--ink-800); }
@media (max-width: 640px) { .form-wrap { padding: var(--space-6); } }

.form-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--emerald-50);
  color: var(--emerald-700);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-full);
  font-size: .8125rem;
  font-weight: 700;
  margin-bottom: var(--space-6);
}
.form-secure svg { width: 16px; height: 16px; flex-shrink: 0; }

.form-steps-indicator {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-6);
}
.form-step-dot {
  width: 48px; height: 6px;
  background: var(--ink-100);
  border-radius: 3px;
  transition: background var(--t);
}
.form-step-dot.active { background: linear-gradient(90deg, var(--navy-700), var(--emerald-600)); }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn .35s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-field { margin-bottom: var(--space-5); }
.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--ink-800);
  font-size: .9375rem;
}
.req { color: var(--red-600); font-weight: 800; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: #fff;
  transition: all var(--t-fast);
  color: var(--ink-900);
}
.form-textarea { min-height: 90px; resize: vertical; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2937' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(29, 74, 149, .12);
}
.form-input:invalid:not(:placeholder-shown),
.form-select:invalid:not(:focus) {
  border-color: var(--ink-200);
}
.form-field.invalid .form-input,
.form-field.invalid .form-select,
.form-field.invalid .form-textarea { border-color: var(--red-600); background: #FFF1F2; }

.form-error { display: none; color: var(--red-600); font-size: .8125rem; margin-top: 6px; font-weight: 600; }
.form-field.invalid .form-error { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.form-check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-4);
  font-size: .875rem;
  color: var(--ink-600);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--navy-700);
  flex-shrink: 0;
}
.form-check a { color: var(--navy-700); font-weight: 600; text-decoration: underline; }
.form-check.invalid { color: var(--red-600); }
.form-check.invalid .form-error { display: block; }

.form-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-light);
}
@media (max-width: 480px) { .form-actions { flex-direction: column-reverse; } }

/* Form success */
.form-success {
  text-align: center;
  padding: var(--space-8) 0;
}
.form-success-icon {
  width: 72px; height: 72px;
  background: var(--emerald-50);
  border: 2px solid var(--emerald-500);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--emerald-600);
  animation: pop .5s cubic-bezier(.4,0,.2,1);
}
.form-success-icon svg { width: 36px; height: 36px; }
@keyframes pop { 0% { transform: scale(.3); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.form-success h3 { margin-bottom: var(--space-3); color: var(--ink-900); }
.form-success p { color: var(--ink-500); margin-bottom: var(--space-5); }
.form-success-id {
  display: inline-block;
  padding: 8px 14px;
  background: var(--navy-50);
  border: 1px dashed var(--navy-100);
  color: var(--navy-800);
  font-family: ui-monospace, Menlo, monospace;
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: var(--space-5);
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background:
    radial-gradient(500px 240px at 20% 10%, rgba(16, 185, 129, .28), transparent 65%),
    radial-gradient(500px 220px at 85% 90%, rgba(249, 115, 22, .22), transparent 65%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.cta-banner h2 { color: #fff; margin-bottom: var(--space-4); }
.cta-banner p  { color: rgba(255,255,255,.85); font-size: 1.0625rem; margin-bottom: var(--space-6); max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cta-banner .btn-outline:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  padding: clamp(44px, 5vw, 72px) 0 clamp(44px, 5vw, 64px);
  color: #fff;
  background:
    radial-gradient(900px 360px at 90% 0%, rgba(16, 185, 129, .25), transparent 60%),
    radial-gradient(700px 360px at 0% 100%, rgba(44, 100, 184, .3), transparent 60%),
    linear-gradient(160deg, #0A1E3F 0%, #0E2A57 60%, #071634 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 10%, transparent 70%);
  pointer-events: none;
}
.page-hero > * { position: relative; }
.page-hero h1 { margin-bottom: var(--space-3); max-width: 820px; color: #fff; }
.page-hero p { max-width: 720px; font-size: 1.0625rem; color: rgba(255,255,255,.75); }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-4);
}
.breadcrumbs a { color: rgba(255,255,255,.7); font-weight: 600; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span { color: rgba(255,255,255,.35); }

/* Generic content wrapper used on legal/about pages */
.content {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) { .content { padding: var(--space-6); } }
.content h2:first-child { margin-top: 0; }
.content h2 {
  margin: var(--space-10) 0 var(--space-4);
  font-size: 1.5rem;
  color: var(--ink-900);
}
.content h3 { margin: var(--space-6) 0 var(--space-3); color: var(--navy-800); }
.content p { margin-bottom: var(--space-4); color: var(--ink-700); line-height: 1.75; }
.content ul, .content ol { margin: 0 0 var(--space-4) var(--space-6); }
.content li { list-style: disc; margin-bottom: var(--space-2); color: var(--ink-700); line-height: 1.6; }
.content ol li { list-style: decimal; }
.content a { color: var(--navy-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: linear-gradient(180deg, var(--navy-900), #06142F);
  color: rgba(255,255,255,.8);
  padding: var(--space-12) 0 var(--space-6);
  margin-top: 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy-500), var(--emerald-500), var(--orange-500));
}
.footer p { color: rgba(255,255,255,.78); }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: #fff; }
.footer h4 {
  color: #fff;
  font-size: .8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-about p { font-size: .9375rem; line-height: 1.6; color: rgba(255,255,255,.78); max-width: 360px; }
.footer-logo { margin-bottom: var(--space-4); }
.footer-logo-img {
  height: 46px; width: auto;
  background: #fff;
  padding: 7px 12px;
  border-radius: 10px;
  box-sizing: content-box;
}

.footer-grid ul li { margin-bottom: var(--space-2); font-size: .9375rem; }

.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: .9375rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  font-size: .8125rem;
  color: rgba(255,255,255,.55);
  gap: var(--space-4);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
@media (max-width: 640px) { .footer-bottom { flex-direction: column; text-align: center; } }

/* OJK disclaimer bar */
.footer-ojk {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
  border: 1px solid rgba(255,255,255,.06);
}

/* ==========================================================================
   Mobile bar (sticky WA + CTA)
   ========================================================================== */
.mobile-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 95;
  padding: 10px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  gap: 8px;
}
.mobile-bar .btn { flex: 1; min-height: 46px; padding: 10px 14px; font-size: .9375rem; }
@media (max-width: 640px) { .mobile-bar { display: flex; } }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
@media (max-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card-img {
  height: 180px;
  background:
    radial-gradient(400px 200px at 80% 90%, rgba(16, 185, 129, .25), transparent 60%),
    linear-gradient(135deg, var(--navy-700), var(--navy-900));
  display: flex; align-items: flex-end; padding: var(--space-5);
  color: #fff;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.blog-card-img::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at top left, #000 10%, transparent 70%);
}
.blog-card-body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.blog-card-body h3 { margin-bottom: var(--space-2); font-size: 1.125rem; }
.blog-card-body p { color: var(--ink-500); font-size: .9375rem; margin-bottom: var(--space-4); flex: 1; }
.blog-card-meta { font-size: .8125rem; color: var(--ink-400); margin-bottom: var(--space-3); font-weight: 600; }

.article {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  padding: var(--space-12);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) { .article { padding: var(--space-6); } }
.article-meta { color: var(--ink-400); font-size: .875rem; margin-bottom: var(--space-6); font-weight: 600; }
.article h2 { margin: var(--space-8) 0 var(--space-4); }
.article h3 { margin: var(--space-6) 0 var(--space-3); color: var(--navy-800); }
.article p { margin-bottom: var(--space-4); line-height: 1.75; color: var(--ink-700); }
.article ul, .article ol { margin: 0 0 var(--space-4) var(--space-6); }
.article li { list-style: disc; margin-bottom: var(--space-2); line-height: 1.65; color: var(--ink-700); }
.article ol li { list-style: decimal; }
.article strong { color: var(--ink-900); }

.toc {
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  border-radius: var(--radius);
  padding: var(--space-5);
  margin-bottom: var(--space-8);
}
.toc h4 { margin-bottom: var(--space-3); color: var(--navy-800); font-size: .9375rem; letter-spacing: .04em; }
.toc a { display: block; padding: 4px 0; font-size: .9375rem; color: var(--ink-700); }
.toc a:hover { color: var(--navy-800); }

.cta-box {
  background:
    radial-gradient(400px 200px at 20% 20%, rgba(16, 185, 129, .25), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  margin-top: var(--space-10);
  color: #fff;
}
.cta-box h3 { color: #fff; margin-bottom: var(--space-3); }
.cta-box p { color: rgba(255,255,255,.85); margin-bottom: var(--space-5); }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-8); }
@media (max-width: 640px) { .related { grid-template-columns: 1fr; } }

.product-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin: var(--space-8) 0; }
@media (max-width: 860px) { .product-points { grid-template-columns: 1fr; } }
.product-point {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform var(--t), box-shadow var(--t);
}
.product-point:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-point h3 { margin-bottom: var(--space-2); color: var(--navy-800); }
.product-point p { color: var(--ink-500); }
.product-kicker {
  display: inline-block;
  background: var(--orange-100);
  color: var(--orange-700);
  font-weight: 800;
  font-size: .75rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ==========================================================================
   Form success (hidden until JS adds .show)
   ========================================================================== */
.form-success { display: none; }
.form-success.show { display: block; animation: fadeIn .4s ease; }
.form-success-icon { font-size: 2rem; font-weight: 800; }
.form-success-wa { margin-top: var(--space-2); }

/* ==========================================================================
   Final CTA (inner pages still use it)
   ========================================================================== */
.cta-final {
  background:
    radial-gradient(500px 240px at 15% 10%, rgba(16, 185, 129, .3), transparent 65%),
    radial-gradient(500px 220px at 85% 90%, rgba(249, 115, 22, .22), transparent 65%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-10);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final h2 { color: #fff; margin-bottom: var(--space-4); }
.cta-final p  { color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto var(--space-6); font-size: 1.0625rem; }
@media (max-width: 640px) { .cta-final { padding: var(--space-8) var(--space-5); } }

/* ==========================================================================
   Services list (layanan.html)
   ========================================================================== */
.service-list { display: grid; gap: var(--space-4); }
.service-item {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-6);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  border-left: 4px solid var(--navy-700);
  align-items: flex-start;
  transition: transform var(--t), box-shadow var(--t);
}
.service-item:nth-child(3n+2) { border-left-color: var(--emerald-600); }
.service-item:nth-child(3n)   { border-left-color: var(--orange-500); }
.service-item:hover { box-shadow: var(--shadow-lg); transform: translateX(4px); }
.service-item-icon {
  width: 56px; height: 56px;
  background: var(--navy-50);
  color: var(--navy-700);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-item:nth-child(3n+2) .service-item-icon { background: var(--emerald-50); color: var(--emerald-700); }
.service-item:nth-child(3n)   .service-item-icon { background: var(--orange-100); color: var(--orange-700); }
.service-item h3 { margin-bottom: var(--space-2); }
.service-item p  { color: var(--ink-600); margin-bottom: var(--space-3); }
.service-item a  { font-weight: 700; font-size: .9375rem; color: var(--navy-700); }

/* ==========================================================================
   Compare table
   ========================================================================== */
.table-compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: var(--space-6) 0;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
}
.table-compare th, .table-compare td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: .9375rem;
}
.table-compare th {
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  font-size: .8125rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.table-compare tbody tr:nth-child(even) td { background: var(--navy-50); }
.table-compare tr:last-child td { border-bottom: none; }
.table-compare td.highlight { background: var(--emerald-50) !important; color: var(--emerald-700); font-weight: 800; }
/* Mobile: wrap table in a scroll area with edge hint, shrink type */
@media (max-width: 640px) {
  .table-compare {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: calc(-1 * var(--space-4));
    margin-right: calc(-1 * var(--space-4));
    width: calc(100% + 2 * var(--space-4));
    border-radius: 0;
    border-left: 0; border-right: 0;
    scrollbar-width: thin;
  }
  .table-compare table, .table-compare thead, .table-compare tbody { display: table; width: 100%; }
  .table-compare th, .table-compare td {
    padding: 10px 12px;
    font-size: .8125rem;
    white-space: nowrap;
  }
  .table-compare th:first-child, .table-compare td:first-child {
    position: sticky; left: 0;
    background: inherit;
    box-shadow: 2px 0 0 var(--border-light);
    z-index: 1;
  }
  .table-compare th:first-child { background: var(--navy-900); }
  .table-compare tbody tr:nth-child(odd) td:first-child { background: #fff; }
  .table-compare tbody tr:nth-child(even) td:first-child { background: var(--navy-50); }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-100);
  margin-bottom: var(--space-3);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  transition: box-shadow var(--t), transform var(--t);
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--navy-50);
  color: var(--navy-700);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card h4 { margin-bottom: 4px; color: var(--ink-900); }
.contact-card p, .contact-card a { color: var(--ink-600); font-size: .9375rem; }
.contact-card a { font-weight: 600; color: var(--navy-700); }

/* ==========================================================================
   Footer badges
   ========================================================================== */
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-4); }
.footer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
}
.footer-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .25);
}

/* ==========================================================================
   Cookie consent
   ========================================================================== */
.cookie-consent {
  position: fixed;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  background: var(--navy-900);
  color: rgba(255,255,255,.85);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 60;
  max-width: 460px;
  margin-left: auto;
  display: none;
  border: 1px solid rgba(255,255,255,.1);
}
.cookie-consent.show { display: block; animation: slideUp .4s ease; }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-consent p { font-size: .9rem; margin-bottom: var(--space-4); color: rgba(255,255,255,.8); }
.cookie-consent a { color: #fff; text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: var(--space-2); }
.cookie-consent .btn-ghost { color: rgba(255,255,255,.85); }
.cookie-consent .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
@media (max-width: 640px) { .cookie-consent { bottom: 84px; } }

/* ==========================================================================
   Small utilities / misc
   ========================================================================== */
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.pill-ok {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: var(--radius-full);
  background: var(--emerald-50); color: var(--emerald-700);
  font-size: .75rem; font-weight: 700;
}

/* ==========================================================================
   Mobile polish (≤ 640px) — denser, full-width CTAs, no overlaps
   ========================================================================== */
@media (max-width: 640px) {
  :root { --header-h: 60px; }

  html { font-size: 15px; }
  .container { padding: 0 var(--space-4); }
  .section { padding: 44px 0; }
  .section-title { margin-bottom: var(--space-6); }
  .section-title h2 { font-size: 1.625rem; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.625rem; }

  /* Buttons: full width stacks on small screens */
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .btn-lg { padding: 14px 24px; min-height: 50px; }

  /* Hero */
  .hero { padding: 36px 0 60px; }
  .hero h1 { font-size: 2.125rem; line-height: 1.1; }
  .hero p.lead { font-size: 1rem; margin-bottom: var(--space-6); }
  .hero-trust { flex-direction: column; gap: 10px; }
  .hero-card { padding: var(--space-5); }
  .hero-compare-value { font-size: 1.25rem; }

  /* Stats strip: 2×2, tighter */
  .stats-grid { margin-top: -28px; border-radius: var(--radius); }
  .stat { padding: var(--space-4) var(--space-3); }
  .stat-value { font-size: 1.5rem; }
  .stat-label { font-size: .6875rem; }

  /* Partners */
  .trust-bar { padding: var(--space-6) 0; }
  .partners { gap: 10px 18px; }
  .partner-logo { font-size: .9375rem; padding: 4px 8px; }

  /* Benefits */
  .benefits-grid { gap: var(--space-3); }
  .benefit { padding: var(--space-4); grid-template-columns: 40px 1fr; gap: var(--space-3); }
  .benefit-icon { width: 40px; height: 40px; border-radius: 10px; }
  .benefit-icon svg { width: 20px; height: 20px; }
  .benefit h3 { font-size: 1rem; }
  .benefit p { font-size: .875rem; }

  /* Steps */
  .steps { gap: var(--space-6) var(--space-4); }
  .step { padding: var(--space-6) var(--space-4) var(--space-4); }
  .step-num { width: 38px; height: 38px; font-size: .9375rem; top: -16px; left: var(--space-4); }

  /* Products */
  .products { gap: var(--space-3); }
  .product { padding: var(--space-5); }
  .product-rate { font-size: 1.875rem; }
  .product-tag { top: -8px; right: 12px; }

  /* Calculator */
  .calc-wrap { padding: var(--space-4); gap: var(--space-5); border-radius: var(--radius-lg); }
  .calc-field { margin-bottom: var(--space-4); }
  .calc-field label { font-size: .875rem; }
  .calc-result { padding: var(--space-5); border-radius: var(--radius); }
  .calc-result-big { font-size: 2rem; }
  .calc-disclaimer { font-size: .75rem; }
  input[type="range"] { height: 8px; }
  input[type="range"]::-webkit-slider-thumb { width: 28px; height: 28px; }
  input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; }

  /* Testimonials */
  .testimonial { padding: var(--space-5); }
  .testimonial-quote { font-size: .9rem; }

  /* FAQ */
  .faq-q { font-size: .9375rem; padding: var(--space-4); }
  .faq-a { padding: 0 var(--space-4); }
  .faq-item.open .faq-a { padding: 0 var(--space-4) var(--space-4); }

  /* Form */
  .form-wrap { padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg); }
  .form-secure { font-size: .75rem; padding: 8px 12px; }
  .form-field { margin-bottom: var(--space-4); }
  .form-input, .form-select, .form-textarea { padding: 12px 14px; font-size: 16px; } /* 16px prevents iOS zoom */
  .form-actions { flex-direction: column-reverse; gap: var(--space-2); }
  .form-actions .btn { width: 100%; }
  .form-step h3 { font-size: 1.125rem; }

  /* Services list: icon on top, text full width */
  .service-item { flex-direction: column; gap: var(--space-3); padding: var(--space-5) var(--space-4); }
  .service-item-icon { width: 44px; height: 44px; }
  .service-item h3 { font-size: 1.0625rem; }
  .service-item p { font-size: .9rem; }
  .service-item .btn { width: 100%; }

  /* Contact cards */
  .contact-card { padding: var(--space-4); }

  /* Blog / article / content */
  .article { padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg); }
  .content { padding: var(--space-5) var(--space-4); border-radius: var(--radius-lg); }
  .content h2 { font-size: 1.25rem; margin: var(--space-8) 0 var(--space-3); }
  .blog-card-img { height: 140px; }

  /* Page hero */
  .page-hero { padding: 32px 0 36px; }
  .page-hero h1 { font-size: 1.875rem; }
  .page-hero p { font-size: 1rem; }

  /* CTA */
  .cta-final h2, .cta-banner h2 { font-size: 1.5rem; }

  /* Footer */
  .footer { padding: var(--space-10) 0 var(--space-5); }
  .footer-grid { gap: var(--space-6); padding-bottom: var(--space-6); }
  .footer-logo-img { height: 38px; }
  .footer-bottom { font-size: .75rem; gap: var(--space-3); }

  /* Reserve room for the sticky mobile bar so nothing is hidden behind it */
  body { padding-bottom: 84px; }
  .mobile-bar { left: 10px; right: 10px; bottom: 10px; padding: 8px; }
  .mobile-bar .btn { min-height: 44px; font-size: .9rem; }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero h1 { font-size: 1.875rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 1.375rem; }
  .product-rate { font-size: 1.625rem; }
}

/* Tablets (641–960px): two-column grids, keep nav hidden */
@media (min-width: 641px) and (max-width: 960px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { gap: var(--space-8); }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .benefits-grid, .products { grid-template-columns: repeat(2, 1fr); }
  .calc-wrap { padding: var(--space-6); }
}

/* Safe-area for notched phones */
@supports (padding: max(0px)) {
  .mobile-bar { bottom: max(10px, env(safe-area-inset-bottom)); }
  .cookie-consent { bottom: max(84px, calc(env(safe-area-inset-bottom) + 84px)); }
}

/* Prefers-reduced-motion */
@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;
  }
}
