/* ============================================================
   MaxMyListing Portal — Global Stylesheet
   Brand Colors: Gold #e1a66b | Black #181519 | Rose #8c5759
   Blue-Gray #9facb5 | Blue #2465c9
   ============================================================ */

:root {
  --gold: #e1a66b;
  --gold-light: #f0c48a;
  --gold-dark: #c4894e;
  --black: #181519;
  --black-mid: #221e24;
  --black-light: #2e2832;
  --rose: #8c5759;
  --blue-gray: #9facb5;
  --blue: #2465c9;
  --blue-light: #3a7ce0;
  --white: #ffffff;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ec;
  --gray-400: #9a9aa8;
  --gray-600: #5a5a6a;
  --success: #2ec97e;
  --warning: #f5a623;
  --danger: #e05252;
  --text-primary: #ffffff;
  --text-secondary: #9facb5;
  --border: rgba(255,255,255,0.08);
  --card-bg: #221e24;
  --input-bg: #2e2832;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 30px rgba(225,166,107,0.2);
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

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

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { color: var(--text-secondary); }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

.text-gold { color: var(--gold); }
.text-gray { color: var(--text-secondary); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-center { text-align: center; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 600px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-lg { padding: 16px 32px; font-size: 1.0625rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--black);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(225,166,107,0.35);
}
.btn-secondary {
  background: var(--black-light);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--black-mid);
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(225,166,107,0.1);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--black-light);
  color: var(--white);
}
.btn-success {
  background: linear-gradient(135deg, #2ec97e, #1ea864);
  color: white;
}
.btn-danger {
  background: linear-gradient(135deg, #e05252, #c03838);
  color: white;
}
.btn-blue {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: white;
}
.btn-block { width: 100%; justify-content: center; }

/* ---- Cards ---- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.card:hover { border-color: rgba(225,166,107,0.2); }
.card-glow { box-shadow: var(--shadow-gold); }
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-control {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 12px 16px;
  font-size: 0.9375rem;
  transition: var(--transition);
  font-family: inherit;
  resize: vertical;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(225,166,107,0.15);
}
.form-control::placeholder { color: var(--gray-400); }
.form-control:disabled { opacity: 0.5; cursor: not-allowed; }
textarea.form-control { min-height: 100px; }

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Radio / Checkbox */
.radio-group, .checkbox-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-option, .check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-size: 0.9rem;
}
.radio-option:hover, .check-option:hover { border-color: var(--gold); }
.radio-option.active, .check-option.active {
  border-color: var(--gold);
  background: rgba(225,166,107,0.1);
  color: var(--gold);
}
.radio-option input, .check-option input { display: none; }

/* Upload Zone */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255,255,255,0.02);
}
.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--gold);
  background: rgba(225,166,107,0.05);
}
.upload-zone .upload-icon { font-size: 2.5rem; margin-bottom: 12px; }
.upload-zone p { color: var(--text-secondary); font-size: 0.9rem; }
.upload-zone span { color: var(--gold); font-weight: 600; }

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(24, 21, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}
.nav-logo .logo-badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--white); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Dashboard Sidebar */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: 64px;
}
.sidebar {
  width: 240px;
  background: var(--black-mid);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: fixed;
  top: 64px;
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 90;
}
.sidebar-section { padding: 0 16px; margin-bottom: 8px; }
.sidebar-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  padding: 0 12px;
  margin-bottom: 6px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.sidebar-link:hover { background: var(--black-light); color: var(--white); }
.sidebar-link.active {
  background: rgba(225,166,107,0.12);
  color: var(--gold);
}
.sidebar-link .icon { font-size: 1.1rem; width: 20px; }
.sidebar-link .badge {
  margin-left: auto;
  background: var(--rose);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
}

.main-content {
  flex: 1;
  margin-left: 240px;
  padding: 32px;
  min-height: calc(100vh - 64px);
}

/* ---- Stat Cards ---- */
.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}
.stat-card.gold::before { background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }
.stat-card.blue::before { background: linear-gradient(90deg, var(--blue), var(--blue-light)); }
.stat-card.rose::before { background: linear-gradient(90deg, var(--rose), #b06870); }
.stat-card.success::before { background: linear-gradient(90deg, var(--success), #1ea864); }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.8125rem; color: var(--text-secondary); margin-top: 6px; }
.stat-change { font-size: 0.8125rem; font-weight: 600; margin-top: 8px; }
.stat-change.up { color: var(--success); }
.stat-change.down { color: var(--danger); }
.stat-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  opacity: 0.2;
}

/* ---- Credit Meter ---- */
.credit-meter {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.credit-meter-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(225,166,107,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.credit-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.credit-count { font-size: 3.5rem; font-weight: 800; color: var(--gold); line-height: 1; }
.credit-total { font-size: 1.5rem; color: var(--text-secondary); }
.credit-bar {
  width: 100%;
  height: 8px;
  background: var(--black-light);
  border-radius: 100px;
  margin-top: 16px;
  overflow: hidden;
}
.credit-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 100px;
  transition: width 1s ease;
}
.credit-coins {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.credit-coin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 800;
  transition: var(--transition);
}
.credit-coin.used {
  background: var(--black-light);
  border: 1.5px solid var(--border);
  color: var(--gray-400);
}
.credit-coin.available {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 2px 8px rgba(225,166,107,0.4);
}
.credit-coin.available:hover { transform: scale(1.15) rotate(5deg); }

/* ---- Listing Cards ---- */
.listing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.listing-card:hover {
  border-color: rgba(225,166,107,0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.listing-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--black-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.listing-img.placeholder { background: linear-gradient(135deg, #2a2330, #1e1a22); }
.listing-body { padding: 18px; }
.listing-address { font-weight: 700; font-size: 0.9375rem; margin-bottom: 4px; }
.listing-city { font-size: 0.8125rem; color: var(--text-secondary); margin-bottom: 12px; }
.listing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.listing-stat { text-align: center; }
.listing-stat-val { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.listing-stat-lbl { font-size: 0.7rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; }
.listing-actions { display: flex; gap: 8px; }
.listing-actions .btn { flex: 1; }

/* Status Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-live { background: rgba(46,201,126,0.15); color: var(--success); }
.badge-pending { background: rgba(245,166,35,0.15); color: var(--warning); }
.badge-coming { background: rgba(36,101,201,0.15); color: var(--blue-light); }
.badge-done { background: rgba(156,172,181,0.15); color: var(--blue-gray); }

/* ---- Progress Steps ---- */
.steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0 16px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  border: 2px solid var(--border);
  background: var(--card-bg);
  color: var(--gray-400);
  transition: var(--transition);
  z-index: 1;
}
.step.active .step-num {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  box-shadow: 0 0 16px rgba(225,166,107,0.4);
}
.step.done .step-num {
  background: var(--success);
  border-color: var(--success);
  color: white;
}
.step-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-top: 6px;
  white-space: nowrap;
}
.step.active .step-label { color: var(--gold); font-weight: 600; }
.step.done .step-label { color: var(--success); }
.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.step-line.done { background: var(--success); }

/* ---- Post Approval Cards ---- */
.post-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  animation: fadeIn 0.3s ease;
}
.post-card.approving {
  animation: slideOut 0.5s ease forwards;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes slideOut { to { opacity: 0; transform: scale(0.9); max-height: 0; padding: 0; } }
.post-card-header {
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.platform-dot { width: 8px; height: 8px; border-radius: 50%; }
.platform-dot.instagram { background: #e1306c; }
.platform-dot.facebook { background: #1877f2; }
.platform-dot.linkedin { background: #0077b5; }
.platform-dot.twitter { background: #1da1f2; }
.post-card-body { padding: 18px; }
.post-caption {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 14px;
  min-height: 80px;
  white-space: pre-wrap;
}
.post-caption[contenteditable="true"] { cursor: text; }
.post-caption[contenteditable="true"]:focus {
  border-color: var(--gold);
  outline: none;
}
.post-media-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: var(--black-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-secondary);
}
.post-schedule { font-size: 0.8125rem; color: var(--text-secondary); }
.post-actions { display: flex; gap: 8px; margin-top: 14px; }
.post-actions .btn { flex: 1; padding: 10px; font-size: 0.8125rem; }

/* ---- Stats / Charts ---- */
.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 50px; }
.mini-bar {
  flex: 1;
  background: linear-gradient(0deg, var(--gold-dark), var(--gold));
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: var(--transition);
  min-width: 8px;
}
.mini-bar:hover { opacity: 1; }

/* ---- Launch Button ---- */
.launch-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 1.125rem;
  font-weight: 800;
  padding: 18px 40px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(225,166,107,0.35);
  position: relative;
  overflow: hidden;
}
.launch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(225,166,107,0.5);
}
.launch-btn:active { transform: scale(0.98); }
.launch-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}
.launch-btn:hover::after { opacity: 1; }

/* Launch celebration */
.celebrate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.celebrate-overlay.show { opacity: 1; pointer-events: all; }
.celebrate-card {
  background: var(--card-bg);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 440px;
  box-shadow: var(--shadow-gold);
  animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.celebrate-emoji { font-size: 4rem; margin-bottom: 16px; display: block; animation: bounce 0.6s ease infinite alternate; }
@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ---- Tables ---- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.data-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ---- Alert / Notice ---- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.alert-info { background: rgba(36,101,201,0.12); border-left: 3px solid var(--blue); color: #93b8f5; }
.alert-warning { background: rgba(245,166,35,0.12); border-left: 3px solid var(--warning); color: #f5c86c; }
.alert-success { background: rgba(46,201,126,0.12); border-left: 3px solid var(--success); color: #7ee8b3; }
.alert-gold { background: rgba(225,166,107,0.1); border-left: 3px solid var(--gold); color: var(--gold-light); }

/* ---- Video embed ---- */
.video-callout {
  background: var(--black-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition);
}
.video-callout:hover { border-color: var(--gold); background: rgba(225,166,107,0.05); }
.video-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--black);
}

/* ---- Tabs ---- */
.tabs { display: flex; gap: 4px; background: var(--black-light); border-radius: var(--radius-md); padding: 4px; margin-bottom: 24px; }
.tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.tab-btn.active {
  background: var(--card-bg);
  color: var(--gold);
  box-shadow: var(--shadow);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---- Page Header ---- */
.page-header { margin-bottom: 32px; }
.page-title { font-size: 1.75rem; font-weight: 800; }
.page-subtitle { color: var(--text-secondary); margin-top: 4px; }
.page-header-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ---- Divider ---- */
.divider { height: 1px; background: var(--border); margin: 24px 0; }

/* ---- Hero Section (Landing) ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(225,166,107,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(36,101,201,0.06) 0%, transparent 50%),
    var(--black);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(225,166,107,0.1);
  border: 1px solid rgba(225,166,107,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .highlight {
  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: 1.125rem; margin-bottom: 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Dashboard preview floating card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Features */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 16px;
  background: rgba(225,166,107,0.1);
}
.feature-icon.blue { background: rgba(36,101,201,0.12); }
.feature-icon.rose { background: rgba(140,87,89,0.15); }
.feature-icon.success { background: rgba(46,201,126,0.12); }

/* Pricing */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--gold);
  position: relative;
  box-shadow: var(--shadow-gold);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.price-period { color: var(--text-secondary); font-size: 0.875rem; }
.price-features { list-style: none; text-align: left; margin: 24px 0; }
.price-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.price-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* Footer */
.footer {
  background: var(--black-mid);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}
.footer-logo { margin-bottom: 12px; }
.footer-desc { font-size: 0.875rem; color: var(--text-secondary); max-width: 280px; }
.footer-heading { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 14px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--text-secondary); font-size: 0.875rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; margin-top: 48px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.8125rem; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--black-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gray-600); }

/* ---- Animations ---- */
.fade-in { animation: fadeIn 0.4s ease; }
.pulse { animation: pulse 2s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .sidebar { display: none; }
  .main-content { margin-left: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { text-align: center; }
  .hero p { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-visual { display: none; }
  .main-content { padding: 20px 16px; }
  .steps-bar { overflow-x: auto; padding-bottom: 8px; }
}
