/* Stylish Edit Agent button */
.edit-agent-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: linear-gradient(90deg, #2962ff 0%, #1848cc 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5em 1.2em;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(41,98,255,0.10);
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
  margin-left: 1em;
}
.edit-agent-btn:hover {
  background: linear-gradient(90deg, #1848cc 0%, #2962ff 100%);
  box-shadow: 0 4px 16px rgba(41,98,255,0.16);
  transform: translateY(-2px) scale(1.04);
}
.edit-agent-btn svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  vertical-align: middle;
}
/* Modern modal for agent editing */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background: rgba(13, 20, 33, 0.65);
  backdrop-filter: blur(2px);
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #fff;
  margin: 5vh auto;
  border-radius: 18px;
  max-width: 480px;
  width: 95%;
  padding: 2.5rem 2rem 2rem 2rem;
  box-shadow: 0 8px 32px rgba(41,98,255,0.10), 0 1.5px 6px rgba(0,0,0,0.08);
  position: relative;
  animation: fadeInModal 0.25s;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal-content h2 {
  margin-top: 0;
  color: #1848cc;
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}
.modal-content label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #222;
}
.modal-content input[type="text"],
.modal-content textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  background: #f8fafd;
  color: #222;
  transition: border 0.2s;
  resize: vertical;
  min-height: 44px;
}
.modal-content input[type="text"]:focus,
.modal-content textarea:focus {
  border-color: #2962ff;
  outline: none;
}
.modal-content button[type="submit"] {
  width: 100%;
  padding: 0.85rem 0;
  background: linear-gradient(90deg, #2962ff 0%, #1848cc 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(41,98,255,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.modal-content button[type="submit"]:hover {
  background: linear-gradient(90deg, #1848cc 0%, #2962ff 100%);
  box-shadow: 0 4px 16px rgba(41,98,255,0.16);
}
.modal-content .close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-content .close:hover {
  color: #2962ff;
}
/* Ondo Finance Style Picks Cards */
.picks-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-4);
}

.pick-card {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: var(--space-6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.pick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(41, 98, 255, 0.02) 0%, rgba(139, 92, 246, 0.01) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(41, 98, 255, 0.2);
}

.pick-card:hover::before {
  opacity: 1;
}

/* Trend-based card backgrounds - Brighter for dark theme */
.pick-card.trend-up {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
  border-color: rgba(16, 185, 129, 0.3);
}

.pick-card.trend-down {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(239, 68, 68, 0.06) 100%);
  border-color: rgba(239, 68, 68, 0.3);
}

.pick-card.trend-up:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(16, 185, 129, 0.08) 100%);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.25);
}

.pick-card.trend-down:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(239, 68, 68, 0.08) 100%);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.25);
}

.pick-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 2;
}

.pick-symbol {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.pick-date {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  background: var(--background-tertiary);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
}

.pick-company {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: var(--space-5);
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

/* Adjust spacing when chart is not present */
.pick-card:not(:has(.mini-chart)) .pick-company {
  margin-bottom: var(--space-5);
}

/* Mini Chart Styles */
.mini-chart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 2;
}

.mini-chart svg {
  flex: 1;
  max-width: 120px;
  height: 40px;
}

.trend-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: var(--space-3);
}

.trend-indicator.up {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.trend-indicator.down {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.trend-indicator i {
  font-size: 1rem;
}

/* Loading Skeleton for Charts */
.mini-chart-loading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 2;
}

.chart-skeleton {
  flex: 1;
  max-width: 120px;
  height: 40px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 4px;
}

.trend-skeleton {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  margin-left: var(--space-3);
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.pick-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 2;
}

.pick-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.pick-metric .metric-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
  line-height: 1;
}

.pick-metric .metric-value {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  min-height: 1.2em;
  display: flex;
  align-items: center;
}

.pick-agent {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.pick-agent i {
  font-size: 1rem;
  color: var(--text-tertiary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .picks-list {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .pick-card {
    padding: var(--space-5);
  }
  
  .mini-chart {
    margin-bottom: var(--space-4);
  }
  
  .mini-chart svg {
    max-width: 100px;
    height: 32px;
  }
  
  .trend-indicator {
    width: 24px;
    height: 24px;
    margin-left: var(--space-2);
  }
  
  .trend-indicator i {
    font-size: 0.875rem;
  }
  
  .pick-metrics {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .pick-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .pick-metric .metric-label {
    margin-bottom: 0;
  }
}
/* Modern Fintech Design System - Inspired by Revolut/Robinhood */

/* TradingView-Inspired Design System */
:root {
  /* TradingView Color Palette */
  --tv-color-platform-background: #0d1421;
  --tv-color-pane-background: #131722;
  --tv-color-toolbar-background: #1e222d;
  --tv-color-item-active-background: #2962ff;
  --tv-color-border: #2a2e39;
  --tv-color-separator: #363a45;
  
  /* Text Colors */
  --tv-color-text-primary: #d1d4dc;
  --tv-color-text-secondary: #787b86;
  --tv-color-text-tertiary: #5d606b;
  --tv-color-text-disabled: #434651;
  
  /* Brand Colors */
  --tv-color-brand-blue: #2962ff;
  --tv-color-brand-blue-hover: #1e53e5;
  --tv-color-brand-blue-active: #1848cc;
  
  /* Status Colors */
  --tv-color-success: #4caf50;
  --tv-color-success-hover: #66bb6a;
  --tv-color-danger: #f23645;
  --tv-color-danger-hover: #f44336;
  --tv-color-warning: #ff9800;
  --tv-color-warning-hover: #ffb74d;
  
  /* Surface Colors */
  --tv-color-surface-0: #ffffff;
  --tv-color-surface-1: #f8f9fd;
  --tv-color-surface-2: #f0f3fa;
  --tv-color-surface-3: #e0e3eb;
  
  /* Dark Theme Overrides */
  --background-primary: var(--tv-color-platform-background);
  --background-secondary: var(--tv-color-pane-background);
  --background-tertiary: var(--tv-color-toolbar-background);
  --text-primary: var(--tv-color-text-primary);
  --text-secondary: var(--tv-color-text-secondary);
  --text-tertiary: var(--tv-color-text-tertiary);
  --border-color: var(--tv-color-border);
  --accent-primary: var(--tv-color-brand-blue);
  --accent-success: var(--tv-color-success);
  --accent-danger: var(--tv-color-danger);
  
  /* Typography */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Modern 2024 Design System */
  --gradient-primary: linear-gradient(135deg, var(--tv-color-brand-blue) 0%, var(--tv-color-brand-blue-hover) 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
  --gradient-success: linear-gradient(135deg, var(--tv-color-success) 0%, var(--tv-color-success-hover) 100%);
  --gradient-danger: linear-gradient(135deg, var(--tv-color-danger) 0%, var(--tv-color-danger-hover) 100%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-primary);
  background: 
    radial-gradient(circle at 20% 80%, rgba(41, 98, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    var(--background-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--background-secondary);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: blur(20px);
}

.header.scrolled {
  background: rgba(19, 23, 34, 0.95);
  border-bottom-color: rgba(42, 46, 57, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-6);
  height: 80px;
}

.nav-brand a {
  font-size: 1.75rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-brand a i {
  font-size: 1.5rem;
  color: white;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-8);
  align-items: center;
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--accent-primary);
  background: var(--background-tertiary);
}

.nav-menu a.cta {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.nav-menu a.cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* Login/Logout Button Styles */
.login-btn,
.logout-btn {
  /* Reset default button styles */
  background: transparent !important;
  border: 2px solid var(--accent-primary) !important;
  color: var(--accent-primary) !important;
  padding: var(--space-2) var(--space-4) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  font-family: var(--font-sans) !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  min-width: 80px !important;
  height: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--space-2) !important;
  text-decoration: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.login-btn::before,
.logout-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.login-btn:hover,
.logout-btn:hover {
  color: white !important;
  border-color: var(--accent-primary) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 25px rgba(41, 98, 255, 0.3) !important;
}

.login-btn:hover::before,
.logout-btn:hover::before {
  left: 0;
}

.login-btn:active,
.logout-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(41, 98, 255, 0.2);
}

/* Logout button specific styling */
.logout-btn {
  border-color: var(--accent-danger) !important;
  color: var(--accent-danger) !important;
}

.logout-btn::before {
  background: var(--gradient-danger) !important;
}

.logout-btn:hover {
  border-color: var(--accent-danger) !important;
  box-shadow: 0 8px 25px rgba(242, 54, 69, 0.3) !important;
}

/* Add icon support for buttons */
.login-btn::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.logout-btn::after {
  content: '↗';
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.login-btn:hover::after,
.logout-btn:hover::after {
  transform: translateX(2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: var(--space-2);
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: var(--radius-full);
}

/* Modern Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-24) var(--space-6);
  padding-top: calc(var(--space-24) + 136px); /* Account for header (80px) + ticker (56px) */
  background: transparent;
  color: white;
  position: relative;
  overflow: hidden;
}



/* Animated mesh gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(41, 98, 255, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 70%, rgba(6, 182, 212, 0.06) 0%, transparent 40%);
  animation: mesh-move 25s ease-in-out infinite;
  opacity: 0.8;
}

/* Moved this gradient to a different pseudo-element to avoid conflict */

/* Modern Animations */
@keyframes mesh-move {
  0%, 100% { 
    transform: translateX(0px) translateY(0px) scale(1);
  }
  33% { 
    transform: translateX(30px) translateY(-20px) scale(1.05);
  }
  66% { 
    transform: translateX(-20px) translateY(25px) scale(0.95);
  }
}

@keyframes float-gentle {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-40px) translateX(20px) scale(1.1);
    opacity: 0.8;
  }
}

@keyframes float-shape {
  0%, 100% { 
    transform: translateY(0px) rotate(45deg);
    opacity: 0.1;
  }
  50% { 
    transform: translateY(-20px) rotate(45deg);
    opacity: 0.2;
  }
}

/* Add subtle grid pattern */
.hero {
  background-image: 
    linear-gradient(rgba(41, 98, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 98, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: 0 0, 0 0;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 5;
}

/* Add floating geometric shapes */
.hero-content::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(41, 98, 255, 0.1);
  border-radius: 20px;
  transform: rotate(45deg);
  animation: float-shape 25s ease-in-out infinite;
  z-index: -1;
}

.hero-content::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(41, 98, 255, 0.08);
  border-radius: 50%;
  animation: float-shape 20s ease-in-out infinite reverse;
  z-index: -1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-6);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-8);
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-button.primary {
  background: var(--accent-primary);
  color: white;
  border: 1px solid var(--accent-primary);
}

.cta-button.primary:hover {
  background: var(--tv-color-brand-blue-hover);
  border-color: var(--tv-color-brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(41, 98, 255, 0.3);
}

/* Features Section */
.features {
  padding: var(--space-24) var(--space-6);
  background: 
    radial-gradient(circle at 80% 10%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    var(--background-secondary);
  position: relative;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.features-header h2 {
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.features-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.feature {
  background: var(--background-tertiary);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-primary);
}

.feature:hover {
  box-shadow: var(--shadow-2xl);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  font-size: 1.25rem;
  color: white;
}

.feature h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-4);
  font-size: 1.25rem;
  font-weight: 600;
}

.feature p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* Stats Section */
.stats {
  padding: var(--space-20) var(--space-6);
  background: var(--gradient-dark);
  color: white;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  text-align: center;
}

.stat h3 {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-success);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-2);
}

.stat p {
  color: var(--primary-200);
  font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
  padding: var(--space-24) var(--space-6);
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: var(--space-6);
  font-size: 2.5rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: var(--space-8);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: var(--primary-700);
  color: white;
  padding: var(--space-16) var(--space-6) var(--space-8);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  margin-bottom: var(--space-4);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-primary);
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  background: rgba(41, 98, 255, 0.1);
  border: 1px solid rgba(41, 98, 255, 0.2);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.footer-link:hover {
  background: rgba(41, 98, 255, 0.2);
  border-color: rgba(41, 98, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(41, 98, 255, 0.2);
}

.footer-link i {
  font-size: 1.1rem;
  color: var(--accent-primary);
}

.footer-content p {
  color: var(--primary-200);
  font-size: 1rem;
}

/* Pricing Hero Section */
.pricing-hero {
  padding: calc(var(--space-24) + 80px) var(--space-6) var(--space-16);
  text-align: center;
  background: 
    radial-gradient(circle at 50% 20%, rgba(41, 98, 255, 0.08) 0%, transparent 50%),
    var(--background-primary);
  position: relative;
  overflow: hidden;
}

.pricing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 20% 70%, rgba(6, 182, 212, 0.04) 0%, transparent 40%);
  animation: mesh-move 30s ease-in-out infinite;
}

.pricing-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(41, 98, 255, 0.1);
  border: 1px solid rgba(41, 98, 255, 0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
}

.badge-icon {
  font-size: 1rem;
  color: var(--accent-primary);
}

.pricing-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.pricing-hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Pricing Plans */
.pricing {
  padding: var(--space-20) var(--space-6);
  background: var(--background-secondary);
}

.pricing-container {
  max-width: 1400px;
  margin: 0 auto;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-20);
}

.plan {
  background: var(--background-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan:hover::before {
  opacity: 1;
}

.plan.featured {
  border-color: var(--accent-primary);
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(41, 98, 255, 0.15);
}

.plan.featured::before {
  opacity: 1;
}

.plan:hover {
  box-shadow: var(--shadow-xl);
}

.plan.featured:hover {
  box-shadow: var(--shadow-xl);
}

.plan-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-2) var(--space-6);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 2;
}

.plan-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.plan-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto var(--space-4);
  position: relative;
  overflow: hidden;
  color: white;
}

.plan-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-card);
  backdrop-filter: blur(10px);
}

.plan-icon i {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
}

.plan h3 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.plan-description {
  color: var(--text-tertiary);
  font-size: 1rem;
  font-weight: 500;
}

.plan-pricing {
  text-align: center;
  margin-bottom: var(--space-8);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border-color);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.period {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.price-note {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.plan-features {
  margin-bottom: var(--space-8);
  flex-grow: 1;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(42, 46, 57, 0.3);
}

.plan-features li:last-child {
  border-bottom: none;
}

.feature-check {
  color: var(--accent-success);
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.plan-action {
  text-align: center;
  margin-top: auto;
}

.subscribe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-4) var(--space-6);
  background: var(--background-tertiary);
  border: 2px solid var(--border-color);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.subscribe-button.primary {
  background: var(--gradient-primary);
  border-color: var(--accent-primary);
  color: white;
}

.subscribe-button:hover {
  box-shadow: 0 10px 30px rgba(41, 98, 255, 0.3);
}

.subscribe-button.primary:hover {
  box-shadow: 0 10px 30px rgba(41, 98, 255, 0.4);
}

.button-arrow {
  transition: transform 0.3s ease;
}

.subscribe-button:hover .button-arrow {
  transform: translateX(4px);
}

.plan-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

.guarantee-icon {
  font-size: 1rem;
  color: var(--accent-success);
}

/* FAQ Section */
.pricing-faq {
  margin-top: var(--space-20);
  text-align: center;
}

.pricing-faq h2 {
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-12);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  text-align: left;
}

.faq-item {
  background: var(--background-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

/* Dashboard Styles - Modern Financial Platform */
.dashboard {
  max-width: 1800px;
  margin: 0 auto;
  padding: calc(var(--space-24) + 80px) var(--space-8) var(--space-24);
  min-height: 100vh;
  background: var(--background-primary);
  position: relative;
}

/* Dashboard Hero Section */
.dashboard-hero {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: var(--space-8);
  position: relative;
  overflow: visible;
}

.dashboard-hero::before {
  display: none;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.dashboard-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-xl);
  font-size: 1.5rem;
  font-weight: 800;
}

.dashboard-info h1 {
  color: var(--text-primary);
  font-size: 2.75rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.dashboard-subtitle {
  color: var(--text-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: var(--space-2);
}

/* Dashboard Content Layout */
.dashboard-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.dashboard-section {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
}

.section-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: 0;
  border-bottom: none;
}

.section-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
}

.section-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Agent Cards */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.agent-card {
  background: var(--background-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.agent-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.agent-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.agent-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.agent-info {
  flex: 1;
  min-width: 0;
}

.agent-name {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 var(--space-1) 0;
  letter-spacing: -0.01em;
}

.agent-description {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.agent-card-actions {
  display: flex;
  justify-content: flex-end;
}

.edit-agent-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.edit-agent-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: 0;
  opacity: 0.1;
}

.edit-agent-btn:hover::before {
  left: 0;
}

.edit-agent-btn:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(41, 98, 255, 0.15);
}

.edit-agent-btn i,
.edit-agent-btn span {
  position: relative;
  z-index: 1;
}

/* Loading, Empty, and Error States */
.loading-state,
.empty-state,
.error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-6);
  text-align: center;
}

.loading-state i,
.empty-state i,
.error-state i {
  font-size: 3rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
}

.loading-state i {
  animation: spin 1s linear infinite;
}

.loading-state p,
.empty-state p,
.error-state p {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 var(--space-2) 0;
}

.empty-state small,
.error-state small {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
}

/* Agent Modal Styles */
.agent-modal-content {
  max-width: 600px;
  width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.agent-modal-body {
  padding: var(--space-6);
  height: auto;
  max-height: none;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.agent-form .form-group {
  margin-bottom: var(--space-6);
}

.agent-form label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.agent-form label i {
  font-size: 1.125rem;
  color: var(--accent-primary);
}

.agent-form input[type="text"],
.agent-form textarea {
  width: 100%;
  padding: var(--space-4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  background: var(--background-tertiary);
  color: var(--text-primary);
  transition: all 0.2s ease;
  font-family: var(--font-sans);
  resize: vertical;
}

.agent-form input[type="text"]:focus,
.agent-form textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(41, 98, 255, 0.1);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-color);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .dashboard {
    max-width: 1400px;
    padding: calc(var(--space-24) + 80px) var(--space-6) var(--space-24);
  }
}

@media (max-width: 768px) {
  .dashboard {
    padding: calc(var(--space-16) + 80px) var(--space-4) var(--space-16);
  }
  
  .dashboard-hero {
    padding: 0;
  }
  
  .dashboard-info h1 {
    font-size: 2.25rem;
  }
  
  .dashboard-icon {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }
  
  .agents-grid {
    grid-template-columns: 1fr;
  }
  
  .agent-modal-content {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .agent-modal-body {
    padding: var(--space-6);
  }
}

/* Form Styles */
.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 600;
  color: var(--primary-500);
}

.form-group input {
  width: 100%;
  padding: var(--space-4);
  border: 2px solid var(--primary-200);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--neutral-200);
  color: var(--neutral-700);
}

.btn-secondary:hover {
  background: var(--neutral-300);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    padding: var(--space-4);
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--neutral-200);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Mobile login/logout button adjustments */
  .login-btn,
  .logout-btn {
    min-width: 70px;
    height: 36px;
    font-size: 0.85rem;
    padding: var(--space-1) var(--space-3);
  }
  
  .login-btn::after,
  .logout-btn::after {
    font-size: 0.9rem;
  }
  
  .tradingview-widget-container {
    height: 48px; /* Slightly smaller on mobile */
  }
  
  /* Remove mobile vignetting as well */
  
  .hero {
    padding: var(--space-16) var(--space-4);
    padding-top: calc(var(--space-16) + 128px); /* Adjust for mobile: header (80px) + ticker (48px) */
    min-height: 80vh;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .plans {
    grid-template-columns: 1fr;
  }
  
  .plan.featured {
    transform: none;
  }
  
  .dashboard-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: 1fr;
  }
  
  .stat h3 {
    font-size: 2rem;
  }
}

/* Pick Profile Styles - Modern Financial Dashboard */
.pick-profile {
  max-width: 1800px;
  margin: 0 auto;
  padding: calc(var(--space-24) + 80px) var(--space-8) var(--space-24);
  min-height: 100vh;
  background: var(--background-primary);
  position: relative;
}

/* Hero Section with Stock Header */
.pick-profile-hero {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
}

.pick-profile-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.stock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.stock-title {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.stock-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-xl);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.stock-info h1 {
  color: var(--text-primary);
  font-size: 2.75rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stock-company {
  color: var(--text-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: var(--space-2);
}

.stock-badges {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  background: var(--background-tertiary);
  color: var(--text-primary);
}

.badge.sector {
  background: var(--background-tertiary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.badge.date {
  background: var(--background-tertiary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

/* Main Content Layout */
.pick-profile-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-8);
  align-items: start;
}

/* Left Sidebar - Key Metrics */
.pick-profile-left {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: sticky;
  top: calc(80px + var(--space-6));
}

.metrics-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-color);
}

.metrics-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
}

.metrics-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(42, 46, 57, 0.1);
}

.metric-item:last-child {
  border-bottom: none;
}

.metric-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
}

.metric-value {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: right;
  letter-spacing: -0.01em;
}

.metric-value.price {
  font-size: 1.5rem;
  color: var(--accent-primary);
  font-weight: 800;
}

.metric-value.positive {
  color: var(--text-primary);
}

.metric-value.negative {
  color: var(--text-primary);
}

/* Right Content - Chart and Analysis */
.pick-profile-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* Chart Container */
.chart-container {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-color);
}

.chart-title {
  color: var(--text-primary);
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.chart-maximize-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--background-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.chart-maximize-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: 0;
  opacity: 0.1;
}

.chart-maximize-btn:hover::before {
  left: 0;
}

.chart-maximize-btn:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(41, 98, 255, 0.15);
}

.chart-maximize-btn i {
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

/* Phosphor Icons Styling */
.ph {
  font-size: inherit;
  line-height: 1;
}

.chart-title i {
  margin-right: var(--space-2);
}

.metrics-icon i,
.analysis-icon i {
  font-size: 1.25rem;
}

.research-icon i {
  font-size: 1.125rem;
}

#tradingview-widget {
  height: 500px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Analysis Sections */
.analysis-section {
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
}

.analysis-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-color);
}

.analysis-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-success);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.125rem;
}

.analysis-title {
  color: var(--text-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.analysis-content {
  color: var(--text-primary);
  font-size: 1.125rem;
  line-height: 1.7;
  background: var(--background-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  font-weight: 500;
}

/* Research Links */
.research-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
}

.research-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--background-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.research-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: 0;
  opacity: 0.1;
}

.research-link:hover::before {
  left: 0;
}

.research-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(41, 98, 255, 0.15);
}

.research-icon {
  font-size: 1.125rem;
  color: var(--accent-primary);
  position: relative;
  z-index: 1;
}

.research-text {
  position: relative;
  z-index: 1;
}

/* Sentiment Indicators */
.sentiment-bullish,
.sentiment-bearish,
.sentiment-neutral {
  background: var(--background-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .pick-profile-container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .pick-profile-left {
    position: static;
  }
  
  .stock-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .stock-title {
    width: 100%;
  }
}

@media (max-width: 1200px) {
  .pick-profile {
    max-width: 1400px;
    padding: calc(var(--space-24) + 80px) var(--space-6) var(--space-24);
  }
}

@media (max-width: 768px) {
  .pick-profile {
    padding: calc(var(--space-16) + 80px) var(--space-4) var(--space-16);
  }
  
  .pick-profile-hero,
  .analysis-section,
  .chart-container,
  .pick-profile-left {
    padding: var(--space-6);
  }
  
  .stock-info h1 {
    font-size: 2.25rem;
  }
  
  .stock-symbol {
    width: 64px;
    height: 64px;
    font-size: 1.375rem;
  }
  
  .metrics-title {
    font-size: 1.375rem;
  }
  
  .metric-value {
    font-size: 1.125rem;
  }
  
  .metric-value.price {
    font-size: 1.375rem;
  }
  
  .analysis-title {
    font-size: 1.375rem;
  }
  
  .analysis-content {
    font-size: 1rem;
  }
  
  #tradingview-widget {
    height: 400px;
  }
  
  .research-links {
    grid-template-columns: 1fr;
  }
  
  .chart-maximize-btn span {
    display: none;
  }
  
  .chart-maximize-btn {
    padding: var(--space-2);
  }
}

/* Chart Modal Styles */
.chart-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 20, 33, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.3s ease-out;
}

.chart-modal.show {
  display: flex;
}

.chart-modal-content {
  width: 95vw;
  height: 90vh;
  max-width: 1600px;
  max-height: 1000px;
  background: var(--background-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  animation: slideInModal 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInModal {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.chart-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid var(--border-color);
  background: var(--background-tertiary);
}

.chart-modal-title {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.chart-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--background-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chart-modal-close:hover {
  color: var(--accent-danger);
  border-color: var(--accent-danger);
  background: rgba(242, 54, 69, 0.1);
  transform: scale(1.05);
}

.chart-modal-body {
  height: calc(100% - 80px);
  padding: 0;
  position: relative;
}

/* Override for agent modals - needs to come after chart-modal-body */
.chart-modal-body.agent-modal-body {
  padding: var(--space-8);
  height: auto;
  max-height: none;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

#tradingview-widget-modal {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 0 var(--radius-2xl) var(--radius-2xl);
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
  .chart-modal-content {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .chart-modal-header {
    padding: var(--space-4) var(--space-6);
  }
  
  .chart-modal-title {
    font-size: 1.125rem;
  }
  
  #tradingview-widget-modal {
    border-radius: 0;
  }
}

/* Modern 2024 Utilities */
.u-text-center {
  text-align: center;
}

.u-text-left {
  text-align: left;
}

.u-text-right {
  text-align: right;
}

.u-mt-4 {
  margin-top: var(--space-4);
}

.u-mb-4 {
  margin-bottom: var(--space-4);
}

.u-ml-4 {
  margin-left: var(--space-4);
}

.u-mr-4 {
  margin-right: var(--space-4);
}

.u-p-4 {
  padding: var(--space-4);
}

.u-px-4 {
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.u-py-4 {
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
}

.u-hidden {
  display: none;
}

.u-block {
  display: block;
}

.u-flex {
  display: flex;
}

.u-grid {
  display: grid;
}

.u-w-full {
  width: 100%;
}

.u-h-full {
  height: 100%;
}

.u-rounded {
  border-radius: var(--radius-md);
}

.u-rounded-lg {
  border-radius: var(--radius-lg);
}

.u-rounded-xl {
  border-radius: var(--radius-xl);
}

.u-rounded-full {
  border-radius: var(--radius-full);
}

.u-shadow {
  box-shadow: var(--shadow-md);
}

.u-shadow-lg {
  box-shadow: var(--shadow-lg);
}

.u-shadow-xl {
  box-shadow: var(--shadow-xl);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-200);
  border-top: 2px solid var(--primary-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes subtle-float {
  0%, 100% { 
    transform: translateY(-50%) scale(1) rotate(0deg);
    opacity: 0.15;
  }
  25% { 
    transform: translateY(-48%) scale(1.01) rotate(1deg);
    opacity: 0.12;
  }
  50% { 
    transform: translateY(-52%) scale(0.99) rotate(-1deg);
    opacity: 0.18;
  }
  75% { 
    transform: translateY(-50%) scale(1.005) rotate(0.5deg);
    opacity: 0.14;
  }
}

/* TradingView Widget Styling */
.tradingview-widget-container {
  position: fixed;
  top: 80px; /* Position below the fixed header */
  left: 0;
  right: 0;
  z-index: 40;
  height: 56px; /* Standard TradingView ticker height */
  background: var(--background-primary);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

/* Remove vignetting effects */

/* Style the TradingView widget iframe when it loads */
.tradingview-widget-container iframe {
  border: none !important;
  background: transparent !important;
}

/* Override TradingView's default styling */
.tradingview-widget-container .tradingview-widget-container__widget {
  background: transparent !important;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }
.ml-4 { margin-left: var(--space-4); }
.mr-4 { margin-right: var(--space-4); }

.p-4 { padding: var(--space-4); }
.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
/* Add Agent Button */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#add-agent-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
}

/* Follow/Unfollow Buttons */
.follow-agent-btn,
.unfollow-agent-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 2px solid;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.2s ease;
}

.follow-agent-btn {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.follow-agent-btn:hover {
  background: var(--accent-primary-dark);
  border-color: var(--accent-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 98, 255, 0.3);
}

.unfollow-agent-btn {
  background: var(--background-tertiary);
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.unfollow-agent-btn:hover {
  background: var(--accent-danger);
  color: white;
  border-color: var(--accent-danger);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 54, 69, 0.3);
}

/* Agent followers count */
.agent-followers {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

/* Required field indicator */
.required {
  color: var(--accent-danger);
  font-weight: bold;
  margin-left: 0.25rem;
}

/* All Agents Section */
.all-agents-section {
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-color);
}

/* Spinner animation for loading states */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.ph-spinner {
  animation: spin 1s linear infinite;
}

/* Disabled button states */
.follow-agent-btn:disabled,
.unfollow-agent-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
