@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   SiDisBantuan — Unified Master Design System (Pure Vanilla CSS)
   ========================================================================== */

:root {
  /* Navy & Slate Color System */
  --navy-950: #060e20;
  --navy-900: #0f172a;
  --navy-800: #1e293b;
  --navy-700: #1e3a8a;
  --navy-600: #2563eb;
  --navy-500: #0284c7;
  --navy-400: #38bdf8;
  --navy-300: #7dd3fc;
  --navy-200: #bae6fd;
  --navy-100: #e0f2fe;
  --navy-50:  #f0f9ff;

  /* Neutral Backgrounds (Light Mode) */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;

  /* Accent Colors */
  --accent-cyan: #0284c7;
  --accent-blue: #2563eb;
  --accent-green: #059669;
  --accent-green-light: #10b981;
  --accent-gold: #d97706;
  --accent-gold-light: #f59e0b;
  --accent-red: #dc2626;
  --accent-red-light: #ef4444;
  --accent-purple: #7c3aed;

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #ffffff;

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #0284c7;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);

  /* Gradients */
  --gradient-navy: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  --gradient-accent: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f0f9ff 60%, #e0f2fe 100%);
  --gradient-sidebar: linear-gradient(180deg, #0f172a 0%, #1a2755 100%);

  /* Radius & Layout */
  --sidebar-width: 260px;
  --header-height: 64px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: all var(--transition-fast);
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* ── Typography Utilities ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-950);
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.35);
}

.btn-ghost {
  background: #ffffff;
  color: var(--navy-900) !important;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-ghost:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-white {
  background: #ffffff;
  color: var(--navy-900) !important;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 16px; font-size: 0.8rem; border-radius: 8px; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.badge-blue { background: #e0f2fe; color: #0369a1; }
.badge-cyan { background: #e0f2fe; color: #0284c7; }
.badge-green { background: #d1fae5; color: #047857; }
.badge-gold { background: #fef3c7; color: #b45309; }
.badge-red { background: #fee2e2; color: #b91c1c; }
.badge-purple { background: #ede9fe; color: #6d28d9; }
.badge-gray { background: #f1f5f9; color: #475569; }


/* ==========================================================================
   SECTION 1: LANDING PAGE STYLING
   ========================================================================== */

.landing-page {
  background: #ffffff;
}

/* Floating Glass Navbar */
.landing-nav-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.landing-nav {
  width: 100%;
  max-width: 1180px;
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.landing-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-nav .nav-brand .brand-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.landing-nav .nav-brand h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.5px;
}

.landing-nav .nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.landing-nav .nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
}

.landing-nav .nav-links a:hover {
  color: var(--navy-700);
}

/* ── Hero Section with Ambient Background Video ── */
.hero-section {
  min-height: 100vh;
  padding: 140px 24px 80px 24px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-bg-video-wrapper {
  position: absolute;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  width: 500px;
  height: 480px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  border-radius: 40px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 85%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 85%);
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: contrast(1.15) brightness(1.05);
  mix-blend-mode: multiply;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.1);
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--navy-950);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: flex;
  gap: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(203, 213, 225, 0.6);
}

.stat-item h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Interactive Live Browser Mockup Card */
.mockup-window {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1), 0 0 30px rgba(2, 132, 199, 0.1);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition-base);
  max-width: 450px;
  margin-right: 90px;
}

.mockup-window:hover {
  transform: translateY(-4px);
}

.mockup-header {
  height: 42px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-address {
  margin-left: 12px;
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: monospace;
}

.mockup-body {
  padding: 24px;
  background: #f8fafc;
}

.mockup-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
}

.mockup-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mockup-rule-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #d1fae5;
  color: #047857;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Trust Bar */
.trust-bar {
  padding: 30px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  z-index: 10;
}

.trust-bar p {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
}

/* Bento Grid Features Section */
.features-section {
  padding: 100px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.section-title-wrapper {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px auto;
}

.section-title-wrapper .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title-wrapper h2 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--navy-950);
  margin-bottom: 12px;
}

.section-title-wrapper p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.bento-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.bento-item:hover {
  border-color: var(--navy-400);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-item.large {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
}

.bento-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: #e0f2fe;
  color: var(--navy-700);
}

.bento-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 10px;
}

.bento-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.rule-checklist-box {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.rule-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-900);
}

/* Bantuan Showcase Section */
.bantuan-section {
  padding: 100px 24px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.bantuan-cards-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.bantuan-card-modern {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.bantuan-card-modern:hover {
  border-color: var(--navy-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bantuan-card-modern .card-header-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bantuan-card-modern .card-header-icon.blue { background: #e0f2fe; color: var(--navy-700); }
.bantuan-card-modern .card-header-icon.cyan { background: #e0f2fe; color: var(--accent-cyan); }
.bantuan-card-modern .card-header-icon.green { background: #d1fae5; color: var(--accent-green); }

.bantuan-card-modern h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--navy-950);
}

.bantuan-card-modern p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex: 1;
}

.bantuan-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

/* Steps Section */
.steps-section {
  padding: 100px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.steps-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy-950);
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* CTA Banner */
.cta-banner-section {
  padding: 90px 24px;
  background: var(--bg-main);
}

.cta-banner-card {
  max-width: 1180px;
  margin: 0 auto;
  background: var(--gradient-navy);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.cta-banner-card h2 {
  font-size: 2.25rem;
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner-card p {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

/* Multi-Column Footer */
.footer-wrapper {
  background: #060e20;
  color: #94a3b8;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 24px 40px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-col-brand .footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-col-brand .footer-logo-row .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.footer-col-brand .footer-logo-row h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-col-brand p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-gov-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-col ul a:hover {
  color: var(--navy-300);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-contact-item i {
  color: var(--navy-300);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom-bar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom-bar strong { color: #cbd5e1; }


/* ==========================================================================
   SECTION 2: AUTH PAGES STYLING (CLEAN LIGHT-THEMED AUTH SYSTEM)
   ========================================================================== */

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 50%, #e0f2fe 100%);
  position: relative;
}

.auth-split-container {
  width: 100%;
  max-width: 1060px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08), 0 0 30px rgba(2, 132, 199, 0.06);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  overflow: hidden;
}

.auth-visual-side {
  background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 50px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.auth-visual-side::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.auth-visual-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-visual-brand .brand-icon-box {
  width: 44px;
  height: 44px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

.auth-visual-brand h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.auth-visual-body h2 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.6px;
}

.auth-visual-body p {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.auth-feature-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-feature-pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
}

.auth-feature-pill-item i {
  color: var(--navy-400);
}

.auth-visual-footer {
  font-size: 0.78rem;
  color: #94a3b8;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-form-side {
  padding: 50px 48px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-form-header {
  margin-bottom: 28px;
}

.auth-form-header .badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 12px;
}

.auth-form-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-950);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.auth-form-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 8px;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper i {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
}

.input-icon-wrapper .form-control {
  padding-left: 38px;
}

.form-control {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  color: var(--navy-950);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.btn-primary-gradient {
  width: 100%;
  height: 48px;
  background: var(--gradient-accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
  transition: all var(--transition-fast);
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(2, 132, 199, 0.4);
}

.quick-demo-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.quick-demo-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 12px;
}

.quick-demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quick-role-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.quick-role-pill:hover {
  background: #f0f9ff;
  border-color: #bae6fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.quick-role-pill .role-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-role-pill .role-badge.pemohon { background: #e0f2fe; color: #0369a1; }
.quick-role-pill .role-badge.pegawai { background: #cff4fc; color: #0891b2; }
.quick-role-pill .role-badge.kadis { background: #f3e8ff; color: #7c3aed; }
.quick-role-pill .role-badge.admin { background: #fef3c7; color: #d97706; }

.quick-role-pill .role-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-950);
  line-height: 1.2;
}

.quick-role-pill .role-text span {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
}

.auth-bottom-link {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.auth-bottom-link a {
  font-weight: 700;
  color: var(--navy-700);
}


/* ==========================================================================
   SECTION 3: APP LAYOUT & DASHBOARD STYLING (PEMOHON, PEGAWAI, KADIS, ADMIN)
   ========================================================================== */

.app-layout {
  display: flex;
  min-height: 100vh;
}

.main-wrapper {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left var(--transition-base);
}

.main-content {
  flex: 1;
  padding: 28px 32px;
  margin-top: var(--header-height);
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--gradient-sidebar);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #fff;
}

.sidebar-brand {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: var(--header-height);
}

.sidebar-brand .brand-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-brand .brand-text h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.sidebar-brand .brand-text span {
  font-size: 0.65rem;
  color: var(--navy-300);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.sidebar-nav .nav-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy-300);
  padding: 0 12px;
  margin-bottom: 8px;
  margin-top: 16px;
}

.sidebar-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  margin-bottom: 2px;
}

.sidebar-nav .nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.sidebar-nav .nav-item.active {
  background: rgba(2, 132, 199, 0.25);
  color: #ffffff;
  font-weight: 600;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer .user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.sidebar-footer .user-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.topbar {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 90;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-left .menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy-900);
  font-size: 1.4rem;
  cursor: pointer;
}

.topbar-left .page-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
}

.topbar-right .user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 4px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  border: 1px solid var(--border-color);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.85rem;
}

.topbar-right .user-menu .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: var(--navy-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.stat-card .stat-icon.blue { background: #e0f2fe; color: var(--navy-700); }
.stat-card .stat-icon.cyan { background: #e0f2fe; color: var(--accent-cyan); }
.stat-card .stat-icon.green { background: #d1fae5; color: var(--accent-green); }
.stat-card .stat-icon.gold { background: #fef3c7; color: var(--accent-gold); }
.stat-card .stat-icon.red { background: #fee2e2; color: var(--accent-red); }
.stat-card .stat-icon.purple { background: #ede9fe; color: var(--accent-purple); }

.stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--navy-950);
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.data-table thead { background: #f8fafc; }

.data-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy-800);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.data-table td {
  padding: 14px 18px;
  font-size: 0.875rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: var(--text-primary);
}

.data-table tbody tr:hover { background: #f8fafc; }

/* Responsive Grid Breakpoints */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-wrapper { margin-left: 0; }
  .topbar { left: 0; }
  .topbar-left .menu-toggle { display: flex; }
  .hero-container { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-stats-row { justify-content: center; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-item.large { grid-column: span 1; }
  .bantuan-cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-content-grid { grid-template-columns: 1fr 1fr; }
  .landing-nav .nav-links { display: none; }
  .hero-bg-video-wrapper { display: none; }
  .mockup-window { margin-right: auto; }
}

@media (max-width: 868px) {
  .auth-split-container { grid-template-columns: 1fr; }
  .auth-visual-side { display: none; }
  .auth-form-side { padding: 36px 24px; }
}

@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr; }
  .footer-content-grid { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; text-align: center; }
  .hero-title { font-size: 2.2rem; }
}
