/* CSS Reset and Base Variables */
:root {
  --primary-color: #26a69a;
  --primary-light: #4db6ac;
  --primary-dark: #00796b;
  --secondary-color: #ef6c00;
  --accent-color: #ef6c00;
  --dark-bg: #0a0a0a;
  --darker-bg: #070707;
  --text-color: #f5f5f5;
  --text-secondary: #b0b0b0;
  --text-muted: #707070;
  --card-bg: #1a1a1a;
  --card-light: #2a2a2a;
  --border-radius: 8px;
  --border-color: #333333;
  --success-color: #26a69a;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-hero: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.2);
  --shadow-heavy: rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
  text-align: center;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Utility Classes */
.highlight {
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: -1rem auto 3rem;
  text-align: center;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(38, 166, 154, 0.1) 0%, transparent 70%);
  z-index: 2;
}

.particle-container {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.badge-new {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(38, 166, 154, 0.1);
  border: 1px solid rgba(38, 166, 154, 0.3);
  border-radius: 50px;
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.market-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.market-tab {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.market-tab.active,
.market-tab:hover {
  background: rgba(38, 166, 154, 0.2);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(38, 166, 154, 0.05);
  border-color: rgba(38, 166, 154, 0.2);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Button Styles */
.btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 8px 32px rgba(38, 166, 154, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(38, 166, 154, 0.4);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(38, 166, 154, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
  text-decoration: none;
  transform: translateY(-3px);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 8px 32px rgba(38, 166, 154, 0.3); }
  50% { box-shadow: 0 8px 32px rgba(38, 166, 154, 0.6); }
  100% { box-shadow: 0 8px 32px rgba(38, 166, 154, 0.3); }
}

.btn-icon {
  font-size: 1.2rem;
}

.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  color: white;
  font-size: 0.75rem;
  margin-right: 0.5rem;
}

/* Sections */
section {
  padding: 8rem 0;
  position: relative;
}

section:not(.hero):not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Market Analysis Section */
.market-analysis {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.market-content {
  display: none;
  margin-top: 3rem;
}

.market-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.analysis-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.analysis-card:hover {
  transform: translateY(-8px);
  border-color: rgba(38, 166, 154, 0.3);
  background: rgba(38, 166, 154, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.analysis-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.analysis-card h4 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.analysis-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tech-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(38, 166, 154, 0.1);
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
}

.tech-label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.875rem;
}

/* Algorithm Section */
.algorithm-section {
  background: var(--darker-bg);
}

.strategy-visualization {
  max-width: 1000px;
  margin: 3rem auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.visualization-header {
  text-align: center;
  margin-bottom: 2rem;
}

.algo-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.visualization-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.strategy-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 200px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.strategy-step:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  background: rgba(38, 166, 154, 0.05);
}

.strategy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.step-name {
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
  margin: 0 1rem;
}

/* Tech Stack */
.tech-stack {
  text-align: center;
  padding: 4rem 0;
  background: rgba(255, 255, 255, 0.01);
}

.tech-stack p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.tech-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.logo-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  background: rgba(38, 166, 154, 0.05);
}

.logo-item i {
  color: var(--primary-color);
}

.logo-item span {
  font-weight: 500;
  color: var(--text-secondary);
}

/* Features Section */
.features-section {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(38, 166, 154, 0.3);
  background: rgba(38, 166, 154, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 18px;
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.my-approach {
  background: rgba(38, 166, 154, 0.1);
  border-radius: 12px;
  padding: 1rem;
  border-left: 3px solid var(--primary-color);
}

.approach-label {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

.my-approach p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Strategy Showcase */
.strategy-showcase-section {
  background: var(--darker-bg);
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.strategy-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.strategy-card.featured {
  border-color: var(--primary-color);
  background: rgba(38, 166, 154, 0.05);
}

.strategy-card.disabled {
  opacity: 0.6;
  background: rgba(255, 255, 255, 0.01);
}

.strategy-card:not(.disabled):hover {
  transform: translateY(-8px);
  border-color: rgba(38, 166, 154, 0.3);
  background: rgba(38, 166, 154, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.featured-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.strategy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.strategy-header .strategy-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.strategy-header h3 {
  flex: 1;
  margin: 0 1rem 0 0;
  color: var(--text-color);
}

.strategy-stats {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-end;
}

.strategy-stats span {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  background: rgba(38, 166, 154, 0.1);
  color: var(--primary-color);
  font-weight: 500;
}

.strategy-description p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.strategy-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.indicator-tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Strategy Customization */
.strategy-customization {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.customization-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.customization-content {
  flex: 1;
}

.customization-content h3 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.customization-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.parameter-sliders {
  display: grid;
  gap: 1.5rem;
}

.parameter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.parameter label {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.875rem;
}

.slider-visualization {
  position: relative;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin: 0.5rem 0;
}

.slider-track {
  width: 100%;
  height: 100%;
  border-radius: 3px;
}

.slider-thumb {
  position: absolute;
  top: -3px;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(38, 166, 154, 0.3);
}

.parameter-values {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.strategy-cta {
  text-align: center;
  margin-top: 3rem;
}

.strategy-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Performance Section */
.performance-section {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.metrics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.metric-card:hover {
  transform: translateY(-8px);
  border-color: rgba(38, 166, 154, 0.3);
  background: rgba(38, 166, 154, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.metric-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 18px;
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.metric-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
}

.metric-description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.performance-disclaimer {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.performance-disclaimer i {
  color: #ffc107;
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.performance-disclaimer p {
  margin: 0;
  color: var(--text-color);
  line-height: 1.6;
}

/* Comparison Section */
.comparison-section {
  background: var(--darker-bg);
}

.comparison-table-container {
  margin-top: 3rem;
  overflow-x: auto;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

.comparison-table td {
  color: var(--text-secondary);
}

.comparison-table .highlight {
  color: var(--primary-color);
  font-weight: 600;
}

.comparison-notes {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(38, 166, 154, 0.1);
  border: 1px solid rgba(38, 166, 154, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.comparison-notes i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.comparison-notes p {
  margin: 0;
  color: var(--text-color);
  line-height: 1.6;
}

.comparison-cta {
  text-align: center;
  margin-top: 2rem;
}

/* How It Works Section */
.how-it-works-section {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.steps-container {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
}

.progress-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), rgba(38, 166, 154, 0.3));
  transform: translateY(-50%);
  z-index: 1;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.step:nth-child(even) {
  flex-direction: row-reverse;
}

.step:nth-child(even) .step-content {
  text-align: right;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0 3rem;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(38, 166, 154, 0.3);
}

.step-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.step-content:hover {
  transform: translateY(-5px);
  border-color: rgba(38, 166, 154, 0.3);
  background: rgba(38, 166, 154, 0.05);
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(38, 166, 154, 0.2);
  border-radius: 12px;
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.step-content h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.step-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.architecture-note {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  backdrop-filter: blur(10px);
}

.architecture-note i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.architecture-note p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

/* Footer */
.site-footer {
  background: var(--darker-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-disclaimer {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-disclaimer p {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.5;
  margin: 0;
}

/* Transparency Note */
.transparency-note {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.transparency-note .note-icon {
  color: #ffc107;
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.transparency-note .note-content h3 {
  color: #ffc107;
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
}

.transparency-note .note-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.transparency-note .note-content li {
  padding: 0.5rem 0;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 193, 7, 0.2);
  line-height: 1.5;
}

.transparency-note .note-content li:last-child {
  border-bottom: none;
}

/* Simple Dashboard Preview Placeholder */
.dashboard-placeholder {
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  background: #1a1a1d;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-header {
  background: #2a2b2e;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-controls {
  display: flex;
  gap: 6px;
  margin-right: 15px;
}

.control-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.control-dot:first-child { background: #e25f5f; }
.control-dot:nth-child(2) { background: #e2c05f; }
.control-dot:nth-child(3) { background: #5be25f; }


/* Dashboard Preview Content */
.dashboard-content {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  grid-template-rows: repeat(2, 1fr);
  height: 300px;
}

.dashboard-panel {
  padding: 15px;
  background: #1f1f23;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-title {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
  font-weight: 500;
}

.coin-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coin-item {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  font-size: 12px;
}

.coin-name { color: #ddd; }
.coin-price { color: #26a69a; font-weight: 500; }
.coin-price.down { color: #ef5350; }

.chart-area {
  grid-column: span 2;
  grid-row: span 2;
  background: #1f1f23;
  position: relative;
  overflow: hidden;
}

.chart-mock {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 100%);
  position: relative;
}

.chart-line {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(38, 166, 154, 0.5) 50%, transparent 100%);
  box-shadow: 0 0 10px rgba(38, 166, 154, 0.3);
}

/* =================================
   MODERN DASHBOARD STYLES
   ================================= */

/* Dashboard Container */
.modern-dashboard {
  --primary-color: #26a69a;
  --primary-light: #4db6ac;
  --primary-dark: #00796b;
  --accent-color: #ef6c00;
  --success-color: #26a69a;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --dark-bg: #0a0a0a;
  --card-bg: #1a1a1a;
  --card-light: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #707070;
  --border-color: #333333;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.2);
  --shadow-heavy: rgba(0, 0, 0, 0.4);
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-card: linear-gradient(145deg, #1e1e1e, #2a2a2a);

  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
}

.modern-dashboard .dashboard-container {
  position: relative;
  z-index: 10;
  background: var(--dark-bg);
  min-height: 100vh;
  padding: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Dashboard Header */
.modern-dashboard .dashboard-header {
  margin-bottom: 3rem;
  text-align: center;
}

.modern-dashboard .dashboard-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-dashboard .dashboard-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Stats Container */
.modern-dashboard .stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.modern-dashboard .stat-card {
  background: var(--gradient-card);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px var(--shadow-medium);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.modern-dashboard .stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.modern-dashboard .stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px var(--shadow-heavy);
  border-color: var(--primary-color);
}

.modern-dashboard .stat-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.modern-dashboard .stat-icon {
  font-size: 2rem;
  margin-right: 1rem;
  color: var(--primary-color);
  background: rgba(38, 166, 154, 0.1);
  padding: 0.75rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.modern-dashboard .stat-content {
  flex: 1;
}

.modern-dashboard .stat-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-dashboard .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.25rem 0;
  color: var(--text-primary);
}

.modern-dashboard .stat-value.positive {
  color: var(--success-color);
}

.modern-dashboard .stat-value.negative {
  color: var(--error-color);
}

.modern-dashboard .stat-subtitle {
  font-size: 0.75rem;
  margin: 0;
  color: var(--text-muted);
}

/* Dashboard Content Grid */
.modern-dashboard .dashboard-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.modern-dashboard .dashboard-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Dashboard Cards */
.modern-dashboard .dashboard-card {
  position: relative;
  z-index: 20;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px var(--shadow-medium);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

/* Card Header */
.modern-dashboard .card-header {
  background: var(--card-light);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modern-dashboard .card-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
}

.modern-dashboard .card-header h3 i {
  color: var(--primary-color);
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.modern-dashboard .card-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(38, 166, 154, 0.2);
  color: var(--primary-color);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-dashboard .activity-count {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Card Body */
.modern-dashboard .card-body {
  padding: 2rem;
  background: var(--card-bg);
  color: var(--text-primary);
}

.modern-dashboard .bot-status-body {
  max-height: none;
}

.modern-dashboard .card-body::-webkit-scrollbar {
  width: 6px;
}

.modern-dashboard .card-body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.modern-dashboard .card-body::-webkit-scrollbar-track {
  background: var(--card-light);
}

/* Card Footer */
.modern-dashboard .card-footer {
  background: var(--card-light);
  border-top: 1px solid var(--border-color);
  padding: 1rem 2rem;
}

.modern-dashboard .card-footer-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modern-dashboard .footer-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modern-dashboard .footer-stat .stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-dashboard .footer-stat .stat-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Performance Stats */
.modern-dashboard .performance-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.modern-dashboard .performance-item {
  text-align: center;
  padding: 1rem;
  background: var(--card-light);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.modern-dashboard .performance-item:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  background: rgba(38, 166, 154, 0.05);
}

.modern-dashboard .performance-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-dashboard .performance-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modern-dashboard .performance-value.positive {
  color: var(--success-color);
}

.modern-dashboard .performance-value.negative {
  color: var(--error-color);
}

/* Chart Container */
.modern-dashboard .chart-container {
  position: relative;
  height: 250px;
  width: 100%;
  background: var(--card-light);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--border-color);
}

/* Notification Styles */
.modern-dashboard .notification-item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.modern-dashboard .notification-item:last-child {
  border-bottom: none;
}

.modern-dashboard .notification-item:hover {
  background: var(--card-light);
  border-radius: 8px;
  margin: 0 -1rem;
  padding: 1rem;
}

.modern-dashboard .notification-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.125rem;
  color: white;
}

.modern-dashboard .notification-icon.buy-icon {
  background: linear-gradient(135deg, var(--success-color), #4caf50);
}

.modern-dashboard .notification-icon.sell-icon {
  background: linear-gradient(135deg, var(--error-color), #f57c00);
}

.modern-dashboard .notification-content {
  flex: 1;
}

.modern-dashboard .notification-text {
  margin: 0 0 0.25rem 0;
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-dashboard .notification-time {
  font-size: 0.75rem;
  margin: 0;
  color: var(--text-muted);
}

.modern-dashboard .pnl-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.modern-dashboard .pnl-badge.profit {
  background: rgba(38, 166, 154, 0.2);
  color: var(--success-color);
}

.modern-dashboard .pnl-badge.loss {
  background: rgba(244, 67, 54, 0.2);
  color: var(--error-color);
}

.modern-dashboard .pnl-badge.neutral {
  background: rgba(255, 152, 0, 0.2);
  color: var(--warning-color);
}

/* Empty State */
.modern-dashboard .empty-state {
  text-align: center;
  padding: 3rem 1rem;
}

.modern-dashboard .empty-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.modern-dashboard .empty-state h4 {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.modern-dashboard .empty-state p {
  color: var(--text-muted);
  font-size: 0.875rem;
  max-width: 300px;
  margin: 0 auto;
}

/* Bot Status */
.modern-dashboard .bot-status-visual {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--card-light);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.modern-dashboard .bot-status-indicator {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 8px 32px rgba(38, 166, 154, 0.3);
}

.modern-dashboard .bot-status-indicator.active {
  background: var(--gradient-primary);
  animation: pulse 2s infinite;
}

.modern-dashboard .bot-status-indicator.inactive {
  background: linear-gradient(135deg, #6c757d, #495057);
}

.modern-dashboard .bot-status-indicator.error {
  background: linear-gradient(135deg, var(--error-color), #d32f2f);
}

.modern-dashboard .bot-status-text {
  flex: 1;
}

.modern-dashboard .bot-status-text h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 600;
}

.modern-dashboard .status-description {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Bot Controls */
.modern-dashboard .bot-controls {
  display: flex;
  gap: 0.5rem;
}

.modern-dashboard .bot-metrics {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

.modern-dashboard .metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-dashboard .metric-row:last-child {
  border-bottom: none;
}

.modern-dashboard .metric-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.modern-dashboard .metric-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* API Status */
.modern-dashboard .api-status .status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.modern-dashboard .status-badge.connected {
  background: rgba(38, 166, 154, 0.2);
  color: var(--success-color);
}

.modern-dashboard .status-badge.disconnected {
  background: rgba(244, 67, 54, 0.2);
  color: var(--error-color);
}

/* Form Actions */
.modern-dashboard .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.modern-dashboard .form-actions .btn {
  flex: 1;
}

.modern-dashboard .help-text {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Trust Container Updates */
.modern-dashboard .trust-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 25;
  clear: both;
}

.modern-dashboard .trust-item {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--card-light);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
  z-index: 30;
}

.modern-dashboard .trust-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  background: rgba(38, 166, 154, 0.05);
}

.modern-dashboard .trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.modern-dashboard .trust-content h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  position: relative;
  z-index: 35;
}

.modern-dashboard .trust-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  position: relative;
  z-index: 35;
}

/* Status Indicators */
.modern-dashboard .status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.modern-dashboard .status-indicator.active {
  background: var(--success-color);
  box-shadow: 0 0 8px var(--success-color);
  animation: blink 2s infinite;
}

.modern-dashboard .status-indicator.inactive {
  background: #6c757d;
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
  .modern-dashboard .dashboard-container {
    padding: 1rem;
  }

  .modern-dashboard .dashboard-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modern-dashboard .stats-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modern-dashboard .performance-stats {
    grid-template-columns: 1fr;
  }

  .modern-dashboard .trust-container {
    grid-template-columns: 1fr;
  }

  .modern-dashboard .bot-status-visual {
    flex-direction: column;
    text-align: center;
  }

  .modern-dashboard .bot-status-indicator {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .modern-dashboard .form-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .modern-dashboard .dashboard-container {
    padding: 0.5rem;
  }

  .modern-dashboard .card-header, 
  .modern-dashboard .card-body, 
  .modern-dashboard .card-footer {
    padding: 1rem;
  }

  .modern-dashboard .stat-card {
    flex-direction: column;
    text-align: center;
  }

  .modern-dashboard .stat-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .modern-dashboard .dashboard-header h1 {
    font-size: 2rem;
  }
}

/* Enhanced Form Styles for Dashboard */
.modern-dashboard .form-group {
  margin-bottom: 1.5rem;
}

.modern-dashboard .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-dashboard .form-control, 
.modern-dashboard select.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--card-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.modern-dashboard .form-control:focus, 
.modern-dashboard select.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(38, 166, 154, 0.1);
  background: var(--card-bg);
  transform: scale(1.02);
}

.modern-dashboard .form-control::placeholder {
  color: var(--text-muted);
}

.modern-dashboard .input-group {
  position: relative;
  display: flex;
}

.modern-dashboard .input-group .form-control {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.modern-dashboard .input-group-append {
  display: flex;
}

.modern-dashboard .input-group-append .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
  padding: 0.75rem;
  background: var(--card-light);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.modern-dashboard .input-group-append .btn:hover {
  color: var(--primary-color);
  background: var(--border-color);
}

.modern-dashboard .form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.modern-dashboard .form-check-input {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  accent-color: var(--primary-color);
  width: 16px;
  height: 16px;
}

.modern-dashboard .form-check-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modern-dashboard .form-check-label i {
  color: var(--primary-color);
}

/* Enhanced Button Styles */
.modern-dashboard .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.modern-dashboard .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.modern-dashboard .btn-primary, 
.modern-dashboard .btn-success {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(38, 166, 154, 0.3);
}

.modern-dashboard .btn-primary:hover:not(:disabled), 
.modern-dashboard .btn-success:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(38, 166, 154, 0.4);
  color: white;
  text-decoration: none;
}

.modern-dashboard .btn-secondary {
  background: var(--card-light);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.modern-dashboard .btn-secondary:hover:not(:disabled) {
  background: var(--border-color);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.modern-dashboard .btn-warning {
  background: linear-gradient(135deg, var(--warning-color), #f57c00);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.modern-dashboard .btn-warning:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.4);
}

.modern-dashboard .btn-block {
  width: 100%;
}

.modern-dashboard .btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.modern-dashboard .btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Loading and Animation States */
.modern-dashboard .btn .fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Navigation and Header Styles */
/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}

.logo i {
  color: var(--primary-color);
  font-size: 1.75rem;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.5rem;
}

nav ul li {
  margin: 0;
}

nav ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

nav ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(38, 166, 154, 0.1), transparent);
  transition: left 0.5s;
}

nav ul li a:hover::before {
  left: 100%;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
  background: rgba(38, 166, 154, 0.1);
  transform: translateY(-2px);
}

nav ul li a.active {
  font-weight: 600;
  background: rgba(38, 166, 154, 0.15);
  border: 1px solid rgba(38, 166, 154, 0.3);
}

nav ul li a i {
  font-size: 0.9rem;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(38, 166, 154, 0.1);
  color: var(--primary-color);
}

/* Body padding to account for fixed header */
body {
  padding-top: 80px;
}

/* Main content wrapper */
main {
  min-height: calc(100vh - 80px);
  position: relative;
}

/* =================================
   DASHBOARD LAYOUT FIXES
   ================================= */

/* Fix for dashboard background conflicts */
.modern-dashboard {
  position: relative;
  background: var(--dark-bg);
  min-height: calc(100vh - 80px);
  z-index: 1;
  overflow-x: hidden;
}

.modern-dashboard::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  z-index: -10;
}

.modern-dashboard .dashboard-container {
  position: relative;
  z-index: 10;
  background: transparent;
  min-height: calc(100vh - 80px);
  padding: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  isolation: isolate;
}

/* Ensure dashboard cards are above any background elements */
.modern-dashboard .dashboard-card {
  position: relative;
  z-index: 20;
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 40px var(--shadow-medium);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

/* Fix stats container positioning */
.modern-dashboard .stats-container {
  position: relative;
  z-index: 15;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.modern-dashboard .stat-card {
  position: relative;
  z-index: 20;
  background: var(--gradient-card);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px var(--shadow-medium);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Mobile Navigation Responsive */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  nav ul.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  nav ul li {
    width: 100%;
  }
  
  nav ul li a {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 0;
    justify-content: flex-start;
  }
  
  .modern-dashboard .dashboard-container {
    padding: 1rem;
  }
  
  body {
    padding-top: 70px;
  }
  
  nav {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0.75rem 1rem;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .logo i {
    font-size: 1.5rem;
  }
  
  body {
    padding-top: 65px;
  }
}

/* =================================
   DASHBOARD TEXT LAYERING FIX
   ================================= */

/* Prevent any background text from showing through dashboard cards */
.modern-dashboard .dashboard-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark-bg);
  z-index: 5;
  pointer-events: none;
}

/* Ensure all dashboard content is above the background */
.modern-dashboard .dashboard-header,
.modern-dashboard .stats-container,
.modern-dashboard .dashboard-content,
.modern-dashboard .trust-container {
  position: relative;
  z-index: 15;
}

/* Force all text elements to be properly contained */
.modern-dashboard * {
  position: relative;
}

/* Hide any potentially floating elements behind dashboard */
.modern-dashboard .dashboard-container > *:not(.dashboard-header):not(.stats-container):not(.dashboard-content):not(.trust-container) {
  display: none !important;
}

/* Ensure trust section is properly positioned at bottom */
.modern-dashboard .trust-container {
  margin-top: 4rem;
  margin-bottom: 2rem;
  clear: both;
  width: 100%;
  position: relative;
  z-index: 25;
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 20px !important;
  padding: 2rem !important;
}

/* Clean end of dashboard fixes */
