/* ==========================================================================
   AURELIUS — Real Estate Investment Template
   Dark neon / luxury theme. All colors driven by CSS variables so the
   admin panel's palette picker can restyle the whole site live.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg: #0a0e17;
  --bg-alt: #10151f;
  --accent: #7c5cff;
  --accent-2: #22e6c8;
  --gold: #d9b45c;
  --text: #eef1f6;
  --text-muted: #8b93a7;
  --header-bg: #000000;
  --radius: 14px;
  --border: 1px solid rgba(255, 255, 255, 0.08);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}

.mono { font-family: "JetBrains Mono", monospace; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: #000; }

/* ---------- Ambient neon backdrop ---------- */
.neon-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px circle at 15% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    radial-gradient(700px circle at 85% 30%, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 60%),
    radial-gradient(500px circle at 50% 90%, color-mix(in srgb, var(--gold) 10%, transparent), transparent 60%);
}

/* ---------- Splash screen ---------- */
#splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--bg);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#splash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
#splash img.logo { max-height: 72px; max-width: 220px; object-fit: contain; }
#splash .glyph {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 55%, transparent);
  font-family: "Syne", sans-serif; font-weight: 800; font-size: 22px;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 40%, transparent); }
  50% { box-shadow: 0 0 48px color-mix(in srgb, var(--accent) 70%, transparent); }
}
#splash .name { font-size: 22px; letter-spacing: 0.02em; }
#splash .tag { color: var(--text-muted); font-size: 13px; }
#splash .bar { width: 160px; height: 2px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
#splash .bar > span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  animation: load 1.4s ease forwards;
}
@keyframes load { to { width: 100%; } }

/* ---------- Layout shell ---------- */
.wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

header.site {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--header-bg) 94%, transparent);
  border-bottom: var(--border);
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1180px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.brand img { height: 30px; }
.brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); }

/* hamburger */
.burger {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--bg-alt); border: var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; width: 18px; height: 2px; background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.burger.open span { background: transparent; }
.burger.open span::before { transform: rotate(45deg); }
.burger.open span::after { transform: rotate(-45deg); }

nav.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(320px, 86vw);
  background: var(--bg-alt); border-left: var(--border);
  transform: translateX(100%); transition: transform 0.35s ease;
  z-index: 120; padding: 90px 26px 26px; display: flex; flex-direction: column; gap: 6px;
}
nav.drawer.open { transform: translateX(0); }
nav.drawer a, nav.drawer button.linklike {
  padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px; color: var(--text); background: none; border-left: none; border-right: none; border-top: none;
  text-align: left; width: 100%;
}
nav.drawer .muted { color: var(--text-muted); font-size: 12px; margin-top: 18px; text-transform: uppercase; letter-spacing: 0.08em; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 115; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.scrim.show { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 60px; }
.hero .eyebrow {
  display: inline-block; color: var(--gold); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 14px; background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px; border-radius: 20px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; max-width: 760px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { color: var(--text-muted); max-width: 520px; margin-top: 18px; font-size: 16px; line-height: 1.6; }
.stat-row { display: flex; gap: 34px; margin-top: 38px; flex-wrap: wrap; }
.stat-row .stat b { display: block; font-family: "Syne", sans-serif; font-size: 26px; }
.stat-row .stat span { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Property grid ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 70px 0 26px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: 26px; }
.section-head p { color: var(--text-muted); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; padding-bottom: 40px; }
.card {
  background: var(--bg-alt); border: var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.card .img-duo { height: 220px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; position: relative; }
.card .img-half { background-size: cover; background-position: center; position: relative; }
.card .img-more-badge {
  position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700;
  color: #fff; cursor: pointer;
}
.card .img-duo .badge {
  position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  padding: 5px 10px; border-radius: 20px; font-size: 11px; letter-spacing: 0.04em; color: var(--gold); border: 1px solid rgba(217,180,92,0.35); z-index: 2;
}
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; max-height: 60vh; overflow-y: auto; }
.gallery-grid img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; }
.card .body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { font-size: 17px; }
.card .loc { color: var(--text-muted); font-size: 12.5px; }
.card .blurb { color: var(--text-muted); font-size: 13px; line-height: 1.5; flex: 1; }
.card .range { font-size: 12.5px; color: var(--text-muted); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 10px; }
.card .range b { color: var(--text); }
.btn {
  border: none; border-radius: 10px; padding: 11px 16px; font-size: 13.5px; font-weight: 600;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #06070b;
}
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,0.16); color: var(--text); }
.btn.block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Modal ---------- */
.modal-scrim { position: fixed; inset: 0; background: rgba(4,6,10,0.72); backdrop-filter: blur(4px); z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.25s ease; padding: 20px; }
.modal-scrim.show { opacity: 1; visibility: visible; }
.modal {
  width: min(440px, 100%); background: var(--bg-alt); border: var(--border); border-radius: var(--radius);
  padding: 26px; max-height: 88vh; overflow-y: auto; position: relative;
}
.modal .close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 20px; }
.modal h3 { font-size: 19px; margin-bottom: 4px; }
.modal .prop-name { color: var(--text-muted); font-size: 13px; margin-bottom: 18px; }

.plan-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.plan-opt { border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.plan-opt.selected { border-color: var(--accent-2); box-shadow: 0 0 0 1px var(--accent-2) inset; }
.plan-opt b { font-size: 14px; }
.plan-opt .roi { color: var(--accent-2); font-size: 12.5px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; color: var(--text-muted); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid rgba(255,255,255,0.12); color: var(--text);
  padding: 11px 12px; border-radius: 8px; font-size: 14px; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }

.form-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 10px; }
.form-note button.linklike { background: none; border: none; color: var(--accent-2); font-size: 12px; padding: 0; }

/* payment / whatsapp panel shown after investing */
.pay-panel { border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 16px; margin-top: 4px; }
.pay-method { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 13.5px; }
.pay-method:last-child { border-bottom: none; }
.pay-method .copy { background: none; border: 1px solid rgba(255,255,255,0.15); color: var(--text-muted); border-radius: 6px; padding: 5px 9px; font-size: 12px; }
.pay-method .actions { display: flex; gap: 6px; align-items: center; }
.eye-btn { background: none; border: 1px solid rgba(255,255,255,0.15); color: var(--text-muted); border-radius: 6px; padding: 5px 8px; font-size: 13px; }
.masked-value { letter-spacing: 2px; }
.optional-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); margin-left: 6px; vertical-align: middle; box-shadow: 0 0 6px var(--accent-2); }
.optional-tip { font-size: 11px; color: var(--text-muted); margin-left: 6px; }
.wa-inline { display: flex; align-items: center; gap: 10px; background: rgba(34,230,200,0.08); border: 1px solid rgba(34,230,200,0.25); border-radius: 10px; padding: 12px 14px; margin-top: 4px; font-size: 13px; }

/* ---------- Dashboard ---------- */
/* persistent small WhatsApp icon, always available regardless of payment setup */
.wa-fab {
  position: fixed; bottom: 22px; left: 22px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  background: #1fae5c; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(31,174,92,0.45); border: none; color: #fff; font-size: 22px;
}

.dash-toggle {
  position: fixed; bottom: 22px; right: 22px; z-index: 40;
  background: #000; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px;
  padding: 10px 16px; display: flex; align-items: center; gap: 8px; font-size: 13px;
  font-weight: 700; color: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.4);
}
.dash-toggle .pip { width: 8px; height: 8px; border-radius: 50%; background: #22e6c8; box-shadow: 0 0 8px #22e6c8; }

.dash-panel {
  position: fixed; bottom: 74px; right: 22px; z-index: 40; width: min(320px, 88vw);
  background: var(--bg-alt); border: var(--border); border-radius: var(--radius);
  padding: 18px; display: none; max-height: 60vh; overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.dash-panel.show { display: block; }
.dash-panel h4 { font-size: 14px; margin-bottom: 10px; }
.inv-row { border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 10px; margin-bottom: 8px; font-size: 12.5px; }
.inv-row .top { display: flex; justify-content: space-between; margin-bottom: 4px; }
.inv-row .top b { font-size: 13px; }
.inv-row .meta { color: var(--text-muted); display: flex; justify-content: space-between; }
.inv-row .profit { color: var(--accent-2); }

/* ---------- Footer ---------- */
footer { border-top: var(--border); margin-top: 60px; padding: 30px 0 60px; color: var(--text-muted); font-size: 12.5px; }

/* ---------- EKPOM top bar (admin tool chrome, brand-independent of client palette) ---------- */
.ekpom-bar {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; background: rgba(5,6,12,0.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ekpom-logo { height: 34px; width: 34px; object-fit: contain; border-radius: 8px; }
.tpl-switch { display: flex; gap: 8px; background: rgba(255,255,255,0.04); padding: 4px; border-radius: 10px; }
.tpl-btn {
  background: none; border: none; color: var(--text-muted); padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
}
.tpl-btn.active { background: linear-gradient(90deg, #3b82f6, #a855f7); color: #fff; }

.admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-nav { border-right: var(--border); padding: 22px 16px; position: sticky; top: 0; height: 100vh; }
.admin-nav .brand { margin-bottom: 30px; }
.admin-nav button.tab {
  display: block; width: 100%; text-align: left; background: none; border: none; color: var(--text-muted);
  padding: 11px 12px; border-radius: 8px; font-size: 13.5px; margin-bottom: 4px;
}
.admin-nav button.tab.active { background: var(--bg-alt); color: var(--text); }
.admin-main { padding: 30px 34px; max-width: 900px; }
.admin-main h2 { font-size: 22px; margin-bottom: 6px; }
.admin-main .desc { color: var(--text-muted); font-size: 13.5px; margin-bottom: 26px; }
.panel { display: none; }
.panel.active { display: block; }
.card-lite { background: var(--bg-alt); border: var(--border); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 44px; height: 44px; border-radius: 10px; border: 2px solid rgba(255,255,255,0.1); cursor: pointer; padding: 0; }
.swatch.active-swatch { border-color: var(--text); }
.list-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.list-item:last-child { border-bottom: none; }
.list-item .meta { font-size: 12px; color: var(--text-muted); }
.icon-btn { background: none; border: 1px solid rgba(255,255,255,0.14); color: var(--text-muted); border-radius: 6px; padding: 6px 10px; font-size: 12px; }
.icon-btn.danger { color: #ff8080; border-color: rgba(255,128,128,0.3); }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--bg-alt); border: var(--border); padding: 12px 18px; border-radius: 10px; font-size: 13px; opacity: 0; transition: opacity 0.25s ease; z-index: 300; }
.toast.show { opacity: 1; }
.logo-preview { height: 40px; max-width: 160px; object-fit: contain; margin-top: 8px; }

@media (max-width: 780px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-nav { position: static; height: auto; display: flex; overflow-x: auto; gap: 4px; padding: 14px; }
  .admin-nav .brand { display: none; }
  .admin-nav button.tab { white-space: nowrap; margin-bottom: 0; }
}

/* ==========================================================================
   ADDITIONS — EKPOM entry, locked admin theme, result-page upgrades
   ========================================================================== */

/* Lock the admin UI to a fixed neon theme regardless of the site palette
   the admin is configuring — palette changes only affect the public site. */
.admin-shell {
  --bg: #05060a;
  --bg-alt: #0d0f1c;
  --accent: #7c5cff;
  --accent-2: #22e6c8;
  --gold: #d9b45c;
  --text: #eef1f6;
  --text-muted: #8b93a7;
}
.admin-topbar { display: flex; align-items: center; justify-content: flex-end; padding: 14px 24px 0; }
.admin-topbar img { height: 34px; }

/* ---------- EKPOM entry / splash / community screen ---------- */
body.entry-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
#ekSplash {
  position: fixed; inset: 0; z-index: 500; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; background: #05060a;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#ekSplash.hide { opacity: 0; visibility: hidden; pointer-events: none; }
#ekSplash img { width: 130px; height: 130px; object-fit: contain; filter: drop-shadow(0 0 30px rgba(124,92,255,0.5)); }

.community-card {
  width: min(420px, 92vw); text-align: center; padding: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.community-card .logo-box {
  width: 84px; height: 84px; border-radius: 16px; overflow: hidden; margin-bottom: 14px;
  box-shadow: 0 0 30px rgba(124,92,255,0.45);
}
.community-card .logo-box img { width: 100%; height: 100%; object-fit: cover; }
.community-card h1 { font-size: 24px; margin-bottom: 6px; }
.community-card p.sub { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; line-height: 1.5; }
.wa-join-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: rgba(31,174,92,0.12); border: 1px solid rgba(31,174,92,0.5); color: #fff;
  padding: 14px; border-radius: 12px; font-weight: 600; font-size: 14px; margin-bottom: 12px;
}
.continue-link { margin-top: 16px; color: var(--accent-2); font-size: 13.5px; }

/* ---------- Hero image / about ---------- */
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-image {
  border-radius: 18px; overflow: hidden; border: var(--border); min-height: 320px;
  background-size: cover; background-position: center; position: relative;
  background-color: var(--bg-alt);
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent-2) 12%, transparent)), var(--hero-img, none);
}
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.4)); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-image { min-height: 220px; order: -1; } }

.about-section { padding: 10px 0 20px; border-top: var(--border); margin-top: 20px; }
.about-section h2 { font-size: 22px; margin-bottom: 14px; }
.about-section p { color: var(--text-muted); line-height: 1.7; font-size: 15px; max-width: 760px; white-space: pre-line; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin: 26px 0 10px; }
.testi-card { background: var(--bg-alt); border: var(--border); border-radius: 12px; padding: 18px; font-size: 13.5px; }
.testi-card .quote { color: var(--text); line-height: 1.6; margin-bottom: 12px; }
.testi-card .who { color: var(--gold); font-size: 12.5px; }
.testi-card .stars { color: var(--gold); margin-bottom: 8px; font-size: 12px; }

footer .copyright { margin-top: 18px; padding-top: 18px; border-top: var(--border); font-size: 11.5px; }

/* ---------- Top-right result-page dashboard icon ---------- */
.mini-dash-btn {
  width: 42px; height: 42px; border-radius: 10px; background: var(--bg-alt); border: var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 17px; margin-right: 8px;
}
.header-actions { display: flex; align-items: center; }
.mini-dash-panel {
  position: fixed; top: 68px; right: 24px; z-index: 90; width: min(360px, 92vw);
  display: none;
}
.mini-dash-panel.show { display: block; }
.wallet-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px;
  padding: 14px; backdrop-filter: blur(6px);
}
.view-investments-link {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: none;
  color: #ffffff; font-weight: 700; font-size: 13px; margin-bottom: 10px; padding: 0;
}
.wallet-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.wallet-box {
  background: var(--bg-alt); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 10px 8px; display: flex; flex-direction: column; gap: 4px; text-align: left;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.wallet-box .wb-icon { font-size: 14px; }
.wallet-box .wb-label { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); }
.wallet-box b { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--text); }
.wallet-box .wb-action { font-size: 10px; font-weight: 700; color: #22e6c8; margin-top: 4px; }
.wallet-box:disabled { opacity: 0.5; cursor: not-allowed; }
button.wallet-box:not(:disabled):hover { border-color: color-mix(in srgb, var(--accent-2) 50%, transparent); }
@media (max-width: 480px) { .wallet-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Status badges ---------- */
.status-badge { display: inline-block; padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.status-badge.pending { background: rgba(217,180,92,0.15); color: var(--gold); border: 1px solid rgba(217,180,92,0.4); }
.status-badge.approved { background: rgba(34,230,200,0.15); color: var(--accent-2); border: 1px solid rgba(34,230,200,0.4); }
.status-badge.denied { background: rgba(255,90,90,0.15); color: #ff7a7a; border: 1px solid rgba(255,90,90,0.4); }

/* ---------- Proof-of-payment notification (bottom-left, stacked above WhatsApp fab) ---------- */
.proof-notif {
  position: fixed; bottom: 82px; left: 22px; z-index: 40;
  background: var(--bg-alt); border: 1px solid rgba(217,180,92,0.4); border-radius: 12px;
  padding: 10px 14px; font-size: 12px; display: none; align-items: center; gap: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4); max-width: 230px; cursor: pointer;
}
.proof-notif.show { display: flex; }
.proof-notif .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); flex-shrink: 0; animation: pulse 1.6s ease-in-out infinite; }

.proof-modal .modal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.proof-modal .x-close { background: none; border: none; color: var(--text-muted); font-size: 20px; }
.file-drop { border: 1px dashed rgba(255,255,255,0.2); border-radius: 10px; padding: 20px; text-align: center; font-size: 13px; color: var(--text-muted); cursor: pointer; }
.file-drop img { max-height: 140px; margin-top: 10px; border-radius: 8px; }

/* ---------- Admin: help tooltip, investment groups, search ---------- */
.help-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--text-muted); color: var(--text-muted); font-size: 10.5px; margin-left: 6px; cursor: pointer; vertical-align: middle; }
.help-tip { display: none; background: var(--bg); border: var(--border); border-radius: 8px; padding: 10px 12px; font-size: 12px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }
.help-tip.show { display: block; }
.help-tip a { color: var(--accent-2); }

.required-mark { color: #ff7a7a; margin-left: 4px; }

.inv-search { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.inv-search input { flex: 1; }

.user-group { margin-bottom: 22px; }
.user-group .uname { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.inv-admin-row { border: var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.inv-admin-row .top-line { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.inv-admin-row .meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.inv-admin-row .actions { display: flex; gap: 8px; }
.inv-admin-row .actions button { font-size: 11.5px; padding: 6px 10px; }
.btn.approve { background: rgba(34,230,200,0.16); color: var(--accent-2); border: 1px solid rgba(34,230,200,0.4); }
.btn.deny { background: rgba(255,90,90,0.14); color: #ff7a7a; border: 1px solid rgba(255,90,90,0.4); }

.link-box { display: flex; gap: 8px; margin-top: 10px; }
.link-box input { flex: 1; background: var(--bg); }

.check-row { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-top: 6px; }
.check-row input { width: 16px; height: 16px; }

/* ---------- Admin: image converter card + multi-image thumbnails ---------- */
.img-converter-card {
  background: var(--bg); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
  padding: 14px; margin: 10px 0 16px; width: 50%; min-width: 220px;
}
.img-converter-card .file-drop { border: 1px solid rgba(255,255,255,0.14); background: var(--bg); font-size: 12.5px; padding: 14px; border-radius: 8px; text-align: left; }
@media (max-width: 600px) { .img-converter-card { width: 100%; } }

.img-thumb-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.img-thumb { position: relative; width: 84px; height: 64px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.12); }
.img-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-thumb button { position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,0,0,0.7); color: #fff; border: none; font-size: 11px; line-height: 1; cursor: pointer; }

/* ---------- How it works ---------- */
.how-section { padding: 50px 0 10px; }
.how-section h2 { font-size: 24px; margin-bottom: 24px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.how-step { background: var(--bg-alt); border: var(--border); border-radius: 12px; padding: 20px; }
.how-num {
  width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #06070b; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.how-step h4 { font-size: 15px; margin-bottom: 6px; }
.how-step p { color: var(--text-muted); font-size: 13px; line-height: 1.5; }

/* ---------- Contact Us modal ---------- */
.agent-photo { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto; display: block; border: 2px solid rgba(255,255,255,0.15); }
.agent-photo-fallback {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto; display: flex; align-items: center; justify-content: center;
  font-size: 28px; background: #1fae5c; border: 2px solid rgba(255,255,255,0.15); color: #fff;
}
.contact-channel-list { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.contact-channel-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #1fae5c; border: 1px solid #1fae5c; color: #fff;
  padding: 12px; border-radius: 10px; font-weight: 600; font-size: 13.5px;
}

/* ---------- Full-page Investments view ---------- */
.inv-page-head { padding: 90px 0 30px; display: flex; flex-direction: column; gap: 10px; }
.inv-page-head h2 { font-size: 26px; }
.inv-page-head .linklike { color: var(--accent-2); font-size: 13px; align-self: flex-start; }

.inv-page-card { display: grid; grid-template-columns: 160px 1fr; gap: 20px; background: var(--bg-alt); border: var(--border); border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.inv-page-card .thumb { border-radius: 10px; background-size: cover; background-position: center; min-height: 110px; }
.inv-page-card .top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.inv-page-card h3 { font-size: 16px; }
.inv-page-card .figures { display: flex; gap: 24px; margin: 10px 0; flex-wrap: wrap; }
.inv-page-card .figures div span { display: block; color: var(--text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.inv-page-card .figures div b { font-family: "JetBrains Mono", monospace; font-size: 14px; }
.progress-track { height: 8px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; margin: 10px 0 4px; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #1fae5c, var(--accent-2)); border-radius: 6px; }
.progress-label { font-size: 11.5px; color: var(--text-muted); display: flex; justify-content: space-between; }
.inv-page-card .row-actions { margin-top: 12px; display: flex; gap: 10px; }
.inv-page-card .row-actions .btn { padding: 9px 14px; font-size: 12.5px; }
@media (max-width: 640px) { .inv-page-card { grid-template-columns: 1fr; } .inv-page-card .thumb { min-height: 140px; } }

/* ---------- Top-level template switcher (admin) ---------- */
.template-switcher {
  display: flex; gap: 10px; max-width: 1180px; margin: 20px auto 0; padding: 0 24px;
}
.tswitch {
  background: #05060a; border: 1px solid rgba(255,255,255,0.1); color: #8b93a7;
  padding: 12px 20px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
}
.tswitch.active { background: #12162a; color: #eef1f6; border-color: #7c5cff; }

.lpanel { display: none; }
.lpanel.active { display: block; }

/* ---------- Listing site: tier filters ---------- */
.tier-filters { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.tier-btn { background: var(--bg-alt); border: 1px solid rgba(255,255,255,0.12); color: var(--text-muted); padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.tier-btn.active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #06070b; border-color: transparent; }
.card .price-tag { font-size: 16px; font-weight: 700; color: var(--text); margin: 6px 0; }
.tier-pill { display: inline-block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.03em; padding: 3px 9px; border-radius: 20px; margin-bottom: 6px; }
.tier-pill.low { background: rgba(34,230,200,0.14); color: var(--accent); border: 1px solid rgba(34,230,200,0.35); }
.tier-pill.high { background: rgba(217,180,92,0.16); color: var(--gold); border: 1px solid rgba(217,180,92,0.4); }
.tier-pill.modest { background: rgba(255,255,255,0.08); color: var(--text-muted); border: 1px solid rgba(255,255,255,0.16); }
