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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  max-width: 1000px;
  width: 100%;
}

header {
  text-align: center;
  color: white;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

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

.app-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.app-card.disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.app-card.disabled:hover {
  transform: none;
  box-shadow: none;
}

.app-card .icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.app-card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #0078d4;
}

.app-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
}

.badge {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.badge.staff {
  background: #e1f0ff;
  color: #0078d4;
}

.badge.public {
  background: #e6f7e6;
  color: #107c10;
}

.badge.coming-soon {
  background: #fff4e5;
  color: #b45309;
}

.app-card.client {
  border: 2px solid #107c10;
}

footer {
  text-align: center;
  color: white;
  margin-top: 40px;
  opacity: 0.8;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .apps-grid {
    grid-template-columns: 1fr;
  }
}
