/* ═══════════════════════════════════════════════════════════
   EchoFeed — Page Stylesheets (internal pages + dashboard)
   ═══════════════════════════════════════════════════════════ */

/* ── PAGE HEADER (shared) ── */
.page-header {
  position: relative;
  padding: 80px 32px 60px;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--orange-soft) 0%, transparent 60%);
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

[data-theme="dark"] .page-header::before {
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 60%);
}

.page-header-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', monospace;
}

[data-theme="dark"] .page-eyebrow {
  background: rgba(249,115,22,0.12);
}

h1.page-title {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 16px;
}

h1.page-title em {
  font-style: normal;
  color: var(--orange);
  position: relative;
}

h1.page-title em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 4px;
  width: 100%; height: 8px;
  background: var(--orange);
  opacity: 0.15;
  border-radius: 4px;
  z-index: -1;
}

.page-subtitle {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto;
}

/* ── HOW IT WORKS PAGE ── */
.how-section {
  padding: 60px 32px 100px;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.how-step {
  display: grid;
  grid-template-columns: 80px 1fr 280px;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all 0.25s;
}

.how-step:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.how-step-num {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

[data-theme="dark"] .how-step-num {
  background: rgba(249,115,22,0.12);
}

.how-step-content h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.how-step-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

.how-step-visual {
  position: relative;
  height: 120px;
  background: var(--bg-3);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.how-visual-icon {
  width: 56px; height: 56px;
  color: var(--orange);
  opacity: 0.8;
}

.how-visual-icon svg {
  width: 100%; height: 100%;
  stroke-width: 1.2;
}

.how-cta {
  text-align: center;
  margin-top: 80px;
  padding: 48px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.how-cta h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.how-cta p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 24px;
}

/* ── FEATURES PAGE ── */
.features-detail {
  padding: 60px 32px 100px;
}

.features-detail-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.feature-row:last-child { border-bottom: none; }

.feature-row.reverse .feature-row-content { order: 2; }

.feature-row-label {
  display: inline-block;
  padding: 5px 12px;
  background: var(--orange-soft);
  color: var(--orange);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}

[data-theme="dark"] .feature-row-label {
  background: rgba(249,115,22,0.12);
}

.feature-row h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.feature-row h2 em {
  font-style: normal;
  color: var(--orange);
}

.feature-row p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 20px;
}

.feature-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text);
}

.feature-check-list li svg {
  width: 18px; height: 18px;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-row-visual {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-row-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--orange-soft), transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

[data-theme="dark"] .feature-row-visual::before {
  background: radial-gradient(circle at 30% 30%, rgba(249,115,22,0.08), transparent 60%);
}

/* Mock feed preview */
.mock-feed {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-post {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: fadeInUp 0.6s ease both;
}

.mock-post:nth-child(1) { animation-delay: 0s; }
.mock-post:nth-child(2) { animation-delay: 0.15s; }
.mock-post:nth-child(3) { animation-delay: 0.3s; }

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

.mock-post-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
}

.mock-post-body { flex: 1; min-width: 0; }

.mock-post-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.mock-post-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.mock-post-plat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
}

.mock-post-text {
  font-size: 11px;
  color: var(--text-2);
  line-height: 1.4;
}

/* Mock notification */
.mock-notif {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  max-width: 320px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: pulseNotif 2s ease-in-out infinite;
}

@keyframes pulseNotif {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.mock-notif-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mock-notif-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-notif-icon svg { width: 18px; height: 18px; }

.mock-notif-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.mock-notif-time {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

.mock-notif-body {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}

/* Mock filter UI */
.mock-filter {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  width: 100%;
  max-width: 320px;
}

.mock-filter-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-filter-title svg { width: 16px; height: 16px; color: var(--orange); }

.mock-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mock-chip {
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-2);
  font-weight: 500;
}

.mock-chip.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

/* ── PLATFORMS PAGE ── */
.platforms-detail {
  padding: 60px 32px 100px;
}

.platforms-detail-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.platforms-status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.plat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.plat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.plat-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.plat-card-logo {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 600;
}

.plat-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
  border: 1px solid;
}

.plat-card-badge.live {
  background: rgba(16,185,129,0.1);
  color: #059669;
  border-color: rgba(16,185,129,0.2);
}
[data-theme="dark"] .plat-card-badge.live {
  background: rgba(16,185,129,0.15);
  color: #34d399;
}

.plat-card-badge.soon {
  background: rgba(245,158,11,0.1);
  color: #d97706;
  border-color: rgba(245,158,11,0.2);
}
[data-theme="dark"] .plat-card-badge.soon {
  background: rgba(245,158,11,0.15);
  color: #fbbf24;
}

.plat-card-badge.planned {
  background: var(--bg-3);
  color: var(--text-2);
  border-color: var(--border);
}

.plat-card-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}

.plat-card-badge.live .dot { background: #10b981; }
.plat-card-badge.soon .dot { background: #f59e0b; }
.plat-card-badge.planned .dot { background: var(--text-3); }

.plat-card-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.plat-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  margin-bottom: 18px;
}

.plat-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.plat-card-spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.plat-card-spec-label {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plat-card-spec-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* ── SUPPORT / FAQ PAGE ── */
.support-section {
  padding: 60px 32px 100px;
}

.support-inner {
  max-width: 960px;
  margin: 0 auto;
}

.support-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  padding: 6px;
  background: var(--bg-3);
  border-radius: 14px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.support-tab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: transparent;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.support-tab:hover { color: var(--text); }

.support-tab.active {
  background: var(--bg-2);
  color: var(--text);
  box-shadow: var(--shadow);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: var(--border-hover); }

.faq-item.open { border-color: var(--orange); }

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  line-height: 1.4;
}

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.faq-icon svg {
  width: 14px; height: 14px;
  color: var(--text-2);
  transition: transform 0.2s;
}

.faq-item.open .faq-icon {
  background: var(--orange);
}

.faq-item.open .faq-icon svg {
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
}

.support-contact {
  margin-top: 60px;
  padding: 40px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
}

.support-contact h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.support-contact p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 20px;
}

/* ── FORGOT PASSWORD ── */
.forgot-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  margin-bottom: 24px;
  font-weight: 500;
  transition: color 0.2s;
}

.forgot-back:hover { color: var(--orange); }

.forgot-back svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD
   ═══════════════════════════════════════════════════════════ */

.dash-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.dash-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  overflow-y: auto;
}

.dash-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  padding: 4px 8px;
  margin-bottom: 24px;
}

.dash-logo .logo-mark { width: 28px; height: 28px; }

.dash-logo em {
  color: var(--orange);
  font-style: normal;
}

.dash-section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 10px 6px;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.dash-nav-item:hover {
  background: var(--bg-3);
  color: var(--text);
}

.dash-nav-item.active {
  background: var(--orange-soft);
  color: var(--orange);
}

[data-theme="dark"] .dash-nav-item.active {
  background: rgba(249,115,22,0.12);
}

.dash-nav-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
}

.dash-nav-count {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-3);
  color: var(--text-2);
  padding: 2px 8px;
  border-radius: 100px;
}

.dash-nav-item.active .dash-nav-count {
  background: var(--orange);
  color: white;
}

/* Tracked people list */
.dash-tracked {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-person {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}

.dash-person:hover { background: var(--bg-3); }

.dash-person-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.dash-person-info { flex: 1; min-width: 0; }

.dash-person-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-person-meta {
  font-size: 10px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

.dash-person-alert {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.dash-sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 10px;
}

.dash-user-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}

.dash-user-info { flex: 1; min-width: 0; }

.dash-user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-user-plan {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

.dash-user-menu {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s;
}

.dash-user-menu:hover { background: var(--bg-3); }
.dash-user-menu svg { width: 16px; height: 16px; }

/* Main */
.dash-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dash-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.6) blur(20px);
  -webkit-backdrop-filter: saturate(1.6) blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dash-search {
  flex: 1;
  max-width: 420px;
  position: relative;
}

.dash-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all 0.15s;
}

.dash-search input::placeholder { color: var(--text-3); }

.dash-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}

.dash-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--text-3);
}

.dash-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-header-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.dash-header-btn:hover {
  background: var(--bg-3);
  border-color: var(--border-hover);
}

.dash-header-btn svg { width: 16px; height: 16px; }

.dash-notif-badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 16px; height: 16px;
  border-radius: 100px;
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg);
}

.dash-content {
  padding: 28px;
  flex: 1;
}

/* Page title bar */
.dash-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.dash-page-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.dash-page-subtitle {
  font-size: 14px;
  color: var(--text-2);
}

/* Stats cards */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.dash-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.dash-stat::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
}

.dash-stat.orange::before { background: var(--orange); }
.dash-stat.blue::before { background: #3b82f6; }
.dash-stat.green::before { background: #10b981; }
.dash-stat.purple::before { background: #8b5cf6; }

.dash-stat-label {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-stat-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-stat.orange .dash-stat-icon { background: var(--orange-soft); color: var(--orange); }
[data-theme="dark"] .dash-stat.orange .dash-stat-icon { background: rgba(249,115,22,0.12); }

.dash-stat.blue .dash-stat-icon { background: rgba(59,130,246,0.1); color: #3b82f6; }
.dash-stat.green .dash-stat-icon { background: rgba(16,185,129,0.1); color: #10b981; }
.dash-stat.purple .dash-stat-icon { background: rgba(139,92,246,0.1); color: #8b5cf6; }

.dash-stat-icon svg { width: 14px; height: 14px; }

.dash-stat-val {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.dash-stat-hint {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

.dash-stat-hint.up { color: #10b981; }
.dash-stat-hint.down { color: #ef4444; }

/* Two-column grid for main feed + right panel */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}

/* Feed panel */
.dash-feed {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.dash-feed-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
}

.dash-feed-title {
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dash-feed-filters {
  display: flex;
  gap: 6px;
}

.dash-chip {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.dash-chip:hover { border-color: var(--border-hover); }

.dash-chip.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

.dash-feed-list {
  max-height: 680px;
  overflow-y: auto;
}

.dash-post {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  position: relative;
}

.dash-post:last-child { border-bottom: none; }
.dash-post:hover { background: var(--bg-3); }

.dash-post.new::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
}

.dash-post-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.dash-post-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.dash-post-meta { flex: 1; min-width: 0; }

.dash-post-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-post-handle {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

.dash-post-platform {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
}

.dash-post-time {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

.dash-post-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 10px;
}

.dash-post-actions {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

.dash-post-action {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dash-post-action svg { width: 12px; height: 12px; }

/* Right panel */
.dash-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-panel {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 20px;
}

.dash-panel-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Notification settings */
.dash-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.dash-setting:last-child { border-bottom: none; }

.dash-setting-text { flex: 1; }

.dash-setting-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.dash-setting-desc {
  font-size: 11px;
  color: var(--text-3);
}

/* Toggle switch */
.toggle {
  width: 36px;
  height: 20px;
  background: var(--border-hover);
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.toggle.on { background: var(--orange); }

.toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: white;
  border-radius: 50%;
  transition: left 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle.on::after { left: 18px; }

/* Platform status list */
.dash-plat-list { display: flex; flex-direction: column; gap: 8px; }

.dash-plat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-3);
  border-radius: 10px;
}

.dash-plat-item-logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.dash-plat-item-name {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
}

.dash-plat-item-status {
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dash-plat-item-status.ok { color: #10b981; }
.dash-plat-item-status.pending { color: #f59e0b; }

/* ── MOBILE ── */
@media (max-width: 1024px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .how-step {
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding: 24px;
  }
  .how-step-visual { display: none; }
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0;
  }
  .feature-row.reverse .feature-row-content { order: 0; }
  .platforms-status-grid { grid-template-columns: 1fr; }
  .plat-card-specs { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .page-header { padding: 60px 20px 48px; }
  .how-section, .features-detail, .platforms-detail, .support-section {
    padding: 40px 20px 80px;
  }
  .how-step { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .how-step-num { margin: 0 auto; }
  .dash-content { padding: 20px 16px; }
  .dash-header { padding: 12px 16px; gap: 8px; }
  .dash-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dash-stat { padding: 14px; }
  .dash-stat-val { font-size: 24px; }
  .dash-feed-head, .dash-post { padding: 14px 16px; }
  .dash-feed-filters { flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════════════════════
   SETTINGS PAGE
   ═══════════════════════════════════════════════════════════ */

.settings-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.settings-content {
  padding: 40px 48px;
  max-width: 820px;
  width: 100%;
}

.settings-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.settings-back:hover { color: var(--orange); }
.settings-back svg { width: 14px; height: 14px; }

.settings-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.settings-subtitle {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 32px;
}

.settings-section {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 20px;
}

.settings-section-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.settings-section-desc {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 20px;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.settings-row:last-child { border-bottom: none; }

.settings-row-text { flex: 1; }

.settings-row-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.settings-row-desc {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}

.settings-avatar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.settings-avatar-img {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 24px;
  flex-shrink: 0;
}

.settings-user-info-main { flex: 1; }

.settings-user-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.settings-user-email {
  font-size: 13px;
  color: var(--text-2);
  font-family: 'JetBrains Mono', monospace;
}

.settings-danger {
  background: var(--bg-2);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 20px;
  padding: 28px;
}

.btn-danger {
  background: transparent;
  color: #dc2626;
  border-color: rgba(239,68,68,0.3);
}
.btn-danger:hover {
  background: rgba(239,68,68,0.08);
  border-color: #dc2626;
}

[data-theme="dark"] .btn-danger { color: #f87171; }

@media (max-width: 1024px) {
  .settings-layout { grid-template-columns: 1fr; }
  .settings-layout .dash-sidebar { display: none; }
  .settings-content { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal 0.2s ease;
}

.modal-overlay.open { display: flex; }

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUpModal 0.25s ease;
}

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

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-close {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: background 0.15s;
}

.modal-close:hover { background: var(--bg-3); color: var(--text); }
.modal-close svg { width: 18px; height: 18px; }

.modal-body { font-size: 14px; line-height: 1.55; color: var(--text-2); }

.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Platform picker in "add person" modal */
.platform-picker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.platform-picker button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}

.platform-picker button:hover {
  border-color: var(--border-hover);
  background: var(--bg-3);
}

.platform-picker button.active {
  border-color: var(--orange);
  background: var(--orange-soft);
}

[data-theme="dark"] .platform-picker button.active {
  background: rgba(249,115,22,0.12);
}

.platform-picker-icon {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-picker-icon img {
  width: 24px; height: 24px;
  object-fit: contain;
}

.platform-picker-icon.x { background: #000; border-radius: 8px; }
.platform-picker-icon.x img { filter: invert(1); }
.platform-picker-icon.bsky img { filter: none; }

.platform-picker-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD PANELS (tabbed content)
   ═══════════════════════════════════════════════════════════ */

.dash-view { display: none; }
.dash-view.active { display: block; }

/* Notifications list */
.notifications-list {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.notif-item {
  display: flex;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  position: relative;
  transition: background 0.15s;
}

.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--bg-3); }

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--orange);
}

.notif-item-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--orange-soft);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .notif-item-icon {
  background: rgba(249,115,22,0.12);
}

.notif-item-icon svg { width: 18px; height: 18px; }

.notif-item-body { flex: 1; min-width: 0; }

.notif-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.notif-item-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

.notif-item-time {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}

/* Tracked list (full page view) */
.tracked-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.tracked-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  transition: all 0.2s;
}

.tracked-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.tracked-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.tracked-card-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
}

.tracked-card-info { flex: 1; min-width: 0; }

.tracked-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tracked-card-handle {
  font-size: 12px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

.tracked-card-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-3);
  padding: 6px;
  border-radius: 6px;
  transition: all 0.15s;
}

.tracked-card-remove:hover {
  background: rgba(239,68,68,0.1);
  color: #dc2626;
}

.tracked-card-remove svg { width: 16px; height: 16px; }

.tracked-card-meta {
  display: flex;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
}

.tracked-card-meta-item { display: inline-flex; align-items: center; gap: 4px; }
.tracked-card-meta-item img { width: 11px; height: 11px; }

.tracked-empty {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-2);
  border: 1px dashed var(--border);
  border-radius: 20px;
}

.tracked-empty-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: var(--bg-3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}

.tracked-empty-icon svg { width: 24px; height: 24px; }

.tracked-empty h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.tracked-empty p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 20px;
}

/* Notification dropdown panel (bell icon) */
.notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-height: 480px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.18s;
}

.notif-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notif-dropdown-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notif-dropdown-title { font-size: 14px; font-weight: 600; }

.notif-dropdown-action {
  font-size: 12px;
  color: var(--orange);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
  border-radius: 6px;
}
.notif-dropdown-action:hover { background: var(--bg-3); }

.notif-dropdown-list {
  flex: 1;
  overflow-y: auto;
}

.notif-dropdown-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-3);
  font-size: 13px;
}

.dash-header-btn-wrap {
  position: relative;
}

