/* ===== LedgerInvest – Enhanced Theme ===== */
:root {
  --sky: #0EA5E9;
  --sky-dark: #0284C7;
  --sky-light: #38BDF8;
  --sky-pale: #E0F2FE;
  --black: #0F172A;
  --black-soft: #1E293B;
  --white: #FFFFFF;
  --gray: #64748B;
  --gray-light: #F1F5F9;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(14, 165, 233, 0.15);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--gray-light);
  color: var(--black);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--sky); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--sky-dark); }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--black);
  color: var(--white);
  padding: 0.9rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.logo span { color: var(--sky-light); }
.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: #CBD5E1;
  font-weight: 500;
  font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--sky-light); }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.3rem;
}
.mobile-menu-btn.active { color: var(--sky-light); }

.lang-select {
  background: var(--black-soft);
  color: white;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary { background: var(--sky); color: var(--white); }
.btn-primary:hover { background: var(--sky-dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--sky);
  color: var(--sky);
}
.btn-outline:hover { background: var(--sky); color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-success { background: var(--success); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #0c4a6e 60%, var(--sky-dark) 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::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='%230EA5E9' fill-opacity='0.08'%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");
  opacity: 0.5;
}
.hero-content { position: relative; max-width: 800px; margin: 0 auto; }
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeUp 0.6s ease;
}
.hero h1 span { color: var(--sky-light); }
.hero p {
  font-size: 1.2rem;
  color: #94A3B8;
  margin-bottom: 2rem;
  animation: fadeUp 0.7s ease;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Price ticker */
.price-ticker {
  background: var(--black-soft);
  color: #94A3B8;
  padding: 0.6rem 1rem;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  justify-content: center;
  font-size: 0.9rem;
  border-bottom: 1px solid #334155;
}
.ticker-item strong { color: var(--sky-light); margin-right: 0.3rem; }

/* Disclaimer removed */
.disclaimer { display: none !important; }

/* ===== SECTIONS ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--black);
}
.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* Plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 2px solid transparent;
  position: relative;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.plan-card.featured {
  border-color: var(--sky);
  background: linear-gradient(180deg, #F0F9FF 0%, white 40%);
}
.plan-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sky);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 20px;
}
.plan-name { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }
.plan-percent {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sky);
  margin-bottom: 0.3rem;
}
.plan-percent small { font-size: 0.9rem; font-weight: 500; color: var(--gray); }
.plan-duration { color: var(--gray); font-size: 0.95rem; margin-bottom: 1rem; }
.plan-details {
  list-style: none;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}
.plan-details li {
  padding: 0.35rem 0;
  border-bottom: 1px solid #F1F5F9;
  color: var(--black-soft);
}
.plan-details li:last-child { border-bottom: none; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.stat-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-box .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--sky);
}
.stat-box .label { color: var(--gray); font-size: 0.9rem; margin-top: 0.3rem; }

/* ===== DASHBOARD ===== */
.dashboard {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.dash-header h1 { font-size: 1.6rem; }
.balance-card {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-dark) 100%);
  color: white;
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius);
  text-align: right;
}
.balance-card .label { font-size: 0.85rem; opacity: 0.9; }
.balance-card .amount { font-size: 1.8rem; font-weight: 800; }

.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.dash-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.dash-card .title { font-size: 0.85rem; color: var(--gray); margin-bottom: 0.4rem; }
.dash-card .value { font-size: 1.5rem; font-weight: 700; }
.dash-card .value.sky { color: var(--sky); }
.dash-card .value.green { color: var(--success); }

.referral-box {
  background: white;
  border-radius: var(--radius);
  padding: 1.3rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.referral-box input {
  width: 100%;
  margin-top: 0.6rem;
  padding: 0.7rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 0.95rem;
  background: #F8FAFC;
}

.table-wrap {
  background: white;
  border-radius: var(--radius);
  overflow-x: auto;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #F1F5F9;
}
th {
  background: #F8FAFC;
  font-weight: 600;
  color: var(--gray);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.status-pending { background: #FEF3C7; color: #92400E; }
.status-active { background: #D1FAE5; color: #065F46; }
.status-completed { background: #DBEAFE; color: #1E40AF; }
.status-approved { background: #D1FAE5; color: #065F46; }
.status-rejected { background: #FEE2E2; color: #991B1B; }

.progress-bar {
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 0.4rem;
}
.progress-bar .fill {
  height: 100%;
  background: var(--sky);
  border-radius: 3px;
  transition: width 0.5s;
}

/* Forms */
.form-card {
  background: white;
  max-width: 480px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.form-card h2 { margin-bottom: 1.5rem; text-align: center; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--black-soft);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: #94A3B8;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
footer h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.5rem; }
footer a { color: #94A3B8; }
footer a:hover { color: var(--sky-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid #1E293B;
  text-align: center;
  font-size: 0.85rem;
}

/* Video section */
.video-section {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}
.video-section h4 { color: white; margin-bottom: 1rem; }
.video-placeholder {
  background: var(--black-soft);
  border-radius: var(--radius);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #334155;
}
.video-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-placeholder .play-hint {
  position: absolute;
  color: white;
  font-size: 0.95rem;
  background: rgba(0,0,0,0.6);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

/* ===== TOASTS ===== */
#toast-container {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.toast {
  background: var(--black);
  color: white;
  padding: 0.85rem 1.3rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.3s;
  font-size: 0.92rem;
  max-width: 320px;
}
.toast.show { opacity: 1; transform: translateX(0); }
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-info { background: var(--sky-dark); }

/* ===== LIVE CHAT ===== */
#chat-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9000; }
.chat-toggle {
  width: 56px;
  height: 56px;
  background: var(--sky);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
  transition: transform 0.2s;
}
.chat-toggle:hover { transform: scale(1.08); }
.chat-box {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  max-height: 420px;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}
.chat-header {
  background: var(--black);
  color: white;
  padding: 0.9rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}
.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 200px;
  max-height: 280px;
}
.chat-msg { max-width: 85%; }
.chat-msg.user { align-self: flex-end; }
.chat-msg.admin { align-self: flex-start; }
.chat-meta { font-size: 0.72rem; color: var(--gray); margin-bottom: 0.2rem; }
.chat-text {
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  font-size: 0.9rem;
}
.chat-msg.user .chat-text { background: var(--sky); color: white; border-bottom-right-radius: 4px; }
.chat-msg.admin .chat-text { background: #F1F5F9; color: var(--black); border-bottom-left-radius: 4px; }
.chat-empty { text-align: center; color: var(--gray); font-size: 0.9rem; margin-top: 2rem; }
.chat-input-row {
  display: flex;
  border-top: 1px solid #E2E8F0;
  padding: 0.6rem;
  gap: 0.4rem;
}
.chat-input-row input {
  flex: 1;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
}
.chat-input-row button {
  background: var(--sky);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  cursor: pointer;
}

/* ===== ADMIN ===== */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: calc(100vh - 60px);
}
.admin-sidebar {
  background: var(--black);
  color: #CBD5E1;
  padding: 1.5rem 1rem;
}
.admin-sidebar h3 { color: white; margin-bottom: 1.5rem; font-size: 1.1rem; }
.admin-sidebar a {
  display: block;
  padding: 0.7rem 1rem;
  color: #94A3B8;
  border-radius: 8px;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}
.admin-sidebar a:hover, .admin-sidebar a.active {
  background: var(--black-soft);
  color: var(--sky-light);
}
.admin-content { padding: 2rem; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: #F59E0B; margin-bottom: 0.7rem; letter-spacing: 2px; }
.testimonial-card .quote { font-style: italic; color: var(--black-soft); margin-bottom: 1rem; }
.testimonial-card .author { font-weight: 700; font-size: 0.95rem; }
.testimonial-card .role { font-size: 0.85rem; color: var(--gray); }

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card .img {
  height: 160px;
  background: linear-gradient(135deg, #0c4a6e, var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}
.blog-card .body { padding: 1.3rem; }
.blog-card .date { font-size: 0.8rem; color: var(--gray); margin-bottom: 0.4rem; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-card p { font-size: 0.92rem; color: var(--gray); }

/* How it works steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--sky);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.step-card h3 { margin: 0.8rem 0 0.5rem; }
.step-card p { color: var(--gray); font-size: 0.95rem; }

/* ===== RESPONSIVE ===== */
.nav-container { position: relative; }

@media (max-width: 768px) {
  .mobile-menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 1rem 1.2rem 1.4rem;
    gap: 0.7rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    z-index: 999;
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-links.open { display: flex !important; }
  .nav-links li { width: 100%; }
  .nav-links a, .nav-links .btn { display: block; width: 100%; text-align: left; }
  .lang-select { width: 100%; max-width: 100%; }
  .hero { padding: 3.5rem 1.2rem 3rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero p { font-size: 1rem; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { width: 100%; }
  .section { padding: 2.2rem 1.2rem; }
  .section-title { font-size: 1.55rem; }
  .plans-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .dash-header { flex-direction: column; align-items: flex-start; }
  .balance-card { width: 100%; text-align: left; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .table-wrap { margin-left: -0.5rem; margin-right: -0.5rem; border-radius: 0; }
  table { font-size: 0.82rem; }
  th, td { padding: 0.65rem 0.7rem; }
  .form-card { margin: 1.2rem; padding: 1.4rem; }
  .price-ticker { gap: 1.2rem; font-size: 0.8rem; justify-content: flex-start; padding: 0.5rem 0.8rem; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-content { padding: 1.2rem; }
  .chat-box { width: min(320px, calc(100vw - 1.5rem)); right: 0; }
  #chat-widget { bottom: 1rem; right: 1rem; }
  .footer-grid { gap: 1.5rem; }
  .video-section { padding: 0 0.5rem; }
  .testimonial-grid, .blog-grid, .steps { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .stats-row { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .logo { font-size: 1.2rem; }
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #E2E8F0;
  border-top-color: var(--sky);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.copy-btn {
  background: var(--sky-pale);
  color: var(--sky-dark);
  border: none;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-left: 0.5rem;
  font-weight: 600;
}
.copy-btn:hover { background: var(--sky); color: white; }


/* ===== Social proof popups ===== */
#social-popup-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 8500;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  pointer-events: none;
}
.social-popup {
  background: #0F172A;
  color: #F1F5F9;
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  font-size: 0.9rem;
  max-width: 320px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s ease;
  border-left: 4px solid #0EA5E9;
  line-height: 1.4;
}
.social-popup.show {
  opacity: 1;
  transform: translateY(0);
}
.social-popup strong { color: #38BDF8; }
@media (max-width: 480px) {
  #social-popup-container { left: 0.8rem; right: 0.8rem; bottom: 5rem; }
  .social-popup { max-width: none; font-size: 0.85rem; }
}

/* Support FAB */
#support-fab {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 8000;
}
.support-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.support-btn:hover { transform: scale(1.08); color: white; }
.support-btn.whatsapp { background: #25D366; }
@media (max-width: 480px) {
  #support-fab { bottom: 5.5rem; left: 0.8rem; }
}



.disclaimer { display: none !important; }


/* Why LedgerInvest – background only, same card/grid layout */
.section-why {
  max-width: none !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: linear-gradient(180deg, #0F172A 0%, #0c4a6e 100%);
  color: #F1F5F9;
  position: relative;
  overflow: hidden;
}
.section-why .section-title { color: #FFFFFF; }
.section-why .stat-box {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(56,189,248,0.3);
  box-shadow: none;
}
.section-why .stat-box .value { color: #38BDF8; }
.section-why .stat-box .label { color: #CBD5E1; }
.section-why::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='50' font-size='28' fill='%2338BDF8' opacity='0.1'%3E₿%3C/text%3E%3C/svg%3E");
  pointer-events: none;
  animation: whyPulse 12s ease-in-out infinite alternate;
}
@keyframes whyPulse {
  from { opacity: 0.6; }
  to { opacity: 1; }
}
.section-why .stats-row {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
}
.section-why .section-title {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Learn & Grow – background only, same card/grid layout */
.section-learn {
  max-width: none !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: linear-gradient(180deg, #F0F9FF 0%, #E0F2FE 100%);
  position: relative;
}
.section-learn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230EA5E9' fill-opacity='0.07'%3E%3Cpath d='M20 20h20v20H20z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.section-learn .section-title,
.section-learn .section-subtitle {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.section-learn .blog-grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.section-learn > div[style*="text-align:center"] {
  position: relative;
  z-index: 1;
}


/* Expandable blog cards */
.blog-expandable { cursor: pointer; transition: box-shadow 0.2s; }
.blog-expandable:hover { box-shadow: 0 8px 28px rgba(14,165,233,0.15); }
.blog-more { display: none; margin-top: 0.8rem; color: #475569; font-size: 0.92rem; line-height: 1.6; }
.blog-expandable.open .blog-more { display: block; }
.blog-toggle { display: inline-block; margin-top: 0.6rem; font-weight: 600; font-size: 0.9rem; color: var(--sky); }
.blog-expandable.open .blog-toggle { display: none; }
.blog-card .date { display: none; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr !important; } }

/* FAQ accordion */
.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  box-shadow: 0 2px 12px rgba(14,165,233,0.08);
  border: 1px solid #E2E8F0;
  overflow: hidden;
}
.faq-q {
  padding: 1rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #0F172A;
}
.faq-q span { color: var(--sky); font-size: 1.2rem; }
.faq-a {
  display: none;
  padding: 0 1.2rem 1.1rem;
  color: #64748B;
  line-height: 1.65;
  font-size: 0.95rem;
}
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q span { transform: rotate(45deg); display: inline-block; }

.status-badge.status-successful, .status-badge.status-active, .status-badge.status-completed { background: #D1FAE5; color: #065F46; }
.status-badge.status-pending { background: #FEF3C7; color: #92400E; }
.status-badge.status-unsuccessful, .status-badge.status-rejected { background: #FEE2E2; color: #991B1B; }


/* Unread badges */
.chat-toggle { position: relative; }
.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #EF4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 0 2px #0F172A;
}
.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  background: #EF4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 999px;
  vertical-align: middle;
}

.chat-guest-form {
  padding: 1rem 1.1rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}
.chat-guest-form p { margin: 0 0 0.5rem; color: #64748B; font-size: 0.85rem; }
.chat-guest-form input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.chat-messages { display: flex; flex-direction: column; flex: 1; overflow-y: auto; }

.chat-guest-form input {
  width: 100%; padding: 0.6rem 0.75rem; border: 1px solid #E2E8F0; border-radius: 8px; font-size: 0.9rem;
}
