:root {
  --primary-color: #3b82f6;
  --secondary-color: #60a5fa;
  --dark-bg: #111827;
  --darker-bg: #030712;
  --card-bg: #1f2937;
  --text-color: #e5e7eb;
  --text-muted: #9ca3af;
  --border-color: rgba(59, 130, 246, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--darker-bg);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  animation: scaleIn 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  animation: slideUp 0.8s ease-out 0.4s both;
}

.cta-button {
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: var(--primary-color);
  color: white;
  border: none;
}

.cta-button.primary:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.cta-button.primary:active {
  transform: translateY(-1px);
}

.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.finance-particle {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.15;
  animation: float 20s linear infinite;
}

/* Different finance symbols */
.finance-particle:nth-child(3n+1)::before { content: '$'; }
.finance-particle:nth-child(3n+2)::before { content: '₿'; }
.finance-particle:nth-child(3n+3)::before { content: '€'; }

/* Particle positioning and timing */
.finance-particle:nth-child(1) { left: 5%; animation-delay: 0s; }
.finance-particle:nth-child(2) { left: 15%; animation-delay: -2s; }
.finance-particle:nth-child(3) { left: 25%; animation-delay: -4s; }
.finance-particle:nth-child(4) { left: 35%; animation-delay: -6s; }
.finance-particle:nth-child(5) { left: 45%; animation-delay: -8s; }
.finance-particle:nth-child(6) { left: 55%; animation-delay: -10s; }
.finance-particle:nth-child(7) { left: 65%; animation-delay: -12s; }
.finance-particle:nth-child(8) { left: 75%; animation-delay: -14s; }
.finance-particle:nth-child(9) { left: 85%; animation-delay: -16s; }
.finance-particle:nth-child(10) { left: 95%; animation-delay: -18s; }

/* Animations */
@keyframes float {
  0% {
    top: 110%;
    transform: translateX(-50%) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.15;
  }
  90% {
    opacity: 0.15;
  }
  100% {
    top: -10%;
    transform: translateX(50%) rotate(360deg);
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Theme toggle button */
.theme-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.75rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.theme-toggle:hover {
  background: var(--primary-color);
  transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .theme-toggle {
    top: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }

  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
  }
}