/* --- Theme Configurations & Variables --- */
:root {
  --bg-main: #070a13;
  --bg-card: rgba(13, 20, 38, 0.65);
  --bg-input: rgba(8, 12, 24, 0.8);
  --border-color: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(16, 185, 129, 0.25);
  
  /* Text */
  --text-main: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  /* Accents */
  --color-primary: #10b981; /* Emerald */
  --color-primary-glow: rgba(16, 185, 129, 0.15);
  --color-secondary: #06b6d4; /* Cyan */
  --color-accent: #6366f1; /* Indigo */
  --color-danger: #ef4444; /* Red */
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-glow: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(6, 182, 212, 0.3));
  --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 15px rgba(16, 185, 129, 0.15);
  
  /* Signal Palette */
  --sig-strongbuy: #059669;
  --sig-strongbuy-bg: rgba(5, 150, 105, 0.15);
  --sig-strongbuy-border: rgba(5, 150, 105, 0.3);
  
  --sig-buy: #10b981;
  --sig-buy-bg: rgba(16, 185, 129, 0.12);
  --sig-buy-border: rgba(16, 185, 129, 0.25);
  
  --sig-dip: #0d9488;
  --sig-dip-bg: rgba(13, 148, 136, 0.15);
  --sig-dip-border: rgba(13, 148, 136, 0.3);

  --sig-bullish: #06b6d4;
  --sig-bullish-bg: rgba(6, 182, 212, 0.15);
  --sig-bullish-border: rgba(6, 182, 212, 0.3);
  
  --sig-hold: #d97706;
  --sig-hold-bg: rgba(217, 119, 6, 0.12);
  --sig-hold-border: rgba(217, 119, 6, 0.25);
  
  --sig-sell: #dc2626;
  --sig-sell-bg: rgba(220, 38, 38, 0.15);
  --sig-sell-border: rgba(220, 38, 38, 0.3);
  
  --sig-none: #4b5563;
  --sig-none-bg: rgba(75, 85, 99, 0.15);
  --sig-none-border: rgba(75, 85, 99, 0.25);

  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* --- Light Theme Variables --- */
body.light-theme {
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.75);
  --bg-input: rgba(241, 245, 249, 0.9);
  --border-color: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(15, 23, 42, 0.16);
  --border-glow: rgba(16, 185, 129, 0.35);
  
  /* Text */
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  /* Accents */
  --color-primary: #059669;
  --color-primary-glow: rgba(5, 150, 105, 0.08);
  --color-secondary: #0891b2;
  --color-accent: #4f46e5;
  --shadow-glow: 0 8px 32px 0 rgba(15, 23, 42, 0.06), 0 0 15px rgba(5, 150, 105, 0.04);
}

/* Light mode structural overrides */
body.light-theme {
  background-color: var(--bg-main);
  color: var(--text-main);
}

body.light-theme .bg-glow-1 {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, rgba(255, 255, 255, 0) 70%) !important;
}

body.light-theme .bg-glow-2 {
  background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, rgba(255, 255, 255, 0) 70%) !important;
}

body.light-theme .navbar {
  background: rgba(248, 250, 252, 0.7);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

body.light-theme .ticker-wrap {
  background: rgba(241, 245, 249, 0.85);
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

body.light-theme .ticker-item span:first-child {
  color: var(--text-main);
}

body.light-theme .theme-toggle-btn {
  background: rgba(15, 23, 42, 0.04);
}

body.light-theme .theme-toggle-btn:hover {
  background: rgba(15, 23, 42, 0.08);
}

body.light-theme .stocks-table tr:hover {
  background: rgba(15, 23, 42, 0.02) !important;
}

body.light-theme .comparison-table th {
  background: rgba(15, 23, 42, 0.02);
}

body.light-theme .comparison-table tr:hover {
  background: rgba(15, 23, 42, 0.01);
}

body.light-theme .comparison-table tr.highlighted-row {
  background: rgba(16, 185, 129, 0.05);
}

body.light-theme .user-email {
  background: rgba(15, 23, 42, 0.03);
}

body.light-theme .credit-card-mock {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

body.light-theme .playbook-visual {
  background: rgba(241, 245, 249, 0.5);
  box-shadow: inset 0 0 20px rgba(15, 23, 42, 0.05);
}

/* --- Navbar Controls & Theme Toggle --- */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  color: var(--color-primary);
  transform: scale(1.05);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* --- Background Glowing Grid Animations --- */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
}

.bg-glow-2 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(80px);
}

/* --- App Views Routing --- */
.app-view {
  display: none !important;
}

.app-view.active {
  display: block !important;
}

/* --- Toast Notifications System --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: var(--font-title);
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(20px);
  opacity: 0;
  animation: toastFadeIn 0.3s forwards ease-out;
  backdrop-filter: blur(10px);
}

.toast.success {
  border-left: 4px solid var(--color-primary);
}

.toast.error {
  border-left: 4px solid var(--color-danger);
}

@keyframes toastFadeIn {
  to { transform: translateY(0); opacity: 1; }
}

/* --- Live Ticker Marquee --- */
.ticker-wrap {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(10px);
}

.ticker {
  display: flex;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee 25s linear infinite;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-loading {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-style: italic;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 2.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--font-title);
}

.ticker-item span {
  margin-right: 0.4rem;
}

.ticker-item span:first-child {
  color: var(--text-main);
  font-weight: 700;
}

.ticker-item.up {
  color: var(--color-primary);
}

.ticker-item.down {
  color: var(--color-danger);
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* --- Glassmorphic Layout Components --- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glow);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  border-color: var(--border-glow);
}

/* --- Header Navbar --- */
.navbar {
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(7, 10, 19, 0.6);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 38px;
  z-index: 98;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-main);
  gap: 0.5rem;
}

.logo-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4));
  font-size: 1.6rem;
}

.logo-accent {
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 0.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-primary);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(16, 185, 129, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.indicator-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-email {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  border: 1px solid var(--border-color);
  font-family: var(--font-title);
  font-weight: 500;
}

/* --- Container Structure --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.main-container {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* --- Hero Section Landing Page --- */
.hero {
  padding: 6rem 0 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-title);
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-mockup-wrapper {
  margin-top: 2rem;
  perspective: 1000px;
}

.hero-mockup {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(16, 185, 129, 0.1);
  overflow: hidden;
  transform: rotateX(5deg);
  transition: all 0.3s ease;
  background: #0f172a;
}

.hero-mockup:hover {
  transform: rotateX(0deg) translateY(-10px);
  border-color: rgba(16, 185, 129, 0.3);
}

.hero-mockup-header {
  height: 35px;
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 6px;
  border-bottom: 1px solid var(--border-color);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-mockup-content {
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0f19;
  position: relative;
}

.mockup-preview-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(0,0,0,0) 70%);
  filter: blur(30px);
}

/* --- Features Section Grid --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-family: var(--font-title);
  font-weight: 700;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.feature-card {
  padding: 2.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(16, 185, 129, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-title);
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Competitor Comparison Matrix --- */
.comparison-section {
  padding: 3rem 0;
  margin-bottom: 5rem;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-glow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  font-family: var(--font-title);
  font-weight: 600;
}

.comparison-table tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.comparison-table tr.highlighted-row {
  background: rgba(16, 185, 129, 0.04);
}

.comparison-table tr.highlighted-row td {
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.comparison-badge {
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* --- Pricing Plans --- */
.pricing-section {
  padding: 2rem 0 5rem 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.5rem;
}

.pricing-card.popular {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

.pricing-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.pricing-name {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-family: var(--font-title);
  font-weight: 500;
}

.pricing-price {
  font-size: 2.75rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-features li.disabled .check-icon {
  display: none;
}

/* --- FAQ --- */
.faq-section {
  padding: 3rem 0 5rem 0;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--text-main);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* --- About Us Section Styles --- */
.about-section {
  padding: 6rem 0;
  margin-bottom: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.founder-card {
  padding: 2.5rem;
  position: relative;
  border-color: rgba(16, 185, 129, 0.2);
}

.founder-badge {
  position: absolute;
  top: -12px;
  left: 2.5rem;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  letter-spacing: 0.5px;
}

.founder-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.founder-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.08);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-primary);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.founder-title h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.founder-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.founder-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.founder-bio:last-child {
  margin-bottom: 0;
}

.about-info-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-info-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.about-info-block .info-icon {
  width: 44px;
  height: 44px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about-info-block h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.about-info-block p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}


/* --- Auth Pages --- */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 250px);
  padding: 4rem 0;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  padding: 2.5rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-title);
  font-weight: 700;
}

.auth-header p {
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-family: var(--font-title);
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-footer a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

/* --- Checkout Simulator Tiers --- */
.checkout-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .checkout-container {
    grid-template-columns: 1fr;
  }
}

.summary-card {
  position: sticky;
  top: 120px;
  padding: 2rem;
}

.summary-plan {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.summary-total {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* Simulated CC graphics */
.credit-card-mock {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  height: 180px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.cc-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  border-radius: 6px;
}

.cc-number {
  font-family: monospace;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--text-main);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  margin: 1rem 0;
}

.cc-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Spinner Overlay for payments */
.processing-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 19, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.processing-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 1.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Dashboard Header & Playbook Panel Styles --- */
.dashboard-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.dashboard-title-area h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.dashboard-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.playbook-panel {
  padding: 2rem;
  margin-bottom: 2rem;
  animation: fadeIn 0.4s ease-out;
  border-color: rgba(6, 182, 212, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), 0 0 20px rgba(6, 182, 212, 0.08);
}

.playbook-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.playbook-header h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close-playbook {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.3rem;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.btn-close-playbook:hover {
  color: var(--color-danger);
  transform: scale(1.1);
}

.playbook-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 950px) {
  .playbook-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.playbook-intro {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.playbook-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.playbook-step h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.35rem;
}

.playbook-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.signal-guide-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.signal-guide-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.signal-guide-list .signal-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  border-radius: 4px;
  font-weight: 700;
  text-align: center;
  min-width: 130px;
}

.playbook-visual {
  background: rgba(8, 12, 24, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.playbook-visual svg {
  max-height: 380px;
}

.animate-spin-slow {
  animation: spin-slow 12s linear infinite;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* --- Dashboard Views Summary Panels --- */
.summary-section {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .summary-section {
    grid-template-columns: 1fr;
  }
}

.sentiment-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sentiment-card h3 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.gauge-wrapper {
  position: relative;
  width: 100%;
  max-width: 220px;
}

.gauge {
  width: 100%;
}

.gauge-bg {
  stroke: rgba(255, 255, 255, 0.05);
}

.gauge-fill {
  stroke: url(#gauge-gradient);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#gauge-needle-group {
  transform-origin: 100px 110px;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  margin-top: -15px;
  padding: 0 10px;
  font-size: 0.75rem;
  font-family: var(--font-title);
  color: var(--text-secondary);
  font-weight: 500;
}

#gauge-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: -10px;
}

.sentiment-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  line-height: 1.4;
}

/* Quick Stats Grid */
.quick-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-secondary);
}

.stat-icon.emerald {
  color: var(--color-primary);
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.15);
}

.stat-icon.mint {
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.05);
  border-color: rgba(45, 212, 191, 0.15);
}

.stat-icon.danger {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.15);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--text-main);
  margin-top: 0.1rem;
}

/* --- Screening Filter Panel --- */
.filter-panel {
  padding: 1.5rem;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-title i {
  color: var(--color-primary);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-title);
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.input-wrapper input {
  width: 100%;
  padding: 0.65rem 0.65rem 0.65rem 2.25rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrapper input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-glow);
}

.form-select {
  padding: 0.65rem 1rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  transition: border-color 0.2s;
}

.form-select:focus {
  border-color: var(--color-primary);
}

.form-select option {
  background-color: var(--bg-main);
  color: var(--text-main);
}

/* Slider Customization */
.slider-group {
  justify-content: space-between;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-header span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  margin-top: 0.5rem;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* --- Stock Data List & Table --- */
.stocks-table-section {
  padding: 1.5rem;
  overflow: hidden;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.table-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.table-title i {
  color: var(--color-secondary);
}

.results-count {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-title);
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

.stocks-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.stocks-table th {
  padding: 1rem 1.25rem;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  user-select: none;
  white-space: nowrap;
}

.stocks-table th.sortable {
  cursor: pointer;
  transition: color 0.2s;
}

.stocks-table th.sortable:hover {
  color: var(--text-main);
}

.stocks-table th i {
  font-size: 0.75rem;
  margin-left: 0.3rem;
  color: var(--text-muted);
}

.stocks-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  white-space: nowrap;
}

.stocks-table tbody tr {
  transition: background-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.stocks-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.stocks-table td.ticker-sym {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text-main);
}

/* Loading & Empty States */
.table-loading, .table-empty {
  text-align: center !important;
  padding: 4rem 0 !important;
  color: var(--text-secondary);
  font-size: 1rem;
}

.table-loading i {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

.table-empty i {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: block;
}

/* --- Glowing Visual Badges for Signals --- */
.signal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.85rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: 0.3px;
  border: 1px solid transparent;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  white-space: nowrap;
}

.signal-badge.strongbuy {
  background-color: var(--sig-strongbuy-bg);
  color: var(--sig-strongbuy);
  border-color: var(--sig-strongbuy-border);
  box-shadow: 0 0 12px rgba(5, 150, 105, 0.15);
}

.signal-badge.buy, .signal-badge.buyenter {
  background-color: var(--sig-buy-bg);
  color: var(--sig-buy);
  border-color: var(--sig-buy-border);
}

.signal-badge.dip, .signal-badge.buythedip, .signal-badge.strongbuythedip {
  background-color: var(--sig-dip-bg);
  color: var(--sig-dip);
  border-color: var(--sig-dip-border);
  box-shadow: 0 0 10px rgba(13, 148, 136, 0.12);
}

.signal-badge.bullish, .signal-badge.bullishbuythedrop {
  background-color: var(--sig-bullish-bg);
  color: var(--sig-bullish);
  border-color: var(--sig-bullish-border);
}

.signal-badge.hold, .signal-badge.holdmodbuy {
  background-color: var(--sig-hold-bg);
  color: var(--sig-hold);
  border-color: var(--sig-hold-border);
}

.signal-badge.sell, .signal-badge.holdsell {
  background-color: var(--sig-sell-bg);
  color: var(--sig-sell);
  border-color: var(--sig-sell-border);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.15);
}

.signal-badge.none {
  background-color: var(--sig-none-bg);
  color: var(--text-secondary);
  border-color: var(--sig-none-border);
}

/* Numeric text styles */
.num-pos {
  color: var(--color-primary) !important;
  font-weight: 600;
}

.num-neg {
  color: var(--color-danger) !important;
  font-weight: 600;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5), 0 0 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-hover);
}

.btn-text {
  background: transparent;
  color: var(--color-primary);
  padding: 0;
  font-size: 0.85rem;
  border-radius: 0;
}

.btn-text:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* --- Glassmorphic Overlay Modals --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  animation: modalScale 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 2.2rem;
}

@keyframes modalScale {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 1rem;
}

.modal-title-wrap h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2rem;
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
}

.close-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}

.modal-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.modal-price-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.modal-price {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-title);
}

.modal-change {
  font-size: 1rem;
  font-family: var(--font-title);
  font-weight: 700;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .modal-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.modal-column h4 {
  font-family: var(--font-title);
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.modal-column h4 i {
  color: var(--color-secondary);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
}

.metric-row span {
  color: var(--text-secondary);
}

/* Perf Chips */
.modal-performances h4 {
  font-family: var(--font-title);
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.perf-chips-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .perf-chips-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.perf-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.75rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.perf-chip span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.perf-chip strong {
  font-size: 0.85rem;
  font-family: var(--font-title);
}

/* Footer Stats */
.modal-footer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

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

.stat-box strong {
  font-size: 1.3rem;
  font-family: var(--font-title);
  font-weight: 700;
}

.stat-box strong.up {
  color: var(--color-primary);
}
.stat-box strong.down {
  color: var(--color-danger);
}
.stat-box strong.neutral {
  color: var(--text-main);
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 2.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 4rem;
  background: rgba(3, 7, 18, 0.2);
}

.trial-banner {
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-primary);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.04) !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

