/* =========================================================
   MoneyLink Pro — Design System
   Premium SaaS/FinTech look: blue + navy + white, light glassmorphism,
   soft-radius cards, RTL-first with LTR support, dark/light themes.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@400;500;700;800&family=Cairo:wght@600;700;800&family=Inter:wght@500;600;700;800&display=swap');

:root {
  --brand-50:  #eef4ff;
  --brand-100: #dce8ff;
  --brand-200: #b3ccff;
  --brand-400: #3b7bff;
  --brand-500: #2563eb;
  --brand-600: #1d4ed8;
  --brand-700: #1e40af;
  --navy-900:  #0b1220;
  --navy-800:  #101a2e;
  --navy-700:  #16213a;

  --bg: #f4f7fc;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8faff;
  --border: #e4e9f5;
  --text: #101a2e;
  --text-muted: #5b6579;
  --text-soft: #8891a3;

  --success: #16a34a;
  --success-bg: #e9f9ef;
  --warning: #d97706;
  --warning-bg: #fff6e6;
  --danger: #dc2626;
  --danger-bg: #fdecec;
  --info: #2563eb;
  --info-bg: #eef4ff;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 26, 46, 0.06);
  --shadow: 0 8px 24px rgba(16, 26, 46, 0.08);
  --shadow-lg: 0 20px 48px rgba(16, 26, 46, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-border: rgba(255, 255, 255, 0.5);

  --sidebar-w: 272px;
  --topbar-h: 68px;
  --bottomnav-h: 64px;

  --font-ar: 'Almarai', 'Cairo', 'Inter', system-ui, sans-serif;
  --font-en: 'Inter', 'Almarai', system-ui, sans-serif;

  --ease: cubic-bezier(.4,0,.2,1);
}

:root[data-theme="dark"] {
  --bg: #0a0f1c;
  --bg-elevated: #101a2e;
  --surface: #131f38;
  --surface-2: #0e1728;
  --border: #223154;
  --text: #eef2fb;
  --text-muted: #9aa7c2;
  --text-soft: #6b7793;

  --success-bg: rgba(22,163,74,.15);
  --warning-bg: rgba(217,119,6,.15);
  --danger-bg: rgba(220,38,38,.15);
  --info-bg: rgba(37,99,235,.18);

  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow: 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.5);
  --glass-bg: rgba(16, 26, 46, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 100% -10%, var(--brand-100), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, var(--brand-50), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  font-weight: 500;
  transition: background-color .25s var(--ease), color .25s var(--ease);
  -webkit-font-smoothing: antialiased;
}
:root[data-theme="dark"] body {
  background: radial-gradient(1200px 600px at 100% -10%, rgba(37,99,235,.12), transparent 60%), var(--bg);
}
html[lang="en"] body, .ltr { font-family: var(--font-en); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; }
::selection { background: var(--brand-200); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 20px; }
::-webkit-scrollbar-track { background: transparent; }

.container { max-width: 1280px; margin-inline: auto; padding-inline: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 14.5px; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; box-shadow: 0 10px 24px -8px rgba(37,99,235,.55); }
.btn-primary:hover { box-shadow: 0 14px 28px -6px rgba(37,99,235,.6); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--brand-400); color: var(--brand-600); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-danger { background: var(--danger-bg); color: var(--danger); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 9px; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 12px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- Cards / glass ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.stat-card {
  border-radius: var(--radius);
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.stat-card::after {
  content: ""; position: absolute; inset-inline-end: -30px; top: -30px;
  width: 110px; height: 110px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(37,99,235,.16), transparent 72%);
}
:root[data-theme="dark"] .stat-card::after { background: radial-gradient(circle, rgba(37,99,235,.22), transparent 72%); }
.stat-card .icon {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--info-bg); color: var(--brand-600); font-size: 18px;
}
.icon.tint-blue   { background: var(--info-bg); color: var(--brand-600); }
.icon.tint-green  { background: var(--success-bg); color: var(--success); }
.icon.tint-amber  { background: var(--warning-bg); color: var(--warning); }
.icon.tint-purple { background: rgba(147,51,234,.12); color: #9333ea; }
.icon.tint-red    { background: var(--danger-bg); color: var(--danger); }
:root[data-theme="dark"] .icon.tint-purple { background: rgba(168,85,247,.18); color: #c084fc; }
.stat-card .value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.stat-card .label { color: var(--text-muted); font-size: 13.5px; }
.stat-card .delta { font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.delta.up { color: var(--success); } .delta.down { color: var(--danger); }

/* ---------- Badges / status pills ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.badge-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger  { background: var(--danger-bg); color: var(--danger); }
.badge-info    { background: var(--info-bg); color: var(--info); }
.badge-muted   { background: var(--surface-2); color: var(--text-muted); }

/* ---------- Forms ---------- */
label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--text-muted); }
.field { margin-bottom: 16px; }
input, select, textarea {
  width: 100%; padding: 11px 14px; border-radius: 11px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text); font-size: 14.5px; font-family: inherit;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px var(--brand-100);
}
:root[data-theme="dark"] input:focus, :root[data-theme="dark"] select:focus, :root[data-theme="dark"] textarea:focus {
  box-shadow: 0 0 0 4px rgba(37,99,235,.25);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.hint { font-size: 12.5px; color: var(--text-soft); margin-top: 4px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface); }
thead th {
  text-align: start; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-soft); padding: 13px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
}
tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
tbody tr:last-child td { border-bottom: none; }
tbody tr { transition: background .15s var(--ease); }
tbody tr:hover { background: var(--surface-2); }

/* ---------- Layout: app shell ---------- */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; position: sticky; top: 0; height: 100vh;
  background: var(--bg-elevated); border-inline-end: 1px solid var(--border);
  display: flex; flex-direction: column; padding: 20px 16px; gap: 6px; z-index: 30;
  transition: transform .25s var(--ease);
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 8px 10px 22px; }
.sidebar-brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.sidebar-brand b { font-size: 16.5px; font-weight: 800; }
.sidebar-brand span { display: block; font-size: 11px; color: var(--text-soft); }
.nav-section { font-size: 11.5px; color: var(--text-soft); text-transform: uppercase; letter-spacing: .06em; margin: 14px 10px 6px; }
.nav-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 11px;
  color: var(--text-muted); font-weight: 700; font-size: 14.5px; transition: all .15s var(--ease);
}
.nav-link .ico { width: 20px; text-align: center; opacity: .85; }
.nav-link:hover { background: var(--surface-2); color: var(--text); }
.nav-link.active { background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); color: #fff; box-shadow: 0 8px 18px -6px rgba(37,99,235,.5); }
.nav-link.active .ico { opacity: 1; }

.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: var(--topbar-h); display: flex; align-items: center; gap: 14px; padding: 0 22px;
  border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20;
  background: var(--glass-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.topbar .search-box { flex: 1; max-width: 420px; position: relative; }
.topbar .search-box input { padding-inline-start: 38px; }
.topbar .search-box .ico { position: absolute; inset-inline-start: 13px; top: 50%; transform: translateY(-50%); color: var(--text-soft); }
.topbar-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface);
  display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative;
  color: var(--text-muted); transition: all .15s var(--ease);
}
.icon-btn:hover { color: var(--brand-600); border-color: var(--brand-200); }
.icon-btn .dot { position: absolute; top: -3px; inset-inline-end: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); border: 2px solid var(--bg-elevated); }
.avatar { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--brand-400), var(--brand-700)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }

.page { padding: 24px; flex: 1; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head h1 { font-size: 21px; margin: 0 0 4px; font-weight: 800; }
.page-head p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ---------- Mobile bottom nav ---------- */
.bottom-nav {
  display: none; position: fixed; bottom: 0; inset-inline: 0; height: var(--bottomnav-h);
  background: var(--glass-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border); z-index: 40;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  grid-template-columns: repeat(5, 1fr); align-items: center;
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: var(--text-soft); font-weight: 600; }
.bottom-nav a.active { color: var(--brand-600); }
.bottom-nav a .ico { font-size: 18px; }

@media (max-width: 980px) {
  .sidebar { position: fixed; inset-inline-start: 0; top: 0; transform: translateX(-110%); box-shadow: var(--shadow-lg); }
  html[dir="rtl"] .sidebar { transform: translateX(110%); }
  .sidebar.open { transform: translateX(0); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .page { padding: 16px; padding-bottom: calc(var(--bottomnav-h) + 20px); }
  .bottom-nav { display: grid; }
  .hide-mobile { display: none !important; }
  .sidebar-scrim { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 25; opacity: 0; pointer-events: none; transition: opacity .2s; }
  .sidebar-scrim.show { opacity: 1; pointer-events: auto; }
}
@media (min-width: 981px) { .hide-desktop { display: none !important; } }

/* ---------- Grids ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 1180px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .dash-grid { grid-template-columns: 1fr; } }

/* ---------- Chat ---------- */
.chat-shell { display: grid; grid-template-columns: 300px 1fr; height: calc(100vh - var(--topbar-h)); }
.chat-list { border-inline-end: 1px solid var(--border); overflow-y: auto; }
.chat-room-item { display: flex; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; }
.chat-room-item:hover, .chat-room-item.active { background: var(--surface-2); }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 62%; padding: 10px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; line-height: 1.6; }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); color: #fff; border: none; }
.msg .meta { font-size: 11px; opacity: .7; margin-top: 4px; }
.chat-input-bar { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border); }
@media (max-width: 980px) { .chat-shell { grid-template-columns: 1fr; } .chat-list.hide-on-room { display: none; } }

/* ---------- Utility ---------- */
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.text-muted { color: var(--text-muted); } .text-soft { color: var(--text-soft); }
.mt-8{margin-top:8px} .mt-16{margin-top:16px} .mt-24{margin-top:24px} .mb-16{margin-bottom:16px}
.fade-in { animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--border) 37%, var(--surface-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.modal-backdrop { position: fixed; inset: 0; background: rgba(10,15,28,.5); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal { width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 24px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-head h3 { margin: 0; font-size: 17px; font-weight: 800; }

.toast-stack { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast { padding: 13px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; min-width: 240px; }
.toast.success { border-inline-start: 4px solid var(--success); }
.toast.error { border-inline-start: 4px solid var(--danger); }
.toast.info { border-inline-start: 4px solid var(--brand-500); }

.empty-state { text-align: center; padding: 50px 20px; color: var(--text-soft); }
.empty-state .ico { font-size: 40px; margin-bottom: 10px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; }
.tab { padding: 11px 16px; font-weight: 700; font-size: 14px; color: var(--text-muted); border-bottom: 2px solid transparent; white-space: nowrap; cursor: pointer; }
.tab.active { color: var(--brand-600); border-color: var(--brand-500); }

.pagination { display: flex; gap: 6px; align-items: center; justify-content: flex-end; margin-top: 16px; }
.pagination button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.pagination button.active { background: var(--brand-500); color: #fff; border-color: var(--brand-500); }

/* =========================================================
   Marketing / landing page
   ========================================================= */
.marketing-nav {
  position: sticky; top: 0; z-index: 50; height: 76px; display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
  background: var(--glass-bg); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.marketing-nav .container { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand img { width: 38px; height: 38px; border-radius: 11px; object-fit: cover; box-shadow: var(--shadow-sm); }
.marketing-links { display: flex; gap: 26px; margin-inline-start: 12px; }
.marketing-links a { font-weight: 600; font-size: 14.5px; color: var(--text-muted); }
.marketing-links a:hover { color: var(--brand-600); }
.marketing-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }

.hero { padding: 76px 0 60px; position: relative; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--info-bg); color: var(--brand-600); font-weight: 700; font-size: 13px; margin-bottom: 18px; }
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 800; margin: 0 0 18px; letter-spacing: -.01em; }
.hero h1 span { background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: var(--text-muted); line-height: 1.8; margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-visual { position: relative; }
.hero-visual .mock { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; }
.mock-titlebar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.mock-titlebar .dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-titlebar .dot.red { background: #ff5f57; } .mock-titlebar .dot.amber { background: #febc2e; } .mock-titlebar .dot.green { background: #28c840; }
.mock-url { margin-inline-start: 14px; font-size: 11.5px; color: var(--text-soft); background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 3px 12px; display: flex; align-items: center; gap: 6px; direction: ltr; }
.floating-card { position: absolute; padding: 14px 18px; border-radius: 14px; }
.trust-row { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 10px; }
.trust-row .n { font-size: 24px; font-weight: 800; }
.trust-row .l { font-size: 12.5px; color: var(--text-soft); }

.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 42px; }
.section-head .eyebrow { color: var(--brand-600); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.section-head h2 { font-size: 30px; font-weight: 800; margin: 10px 0; }
.section-head p { color: var(--text-muted); font-size: 15px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-card .icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; background: var(--info-bg); color: var(--brand-600); }
.feature-card h3 { font-size: 16.5px; margin: 0 0 8px; font-weight: 700; }
.feature-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 0; }

.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step-card .num { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--brand-500), var(--brand-700)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px; }
.step-card h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.step-card p { margin: 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

.cta-banner {
  border-radius: var(--radius-lg); padding: 52px 40px; text-align: center;
  background: linear-gradient(135deg, var(--brand-600), var(--navy-900));
  color: #fff; position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: 26px; margin: 0 0 12px; font-weight: 800; }
.cta-banner p { opacity: .85; margin: 0 0 24px; }
.cta-banner .btn-primary { background: #fff; color: var(--brand-700); box-shadow: none; }

.footer { padding: 50px 0 26px; border-top: 1px solid var(--border); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; margin-bottom: 34px; }
.footer h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-soft); margin: 0 0 14px; }
.footer a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer a:hover { color: var(--brand-600); }
.footer-bottom { display: flex; justify-content: space-between; color: var(--text-soft); font-size: 13px; flex-wrap: wrap; gap: 10px; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-visual { background: linear-gradient(160deg, var(--navy-900), var(--brand-700)); color: #fff; padding: 50px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 440px; }
@media (max-width: 940px) { .auth-shell { grid-template-columns: 1fr; } .auth-visual { display: none; } .hero .container { grid-template-columns: 1fr; } .hero-visual { order: -1; } .features-grid, .steps-row { grid-template-columns: 1fr 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features-grid, .steps-row, .footer-grid { grid-template-columns: 1fr; } .hero h1 { font-size: 30px; } .marketing-links { display: none; } }

