/* ==========================================================================
   MYVOICE - DESIGN SYSTEM & COMPONENT STYLES
   Inspired by Figma Design: MyVoice Mobile
   Font Family: 'Montserrat', sans-serif
   ========================================================================== */

:root {
  /* Primary & Accent Color Palette */
  --bg-primary: #0B0F19;
  --bg-surface: #151C2C;
  --bg-surface-elevated: #1E293B;
  --bg-card: rgba(21, 28, 44, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(59, 130, 246, 0.5);

  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --accent-blue: #3B82F6;
  --accent-blue-hover: #2563EB;
  --accent-cyan: #06B6D4;
  --accent-green: #10B981;
  --accent-red: #EF4444;
  --accent-gold: #F59E0B;
  --accent-purple: #8B5CF6;

  --party-dem: #2563EB;
  --party-rep: #DC2626;
  --party-ind: #10B981;

  /* Typography */
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.25);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

button, input, select, textarea {
  font-family: inherit;
}

/* --- Mobile Viewport Container Shell --- */
.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: radial-gradient(circle at top center, #1E293B 0%, #0B0F19 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

@media (min-width: 768px) {
  .app-container {
    margin: 20px auto;
    min-height: 92vh;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
  }
}

/* --- Top Header Navigation --- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #FFFFFF, #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pro-badge {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: transform var(--transition-fast);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.pro-badge:hover {
  transform: scale(1.05);
}

/* --- Views & Screens Manager --- */
.view-screen {
  display: none;
  flex: 1;
  padding: 20px;
  padding-bottom: 90px;
  animation: fadeIn 0.3s ease-in-out;
}

.view-screen.active {
  display: flex;
  flex-direction: column;
}

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

/* --- Screen 1: FRONTPAGE (Hero & Zip Entry) --- */
.hero-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Zip Entry Form */
.search-box-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zip-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.zip-input {
  width: 100%;
  padding: 14px 16px;
  padding-right: 45px;
  background: rgba(11, 15, 25, 0.6);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  outline: none;
  transition: border-color var(--transition-fast);
}

.zip-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.zip-icon {
  position: absolute;
  right: 14px;
  color: var(--text-dim);
}

.btn-primary {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--accent-blue), #2563EB);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
  width: 100%;
  padding: 14px;
  background: rgba(30, 41, 59, 0.6);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.divider-text {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  margin: 12px 0;
  position: relative;
}

.divider-text::before, .divider-text::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border-subtle);
}

.divider-text::before { left: 0; }
.divider-text::after { right: 0; }

/* Quick Sample Zip Pills */
.sample-zips-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.sample-zips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-zip {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-zip:hover {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

/* --- Screen 2: CATEGORY SELECTION --- */
.section-header {
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.category-cards-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.category-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.category-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.category-icon-local {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

.category-icon-state {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}

.category-icon-federal {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
}

.category-details {
  flex: 1;
}

.category-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.category-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.category-count-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 12px;
  color: var(--text-muted);
}

/* --- Screen 3: REPRESENTATIVE DIRECTORY & CARDS --- */
.directory-filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  scrollbar-width: none;
}

.directory-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.filter-tab.active {
  background: var(--accent-blue);
  color: #FFFFFF;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.rep-list-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rep-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: all var(--transition-fast);
}

.rep-card:hover {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.rep-card-top {
  display: flex;
  gap: 14px;
  align-items: center;
}

.rep-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}

.rep-main-info {
  flex: 1;
}

.rep-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rep-name {
  font-size: 1.05rem;
  font-weight: 800;
}

.party-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  color: #FFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.party-badge.democrat { background: var(--party-dem); }
.party-badge.republican { background: var(--party-rep); }
.party-badge.independent { background: var(--party-ind); }

.rep-title-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 2px;
}

.rep-district-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Quick Metrics Row on Rep Card */
.rep-metrics-row {
  display: flex;
  gap: 10px;
  background: rgba(11, 15, 25, 0.4);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.04);
}

.metric-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
}

.metric-value {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}

.metric-value.good { color: var(--accent-green); }
.metric-value.warn { color: var(--accent-gold); }

/* Rep Card Action Button Group */
.rep-card-actions {
  display: flex;
  gap: 8px;
}

.btn-card-tab {
  flex: 1;
  padding: 9px 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition-fast);
}

.btn-card-tab:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #FFF;
  border-color: var(--accent-blue);
}

/* --- REPRESENTATIVE PROFILE FULL MODAL / VIEW --- */
.rep-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.back-btn {
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.back-btn:hover {
  background: rgba(255,255,255,0.18);
}

.rep-detail-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rep-detail-banner .rep-avatar {
  width: 90px;
  height: 90px;
  margin-bottom: 12px;
  border-width: 3px;
}

.rep-detail-nav {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 20px;
}

.tab-nav-btn {
  flex: 1;
  padding: 10px 4px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.tab-nav-btn.active {
  background: var(--accent-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

/* Tab Content Areas */
.tab-content-panel {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}

.tab-content-panel.active {
  display: block;
}

/* VOTING RECORD TAB */
.vote-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.vote-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.bill-code {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.bill-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.vote-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.vote-badge.yea { background: rgba(16, 185, 129, 0.2); color: var(--accent-green); border: 1px solid var(--accent-green); }
.vote-badge.nay { background: rgba(239, 68, 68, 0.2); color: var(--accent-red); border: 1px solid var(--accent-red); }
.vote-badge.nv { background: rgba(245, 158, 11, 0.2); color: var(--accent-gold); border: 1px solid var(--accent-gold); }

.bill-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.vote-date-tag {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ATTENDANCE TAB */
.attendance-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.circle-progress-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-progress-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-green);
}

.attendance-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-box {
  background: rgba(11, 15, 25, 0.5);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-box-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-box-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* CONTACT & ADVOCACY TAB */
.contact-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-action-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 14px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.contact-action-btn:hover {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.1);
}

/* AI Message Generator Box */
.advocacy-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 20px;
}

.advocacy-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFF;
  margin-bottom: 12px;
}

.advocacy-textarea {
  width: 100%;
  min-height: 110px;
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  color: var(--text-main);
  font-size: 0.85rem;
  resize: vertical;
  margin-bottom: 12px;
  outline: none;
}

.advocacy-textarea:focus {
  border-color: var(--accent-blue);
}

/* --- MONETIZATION & STRIPE PAYWALL MODAL --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s ease-out;
}

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

.modal-card {
  background: #111827;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 440px;
  padding: 24px;
  position: relative;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #FFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}

.pro-banner-header {
  text-align: center;
  margin-bottom: 20px;
}

.pro-banner-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #F59E0B, #FBBF24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.pricing-toggle-group {
  display: flex;
  background: rgba(255,255,255,0.06);
  border-radius: 30px;
  padding: 4px;
  margin: 16px 0;
}

.plan-toggle-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
}

.plan-toggle-btn.active {
  background: var(--accent-gold);
  color: #000;
}

.pro-features-list {
  list-style: none;
  margin-bottom: 20px;
}

.pro-features-list li {
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.pro-features-list li span {
  color: var(--accent-gold);
  font-weight: 800;
}

/* Simulated Payment Form */
.stripe-form {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.stripe-form-row {
  margin-bottom: 12px;
}

.stripe-input {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
}

.stripe-input:focus {
  border-color: var(--accent-gold);
}

/* --- BOTTOM MOBILE NAVIGATION BAR --- */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 68px;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 40;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-item.active {
  color: var(--accent-blue);
}

.nav-item-icon {
  font-size: 1.2rem;
}

/* Utility Helpers */
.hidden { display: none !important; }
.pulse { animation: pulseAnim 2s infinite; }

@keyframes pulseAnim {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
