/* ============================================================
   LEGAL SOLUTION - Marketplace Jasa Hukum Profesional
   Global Stylesheet - Poppins & Montserrat Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES - GREEN & WHITE THEME
   ============================================================ */
/* ============================================================
   BATMAN DARK THEME (DEFAULT) & LIGHT THEME VARIABLES
   ============================================================ */
:root,
html:not([data-theme="light"]),
html[data-theme="dark"] {
  color-scheme: dark;

  /* Primary - Emerald Green / Neon Accents */
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --primary-subtle: #064e3b;
  --primary-border: #047857;

  /* Accent - Cyan / Ice Blue */
  --accent: #38bdf8;
  --accent-dark: #0284c7;
  --accent-light: #7dd3fc;
  --accent-subtle: #0c4a6e;
  --accent-border: #0369a1;

  /* Secondary Colors */
  --secondary: #38bdf8;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #06b6d4;

  /* Backgrounds (Sleek Batman Dark / Gotham Night) */
  --bg-base: #0f1015;
  --bg-dark: #08090c;
  --bg-card: #181920;
  --bg-card2: #21232d;
  --bg-dark-navy: #0e1017;
  --bg-navy: #181920;

  /* Borders */
  --border: #282b3a;
  --border-color: #282b3a;
  --border-strong: #3b4055;

  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-white: #ffffff;

  /* Gradients */
  --gradient-primary: #10b981;
  --gradient-accent: #38bdf8;
  --gradient-hero: #181920;
  --gradient-card: #181920;
  --gradient-dark: #059669;
  --gradient-gold: #f59e0b;

  /* Border Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Crisp Subtle Shadows */
  --shadow-xs: none;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.7);
  --shadow-gold: none;
  --shadow-navy: none;

  /* Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --sidebar-width: 260px;
  --navbar-height: 68px;
  --bottom-nav-height: 64px;
}

/* LIGHT THEME (VERSI SAAT INI) */
html[data-theme="light"] {
  color-scheme: light;

  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --primary-subtle: #ecfdf5;
  --primary-border: #a7f3d0;

  --accent: #0284c7;
  --accent-dark: #0369a1;
  --accent-light: #38bdf8;
  --accent-subtle: #f0f9ff;
  --accent-border: #bae6fd;

  --secondary: #0284c7;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #06b6d4;

  --bg-base: #f8fafc;
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card2: #f1f5f9;
  --bg-dark-navy: #064e3b;
  --bg-navy: #059669;

  --border: #e2e8f0;
  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-white: #ffffff;

  --gradient-primary: #059669;
  --gradient-accent: #0284c7;
  --gradient-hero: #ffffff;
  --gradient-card: #ffffff;
  --gradient-dark: #047857;
  --gradient-gold: #059669;

  --shadow-xs: none;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #a7f3d0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-family: 'Montserrat', sans-serif; font-weight: 700; }
h5 { font-size: 1rem; font-family: 'Montserrat', sans-serif; font-weight: 600; }

.serif { font-family: 'Montserrat', sans-serif; }
.sans { font-family: 'Poppins', sans-serif; }

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-blue {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.text-gold { color: var(--primary); }
.text-navy { color: var(--primary); }

/* ============================================================
   CONTAINER
   ============================================================ */
.container { 
  max-width: 1240px; 
  margin: 0 auto; 
  padding: 0 1.5rem; 
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(167, 243, 208, 0.5);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.navbar-nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  position: relative;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.navbar-nav a:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

.navbar-nav a.active {
  color: var(--primary);
  background: var(--primary-subtle);
  font-weight: 700;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger Button */
.hamburger {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border);
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.hamburger:hover { background: var(--primary-subtle); border-color: var(--primary-border); }

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile Navbar Drawer */
.navbar-actions-mobile {
  max-height: 0;
  overflow: hidden;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.08);
}

.navbar-actions-mobile.open { max-height: 460px; }

.mobile-menu-inner { padding: 1rem 1.25rem 1.5rem; }

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.925rem;
  transition: var(--transition);
}

.mobile-nav-list a i { font-size: 1rem; width: 20px; color: var(--text-muted); }

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  background: var(--primary-subtle);
  color: var(--primary);
}

.mobile-nav-list a:hover i,
.mobile-nav-list a.active i { color: var(--primary); }

.mobile-nav-divider { height: 1px; background: var(--border); margin: 0.75rem 0; }
.mobile-nav-actions { display: flex; flex-direction: column; gap: 0.5rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.01em;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.40);
  color: #ffffff;
}

/* btn-gold alias = emerald now */
.btn-gold {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
  font-weight: 700;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.40);
  color: #ffffff;
}

.btn-blue {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.38);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-card2);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary-border);
}

.btn-outline:hover {
  background: var(--primary-subtle);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.btn-outline-white {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.btn-success { background: var(--success); color: #ffffff; }
.btn-success:hover { background: #059669; color: #ffffff; }

.btn-warning { background: var(--warning); color: #ffffff; }
.btn-warning:hover { background: #d97706; color: #ffffff; }

.btn-danger { background: var(--danger); color: #ffffff; }
.btn-danger:hover { background: #dc2626; color: #ffffff; }

.btn-info { background: var(--info); color: #ffffff; }
.btn-info:hover { background: #0891b2; color: #ffffff; }

.btn-sm { padding: 0.42rem 0.9rem; font-size: 0.82rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 0.85rem 1.9rem; font-size: 1rem; }
.btn-xl { padding: 1rem 2.4rem; font-size: 1.05rem; border-radius: var(--radius-full); }
.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 1.1rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.10);
}

.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-primary { background: var(--primary-subtle); color: var(--primary-dark); }
.badge-gold { background: var(--primary-subtle); color: var(--primary-dark); border: 1px solid var(--primary-border); }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #cffafe; color: #155e75; }
.badge-secondary { background: var(--bg-card2); color: var(--text-secondary); }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border-left: 4px solid transparent;
}

.alert-success { background: #f0fdf4; color: #166534; border-color: var(--success); }
.alert-error { background: #fef2f2; color: #991b1b; border-color: var(--danger); }
.alert-warning { background: #fffbeb; color: #92400e; border-color: var(--warning); }
.alert-info { background: #eff6ff; color: #1e40af; border-color: var(--info); }

/* ============================================================
   HERO SECTION (WHITE & CLEAN LIGHT THEME)
   ============================================================ */
.hero {
  position: relative;
  padding: 5rem 0 3.5rem;
  background: #ffffff;
  overflow: hidden;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 80%, rgba(5, 150, 105, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(5, 150, 105, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5, 150, 105, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.hero-badge i { color: var(--primary); }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.7;
}

/* Hero Search Box */
.hero-search-box {
  background: #ffffff;
  border: 2px solid var(--primary-border);
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.10);
  border-radius: var(--radius-lg);
  padding: 0.6rem 0.7rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.hero-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 12px 35px rgba(5, 150, 105, 0.18);
}

.hero-search-box input {
  background: transparent;
  border: none;
  flex: 1;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  font-weight: 500;
  min-width: 0;
}

.hero-search-box input::placeholder { color: var(--text-muted); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: 'Playfair Display', serif;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Trust badges */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.trust-badge i { color: var(--primary); font-size: 0.9rem; }

/* Hero Visual & Image */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-image-main {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px rgba(5, 150, 105, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 4px solid #ffffff;
  display: block;
  transition: var(--transition);
}

.hero-image-main:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px rgba(5, 150, 105, 0.22);
}
  justify-content: center;
  position: relative;
}

.hero-visual-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  width: 100%;
  max-width: 320px;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  box-shadow: 0 8px 32px rgba(5, 150, 105, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.9);
  animation: floatCard 4s ease-in-out infinite;
  min-width: 148px;
}

.float-card:nth-child(2) { animation-delay: -1.5s; }
.float-card:nth-child(3) { animation-delay: -3s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-center-icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  border: 2px solid rgba(52, 211, 153, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: #6ee7b7;
  animation: float 5s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(52, 211, 153, 0.20);
  margin: 0 auto 1.25rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 1rem;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  border: 1px solid var(--primary-border);
}

.section-tag-gold {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fed7aa;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.85rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.35rem 0.85rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  text-decoration: none;
  color: var(--text-primary);
  transition: var(--transition);
  text-align: center;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.category-card:hover::before { opacity: 1; }
.category-card:hover .category-icon { background: rgba(255,255,255,0.2); color: #fff; }
.category-card:hover .category-name { color: #ffffff; }
.category-card:hover .category-count { color: rgba(255,255,255,0.65); }

.category-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.category-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.category-count {
  font-size: 0.68rem;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

/* ============================================================
   STEP CARDS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-border), var(--primary-light), var(--primary-border));
  opacity: 0.5;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.step-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.30);
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 1;
}

.step-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  margin: 0 auto 0.85rem;
}

/* ============================================================
   PROVIDER CARDS
   ============================================================ */
.provider-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.provider-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.provider-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.provider-card:hover::before { transform: scaleX(1); }

.provider-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.provider-avatar-lg {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.7rem;
  margin: 0 auto 0.9rem;
  border: 3px solid var(--bg-base);
  box-shadow: var(--shadow-md);
}

.verified-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   SERVICE LIST CARDS
   ============================================================ */
.service-list-container { display: flex; flex-direction: column; gap: 1rem; }

.service-list-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.35rem 1.25rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
  position: relative;
}

.service-list-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
  transform: translateY(-2px);
}

.service-list-badge {
  position: absolute;
  top: -9px;
  left: 1.25rem;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.service-list-avatar {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-list-avatar img { width: 100%; height: 100%; object-fit: cover; }
.service-list-content { flex: 1; min-width: 0; }

.service-list-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.service-list-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.service-list-title a:hover { color: var(--primary); }

.service-list-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 0.45rem;
}

.service-list-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
}

.service-list-meta .location { color: var(--text-muted); display: flex; align-items: center; gap: 0.25rem; }

.service-list-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-list-link {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-list-link:hover { color: var(--primary-dark); text-decoration: underline; }

.service-list-action {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex-shrink: 0;
}

/* ============================================================
   SERVICE GRID CARDS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-border); }

.service-card-image {
  height: 160px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
}

.service-card-body { padding: 1.1rem; }
.service-card-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.65rem; }

.service-card-provider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.service-card-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--primary-subtle);
  transform: translate(25px, 25px);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  opacity: 0.6;
}

.testimonial-stars { display: flex; gap: 0.15rem; margin-bottom: 0.75rem; color: var(--warning); font-size: 0.82rem; }

/* ============================================================
   CTA SECTION (WHITE & LIGHT THEME)
   ============================================================ */
.cta-section {
  background: #ffffff;
  border: 2px solid var(--primary-border);
  box-shadow: 0 16px 40px rgba(5, 150, 105, 0.10);
  border-radius: var(--radius-xl);
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(52, 211, 153, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* ============================================================
   STAT ICONS
   ============================================================ */
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
  flex-shrink: 0;
}

.stat-icon.primary { background: var(--primary-subtle); color: var(--primary); }
.stat-icon.gold { background: var(--primary-subtle); color: var(--primary-dark); }
.stat-icon.success { background: #d1fae5; color: var(--success); }
.stat-icon.warning { background: #fef3c7; color: var(--warning); }
.stat-icon.info { background: #cffafe; color: var(--info); }
.stat-icon.danger { background: #fee2e2; color: var(--danger); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #064e3b;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.footer-logo .brand-name { color: #ffffff; }
.footer-logo .brand-tagline { color: #6ee7b7; }

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.1rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links a:hover { color: #6ee7b7; padding-left: 3px; }

.social-links { display: flex; gap: 0.6rem; }

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION
   ============================================================ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1.5px solid var(--border-color);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.mobile-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  height: 62px;
  position: relative;
  padding: 0 0.5rem;
}

/* ============================================================
   AUTH PAGES (REBUILT CLEAN & RESPONSIVE CONTAINER)
   ============================================================ */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  padding: 2.5rem 1rem;
}

.auth-container {
  width: 100%;
  max-width: 1020px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  display: flex;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.auth-visual-col {
  width: 50%;
  background: var(--bg-card2);
  border-right: 1.5px solid var(--border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.auth-form-col {
  width: 50%;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.mobile-auth-banner {
  display: none;
}

@media (max-width: 991px) {
  .auth-wrapper {
    padding: 1.25rem 0.75rem;
    align-items: flex-start;
  }
  .auth-container {
    max-width: 480px;
    flex-direction: column;
    border-radius: var(--radius-lg);
  }
  .auth-visual-col {
    display: none !important;
  }
  .mobile-auth-banner {
    display: block !important;
    text-align: center;
    margin-bottom: 1.25rem;
  }
  .auth-form-col {
    width: 100%;
    padding: 1.5rem 1.25rem;
  }
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

/* Feature list */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.feature-list li i {
  color: #6ee7b7;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
}

.page-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-subtle); }
.page-btn.active { background: var(--gradient-primary); color: #ffffff; border-color: var(--primary); box-shadow: var(--shadow-navy); }

/* ============================================================
   PROFILE PAGE
   ============================================================ */
.profile-hero {
  background: var(--gradient-hero);
  padding: 5.5rem 0 2.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  display: block;
  opacity: 0.35;
}

.empty-state h3 { margin-bottom: 0.5rem; color: var(--text-secondary); }
.empty-state p { color: var(--text-muted); font-size: 0.88rem; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.text-center { text-align: center; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-100 { width: 100%; }

/* Responsive visibility */
.desktop-only { display: flex; }
.mobile-only { display: none; }

/* Input icon wrap */
.input-icon-wrap { position: relative; }
.input-icon-wrap > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; z-index: 1; }
.input-icon-wrap input { padding-left: 2.75rem; }

/* Glass card */
.glass-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
}

/* Stars */
.stars { display: inline-flex; gap: 0.15rem; color: var(--warning); font-size: 0.82rem; }

/* Dividers */
.divider { height: 1px; background: var(--border); margin: 1.5rem 0; }
.divider-gold { background: linear-gradient(90deg, transparent, var(--primary-border), transparent); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeup { animation: fadeInUp 0.6s ease both; }
.animate-fadein { animation: fadeIn 0.4s ease both; }

/* ============================================================
   ADMIN / PANEL LAYOUT
   ============================================================ */
.panel-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: #064e3b;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  overflow-y: auto;
  transition: var(--transition);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.sidebar-user {
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 0.65rem;
}

.sidebar-user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-user-name { font-size: 0.85rem; font-weight: 700; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.sidebar-user-role { margin-top: 2px; }

.sidebar-nav { padding: 0.5rem 0.85rem; display: flex; flex-direction: column; gap: 0.2rem; }
.sidebar-section { margin-bottom: 1.25rem; }
.sidebar-section-title, .sidebar-nav-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6ee7b7;
  padding: 0.65rem 0.75rem 0.25rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.sidebar-nav a, .sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.sidebar-nav a:hover, .sidebar-link:hover { background: rgba(255,255,255,0.1); color: #ffffff; }
.sidebar-nav a.active, .sidebar-link.active { background: var(--gradient-primary); color: #ffffff; box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35); font-weight: 700; }
.sidebar-nav a i, .sidebar-link i { font-size: 1rem; width: 20px; text-align: center; opacity: 0.85; }
.sidebar-nav a.active i, .sidebar-link.active i { opacity: 1; color: #ffffff; }

.sidebar-footer {
  position: sticky;
  bottom: 0;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: #064e3b;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 199;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.active { display: block; }

.panel-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-base);
}

.panel-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 58px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-xs);
}

.panel-topbar-left { display: flex; align-items: center; gap: 0.85rem; }
.panel-topbar-right { display: flex; align-items: center; gap: 0.85rem; }
.panel-topbar-title { font-weight: 700; font-size: 0.92rem; color: var(--text-primary); }

.topbar-toggle {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-base);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition);
}

.topbar-toggle:hover { background: var(--primary-subtle); color: var(--primary); }

.panel-content { padding: 1.75rem; flex: 1; }

.panel-header { display: flex; align-items: center; justify-content: space-between; padding: 0 0 1.5rem; }

.panel-bottom-nav { display: none; }

/* ============================================================
   TABLES
   ============================================================ */
.table-container { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
thead { background: var(--primary-subtle); }
thead th { padding: 0.8rem 1rem; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary-dark); white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border); transition: var(--transition); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--primary-subtle); }
tbody td { padding: 0.8rem 1rem; vertical-align: middle; }

/* ============================================================
   DETAIL PAGE
   ============================================================ */
.detail-hero-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   RESPONSIVE — TABLET (768px – 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .hero { min-height: auto; padding: 4.5rem 0 3rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { display: flex; justify-content: center; margin-top: 1rem; }
  .hero-image-container { max-width: 420px; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .steps-grid::before { display: none; }

  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .panel-main { margin-left: 0; }
  .panel-bottom-nav { display: flex; }

  /* Hero on tablet: text centered */
  .hero-content { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .trust-badges { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-search-box { max-width: 600px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --navbar-height: 60px;
    --bottom-nav-height: 60px;
  }

  /* Visibility */
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
  .mobile-bottom-nav { display: flex; }
  .hamburger { display: flex; }

  /* Body padding for bottom nav */
  body { padding-bottom: var(--bottom-nav-height); }

  /* Container */
  .container { padding: 0 1rem; }

  /* Hero */
  .hero { padding: 4rem 0 2rem; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-visual { display: flex; justify-content: center; margin-top: 1rem; }
  .hero-image-container { max-width: 320px; }
  .hero-title { font-size: clamp(1.6rem, 6.5vw, 2.2rem); }
  .hero-subtitle { font-size: 0.88rem; line-height: 1.6; }
  .hero-content { text-align: center; }
  .hero-search-box { flex-direction: column; gap: 0.5rem; padding: 0.6rem; }
  .hero-search-box input { width: 100%; text-align: center; }
  .hero-stats { gap: 0.85rem; justify-content: center; flex-wrap: wrap; }
  .hero-stat-value { font-size: 1.3rem; }
  .hero-badge { font-size: 0.75rem; margin-bottom: 1rem; }
  .trust-badges { justify-content: center; gap: 0.75rem; }

  /* Float cards on mobile */
  .float-card { display: none; }

  /* Grids */
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 1rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  /* Category Grid on Mobile */
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .category-card { padding: 0.85rem 0.6rem; gap: 0.45rem; }
  .category-icon { width: 40px; height: 40px; font-size: 1rem; border-radius: var(--radius-sm); }
  .category-name { font-size: 0.78rem; }
  .category-count { font-size: 0.65rem; }

  /* Steps on Mobile */
  .steps-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .steps-grid::before { display: none; }
  .step-card { padding: 1.1rem 0.85rem; }
  .step-number { width: 40px; height: 40px; font-size: 0.9rem; margin-bottom: 0.75rem; }

  /* Section spacing on mobile */
  .section { padding: 2.25rem 0; }
  .section-sm { padding: 1.5rem 0; }
  .section-header { margin-bottom: 1.5rem; }
  .section-title { font-size: clamp(1.3rem, 4.5vw, 1.8rem); }
  .section-subtitle { font-size: 0.85rem; }

  /* Cards on Mobile */
  .card { padding: 1.1rem 1rem; }

  /* CTA */
  .cta-section { padding: 2rem 1rem; border-radius: var(--radius-lg); }

  /* Footer */
  .footer { margin-bottom: 0; padding: 2.5rem 0 calc(var(--bottom-nav-height) + 1.5rem); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-desc { max-width: 100%; }

  /* Auth pages */
  .auth-page { flex-direction: column; min-height: 100vh; }
  .auth-hero-side {
    flex: none;
    min-height: 200px;
    padding: 2rem 1.25rem;
    align-items: flex-start;
  }
  .auth-hero-side > div { max-width: 100%; }
  .auth-side {
    width: 100%;
    flex: 1;
    padding: 1.75rem 1.25rem;
    align-items: flex-start;
  }
  .auth-card { max-width: 100%; }

  /* Testimonials: 1 col */
  .grid-3.testimonials { grid-template-columns: 1fr; }

  /* Navbar */
  .navbar-inner { padding: 0 1rem; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 400px)
   ============================================================ */
@media (max-width: 400px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .category-card { padding: 0.85rem 0.4rem; }
  .category-icon { width: 38px; height: 38px; font-size: 0.95rem; }

  .steps-grid { grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .step-card { padding: 1.1rem 0.75rem; }

  .hero-title { font-size: 1.65rem; }
  .btn-lg { padding: 0.78rem 1.4rem; font-size: 0.92rem; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }

  .hero-stats { gap: 1rem; }
  .hero-stat-value { font-size: 1.25rem; }
}

/* ============================================================
   MOBILE MARKETPLACE APP DASHBOARD STYLES
   ============================================================ */
.app-marketplace-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* App Header Header */
.app-user-header {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.app-user-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.app-user-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.app-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid #ffffff;
  flex-shrink: 0;
}

.app-user-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.app-user-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.app-user-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
}

.app-icon-btn:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  border-color: var(--primary-border);
}

.app-icon-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--danger);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* App Search Bar */
.app-search-input-wrap {
  position: relative;
  width: 100%;
}

.app-search-input-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 0.95rem;
}

.app-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  background: var(--bg-base);
  font-size: 0.88rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

.app-search-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

/* App Wallet & Status Card */
.app-wallet-card {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.22);
  gap: 1rem;
}

.app-wallet-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-wallet-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  flex-shrink: 0;
}

.app-wallet-val {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.app-wallet-lbl {
  font-size: 0.72rem;
  opacity: 0.88;
  font-weight: 500;
}

.app-wallet-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.25);
}

/* App Category Grid (Mobile Marketplace Menu) */
.app-grid-menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 0.5rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-sm);
}

.app-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: var(--transition);
}

.app-menu-item:hover {
  transform: translateY(-3px);
}

.app-menu-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.app-menu-item:hover .app-menu-icon {
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

.app-menu-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.2;
}

/* Category Icon Colors */
.icon-emerald { background: #d1fae5; color: #059669; }
.icon-cyan { background: #cffafe; color: #0891b2; }
.icon-amber { background: #fef3c7; color: #d97706; }
.icon-rose { background: #ffe4e6; color: #e11d48; }
.icon-purple { background: #f3e8ff; color: #9333ea; }
.icon-blue { background: #dbeafe; color: #2563eb; }
.icon-teal { background: #ccfbf1; color: #0d9488; }
.icon-indigo { background: #e0e7ff; color: #4f46e5; }

/* App Section Header */
.app-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.app-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-section-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.app-section-link:hover {
  text-decoration: underline;
}

/* App Promo Banner */
.app-promo-banner {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.20);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-promo-banner::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.app-promo-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.app-promo-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.app-promo-sub {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* App Order Status Cards */
.app-order-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1.1rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.app-order-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.app-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.app-order-code {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Horizontal Advocate Card */
.app-advocate-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.app-advocate-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.app-advocate-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.app-advocate-info {
  flex: 1;
  min-width: 0;
}

.app-advocate-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-advocate-spec {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.app-advocate-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Status Badges for Orders */
.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #cffafe; color: #155e75; }
.status-in_progress { background: #dbeafe; color: #1e40af; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

@media (max-width: 600px) {
  .app-grid-menu { grid-template-columns: repeat(4, 1fr); gap: 0.75rem 0.25rem; padding: 1rem 0.5rem; }
  .app-menu-icon { width: 42px; height: 42px; font-size: 1.1rem; }
  .app-menu-label { font-size: 0.68rem; }
  .app-wallet-card { flex-wrap: wrap; justify-content: space-around; gap: 0.75rem; }
  .app-wallet-divider { display: none; }
}

/* ============================================================
   MOBILE BOTTOM NAVIGATION STYLING
   ============================================================ */
/* ============================================================
   MOBILE BOTTOM NAVIGATION STYLING (NATIVE FAB BAR)
   ============================================================ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: all 0.3s ease;
}

html[data-theme="light"] .mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.08);
}

.mobile-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  height: 62px;
  position: relative;
  padding: 0 0.5rem;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  gap: 3px;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 4px 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.mobile-nav-item i {
  font-size: 1.35rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--primary-light);
  font-weight: 700;
}

html[data-theme="light"] .mobile-nav-item:hover,
html[data-theme="light"] .mobile-nav-item.active {
  color: var(--primary);
}

.mobile-nav-item.active i {
  color: var(--primary-light);
  transform: translateY(-2px) scale(1.15);
}

html[data-theme="light"] .mobile-nav-item.active i {
  color: var(--primary);
}

.mobile-nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  width: 20px;
  height: 3px;
  background: var(--primary-light);
  border-radius: 0 0 4px 4px;
}

html[data-theme="light"] .mobile-nav-item.active::after {
  background: var(--primary);
}

/* CENTER FAB (BULAT MENONJOL) KONSULTASI */
.mobile-nav-fab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  top: -12px;
  z-index: 10;
  padding: 0;
}

.fab-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.45), 0 0 0 5px var(--bg-card);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

html[data-theme="light"] .fab-circle {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35), 0 0 0 5px rgba(255, 255, 255, 0.96);
}

.mobile-nav-fab:hover .fab-circle,
.mobile-nav-fab:active .fab-circle {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.6), 0 0 0 5px var(--bg-card);
}

html[data-theme="light"] .mobile-nav-fab:hover .fab-circle,
html[data-theme="light"] .mobile-nav-fab:active .fab-circle {
  box-shadow: 0 12px 25px rgba(15, 118, 110, 0.5), 0 0 0 5px rgba(255, 255, 255, 0.96);
}

.fab-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 3px;
  letter-spacing: 0.2px;
}

html[data-theme="light"] .fab-label {
  color: var(--primary);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block !important;
  }
}

/* ============================================================
   CATEGORY GRID (SEMUA BIDANG HUKUM)
   ============================================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.category-item-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all 0.2s ease;
}

.category-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.08);
}

.category-item-card:hover .category-chevron {
  color: var(--primary);
  transform: translateX(3px);
}

.category-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.category-chevron {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

@media (max-width: 576px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .category-item-card {
    padding: 0.75rem 0.85rem;
    gap: 0.65rem;
  }
  .category-icon-badge {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    border-radius: 10px;
  }
}

/* ============================================================
   NATIVE MOBILE APP INTERFACE TOGGLE
   ============================================================ */
.desktop-landing-view { display: block; }
.mobile-app-view { display: none; }

@media (max-width: 768px) {
  /* Completely hide top navbar on mobile mode */
  nav.navbar,
  .navbar,
  .public-navbar,
  .panel-topbar {
    display: none !important;
  }

  .panel-main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    padding-bottom: calc(var(--bottom-nav-height) + 1.5rem) !important;
  }

  .panel-content {
    padding: 0.5rem !important;
    overflow-x: hidden !important;
  }

  .hero {
    padding-top: 1.5rem !important;
  }

  .desktop-landing-view { display: none !important; }
  .mobile-app-view { display: block !important; background: var(--bg-base); padding-top: 0 !important; }
}

/* ============================================================
   REFERENCE MATCHED MOBILE APP UI LAYOUT (WAVE HEADER & FLOATING SEARCH)
   ============================================================ */
.mobile-wave-header {
  background: #047857 url('../images/mobile_dashboard_bg.png') center/cover no-repeat;
  background-blend-mode: overlay;
  border-radius: 0 0 28px 28px;
  padding: 1.5rem 1.25rem 3.25rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.mobile-wave-header::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.mobile-wave-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 150px;
  height: 150px;
  border-radius: 45%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.mobile-search-floating {
  margin-top: -1.75rem;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
  margin-bottom: 1.25rem;
}

.mobile-search-pill {
  background: #ffffff;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
  padding: 0.35rem 0.4rem 0.35rem 1.1rem;
  display: flex;
  align-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.mobile-ref-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.mobile-ref-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.mobile-ref-thumb {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.mobile-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.mobile-stat-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.mobile-stat-lbl {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================================================
   MOBILE TOP BRAND BAR (ENSURE LOGO & NAME ALWAYS VISIBLE ON MOBILE)
   ============================================================ */
.mobile-top-brand-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-top-brand-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border-bottom: 1.5px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 9999;
  }
  .mobile-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
  }
  .mobile-brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  .mobile-brand-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
  }
  .mobile-brand-sub {
    font-size: 0.68rem;
    color: var(--primary);
    font-weight: 700;
  }
}

/* ============================================================
   DARK MODE OVERRIDES & THEME SWITCHER
   ============================================================ */
html:not([data-theme="light"]) .navbar,
html[data-theme="dark"] .navbar {
  background: rgba(15, 16, 21, 0.94) !important;
  border-bottom: 1px solid rgba(40, 43, 58, 0.8) !important;
}

html:not([data-theme="light"]) .navbar.scrolled,
html[data-theme="dark"] .navbar.scrolled {
  background: rgba(21, 23, 32, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

html:not([data-theme="light"]) .navbar-actions-mobile,
html[data-theme="dark"] .navbar-actions-mobile {
  background: rgba(15, 16, 21, 0.98) !important;
}

html:not([data-theme="light"]) .mobile-top-brand-bar,
html[data-theme="dark"] .mobile-top-brand-bar {
  background: #151720 !important;
  border-bottom: 1.5px solid #282b3a !important;
}

html:not([data-theme="light"]) .sidebar,
html[data-theme="dark"] .sidebar {
  background: #12131a !important;
  border-right: 1px solid #282b3a !important;
}

html:not([data-theme="light"]) .wiz-modal-container,
html[data-theme="dark"] .wiz-modal-container {
  background: #181922 !important;
  border: 1px solid #2d3142 !important;
  color: #f8fafc !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8) !important;
}

html:not([data-theme="light"]) .wiz-modal-header,
html[data-theme="dark"] .wiz-modal-header {
  border-bottom: 1px solid #2a2d3d !important;
}

html:not([data-theme="light"]) .wiz-modal-footer,
html[data-theme="dark"] .wiz-modal-footer {
  background: #12131a !important;
  border-top: 1px solid #2a2d3d !important;
}

html:not([data-theme="light"]) .wiz-input,
html:not([data-theme="light"]) .wiz-select,
html:not([data-theme="light"]) .wiz-textarea,
html:not([data-theme="light"]) .form-control,
html:not([data-theme="light"]) .form-select,
html[data-theme="dark"] .wiz-input,
html[data-theme="dark"] .wiz-select,
html[data-theme="dark"] .wiz-textarea,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
  background-color: #1e202c !important;
  border-color: #32364a !important;
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .wiz-method-card,
html:not([data-theme="light"]) .wiz-option-card,
html:not([data-theme="light"]) .card,
html:not([data-theme="light"]) .hero-card,
html:not([data-theme="light"]) .auth-card,
html[data-theme="dark"] .wiz-method-card,
html[data-theme="dark"] .wiz-option-card,
html[data-theme="dark"] .card,
html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .auth-card {
  background-color: #181922 !important;
  border-color: #2a2d3d !important;
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .wiz-calendar-wrapper,
html[data-theme="dark"] .wiz-calendar-wrapper {
  background-color: #1e202c !important;
  border-color: #32364a !important;
}

html:not([data-theme="light"]) .wiz-cal-day,
html[data-theme="dark"] .wiz-cal-day {
  color: #cbd5e1 !important;
}

html:not([data-theme="light"]) .wiz-cal-day:hover,
html[data-theme="dark"] .wiz-cal-day:hover {
  background-color: #2d3142 !important;
}

html:not([data-theme="light"]) table.dataTable tbody tr,
html[data-theme="dark"] table.dataTable tbody tr {
  background-color: #181922 !important;
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .hero,
html[data-theme="dark"] .hero {
  background: #0f1015 !important;
  border-bottom: 1px solid #242735 !important;
}

html:not([data-theme="light"]) .hero::after,
html[data-theme="dark"] .hero::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
}

html:not([data-theme="light"]) .hero-search-box,
html[data-theme="dark"] .hero-search-box {
  background: #181922 !important;
  border-color: #313548 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

html:not([data-theme="light"]) .hero-search-box input,
html[data-theme="dark"] .hero-search-box input {
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .float-card,
html[data-theme="dark"] .float-card {
  background: rgba(24, 25, 34, 0.95) !important;
  border: 1px solid #2e3243 !important;
  color: #f8fafc !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

html:not([data-theme="light"]) .category-item-card,
html:not([data-theme="light"]) .testimonial-card,
html:not([data-theme="light"]) .cta-section,
html[data-theme="dark"] .category-item-card,
html[data-theme="dark"] .testimonial-card,
html[data-theme="dark"] .cta-section {
  background: #181922 !important;
  border-color: #2a2d3d !important;
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .mobile-app-view,
html[data-theme="dark"] .mobile-app-view {
  background: #0f1015 !important;
}

html:not([data-theme="light"]) .mobile-search-pill,
html[data-theme="dark"] .mobile-search-pill {
  background: #181922 !important;
  border-color: #2a2d3d !important;
}

html:not([data-theme="light"]) .auth-container,
html[data-theme="dark"] .auth-container {
  background: #181922 !important;
  border-color: #2a2d3d !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7) !important;
}

html:not([data-theme="light"]) .auth-visual-col,
html[data-theme="dark"] .auth-visual-col {
  background: #12131a !important;
  border-right: 1.5px solid #2a2d3d !important;
}

html:not([data-theme="light"]) .auth-form-col,
html[data-theme="dark"] .auth-form-col {
  background: #181922 !important;
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .form-label,
html[data-theme="dark"] .form-label {
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .form-control,
html[data-theme="dark"] .form-control {
  background-color: #21232d !important;
  border-color: #35394b !important;
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .mobile-auth-banner > div,
html[data-theme="dark"] .mobile-auth-banner > div {
  background: #21232d !important;
  border-color: #35394b !important;
}

html:not([data-theme="light"]) .footer,
html[data-theme="dark"] .footer {
  background: #090a0e !important;
  border-top: 1px solid #232533 !important;
}

/* Theme Toggle Icon Button Styles (Clean Vector SVG, No Background Box, No Emoji) */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--text-muted);
  padding: 0;
  flex-shrink: 0;
  line-height: 1;
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: block;
  transition: transform 0.25s ease, stroke 0.25s ease, color 0.25s ease;
}

.mobile-nav-item.theme-toggle-btn svg {
  width: 22px;
  height: 22px;
}

.theme-toggle-btn:hover {
  transform: scale(1.15);
}

html:not([data-theme="light"]) .theme-toggle-btn,
html[data-theme="dark"] .theme-toggle-btn {
  color: #fbbf24 !important;
}

html[data-theme="light"] .theme-toggle-btn {
  color: #0284c7 !important;
}

/* Toggle visibility between vector moon and sun icons without emoji */
html:not([data-theme="light"]) .theme-toggle-btn .theme-icon-sun,
html[data-theme="dark"] .theme-toggle-btn .theme-icon-sun {
  display: none !important;
}
html:not([data-theme="light"]) .theme-toggle-btn .theme-icon-moon,
html[data-theme="dark"] .theme-toggle-btn .theme-icon-moon {
  display: block !important;
}

html[data-theme="light"] .theme-toggle-btn .theme-icon-moon {
  display: none !important;
}
html[data-theme="light"] .theme-toggle-btn .theme-icon-sun {
  display: block !important;
}

/* Explicit Dark Theme Button & Badge Overrides */
html:not([data-theme="light"]) .btn-secondary,
html[data-theme="dark"] .btn-secondary {
  background-color: #21232d !important;
  border-color: #35394b !important;
  color: #f8fafc !important;
}

html:not([data-theme="light"]) .btn-secondary:hover,
html[data-theme="dark"] .btn-secondary:hover {
  background-color: #2a2d3d !important;
  border-color: var(--primary) !important;
  color: var(--primary-light) !important;
}

/* Order Status Pills Filter */
.order-status-pill {
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: all 0.2s ease;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  display: inline-flex;
  align-items: center;
}

.order-status-pill:hover {
  background: var(--bg-card2);
  border-color: var(--primary);
  color: var(--primary);
}

.order-status-pill.active {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
}

html:not([data-theme="light"]) .order-status-pill:not(.active),
html[data-theme="dark"] .order-status-pill:not(.active) {
  background-color: #21232d !important;
  border-color: #35394b !important;
  color: #cbd5e1 !important;
}

html:not([data-theme="light"]) .order-status-pill:not(.active):hover,
html[data-theme="dark"] .order-status-pill:not(.active):hover {
  background-color: #2a2d3d !important;
  border-color: var(--primary) !important;
  color: var(--primary-light) !important;
}

html:not([data-theme="light"]) .badge-secondary,
html[data-theme="dark"] .badge-secondary {
  background-color: #21232d !important;
  border: 1px solid #35394b !important;
  color: #cbd5e1 !important;
}

/* ============================================================
   LAYANAN PAGE RESPONSIVE STYLES
   ============================================================ */
.layanan-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.layanan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.layanan-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.layanan-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.layanan-cta-btn {
  padding: 0.9rem 2.2rem;
  font-size: 1.02rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .layanan-hero {
    padding: 2.25rem 0 2.5rem;
  }
  .layanan-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.85rem;
    line-height: 1.3;
    text-align: center;
  }
  .layanan-title {
    font-size: 1.45rem;
    margin-bottom: 0.65rem;
  }
  .layanan-desc {
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
    padding: 0 0.25rem;
  }
  .layanan-cta-btn {
    width: 100% !important;
    max-width: 320px !important;
    font-size: 0.88rem !important;
    padding: 0.8rem 1rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }
  .layanan-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}



