:root {
  --primary: #6d28d9;
  --secondary: #7c3aed;
  --accent: #a78bfa;
  --light: #f3f0ff;
  --border: #ede9fe;
  --success: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 6px rgba(109, 40, 217, 0.2);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #a78bfa;
  color: #1f2937;
  font-weight: 700;
}

.btn-primary:hover {
  background: #c4b5fd;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(167, 139, 250, 0.3);
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: #a78bfa;
  box-shadow: 0 12px 24px rgba(167, 139, 250, 0.12);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
}

.roles {
  background: linear-gradient(135deg, #f3f0ff 0%, #ede9fe 100%);
  padding: 6rem 2rem;
}

.roles-container {
  max-width: 1200px;
  margin: 0 auto;
}

.roles h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.roles-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.role-card {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.role-card:hover {
  border-color: #a78bfa;
  box-shadow: 0 16px 32px rgba(167, 139, 250, 0.2);
  transform: translateY(-6px);
}

.role-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.role-card h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.role-features {
  text-align: left;
  margin-bottom: 2rem;
}

.role-features li {
  list-style: none;
  padding: 0.5rem 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.role-features li:before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
  margin-right: 0.8rem;
  font-size: 1.2rem;
}

.cta-section {
  background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  background: #6d28d9;
  color: #ddd6fe;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .features, .roles-container {
    padding: 3rem 1.5rem;
  }

  .roles h2 {
    font-size: 2rem;
  }

  .role-card {
    padding: 2rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}
