/* ===================================
   PAGE-SPECIFIC STYLES
   =================================== */

/* ===== HOME PAGE ===== */

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #4f46e5 0%, #6b21a8 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: floatSlow 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-primary);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  color: white;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-lg);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  color: white;
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

.hero-illustration {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
  text-align: center;
  padding: var(--space-lg);
}

.hero-illustration img {
  max-width: 400px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

[data-theme="dark"] .hero-illustration img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-extrabold);
  color: white;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.9);
}

/* Features Section */
.features {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.feature-card {
  text-align: center;
}

/* Stats Banner */
.stats-banner {
  padding: var(--space-4xl) 0;
  background: var(--gradient-dark);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
  text-align: center;
}

.stats-item {
  padding: var(--space-lg);
}

.stats-number {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  color: white;
  display: block;
  margin-bottom: var(--space-xs);
}

.stats-text {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials */
.testimonials {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

[data-theme="dark"] .testimonials {
  background: var(--bg-secondary);
}

.testimonial-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  height: 100%;
}

[data-theme="dark"] .testimonial-card {
  background: var(--gray-800);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-avatar svg {
  width: 28px;
  height: 28px;
  color: white;
}

.testimonial-info h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin: 0 0 var(--space-xs) 0;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: var(--font-size-base);
  display: flex;
  gap: 2px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
}

.testimonial-text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* CTA Section */
.cta {
  padding: var(--space-4xl) 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.cta-description {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2xl);
  opacity: 0.95;
}

/* Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-30px) translateX(30px);
  }
}

/* ==================== ROLE SELECTION ==================== */
.role-selection {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary);
}

.role-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.role-option {
  cursor: pointer;
}

.role-option input[type="radio"] {
  display: none;
}

.role-card {
  padding: 1.5rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
  background: var(--bg-primary);
}

.role-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.role-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.role-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.role-option input[type="radio"]:checked + .role-card {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
  transform: scale(1.05);
}

.role-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .role-options {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0 80px;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-lg);
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stats {
    gap: var(--space-lg);
  }

  .cta-title {
    font-size: var(--font-size-3xl);
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }
}




