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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-input: #1e1e2a;
  --accent: #6c5ce7;
  --accent-light: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --accent-hover: #7d6ff0;
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #555570;
  --gold: #f0c040;
  --silver: #c0c0d0;
  --bronze: #cd7f32;
  --border: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);
  --success: #00b894;
  --error: #e17055;
  --warning: #fdcb6e;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--text-primary); }

/* ========== NAV ========== */
.app-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 0.9rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  cursor: pointer;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 0.3rem;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-link.active { color: var(--accent-light); background: rgba(108,92,231,0.12); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-badge {
  position: relative;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-badge:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); }
.nav-badge .count {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--error);
  color: white;
  font-size: 0.6rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.nav-avatar {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: opacity 0.2s;
}
.nav-avatar:hover { opacity: 0.8; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--accent); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-strong); }

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 0.8rem 2rem; font-size: 0.95rem; }
.btn-block { width: 100%; justify-content: center; }

/* ========== FORMS ========== */
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-select option { background: var(--bg-card); }

.form-textarea { min-height: 100px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-error { color: var(--error); font-size: 0.8rem; margin-top: 0.3rem; }

/* ========== TAGS ========== */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: rgba(108,92,231,0.12);
  color: var(--accent-light);
  border: 1px solid rgba(108,92,231,0.2);
}
.tag.platform { background: rgba(0,184,148,0.12); color: #55efc4; border-color: rgba(0,184,148,0.2); }
.tag.niche { background: rgba(253,203,110,0.12); color: var(--gold); border-color: rgba(253,203,110,0.2); }
.tag.language { background: rgba(116,185,255,0.12); color: #74b9ff; border-color: rgba(116,185,255,0.2); }
.tag .remove { cursor: pointer; opacity: 0.6; }
.tag .remove:hover { opacity: 1; }

.tag-input-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  min-height: 42px;
  align-items: center;
  cursor: text;
}
.tag-input-wrap:focus-within { border-color: var(--accent); }
.tag-input-wrap input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.85rem;
  flex: 1;
  min-width: 80px;
  font-family: 'DM Sans', sans-serif;
}
.tag-input-wrap input::placeholder { color: var(--text-muted); }

/* ========== CARDS ========== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-strong); }
.card-clickable:hover { transform: translateY(-2px); cursor: pointer; }

/* ========== LAYOUT ========== */
.page {
  padding-top: 5rem;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.container-narrow {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
}

.container-wide {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem;
}

.page-header {
  margin-bottom: 2rem;
}
.page-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}
.page-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ========== PROFILE CARD ========== */
.profile-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s;
  cursor: pointer;
}
.profile-card:hover { border-color: var(--accent); transform: translateY(-1px); }

.profile-rank {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  width: 35px;
  text-align: center;
  flex-shrink: 0;
}
.profile-rank.gold { color: var(--gold); }
.profile-rank.silver { color: var(--silver); }
.profile-rank.bronze { color: var(--bronze); }

.profile-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.profile-info { flex: 1; min-width: 0; }
.profile-name {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.profile-name .verified { color: var(--accent-light); font-size: 0.8rem; }

.profile-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.8rem;
  margin-top: 0.15rem;
}

.profile-score-col {
  text-align: right;
  flex-shrink: 0;
}

.profile-score {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-light);
}

.profile-stars {
  font-size: 0.7rem;
  color: var(--gold);
}

/* ========== LEADERBOARD ========== */
.lb-tabs {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}
.lb-tab {
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
}
.lb-tab:hover { color: var(--text-secondary); border-color: var(--border-strong); }
.lb-tab.active { color: var(--accent-light); background: rgba(108,92,231,0.12); border-color: rgba(108,92,231,0.3); }

.lb-list { display: flex; flex-direction: column; gap: 0.6rem; }

/* ========== FILTERS ========== */
.filters-bar {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.filters-bar .form-input, .filters-bar .form-select {
  width: auto;
  min-width: 160px;
}
.filters-bar .search-input {
  flex: 1;
  min-width: 200px;
}

/* ========== PROFILE PAGE ========== */
.profile-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.profile-avatar-large {
  width: 100px; height: 100px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.profile-header-info { flex: 1; }
.profile-header-info h1 {
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.profile-type-badge {
  display: inline-flex;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
}
.profile-type-badge.manager { color: var(--accent-light); background: rgba(108,92,231,0.15); }
.profile-type-badge.creator { color: var(--gold); background: rgba(240,192,64,0.12); }

.profile-bio {
  color: var(--text-secondary);
  margin: 0.8rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.profile-stats-row {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
}

.profile-stat {
  text-align: center;
}
.profile-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--accent-light);
}
.profile-stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}

.profile-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.detail-section h3 {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

/* ========== REVIEWS ========== */
.reviews-section { margin-top: 2rem; }
.reviews-section h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-card {
  padding: 1.2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.8rem;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.review-avatar {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
}
.review-name { font-size: 0.85rem; font-weight: 600; }
.review-date { font-size: 0.75rem; color: var(--text-muted); }
.review-stars { color: var(--gold); font-size: 0.8rem; }
.review-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; }
.review-comment { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.6; }

/* ========== MESSAGES ========== */
.messages-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: calc(100vh - 5rem);
  gap: 0;
}

.conversations-panel {
  border-right: 1px solid var(--border);
  overflow-y: auto;
  background: var(--bg-secondary);
}
.conversations-header {
  padding: 1.2rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 1rem;
}

.conversation-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
.conversation-item:hover { background: rgba(255,255,255,0.03); }
.conversation-item.active { background: rgba(108,92,231,0.08); border-left: 3px solid var(--accent); }

.conv-avatar {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.conv-info { flex: 1; min-width: 0; }
.conv-name { font-weight: 600; font-size: 0.88rem; }
.conv-preview {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}
.conv-time { font-size: 0.7rem; color: var(--text-muted); }
.conv-unread {
  background: var(--accent);
  color: white;
  font-size: 0.6rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.chat-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--bg-secondary);
}
.chat-header-name { font-weight: 600; }
.chat-header-type { font-size: 0.75rem; color: var(--text-muted); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.chat-msg {
  max-width: 70%;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.chat-msg.sent {
  align-self: flex-end;
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-msg.received {
  align-self: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg-time {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.2rem;
}
.chat-msg.received .chat-msg-time { color: var(--text-muted); }

.chat-input-area {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.8rem;
  background: var(--bg-secondary);
}
.chat-input-area input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}
.chat-input-area input:focus { border-color: var(--accent); }

.chat-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== DASHBOARD ========== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.stat-card h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
}

.completeness-bar {
  height: 8px;
  background: var(--bg-input);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.completeness-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* ========== AUTH PAGES ========== */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.auth-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.auth-card .subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.auth-divider {
  text-align: center;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.type-option {
  padding: 1.2rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.type-option:hover { border-color: var(--border-strong); }
.type-option.selected { border-color: var(--accent); background: rgba(108,92,231,0.08); }
.type-option .icon { font-size: 1.8rem; margin-bottom: 0.4rem; }
.type-option .label { font-weight: 600; font-size: 0.9rem; }
.type-option .desc { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h3 { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.empty-state p { font-size: 0.9rem; max-width: 400px; margin: 0 auto; }

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: var(--success); color: white; }
.toast.error { background: var(--error); color: white; }

/* ========== LOADING ========== */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  color: var(--text-muted);
}
.spinner {
  width: 24px; height: 24px;
  border: 3px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 0.8rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== DROPDOWN ========== */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.4rem;
  min-width: 180px;
  display: none;
  z-index: 200;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.dropdown-menu.show { display: block; }
.dropdown-item {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
}
.dropdown-item:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }

/* ========== PREMIUM BADGES ========== */
.premium-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  font-weight: 700;
}
.premium-badge.pro {
  color: #a29bfe;
  background: rgba(108,92,231,0.2);
  border: 1px solid rgba(108,92,231,0.35);
}
.premium-badge.elite {
  color: #f0c040;
  background: rgba(240,192,64,0.15);
  border: 1px solid rgba(240,192,64,0.3);
}

/* ========== PRICING ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.pricing-card:hover { border-color: var(--border-strong); }
.pricing-card.current { border-color: var(--accent); }
.pricing-card.featured {
  border-color: rgba(240,192,64,0.4);
  background: linear-gradient(180deg, rgba(240,192,64,0.06) 0%, var(--bg-secondary) 40%);
}

.pricing-featured-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #0a0a0f;
  background: var(--gold);
  padding: 0.2rem 0.8rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-header h4 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.pricing-price {
  margin-bottom: 1.2rem;
}
.pricing-price .amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.pricing-price .period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 0.2rem;
}

.pricing-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}
.pricing-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  line-height: 1.5;
}

.pricing-action { margin-top: auto; }

.btn-gold {
  background: linear-gradient(135deg, #f0c040, #e0a020);
  color: #0a0a0f;
  font-weight: 700;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #f5d060, #e0a020);
  transform: translateY(-1px);
}

/* ========== 4-COL TYPE SELECTOR ========== */
.type-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .app-nav { padding: 0.8rem 1rem; }
  .nav-links { display: none; }
  .container { padding: 1.5rem; }
  .profile-header { flex-direction: column; align-items: center; text-align: center; }
  .profile-details { grid-template-columns: 1fr; }
  .messages-layout { grid-template-columns: 1fr; }
  .conversations-panel { display: none; }
  .conversations-panel.mobile-show { display: block; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .auth-card { padding: 1.5rem; }
  .filters-bar { flex-direction: column; }
  .filters-bar .search-input { min-width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .lb-tabs { flex-wrap: wrap; }
}
