:root {
  --primary: #1a1a2e;
  --secondary: #4ecca3;
  --background: #121212;
  --footer-bg: #0a0a0a;
  --button: #4ecca3;
  --section-1: #1a1a2e;
  --section-2: #16213e;
  --section-3: #0f3460;
  --text-light: rgba(255, 255, 255, 0.9);
  --text-muted: rgba(255, 255, 255, 0.6);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  background-color: var(--background);
  color: var(--text-light);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: white;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 65ch;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: white;
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 0.375rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--button);
  color: var(--primary);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(78, 204, 163, 0.2);
}

.section {
  padding: 5rem 1.5rem;
}

.section-bg-1 {
  background-color: var(--section-1);
}

.section-bg-2 {
  background-color: var(--section-2);
}

.section-bg-3 {
  background-color: var(--section-3);
}

.card {
  background: rgba(26, 26, 46, 0.5);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(78, 204, 163, 0.3);
}

footer {
  background-color: var(--footer-bg);
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  z-index: 100;
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
}

@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 7rem 2rem;
  }
}

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

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}