:root {
  /* Colors - Deep Slate and Electric Mint */
  --bg-primary: #0a0c10;
  --bg-secondary: #161b22;
  --accent-primary: #00ffaa;
  --accent-secondary: #00d4ff;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --border-color: #30363d;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  
  /* Typography */
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Mobile Container Simulation (since it's a mobile screen request) */
.mobile-wrapper {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--bg-primary);
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

/* Header */
header {
  padding: var(--space-lg) var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.8);
  backdrop-filter: blur(12px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-trigger {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero {
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 var(--space-sm) 0;
  line-height: 1.1;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
}

/* Action Grid - The "Capture" Hub */
.capture-hub {
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.capture-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: var(--space-lg) var(--space-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.capture-btn:active {
  transform: scale(0.95);
  border-color: var(--accent-primary);
}

.capture-btn span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.capture-btn svg {
  color: var(--accent-primary);
}

/* Stats Row */
.stats-row {
  display: flex;
  gap: var(--space-md);
  padding: 0 var(--space-md);
  margin-bottom: var(--space-xl);
}

.stat-card {
  flex: 1;
  background: linear-gradient(145deg, #1e252e, #161b22);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: var(--space-md);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Recent Leads List */
.section-header {
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.view-all {
  font-size: 0.875rem;
  color: var(--accent-primary);
  text-decoration: none;
}

.leads-list {
  padding: 0 var(--space-md) 100px var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.lead-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: transform 0.2s ease;
}

.lead-card:active {
  transform: translateX(4px);
}

.lead-type-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 255, 170, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.lead-info {
  flex: 1;
}

.lead-name {
  font-weight: 600;
  margin-bottom: 2px;
  display: block;
}

.lead-summary {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lead-meta {
  text-align: right;
}

.lead-time {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
}

.lead-status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(0, 255, 170, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  display: inline-block;
}

.lead-type-icon.camera {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-secondary);
}

.lead-type-icon.gallery {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.lead-status.warm {
  color: var(--accent-secondary);
  background: rgba(0, 212, 255, 0.1);
}

/* Floating Navigation */
.nav-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 432px;
  background: rgba(22, 27, 34, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  display: flex;
  justify-content: space-around;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

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

.nav-item span {
  font-size: 0.7rem;
  font-weight: 600;
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: slideUp 0.6s ease forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
