/* NovaVest - Premium Investment Platform Stylesheet */
:root {
  --navy: #0a1628;
  --navy-light: #112544;
  --navy-lighter: #1a3158;
  --gold: #d4af37;
  --gold-light: #f0d96b;
  --gold-dark: #b8941f;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray: #8a9bb0;
  --gray-light: #e8edf5;
  --green: #22c55e;
  --red: #ef4444;
  --orange: #f59e0b;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy);
  line-height: 1.6;
  background: var(--off-white);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,175,55,0.45); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-light); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ===== Navbar ===== */
.navbar {
  background: var(--navy);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #c5d1e0; font-weight: 500; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.hamburger { display: none; background: none; border: none; color: white; font-size: 24px; cursor: pointer; }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 500px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 70%);
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(212,175,55,0.15);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero h1 .grad { background: linear-gradient(135deg, var(--gold-light), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 19px; color: #c5d1e0; margin-bottom: 32px; max-width: 520px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; }
.hero-stat .num { font-size: 36px; font-weight: 800; color: var(--gold); }
.hero-stat .label { font-size: 14px; color: #8a9bb0; }

/* Hero visual card */
.hero-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.hero-card-title { color: var(--gold); font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.hero-card-amount { font-size: 42px; font-weight: 800; color: var(--white); margin-bottom: 24px; }
.hero-chart { height: 120px; background: linear-gradient(180deg, rgba(212,175,55,0.2), transparent); border-radius: 10px; margin-bottom: 20px; position: relative; overflow: hidden; }
.hero-chart::after { content:''; position:absolute; bottom:0; left:0; right:0; height:60%; background: linear-gradient(180deg, transparent, rgba(212,175,55,0.3)); clip-path: polygon(0 100%, 15% 60%, 30% 70%, 45% 40%, 60% 50%, 75% 20%, 90% 30%, 100% 10%, 100% 100%); }
.hero-card-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.hero-card-row:last-child { border: none; }
.hero-card-row .lbl { color: #8a9bb0; font-size: 14px; }
.hero-card-row .val { color: var(--white); font-weight: 600; font-size: 14px; }

/* ===== Sections ===== */
section { padding: 80px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title .sub { color: var(--gold); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; display: block; }
.section-title h2 { font-size: 42px; font-weight: 800; line-height: 1.2; }
.section-title p { color: var(--gray); font-size: 17px; margin-top: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-dark .section-title h2 { color: var(--white); }
.section-dark .section-title p { color: #8a9bb0; }

/* ===== Plans ===== */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.plan-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}
.plan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.plan-card.featured { border-color: var(--gold); background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--white); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.plan-card .plan-name { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.plan-card .plan-min { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.plan-card.featured .plan-min { color: #8a9bb0; }
.plan-card .plan-roi { font-size: 52px; font-weight: 800; color: var(--gold); margin-bottom: 4px; }
.plan-card .plan-roi span { font-size: 24px; }
.plan-card .plan-duration { font-size: 15px; color: var(--gray); margin-bottom: 28px; }
.plan-card.featured .plan-duration { color: #8a9bb0; }
.plan-features li { padding: 10px 0; border-bottom: 1px solid var(--gray-light); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.plan-features li::before { content: '✓'; color: var(--green); font-weight: 700; }
.plan-card.featured .plan-features li { border-color: rgba(255,255,255,0.1); color: #c5d1e0; }
.plan-card .btn { margin-top: 24px; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature-card { text-align: center; padding: 36px 28px; }
.feature-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.05));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}
.feature-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feature-card p { color: var(--gray); font-size: 15px; }
.section-dark .feature-card h3 { color: var(--white); }
.section-dark .feature-card p { color: #8a9bb0; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
  margin: 0 auto 20px;
}
.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.step-card p { color: #8a9bb0; font-size: 14px; }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; }
.testimonial-card .quote { font-size: 15px; color: #4a5d72; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial-author .name { font-weight: 600; font-size: 15px; }
.testimonial-author .role { font-size: 13px; color: var(--gray); }

/* ===== CTA ===== */
.cta-band {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { font-size: 36px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.cta-band p { color: rgba(10,22,40,0.8); font-size: 18px; margin-bottom: 28px; }

/* ===== Footer ===== */
footer { background: var(--navy); color: #8a9bb0; padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 300px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 13px; }

/* ===== Auth Pages ===== */
.auth-page { min-height: 100vh; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card {
  background: var(--white);
  border-radius: 20px;
  padding: 44px;
  width: 100%;
  max-width: 540px;
  box-shadow: var(--shadow-lg);
}
.auth-card.wide { max-width: 640px; }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header .logo { justify-content: center; margin-bottom: 12px; }
.auth-header h2 { font-size: 28px; font-weight: 800; color: var(--navy); }
.auth-header p { color: var(--gray); font-size: 15px; margin-top: 6px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-group label .req { color: var(--red); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--gold); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.auth-error { background: #fee2e2; color: #991b1b; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.auth-success { background: #dcfce7; color: #166534; padding: 12px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--gray); }
.auth-footer a { color: var(--gold-dark); font-weight: 600; }
#nationalIdGroup { display: none; }
#nationalIdGroup.show { display: block; }

/* ===== Dashboard Layout ===== */
.dash-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.dash-sidebar {
  background: var(--navy);
  color: var(--white);
  padding: 28px 0;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.dash-sidebar .logo { padding: 0 24px; margin-bottom: 32px; font-size: 22px; }
.dash-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 24px;
  color: #8a9bb0;
  font-size: 15px; font-weight: 500;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.dash-nav a:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.dash-nav a.active { background: rgba(212,175,55,0.1); color: var(--gold); border-left-color: var(--gold); }
.dash-nav a .icon { font-size: 18px; width: 22px; text-align: center; }
.dash-main { padding: 32px 40px; background: var(--off-white); overflow-y: auto; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.dash-header h1 { font-size: 28px; font-weight: 800; color: var(--navy); }
.dash-header .sub { color: var(--gray); font-size: 15px; }
.dash-user { display: flex; align-items: center; gap: 12px; }
.dash-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Dashboard stats cards */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }
.stat-card { background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.stat-card .stat-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 16px; }
.stat-icon.gold { background: rgba(212,175,55,0.15); color: var(--gold-dark); }
.stat-icon.green { background: rgba(34,197,94,0.15); color: var(--green); }
.stat-icon.blue { background: rgba(59,130,246,0.15); color: #3b82f6; }
.stat-icon.purple { background: rgba(168,85,247,0.15); color: #a855f7; }
.stat-card .stat-val { font-size: 28px; font-weight: 800; color: var(--navy); }
.stat-card .stat-lbl { font-size: 14px; color: var(--gray); margin-top: 4px; }

/* Dashboard panels */
.dash-panel { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 24px; }
.dash-panel-title { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }

/* Tables */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; padding: 12px 16px; background: var(--off-white); font-size: 13px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--gray-light); font-size: 14px; }
.table tr:hover { background: var(--off-white); }
.badge { padding: 5px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed, .badge-completed, .badge-active { background: #dcfce7; color: #166534; }
.badge-rejected { background: #fee2e2; color: #991b1b; }

/* ===== Deposit wallets ===== */
.wallet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 24px; }
.wallet-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s;
}
.wallet-card:hover, .wallet-card.selected { border-color: var(--gold); background: rgba(212,175,55,0.03); }
.wallet-card .wc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.wallet-card .wc-currency { font-size: 18px; font-weight: 700; color: var(--navy); }
.wallet-card .wc-network { font-size: 12px; color: var(--gray); background: var(--off-white); padding: 4px 10px; border-radius: 50px; }
.wallet-card .wc-addr { font-family: 'Courier New', monospace; font-size: 12px; color: var(--navy-light); background: var(--off-white); padding: 10px; border-radius: 8px; word-break: break-all; }
.copy-btn {
  background: var(--navy); color: var(--white); border: none; padding: 8px 16px; border-radius: 8px; font-size: 13px; cursor: pointer; margin-top: 12px; width: 100%; font-weight: 600;
  transition: background 0.2s;
}
.copy-btn:hover { background: var(--navy-light); }
.copy-btn.copied { background: var(--green); }

/* ===== Chat ===== */
.chat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
}
.chat-toggle {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy); border: none; font-size: 26px; cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.chat-box {
  position: fixed; bottom: 100px; right: 24px;
  width: 380px; height: 520px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); display: none; flex-direction: column;
  overflow: hidden;
}
.chat-box.open { display: flex; }
.chat-header { background: var(--navy); color: var(--white); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.chat-header .ch-title { font-weight: 700; }
.chat-header .ch-status { font-size: 12px; color: var(--green); }
.chat-header .ch-close { background: none; border: none; color: var(--white); font-size: 20px; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 20px; background: var(--off-white); }
.chat-msg { margin-bottom: 14px; max-width: 80%; }
.chat-msg .cm-bubble { padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.4; }
.chat-msg.user .cm-bubble { background: var(--navy); color: var(--white); margin-left: auto; border-bottom-right-radius: 4px; }
.chat-msg.admin .cm-bubble { background: var(--white); color: var(--navy); border: 1px solid var(--gray-light); border-bottom-left-radius: 4px; }
.chat-msg .cm-time { font-size: 11px; color: var(--gray); margin-top: 4px; }
.chat-msg.user .cm-time { text-align: right; }
.chat-input { padding: 14px; border-top: 1px solid var(--gray-light); display: flex; gap: 10px; background: var(--white); }
.chat-input input { flex: 1; padding: 10px 14px; border: 1px solid var(--gray-light); border-radius: 50px; font-size: 14px; }
.chat-input button { background: var(--gold); border: none; color: var(--navy); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 18px; }

/* Full support page chat */
.support-page { display: grid; grid-template-columns: 1fr; gap: 0; height: calc(100vh - 0px); }
.support-container { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); height: 600px; display: flex; flex-direction: column; overflow: hidden; }
.support-chat-body { flex: 1; overflow-y: auto; padding: 24px; background: var(--off-white); }

/* ===== Admin Layout ===== */
.admin-layout { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--navy); color: var(--white); padding: 24px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar .logo { padding: 0 24px; margin-bottom: 8px; font-size: 20px; }
.admin-sidebar .admin-tag { padding: 0 24px; font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 28px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 24px; color: #8a9bb0; font-size: 14px; font-weight: 500; transition: all 0.2s; border-left: 3px solid transparent; }
.admin-nav a:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.admin-nav a.active { background: rgba(212,175,55,0.1); color: var(--gold); border-left-color: var(--gold); }
.admin-nav a .icon { font-size: 17px; width: 20px; text-align: center; }
.admin-nav .badge-count { background: var(--red); color: white; font-size: 11px; padding: 2px 7px; border-radius: 50px; margin-left: auto; }
.admin-main { padding: 28px 36px; background: var(--off-white); overflow-y: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.admin-header h1 { font-size: 26px; font-weight: 800; color: var(--navy); }

/* Admin support chat layout */
.admin-chat-layout { display: grid; grid-template-columns: 300px 1fr; height: calc(100vh - 140px); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.chat-user-list { border-right: 1px solid var(--gray-light); overflow-y: auto; }
.chat-user-item { padding: 16px 20px; border-bottom: 1px solid var(--gray-light); cursor: pointer; transition: background 0.2s; display: flex; justify-content: space-between; align-items: flex-start; }
.chat-user-item:hover, .chat-user-item.active { background: var(--off-white); }
.chat-user-item .cui-name { font-weight: 600; font-size: 14px; color: var(--navy); }
.chat-user-item .cui-msg { font-size: 12px; color: var(--gray); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.chat-user-item .cui-unread { background: var(--red); color: white; font-size: 11px; padding: 2px 7px; border-radius: 50px; }
.chat-conversation { display: flex; flex-direction: column; }
.chat-conv-header { padding: 16px 24px; border-bottom: 1px solid var(--gray-light); background: var(--off-white); }
.chat-conv-header .name { font-weight: 700; color: var(--navy); }
.chat-conv-header .email { font-size: 13px; color: var(--gray); }
.chat-conv-body { flex: 1; overflow-y: auto; padding: 24px; background: var(--off-white); }
.chat-conv-input { padding: 14px 20px; border-top: 1px solid var(--gray-light); display: flex; gap: 10px; background: var(--white); }
.chat-conv-input input { flex: 1; padding: 11px 16px; border: 1px solid var(--gray-light); border-radius: 50px; font-size: 14px; }
.chat-conv-input button { background: var(--gold); border: none; color: var(--navy); padding: 0 24px; border-radius: 50px; cursor: pointer; font-weight: 600; }
.chat-empty { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--gray); font-size: 15px; }

/* Detail view */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--gray-light); }
.info-row .lbl { color: var(--gray); font-size: 14px; }
.info-row .val { font-weight: 600; font-size: 14px; color: var(--navy); }

/* Responsive */
@media (max-width: 968px) {
  .hero-grid, .plans-grid, .features-grid, .testimonials-grid, .steps-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .hero { padding: 60px 0 80px; }
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: 36px; line-height: 1.2; margin-bottom: 16px; }
  .hero p { font-size: 17px; margin-bottom: 28px; }
  .hero-badge { font-size: 12px; margin-bottom: 20px; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .hero-stats { gap: 24px; margin-top: 40px; justify-content: space-between; }
  .hero-stat .num { font-size: 28px; }
  .hero-stat .label { font-size: 12px; }
  .hero-card { padding: 24px; }
  .hero-card-amount { font-size: 32px; }
  .dash-layout, .admin-layout { grid-template-columns: 1fr; }
  .dash-sidebar, .admin-sidebar { position: relative; height: auto; }
  .dash-nav, .admin-nav { display: flex; flex-wrap: wrap; padding: 0 16px 16px; }
  .dash-nav a, .admin-nav a { padding: 10px 16px; border-left: none; }
  .dash-main, .admin-main { padding: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .detail-grid, .wallet-grid { grid-template-columns: 1fr; }
  .admin-chat-layout { grid-template-columns: 1fr; height: auto; }
  .chat-user-list { max-height: 200px; }
  .dash-panel > div[style*="grid-template-columns:repeat(5"] { grid-template-columns: 1fr 1fr !important; }
  .dash-panel > div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  .dash-panel > div[style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr 1fr !important; }
  .dash-panel > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  /* Referral banner on landing page */
  .section-dark > .container > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; gap: 40px !important; }
}
@media (max-width: 568px) {
  .stats-grid, .steps-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 60px; }
  .hero h1 { font-size: 28px; line-height: 1.25; margin-bottom: 14px; }
  .hero p { font-size: 15px; margin-bottom: 24px; }
  .hero-badge { font-size: 11px; padding: 6px 14px; margin-bottom: 16px; }
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 12px; margin-top: 32px; flex-wrap: wrap; }
  .hero-stat { flex: 1; min-width: 80px; }
  .hero-stat .num { font-size: 22px; }
  .hero-stat .label { font-size: 10px; }
  .hero-card { padding: 20px; }
  .hero-card-amount { font-size: 28px; }
  .hero-card-title { font-size: 13px; }
  .hero-card-row { padding: 10px 0; }
  .hero-card-row .lbl, .hero-card-row .val { font-size: 13px; }
  .auth-card { padding: 24px 20px; }
  .chat-box { width: calc(100vw - 32px); right: 16px; }
  section { padding: 60px 0; }
  .section-title { margin-bottom: 40px; }
  .section-title h2 { font-size: 26px; }
  .section-title p { font-size: 15px; }
  .plan-card { padding: 24px 20px; }
  .plan-card .plan-roi { font-size: 42px; }
  .cta-band h2 { font-size: 24px; }
  .cta-band p { font-size: 15px; }
  .dash-panel > div[style*="grid-template-columns:repeat(5"] { grid-template-columns: 1fr !important; }
  .dash-panel > div[style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  .dash-panel > div[style*="grid-template-columns:repeat(4"] { grid-template-columns: 1fr !important; }
  .dash-panel > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  .table { font-size: 13px; }
  .dash-header h1 { font-size: 22px; }
}
