/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #111827;
  color: #f9fafb;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.bg-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 24, 39, 0.95) 0%,
    rgba(88, 28, 135, 0.8) 50%,
    rgba(30, 64, 175, 0.85) 100%
  );
}

.bg-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 0%, transparent 50%, rgba(17, 24, 39, 0.6) 100%);
}

.bg-overlay-3 {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.crypto-elements {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.crypto-symbol {
  position: absolute;
  font-size: 4rem;
  font-weight: bold;
}

.crypto-btc {
  top: 5rem;
  left: 2.5rem;
  color: #3b82f6;
  animation: pulse 2s infinite;
}

.crypto-eth {
  top: 10rem;
  right: 5rem;
  color: #8b5cf6;
  animation: bounce 2s infinite;
}

.crypto-diamond {
  bottom: 10rem;
  left: 5rem;
  color: #06b6d4;
  animation: pulse 2s infinite;
}

.crypto-ada {
  bottom: 5rem;
  right: 2.5rem;
  color: #10b981;
  animation: bounce 2s infinite;
}

.chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.chart-fill {
  animation: pulse 3s infinite;
}

.chart-line {
  animation: pulse 3s infinite;
}

.matrix-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: linear-gradient(
    0deg,
    transparent 24%,
    rgba(32, 194, 14, 0.05) 25%,
    rgba(32, 194, 14, 0.05) 26%,
    transparent 27%,
    transparent 74%,
    rgba(32, 194, 14, 0.05) 75%,
    rgba(32, 194, 14, 0.05) 76%,
    transparent 77%,
    transparent
  );
  background-size: 50px 50px;
  animation: matrix-rain 20s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  backdrop-filter: blur(4px);
}

.zap-icon {
  margin-right: 0.5rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #93c5fd, #c4b5fd);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-highlight {
  color: #3b82f6;
}

.hero-description {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: #e5e7eb;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transform: translateY(0);
}

.btn:hover {
  transform: translateY(-2px) scale(1.05);
}

.btn-primary {
  background: linear-gradient(to right, #2563eb, #7c3aed);
  color: white;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(to right, #1d4ed8, #6d28d9);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  border: 2px solid rgba(59, 130, 246, 0.5);
  color: #93c5fd;
  background: rgba(17, 24, 39, 0.3);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

.btn-refresh {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-refresh:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
}

.refresh-icon {
  margin-right: 0.5rem;
  display: inline-block;
  animation: spin 2s linear infinite;
}

.arrow-icon {
  margin-left: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  backdrop-filter: blur(4px);
  background: rgba(17, 24, 39, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item:nth-child(1) .stat-number {
  color: #3b82f6;
}
.stat-item:nth-child(2) .stat-number {
  color: #8b5cf6;
}
.stat-item:nth-child(3) .stat-number {
  color: #06b6d4;
}

.stat-label {
  color: #d1d5db;
  font-size: 0.875rem;
}

/* Features Section */
.features-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.features-background {
  position: absolute;
  inset: 0;
}

.features-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #111827 0%, #374151 50%, #111827 100%);
}

.floating-crypto {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.float-crypto-1 {
  position: absolute;
  top: 2.5rem;
  left: 25%;
  font-size: 5rem;
  color: #3b82f6;
  animation: pulse 3s infinite;
}

.float-crypto-2 {
  position: absolute;
  bottom: 5rem;
  right: 25%;
  font-size: 4rem;
  color: #8b5cf6;
  animation: bounce 3s infinite;
}

.float-crypto-3 {
  position: absolute;
  top: 50%;
  left: 2.5rem;
  font-size: 3rem;
  color: #06b6d4;
  transform: rotate(12deg);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #ffffff, #d1d5db);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  font-size: 1.25rem;
  color: #9ca3af;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: rgba(31, 41, 55, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 0.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  opacity: 0.05;
}

.feature-card:nth-child(1)::before {
  content: "₿";
}
.feature-card:nth-child(2)::before {
  content: "Ξ";
}
.feature-card:nth-child(3)::before {
  content: "◊";
}
.feature-card:nth-child(4)::before {
  content: "₳";
}
.feature-card:nth-child(5)::before {
  content: "⟐";
}

.feature-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(75, 85, 99, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  backdrop-filter: blur(4px);
}

.feature-icon.blue {
  color: #3b82f6;
}
.feature-icon.purple {
  color: #8b5cf6;
}
.feature-icon.green {
  color: #10b981;
}
.feature-icon.cyan {
  color: #06b6d4;
}
.feature-icon.yellow {
  color: #f59e0b;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.feature-description {
  color: #9ca3af;
  line-height: 1.6;
}

/* Arbitrage Map Section */
.arbitrage-map-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  overflow: hidden;
}

.arbitrage-map-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.arbitrage-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 1.5rem;
  background: rgba(31, 41, 55, 0.5);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(75, 85, 99, 0.3);
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 150px;
}

.control-group label {
  font-size: 0.875rem;
  color: #d1d5db;
  font-weight: 500;
}

.control-select {
  padding: 0.5rem 1rem;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 0.5rem;
  color: #f9fafb;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.arbitrage-map-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .arbitrage-map-container {
    grid-template-columns: 1fr;
  }
}

.exchange-network {
  background: rgba(31, 41, 55, 0.6);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(75, 85, 99, 0.3);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.exchange-network::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.network-svg {
  width: 100%;
  height: 400px;
  position: relative;
  z-index: 1;
}

.exchange-node {
  cursor: pointer;
  transition: all 0.3s ease;
}

.exchange-node:hover {
  transform: scale(1.1);
}

.exchange-node circle {
  filter: url(#glow);
}

.exchange-text {
  fill: #f9fafb;
  font-size: 12px;
  font-weight: 600;
  text-anchor: middle;
  dominant-baseline: central;
}

.price-text {
  fill: #10b981;
  font-size: 10px;
  font-weight: 500;
  text-anchor: middle;
}

.arbitrage-line {
  stroke: url(#profitGradient);
  stroke-width: 2;
  stroke-dasharray: 5, 5;
  animation: dash 2s linear infinite;
}

.arbitrage-line.high-profit {
  stroke: #10b981;
  stroke-width: 3;
  filter: drop-shadow(0 0 6px #10b981);
}

.opportunities-panel {
  background: rgba(31, 41, 55, 0.6);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(75, 85, 99, 0.3);
  backdrop-filter: blur(8px);
  height: fit-content;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(75, 85, 99, 0.3);
}

.panel-header h3 {
  color: #f9fafb;
  font-size: 1.25rem;
  font-weight: 600;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #10b981;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.opportunities-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 350px;
  overflow-y: auto;
}

.opportunity-item {
  background: rgba(17, 24, 39, 0.6);
  border-radius: 0.5rem;
  padding: 1rem;
  border: 1px solid rgba(75, 85, 99, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.opportunity-item:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.opportunity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.opportunity-pair {
  font-weight: 600;
  color: #f9fafb;
  font-size: 0.875rem;
}

.opportunity-profit {
  font-weight: 700;
  font-size: 0.875rem;
}

.opportunity-profit.high {
  color: #10b981;
}

.opportunity-profit.medium {
  color: #f59e0b;
}

.opportunity-profit.low {
  color: #6b7280;
}

.opportunity-exchanges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #9ca3af;
}

.exchange-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.exchange-name {
  font-weight: 500;
}

.exchange-price {
  color: #3b82f6;
  font-weight: 600;
}

.arrow-right {
  color: #10b981;
  font-size: 1rem;
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: rgba(31, 41, 55, 0.6);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(75, 85, 99, 0.3);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.5);
}

.stat-card .stat-icon {
  font-size: 2rem;
  opacity: 0.8;
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* Why Choose AVA Bot Section */
.why-ava-bot-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #0f172a 50%, #1e293b 75%, #0f172a 100%);
}

.why-background {
  position: absolute;
  inset: 0;
}

.why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(17, 24, 39, 0.9) 0%,
    rgba(139, 92, 246, 0.1) 50%,
    rgba(59, 130, 246, 0.1) 100%
  );
}

.trading-elements {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.trading-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.candlestick {
  animation: candlestick-pulse 3s ease-in-out infinite;
}

.candlestick:nth-child(2) {
  animation-delay: 0.5s;
}
.candlestick:nth-child(3) {
  animation-delay: 1s;
}
.candlestick:nth-child(4) {
  animation-delay: 1.5s;
}
.candlestick:nth-child(5) {
  animation-delay: 2s;
}
.candlestick:nth-child(6) {
  animation-delay: 2.5s;
}

.floating-symbols {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.symbol-1 {
  position: absolute;
  top: 15%;
  right: 15%;
  font-size: 4rem;
  color: #3b82f6;
  transform: rotate(12deg);
  animation: float 8s ease-in-out infinite;
}

.symbol-2 {
  position: absolute;
  bottom: 20%;
  left: 10%;
  font-size: 3rem;
  color: #8b5cf6;
  transform: rotate(-15deg);
  animation: float 6s ease-in-out infinite reverse;
}

.symbol-3 {
  position: absolute;
  top: 40%;
  left: 20%;
  font-size: 2.5rem;
  color: #10b981;
  transform: rotate(25deg);
  animation: float 7s ease-in-out infinite;
  animation-delay: 1s;
}

.symbol-4 {
  position: absolute;
  bottom: 40%;
  right: 25%;
  font-size: 3.5rem;
  color: #06b6d4;
  transform: rotate(-20deg);
  animation: float 9s ease-in-out infinite;
  animation-delay: 2s;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
}

.benefit-card {
  background: rgba(31, 41, 55, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(75, 85, 99, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(59, 130, 246, 0.2);
}

.benefit-background {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  pointer-events: none;
}

.crypto-bg-1 {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #3b82f6;
  transform: rotate(15deg);
}

.crypto-bg-2 {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 1.5rem;
  color: #8b5cf6;
  transform: rotate(-10deg);
}

.benefit-content {
  position: relative;
  z-index: 1;
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.benefit-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, currentColor 0%, transparent 100%);
  opacity: 0.1;
}

.benefit-icon.green {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.benefit-icon.blue {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.benefit-icon.purple {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.benefit-icon.cyan {
  color: #06b6d4;
  background: rgba(6, 182, 212, 0.1);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.icon-symbol {
  position: relative;
  z-index: 1;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.benefit-description {
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.benefit-stats {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.benefit-stats .stat-item {
  text-align: center;
  flex: 1;
}

.benefit-stats .stat-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}

.benefit-stats .stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-section {
  background: rgba(31, 41, 55, 0.4);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(75, 85, 99, 0.3);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.trust-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.trust-header {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.trust-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.trust-item {
  text-align: center;
}

.trust-number {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.trust-label {
  font-size: 0.875rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* Animations */
@keyframes candlestick-pulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(var(--rotation, 0deg));
  }
  50% {
    transform: translateY(-20px) rotate(var(--rotation, 0deg));
  }
}

/* Responsive Design for Why Section */
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefit-card {
    padding: 1.5rem;
  }

  .trust-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .trust-section {
    padding: 2rem 1rem;
  }

  .floating-symbols {
    display: none;
  }
}

@media (max-width: 480px) {
  .trust-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefit-stats {
    flex-direction: column;
    gap: 0.5rem;
  }

  .benefit-stats .stat-item {
    text-align: left;
  }
}

/* Dashboard Section */
.dashboard-section {
  padding: 6rem 0;
  background: rgba(31, 41, 55, 0.5);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.dashboard-card {
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.dashboard-label {
  font-size: 0.875rem;
  color: #9ca3af;
}

.dashboard-icon {
  font-size: 1rem;
}

.dashboard-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.dashboard-value.green {
  color: #10b981;
}
.dashboard-value.blue {
  color: #3b82f6;
}
.dashboard-value.yellow {
  color: #f59e0b;
}

.dashboard-change {
  font-size: 0.75rem;
  color: #9ca3af;
}

.strategy-card {
  background: rgba(31, 41, 55, 0.8);
  border: 1px solid rgba(75, 85, 99, 0.5);
  border-radius: 0.75rem;
  padding: 2rem;
}

.strategy-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.strategy-icon {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

.strategy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid;
}

.badge-green {
  border-color: #10b981;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.badge-blue {
  border-color: #3b82f6;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.badge-red {
  border-color: #ef4444;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.map-label {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.map-visualization {
  height: 8rem;
  background: rgba(75, 85, 99, 0.5);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  position: relative;
  overflow: hidden;
}

.mini-arbitrage-map {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.mini-exchange {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.5rem;
  padding: 0.5rem;
  text-align: center;
  min-width: 80px;
}

.exchange-name {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.exchange-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
}

.arbitrage-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #10b981, transparent);
  transform: translateY(-50%);
}

.arbitrage-line.active {
  animation: pulse 2s infinite;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 1rem;
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  position: relative;
  color: white;
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-description {
  color: #9ca3af;
}

.modal-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #9ca3af;
  cursor: pointer;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: white;
}

.wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.wallet-btn {
  height: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #4b5563;
  background: transparent;
  color: white;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wallet-btn:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.wallet-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.wallet-name {
  font-size: 0.875rem;
}

.wallet-loading {
  text-align: center;
  padding: 2rem 0;
}

.loading-spinner {
  width: 3rem;
  height: 3rem;
  border: 3px solid #374151;
  border-top: 3px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.loading-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.loading-description {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

.btn-manual {
  border: 1px solid #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-manual:hover {
  background: rgba(245, 158, 11, 0.2);
}

.wallet-footer {
  text-align: center;
}

.wallet-footer-text {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.wallet-download-btn {
  background: none;
  border: none;
  color: #3b82f6;
  cursor: pointer;
  text-decoration: underline;
}

.wallet-download-btn:hover {
  color: #2563eb;
}

/* Footer */
.footer {
  background: #111827;
  border-top: 1px solid #374151;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {
  max-width: 400px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.footer-description {
  color: #9ca3af;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: #374151;
  border-radius: 0.5rem;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #4b5563;
  color: white;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-column-title {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #374151;
  text-align: center;
  color: #9ca3af;
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  40%,
  43% {
    transform: translate3d(0, -30px, 0);
  }
  70% {
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes matrix-rain {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 50px;
  }
}

@keyframes dash {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 10;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 6px;
  border: 2px solid #1f2937;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #2563eb 0%, #7c3aed 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    padding: 2rem 1rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .wallet-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .arbitrage-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .control-group {
    min-width: auto;
  }

  .market-stats {
    grid-template-columns: 1fr;
  }

  .opportunities-list {
    max-height: 250px;
  }
}

@media (max-width: 480px) {
  .arbitrage-map-container {
    gap: 1rem;
  }

  .exchange-network,
  .opportunities-panel {
    padding: 1rem;
  }

  .network-svg {
    height: 300px;
  }
}
