/* ============================================
   FLUX ESCROW - Main Stylesheet
   Brand: Green & White | Premium Fintech
============================================ */

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

:root {
  /* Brand Colors */
  --flux-green: #16a34a;
  --flux-green-light: #22c55e;
  --flux-green-dark: #15803d;
  --flux-green-deeper: #14532d;
  --flux-green-pale: #f0fdf4;
  --flux-green-muted: #dcfce7;
  --flux-green-mid: #bbf7d0;

  /* Neutrals */
  --flux-white: #ffffff;
  --flux-off-white: #f9fafb;
  --flux-gray-50: #f8fafc;
  --flux-gray-100: #f1f5f9;
  --flux-gray-200: #e2e8f0;
  --flux-gray-300: #cbd5e1;
  --flux-gray-400: #94a3b8;
  --flux-gray-500: #64748b;
  --flux-gray-600: #475569;
  --flux-gray-700: #334155;
  --flux-gray-800: #1e293b;
  --flux-gray-900: #0f172a;

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
  --shadow-green: 0 4px 14px rgba(22,163,74,0.25);

  /* Borders */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.22s ease;
  --transition-slow: all 0.38s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--flux-gray-800);
  background: var(--flux-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--flux-gray-900);
}

a { color: var(--flux-green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--flux-green-dark); }

img { max-width: 100%; height: auto; }

/* ─── Utility Classes ─── */
.text-green { color: var(--flux-green) !important; }
.bg-green { background-color: var(--flux-green) !important; }
.bg-green-pale { background-color: var(--flux-green-pale) !important; }
.border-green { border-color: var(--flux-green) !important; }

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }

.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }

/* ─── Buttons ─── */
.btn-flux {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.btn-flux-primary {
  background: var(--flux-green);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn-flux-primary:hover {
  background: var(--flux-green-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22,163,74,0.35);
}

.btn-flux-outline {
  background: transparent;
  color: var(--flux-green);
  border: 2px solid var(--flux-green);
}
.btn-flux-outline:hover {
  background: var(--flux-green);
  color: #fff;
  transform: translateY(-1px);
}

.btn-flux-white {
  background: #fff;
  color: var(--flux-green);
  box-shadow: var(--shadow-md);
}
.btn-flux-white:hover {
  background: var(--flux-green-pale);
  color: var(--flux-green-dark);
  transform: translateY(-1px);
}

.btn-flux-dark {
  background: var(--flux-gray-900);
  color: #fff;
}
.btn-flux-dark:hover {
  background: var(--flux-gray-800);
  color: #fff;
  transform: translateY(-1px);
}

.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }

/* ─── Badges ─── */
.badge-flux {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.badge-green { background: var(--flux-green-muted); color: var(--flux-green-dark); }
.badge-gray { background: var(--flux-gray-100); color: var(--flux-gray-600); }
.badge-orange { background: #fff7ed; color: #c2410c; }
.badge-red { background: #fef2f2; color: #dc2626; }
.badge-blue { background: #eff6ff; color: #2563eb; }

/* ─── Cards ─── */
.flux-card {
  background: var(--flux-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--flux-gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.flux-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.flux-card-body { padding: 28px; }
.flux-card-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--flux-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flux-card-header h5 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

/* ─── Section Labels ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--flux-green-muted);
  color: var(--flux-green-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ─── Stat Cards ─── */
.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--flux-gray-100);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.stat-card .stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--flux-green-muted);
  display: flex; align-items: center; justify-content: center;
  color: var(--flux-green);
  font-size: 22px;
  margin-bottom: 16px;
}
.stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--flux-gray-900);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-card .stat-label {
  font-size: 14px;
  color: var(--flux-gray-500);
  font-weight: 500;
}
.stat-card .stat-change {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}
.stat-change.up { color: var(--flux-green); }
.stat-change.down { color: #dc2626; }

/* ─── Tables ─── */
.flux-table {
  width: 100%;
  border-collapse: collapse;
}
.flux-table th {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--flux-gray-500);
  padding: 12px 16px;
  border-bottom: 1px solid var(--flux-gray-100);
  background: var(--flux-gray-50);
  white-space: nowrap;
}
.flux-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--flux-gray-50);
  font-size: 14px;
  vertical-align: middle;
}
.flux-table tr:last-child td { border-bottom: none; }
.flux-table tr:hover td { background: var(--flux-green-pale); }

/* ─── Forms ─── */
.flux-form-group { margin-bottom: 20px; }
.flux-label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--flux-gray-700);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.flux-input, .flux-select, .flux-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--flux-gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--flux-gray-800);
  background: #fff;
  transition: var(--transition);
  outline: none;
}
.flux-input:focus, .flux-select:focus, .flux-textarea:focus {
  border-color: var(--flux-green);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
}
.flux-input::placeholder { color: var(--flux-gray-400); }
.flux-textarea { resize: vertical; min-height: 120px; }
.input-icon-wrap { position: relative; }
.input-icon-wrap .flux-input { padding-left: 44px; }
.input-icon-wrap .input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--flux-gray-400); font-size: 17px;
}

/* ─── Alerts ─── */
.flux-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.flux-alert-success { background: var(--flux-green-muted); color: var(--flux-green-dark); border-left: 3px solid var(--flux-green); }
.flux-alert-warning { background: #fff7ed; color: #9a3412; border-left: 3px solid #f97316; }
.flux-alert-danger { background: #fef2f2; color: #991b1b; border-left: 3px solid #ef4444; }
.flux-alert-info { background: #eff6ff; color: #1e40af; border-left: 3px solid #3b82f6; }

/* ─── Progress ─── */
.flux-progress {
  background: var(--flux-gray-100);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
}
.flux-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--flux-green), var(--flux-green-light));
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

/* ─── Steps ─── */
.flux-steps { display: flex; gap: 0; position: relative; }
.flux-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.flux-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--flux-gray-200);
  z-index: 0;
}
.flux-step.active:not(:last-child)::after { background: var(--flux-green); }
.step-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--flux-gray-100);
  border: 2px solid var(--flux-gray-200);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--flux-gray-500);
  position: relative; z-index: 1;
  transition: var(--transition);
}
.flux-step.active .step-dot {
  background: var(--flux-green);
  border-color: var(--flux-green);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.flux-step.done .step-dot {
  background: var(--flux-green-muted);
  border-color: var(--flux-green);
  color: var(--flux-green);
}

/* ─── Sidebar ─── */
.flux-sidebar {
  width: 260px;
  height: 100vh;          /* exact viewport height — was min-height */
  background: var(--flux-gray-900);
  position: fixed;
  left: 0; top: 0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: var(--transition);
  overflow: hidden;       /* sidebar itself never scrolls */
}
.sidebar-logo {
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;   /* never compress — stays at top */
}
.sidebar-logo img { height: 36px; }
.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;          /* critical — without this flex-children won't shrink below content size */
}
/* Thin custom scrollbar for nav */
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }
.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 16px 12px 8px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-display);
  transition: var(--transition);
  margin-bottom: 2px;
  text-decoration: none;
}
.sidebar-link:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.sidebar-link.active {
  background: var(--flux-green);
  color: #fff;
}
.sidebar-link i { font-size: 17px; width: 20px; text-align: center; }
.sidebar-link .badge-count {
  margin-left: auto;
  background: var(--flux-green);
  color: #fff;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
}
.sidebar-link.active .badge-count { background: rgba(255,255,255,0.25); }

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;   /* never compress — stays at bottom */
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.8);
}
.sidebar-user-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--flux-green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.sidebar-user-info { flex: 1; overflow: hidden; }
.sidebar-user-name {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-user-role { font-size: 12px; color: rgba(255,255,255,0.4); }

/* ─── Topbar ─── */
.flux-topbar {
  height: 68px;
  background: #fff;
  border-bottom: 1px solid var(--flux-gray-100);
  display: flex;
  align-items: center;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 900;
  gap: 16px;
}
.topbar-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--flux-gray-900);
}
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.topbar-icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--flux-gray-50);
  border: 1px solid var(--flux-gray-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--flux-gray-600);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}
.topbar-icon-btn:hover { background: var(--flux-green-pale); color: var(--flux-green); border-color: var(--flux-green-mid); }
.topbar-badge {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  background: #dc2626;
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

/* ─── Dashboard Layout ─── */
.dash-wrapper {
  display: flex;
  min-height: 100vh;
}
.dash-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--flux-gray-50);
}
.dash-content { padding: 28px; flex: 1; }

/* ─── Public Navbar ─── */
.flux-navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--flux-gray-100);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.navbar-logo img { height: 38px; }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
  flex: 1;
}
.navbar-links li a {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--flux-gray-600);
  transition: var(--transition);
  font-family: var(--font-display);
}
.navbar-links li a:hover, .navbar-links li a.active {
  color: var(--flux-green);
  background: var(--flux-green-pale);
}
.navbar-cta { display: flex; align-items: center; gap: 10px; }

/* ─── Hero ─── */
.hero-section {
  background: linear-gradient(135deg, var(--flux-gray-900) 0%, #0d2818 60%, var(--flux-green-deeper) 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2316a34a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.2) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22,163,74,0.15);
  color: var(--flux-green-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  border: 1px solid rgba(22,163,74,0.3);
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title .accent {
  color: var(--flux-green-light);
}
.hero-subtitle {
  font-size: 19px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 500;
}
.hero-trust-item i { color: var(--flux-green-light); font-size: 16px; }

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-card-float {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 24px;
  color: #fff;
}
.hero-card-float .tx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 14px;
}
.hero-card-float .tx-row:last-child { border-bottom: none; }
.tx-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.tx-status.secured { background: rgba(22,163,74,0.2); color: #4ade80; }
.tx-status.pending { background: rgba(251,191,36,0.15); color: #fbbf24; }

/* ─── Features Grid ─── */
.feature-card {
  background: #fff;
  border: 1px solid var(--flux-gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  height: 100%;
}
.feature-card:hover {
  border-color: var(--flux-green-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--flux-green-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--flux-green);
  margin-bottom: 20px;
}
.feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 15px;
  color: var(--flux-gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ─── How It Works ─── */
.hiw-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.hiw-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--flux-green);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-green);
}
.hiw-content h4 { font-size: 18px; margin-bottom: 8px; }
.hiw-content p { color: var(--flux-gray-500); font-size: 15px; margin: 0; }

/* ─── Stats ─── */
.stats-section {
  background: var(--flux-green);
  padding: 72px 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-item .num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .lbl {
  font-size: 15px;
  opacity: 0.8;
}

/* ─── Testimonials ─── */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--flux-gray-100);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #f59e0b; font-size: 15px; margin-bottom: 14px; }
.testimonial-text { font-size: 15px; color: var(--flux-gray-600); font-style: italic; margin-bottom: 20px; line-height: 1.65; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--flux-green-muted);
  color: var(--flux-green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display);
}
.testimonial-name { font-weight: 600; font-size: 14px; font-family: var(--font-display); }
.testimonial-role { font-size: 12px; color: var(--flux-gray-400); }

/* ─── Pricing ─── */
.pricing-card {
  background: #fff;
  border: 2px solid var(--flux-gray-100);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--flux-green);
  box-shadow: var(--shadow-green);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--flux-green);
  color: #fff;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
}
.pricing-name { font-size: 14px; font-weight: 600; color: var(--flux-gray-500); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 12px; }
.pricing-amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--flux-gray-900);
  line-height: 1;
}
.pricing-amount sup { font-size: 20px; vertical-align: super; }
.pricing-period { font-size: 15px; color: var(--flux-gray-400); }
.pricing-features { list-style: none; margin: 28px 0; padding: 0; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
  color: var(--flux-gray-600);
  padding: 8px 0;
  border-bottom: 1px solid var(--flux-gray-50);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { color: var(--flux-green); font-size: 16px; }

/* ─── FAQ ─── */
.faq-item {
  border: 1px solid var(--flux-gray-100);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--flux-gray-800);
  user-select: none;
  transition: var(--transition);
}
.faq-question:hover { background: var(--flux-green-pale); color: var(--flux-green-dark); }
.faq-question .faq-icon { color: var(--flux-green); font-size: 18px; transition: var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 22px 18px; color: var(--flux-gray-600); font-size: 15px; line-height: 1.65; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { background: var(--flux-green-pale); color: var(--flux-green-dark); }

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, var(--flux-gray-900), var(--flux-green-deeper));
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(22,163,74,0.15) 0%, transparent 70%);
}
.cta-section .cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.cta-section .cta-sub { color: rgba(255,255,255,0.65); font-size: 18px; margin-bottom: 40px; }

/* ─── Footer ─── */
.flux-footer {
  background: var(--flux-gray-900);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 32px;
}
.footer-brand { margin-bottom: 20px; }
.footer-brand img { height: 36px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.4); margin-top: 12px; max-width: 240px; }
.footer-heading {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-links li a:hover { color: var(--flux-green-light); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--flux-green); color: #fff; }

/* ─── Auth Pages ─── */
.auth-page {
  min-height: 100vh;
  display: flex;
}
.auth-left {
  flex: 1;
  background: linear-gradient(145deg, var(--flux-gray-900), var(--flux-green-deeper));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px;
  position: relative;
  overflow: hidden;
}
.auth-left::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2316a34a' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.auth-left-content { position: relative; z-index: 1; }
.auth-left-logo { margin-bottom: 48px; }
.auth-left-logo img { height: 40px; }
.auth-left h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
.auth-left p { color: rgba(255,255,255,0.65); font-size: 16px; line-height: 1.6; margin-bottom: 40px; }
.auth-trust-points { list-style: none; padding: 0; margin: 0; }
.auth-trust-points li {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  margin-bottom: 14px;
}
.auth-trust-points li i { color: var(--flux-green-light); font-size: 17px; }

.auth-right {
  width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  background: #fff;
}
.auth-right-logo { margin-bottom: 36px; }
.auth-right-logo img { height: 34px; }
.auth-form-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}
.auth-form-sub { color: var(--flux-gray-500); font-size: 15px; margin-bottom: 32px; }

/* ─── Transactions ─── */
.tx-card {
  background: #fff;
  border: 1px solid var(--flux-gray-100);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  margin-bottom: 12px;
}
.tx-card:hover { box-shadow: var(--shadow-md); border-color: var(--flux-green-mid); }
.tx-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--flux-green-muted);
  color: var(--flux-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.tx-info { flex: 1; }
.tx-title { font-weight: 600; font-size: 15px; color: var(--flux-gray-900); margin-bottom: 3px; font-family: var(--font-display); }
.tx-meta { font-size: 13px; color: var(--flux-gray-400); }
.tx-amount { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--flux-gray-900); text-align: right; }

/* ─── Wallet Card ─── */
.wallet-card {
  background: linear-gradient(135deg, var(--flux-green-dark), var(--flux-green));
  border-radius: var(--radius-xl);
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.wallet-card::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.wallet-label { font-size: 13px; opacity: 0.75; font-weight: 500; margin-bottom: 8px; }
.wallet-balance {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 24px;
}
.wallet-actions { display: flex; gap: 12px; }
.wallet-btn {
  flex: 1;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}
.wallet-btn:hover { background: rgba(255,255,255,0.25); color: #fff; }

/* ─── Notification Items ─── */
.notif-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--flux-gray-50);
}
.notif-item:last-child { border-bottom: none; }
.notif-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--flux-green);
  margin-top: 5px;
  flex-shrink: 0;
}
.notif-dot.read { background: var(--flux-gray-200); }
.notif-text { font-size: 14px; color: var(--flux-gray-700); line-height: 1.5; }
.notif-time { font-size: 12px; color: var(--flux-gray-400); margin-top: 4px; }

/* ─── Timeline ─── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--flux-gray-100);
}
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-dot {
  position: absolute;
  left: -24px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--flux-green);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--flux-green);
}
.timeline-dot.pending { background: #f59e0b; box-shadow: 0 0 0 2px #f59e0b; }
.timeline-dot.gray { background: var(--flux-gray-300); box-shadow: 0 0 0 2px var(--flux-gray-300); }
.timeline-content h6 { font-family: var(--font-display); font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.timeline-content p { font-size: 13px; color: var(--flux-gray-500); margin: 0; }
.timeline-time { font-size: 12px; color: var(--flux-gray-400); margin-top: 3px; }

/* ─── Mobile Responsive ─── */
@media (max-width: 1024px) {
  .flux-sidebar { transform: translateX(-100%); }
  .flux-sidebar.open { transform: translateX(0); }
  .dash-main { margin-left: 0; }
  .auth-left { display: none; }
  .auth-right { width: 100%; }
}

@media (max-width: 768px) {
  .navbar-links, .navbar-cta { display: none; }
  .section-pad { padding: 64px 0; }
  .hero-section { min-height: auto; padding: 80px 0 60px; }
  .hero-title { font-size: 36px; }
  .hero-trust { flex-wrap: wrap; gap: 14px; }
  .dash-content { padding: 20px 16px; }
  .flux-topbar { padding: 0 16px; }
  .stat-item .num { font-size: 36px; }
}

/* ─── Utility Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.animate-fade-up { animation: fadeInUp 0.5s ease forwards; }
.animate-pulse { animation: pulse 2s infinite; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--flux-gray-50); }
::-webkit-scrollbar-thumb { background: var(--flux-gray-200); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--flux-green); }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, var(--flux-gray-900) 0%, #0a1f12 55%, var(--flux-green-deeper) 100%);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%2316a34a' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,0.18) 0%, transparent 70%);
  top: -120px; right: -80px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(22,163,74,0.18);
  color: #86efac;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(22,163,74,0.25);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.page-hero .lead {
  color: rgba(255,255,255,0.65);
  font-size: 18px;
  line-height: 1.7;
  max-width: 580px;
}
.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  margin-bottom: 20px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.5); }
.page-hero-breadcrumb a:hover { color: #86efac; }
.page-hero-breadcrumb i { font-size: 11px; }

/* ─── Section Spacing ─── */
.section-lg { padding: 100px 0; }
.section-md { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-bg-pale { background: var(--flux-green-pale); }
.section-bg-gray { background: var(--flux-gray-50); }
.section-bg-dark { background: var(--flux-gray-900); }
.section-bg-green {
  background: linear-gradient(135deg, var(--flux-green-dark) 0%, var(--flux-green-deeper) 100%);
}

/* ─── Section Titles ─── */
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: var(--flux-gray-500); line-height: 1.7; max-width: 600px; }
.section-label {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--flux-green-pale);
  color: var(--flux-green-dark);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid var(--flux-green-muted);
}

/* ─── Rich Cards ─── */
.rich-card {
  background: #fff;
  border: 1px solid var(--flux-gray-100);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  overflow: hidden;
}
.rich-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--flux-green-muted);
}
.rich-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: var(--flux-green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--flux-green);
  margin-bottom: 20px;
  border: 1px solid var(--flux-green-muted);
  transition: var(--transition);
}
.rich-card:hover .rich-card-icon {
  background: var(--flux-green);
  color: #fff;
  border-color: transparent;
}

/* ─── Number Steps ─── */
.step-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--flux-green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-green);
}
.step-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--flux-green), var(--flux-green-muted));
  margin: 0 12px;
}

/* ─── Stat Boxes ─── */
.stat-box {
  text-align: center;
  padding: 32px 24px;
}
.stat-box .num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--flux-green);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.stat-box .label {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ─── Team Avatar ─── */
.team-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flux-green), var(--flux-green-dark));
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}

/* ─── Accordion (FAQ) ─── */
.faq-accordion .accordion-item {
  border: 1px solid var(--flux-gray-100);
  border-radius: var(--radius-lg) !important;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: none;
}
.faq-accordion .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--flux-gray-800);
  background: #fff;
  padding: 20px 24px;
  box-shadow: none;
  border-radius: var(--radius-lg) !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--flux-green);
  background: var(--flux-green-pale);
  box-shadow: none;
}
.faq-accordion .accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2316a34a' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.faq-accordion .accordion-body { padding: 0 24px 20px; color: var(--flux-gray-500); line-height: 1.75; }

/* ─── Pricing Cards ─── */
.pricing-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--flux-gray-100);
  padding: 40px;
  background: #fff;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.pricing-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.pricing-card.featured {
  background: linear-gradient(145deg, var(--flux-green-dark), var(--flux-green-deeper));
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(22,163,74,0.35);
}
.pricing-card.featured:hover { transform: translateY(-6px); }
.pricing-popular {
  position: absolute; top: 20px; right: 20px;
  background: #fff;
  color: var(--flux-green-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
}
.pricing-check { color: var(--flux-green); font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.pricing-check-white { color: #86efac; font-size: 15px; flex-shrink: 0; margin-top: 2px; }

/* ─── Contact Page ─── */
.contact-info-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--flux-gray-100);
  border-radius: var(--radius-xl);
  transition: var(--transition-slow);
  margin-bottom: 16px;
}
.contact-info-item:hover { box-shadow: var(--shadow-md); border-color: var(--flux-green-muted); }
.contact-info-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: var(--flux-green-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--flux-green);
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid var(--flux-green-muted);
}
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--flux-gray-100);
  border-radius: var(--radius-2xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

/* ─── Captcha ─── */
.captcha-box {
  display: flex; align-items: center; gap: 16px;
  background: var(--flux-green-pale);
  border: 1px solid var(--flux-green-muted);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
}
.captcha-question {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--flux-gray-800);
  font-size: 16px;
  white-space: nowrap;
}
.captcha-input { width: 80px !important; text-align: center; font-weight: 700; font-size: 18px; }

/* ─── Security Page ─── */
.security-badge {
  display: flex; flex-direction: column; align-items: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition);
}
.security-badge:hover { background: rgba(255,255,255,0.12); border-color: rgba(22,163,74,0.4); }
.security-badge i { font-size: 36px; color: #86efac; margin-bottom: 14px; }
.security-badge .title { color: #fff; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.security-badge .sub { color: rgba(255,255,255,0.5); font-size: 12px; }

/* ─── Legal / Policy Pages ─── */
.legal-sidebar-link {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--flux-gray-500);
  font-size: 14px;
  transition: var(--transition);
  margin-bottom: 2px;
}
.legal-sidebar-link:hover, .legal-sidebar-link.active {
  background: var(--flux-green-pale);
  color: var(--flux-green);
}
.legal-body h4 { margin-top: 48px; margin-bottom: 14px; font-size: 20px; }
.legal-body h4:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--flux-gray-600); line-height: 1.8; font-size: 15.5px; }
.legal-body ul { padding-left: 20px; margin-bottom: 16px; }
.legal-body li { margin-bottom: 8px; }

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, var(--flux-green-deeper) 0%, var(--flux-green-dark) 60%, var(--flux-green) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }

/* ─── Social Links ─── */
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--flux-gray-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--flux-gray-500);
  font-size: 16px;
  transition: var(--transition);
}
.social-link:hover { background: var(--flux-green); border-color: var(--flux-green); color: #fff; }

/* ─── Map / Location ─── */
.map-placeholder {
  background: var(--flux-green-pale);
  border-radius: var(--radius-xl);
  height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 2px dashed var(--flux-green-muted);
}

/* ─── How It Works Visual ─── */
.hiw-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative;
}
.hiw-step::after {
  content: '';
  position: absolute;
  top: 26px; left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 2px;
  background: linear-gradient(90deg, var(--flux-green) 0%, var(--flux-green-muted) 100%);
}
.hiw-step:last-child::after { display: none; }

/* ─── Process Timeline ─── */
.process-step {
  display: flex; gap: 24px; align-items: flex-start; margin-bottom: 48px;
}
.process-step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--flux-green-pale);
  border: 2px solid var(--flux-green);
  color: var(--flux-green);
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.process-line {
  width: 2px; background: linear-gradient(180deg, var(--flux-green), var(--flux-green-muted));
  flex-shrink: 0; margin-left: 23px; height: 100%;
}

/* ─── Testimonial Cards ─── */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--flux-gray-100);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition-slow);
}
.testimonial-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.testimonial-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text { color: var(--flux-gray-600); font-size: 15px; line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--flux-green), var(--flux-green-dark));
  color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ─── Industry Use Cases ─── */
.usecase-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--flux-gray-100);
  background: #fff;
  cursor: pointer;
  transition: var(--transition-slow);
  text-align: center;
}
.usecase-card:hover {
  border-color: var(--flux-green);
  background: var(--flux-green-pale);
  box-shadow: 0 8px 32px rgba(22,163,74,0.12);
}
.usecase-card i { font-size: 32px; color: var(--flux-green); margin-bottom: 14px; display: block; }
.usecase-card h6 { font-weight: 700; margin-bottom: 6px; }
.usecase-card p { font-size: 13.5px; color: var(--flux-gray-500); margin: 0; }

/* ─── Badge Green ─── */
.badge-green {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--flux-green-pale);
  color: var(--flux-green-dark);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  border: 1px solid var(--flux-green-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD UI — MISSING COMPONENT STYLES
   Added to fix broken icons, layout, and component CSS
═══════════════════════════════════════════════════════════════ */

/* ─── Sidebar scroll fix (applied to .flux-sidebar in main block above) ─── */

/* ─── Text / Color Utilities ─── */
.flux-green       { color: var(--flux-green) !important; }
.flux-icon-green  { color: var(--flux-green) !important; }
.bg-flux-green    { background-color: var(--flux-green) !important; }
.text-success     { color: #16a34a !important; }
.fw-500           { font-weight: 500 !important; }
.fw-600           { font-weight: 600 !important; }
.fw-700           { font-weight: 700 !important; }
.fw-800           { font-weight: 800 !important; }

/* ─── Badge Pill ─── */
.flux-badge-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--flux-green-pale);
  color: var(--flux-green-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  border: 1px solid var(--flux-green-muted);
  text-transform: uppercase; letter-spacing: 0.04em;
}

/* ─── Status Badges ─── */
.flux-status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  text-transform: capitalize;
}
.flux-status-completed    { background: #dcfce7; color: #15803d; }
.flux-status-in-progress  { background: #fef9c3; color: #92400e; }
.flux-status-inspection   { background: #dbeafe; color: #1e40af; }
.flux-status-funded       { background: #ede9fe; color: #5b21b6; }
.flux-status-disputed     { background: #fee2e2; color: #991b1b; }
.flux-status-cancelled    { background: #f1f5f9; color: #475569; }
.flux-status-pending      { background: #fef3c7; color: #92400e; }
.flux-status-approved     { background: #dcfce7; color: #15803d; }
.flux-status-rejected     { background: #fee2e2; color: #991b1b; }
.flux-status-under-review { background: #fef9c3; color: #92400e; }
.flux-status-resolved-won { background: #dcfce7; color: #15803d; }
.flux-status-resolved-lost{ background: #fee2e2; color: #991b1b; }
.flux-status-confirmed    { background: #dcfce7; color: #15803d; }
.flux-status-failed       { background: #fee2e2; color: #991b1b; }
.flux-status-on-hold      { background: #fef9c3; color: #92400e; }

/* ─── Team / User Avatar ─── */
.flux-team-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flux-green), var(--flux-green-dark));
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ─── Wallet Card ─── */
.flux-wallet-card {
  background: linear-gradient(135deg, var(--flux-green-dark) 0%, var(--flux-green-deeper) 100%);
  border-radius: var(--radius-xl);
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
.flux-wallet-card::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -60px; right: -60px;
}
.flux-wallet-card::after {
  content: '';
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -40px; left: -20px;
}

/* ─── Timeline Icon ─── */
.flux-tl-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
/* Bootstrap subtle bg/text fallbacks for timeline */
.bg-success-subtle { background: #dcfce7 !important; }
.bg-warning-subtle { background: #fef9c3 !important; }
.bg-danger-subtle  { background: #fee2e2 !important; }
.bg-info-subtle    { background: #e0f2fe !important; }
.bg-primary-subtle { background: #ede9fe !important; }
.bg-secondary-subtle { background: #f1f5f9 !important; }
.text-success  { color: #16a34a !important; }
.text-warning  { color: #d97706 !important; }
.text-danger   { color: #dc2626 !important; }
.text-info     { color: #0284c7 !important; }
.text-primary  { color: #7c3aed !important; }
.text-secondary{ color: #64748b !important; }

/* ─── Tab Bar ─── */
.flux-tab-bar {
  display: flex; gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.flux-tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--flux-gray-200);
  background: #fff;
  color: var(--flux-gray-600);
  font-size: 13.5px; font-weight: 600;
  font-family: var(--font-display);
  cursor: pointer;
  transition: var(--transition);
}
.flux-tab:hover { border-color: var(--flux-green); color: var(--flux-green); }
.flux-tab.active {
  background: var(--flux-green);
  border-color: var(--flux-green);
  color: #fff;
}

/* ─── Method / Payment Option selector ─── */
.flux-method-option {
  display: block;
  padding: 16px 18px;
  border: 1.5px solid var(--flux-gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  background: #fff;
}
.flux-method-option:hover { border-color: var(--flux-green); }
.flux-method-option.selected {
  border-color: var(--flux-green);
  background: var(--flux-green-pale);
}

/* ─── Notification Item Icon ─── */
.flux-notif-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

/* ─── Settings Nav ─── */
.flux-settings-nav { list-style: none; padding: 0; margin: 0; }
.flux-settings-nav li a,
.flux-settings-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  color: var(--flux-gray-600);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 2px;
}
.flux-settings-nav li a:hover,
.flux-settings-nav a:hover,
.flux-settings-nav li a.active,
.flux-settings-nav a.active {
  background: var(--flux-green-pale);
  color: var(--flux-green);
}

/* ─── Featured Pricing Card ─── */
.flux-card-featured {
  background: linear-gradient(145deg, var(--flux-green-dark), var(--flux-green-deeper)) !important;
  border-color: transparent !important;
  box-shadow: 0 20px 60px rgba(22,163,74,0.35) !important;
}
.flux-popular-badge {
  position: absolute; top: 18px; right: 18px;
  background: #fff;
  color: var(--flux-green-dark);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}

/* ─── Accordion ─── */
.flux-accordion-item {
  border: 1px solid var(--flux-gray-100) !important;
  border-radius: var(--radius-lg) !important;
  margin-bottom: 8px;
  overflow: hidden;
}
.flux-accordion-btn {
  font-family: var(--font-display) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  color: var(--flux-gray-800) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.flux-accordion-btn:not(.collapsed) {
  color: var(--flux-green) !important;
  background: var(--flux-green-pale) !important;
}

/* ─── Dark green section ─── */
.bg-dark-green {
  background: linear-gradient(135deg, var(--flux-gray-900) 0%, #0a2012 60%, var(--flux-green-deeper) 100%);
}

/* ─── Page header (inner dash pages) ─── */
.dash-page-header { margin-bottom: 24px; }

/* ─── Modals ─── */
.modal-content { border-radius: var(--radius-xl); border: none; box-shadow: var(--shadow-xl); }
.modal-header  { border-bottom: 1px solid var(--flux-gray-100); padding: 20px 24px; }
.modal-footer  { border-top: 1px solid var(--flux-gray-100); padding: 16px 24px; }

/* ─── Action Buttons (dashboard) ─── */
.btn-flux-primary {
  background: var(--flux-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 20px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-display);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.btn-flux-primary:hover { background: var(--flux-green-dark); color: #fff; }

.btn-flux-outline {
  background: transparent;
  color: var(--flux-green);
  border: 1.5px solid var(--flux-green);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-display);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.btn-flux-outline:hover { background: var(--flux-green-pale); }

/* ─── Bootstrap bg-*-subtle fallbacks (Bootstrap 5.3+) ─── */
.bg-success-subtle { background-color: #dcfce7 !important; }
.bg-warning-subtle { background-color: #fef9c3 !important; }
.bg-danger-subtle  { background-color: #fee2e2 !important; }
.bg-info-subtle    { background-color: #e0f2fe !important; }
.bg-primary-subtle { background-color: #ede9fe !important; }
.bg-secondary-subtle { background-color: #f1f5f9 !important; }
.text-success-emphasis { color: #15803d !important; }