/* Can't Stop Coding Component Styles */
/* Reusable UI components for the Can't Stop Coding platform */

/* Navigation */
.navbar {
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  font-size: 1.25rem;
  color: hsl(var(--foreground));
  text-decoration: none;
}

.brand-link:hover {
  color: hsl(var(--primary));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav-link {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: hsl(var(--foreground));
  transition: all 0.3s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover:not(:disabled) {
  background: hsl(var(--primary) / 0.9);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: 1px solid hsl(var(--border));
}

.btn-secondary:hover:not(:disabled) {
  background: hsl(var(--accent));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--primary));
}

.btn-outline:hover:not(:disabled) {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-foreground));
}

.btn-ghost:hover:not(:disabled) {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1rem;
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.75rem;
}

/* Cards */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  padding: var(--spacing-lg);
  border-bottom: 1px solid hsl(var(--border));
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.card-description {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.card-content {
  padding: var(--spacing-lg);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  color: hsl(var(--foreground));
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-mono);
}

.form-error {
  color: hsl(var(--destructive));
  font-size: 0.75rem;
  margin-top: var(--spacing-xs);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid transparent;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.badge-default {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.badge-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.badge-success {
  background: #22c55e;
  color: white;
}

.badge-warning {
  background: #eab308;
  color: white;
}

.badge-destructive {
  background: hsl(var(--destructive));
  color: hsl(var(--destructive-foreground));
}

.badge-outline {
  background: transparent;
  color: hsl(var(--muted-foreground));
  border-color: hsl(var(--border));
}

/* Progress */
.progress-bar {
  width: 100%;
  height: 8px;
  background: hsl(var(--muted));
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: hsl(var(--primary));
  transition: width 0.5s ease;
  border-radius: 4px;
}

.progress-fill.good {
  background: #22c55e;
}

.progress-fill.medium {
  background: #eab308;
}

.progress-fill.poor {
  background: #ef4444;
}

/* Hero Section */
.hero {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, hsl(var(--background)) 0%, hsl(var(--muted)) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, hsl(var(--primary) / 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, hsl(var(--primary) / 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, hsl(var(--foreground)) 0%, hsl(var(--primary)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.code-preview {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 600px;
  width: 100%;
}

.code-header {
  background: hsl(var(--muted));
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  border-bottom: 1px solid hsl(var(--border));
}

.code-dots {
  display: flex;
  gap: var(--spacing-xs);
}

.code-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: hsl(var(--muted-foreground) / 0.3);
}

.code-dots span:nth-child(1) { background: #ef4444; }
.code-dots span:nth-child(2) { background: #eab308; }
.code-dots span:nth-child(3) { background: #22c55e; }

.code-title {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.code-content {
  padding: var(--spacing-lg);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
}

.code-line {
  margin-bottom: var(--spacing-xs);
}

.code-keyword { color: #c678dd; }
.code-variable { color: #e06c75; }
.code-string { color: #98c379; }
.code-function { color: #61dafb; }

/* Sections */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-2xl);
  color: hsl(var(--foreground));
}

/* How It Works */
.how-it-works {
  padding: var(--spacing-2xl) 0;
  background: hsl(var(--background));
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  padding: var(--spacing-xl);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 60px;
  height: 60px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--spacing-lg);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: hsl(var(--foreground));
}

.step-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Value Props */
.value-props {
  padding: var(--spacing-2xl) 0;
  background: hsl(var(--muted) / 0.3);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  max-width: 1000px;
  margin: 0 auto;
}

.value-card {
  text-align: center;
  padding: var(--spacing-xl);
}

.value-icon {
  width: 64px;
  height: 64px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: hsl(var(--foreground));
}

.value-description {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Featured Modules */
.featured-modules {
  padding: var(--spacing-2xl) 0;
  background: hsl(var(--background));
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.module-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  position: relative;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.module-card.featured {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 1px hsl(var(--primary) / 0.2);
}

.module-card.featured::before {
  content: 'Featured';
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 600;
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-md);
}

.module-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.module-duration {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.module-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.module-topics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.topic-tag {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.module-btn {
  width: 100%;
}

/* Continue Learning */
.continue-learning {
  padding: var(--spacing-2xl) 0;
  background: hsl(var(--muted) / 0.3);
}

.continue-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.progress-summary {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.streak-info,
.xp-info {
  text-align: center;
  padding: var(--spacing-lg);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.streak-number,
.xp-number {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin-bottom: var(--spacing-xs);
}

.streak-label,
.xp-label {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
}

.next-step {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
}

.next-step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: hsl(var(--foreground));
}

.quick-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.quick-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.quick-link:hover {
  background: hsl(var(--accent));
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-2xl);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-links a {
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: hsl(var(--foreground));
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Additional Components */

/* Page Headers */
.page-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: hsl(var(--foreground));
}

.page-description {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  max-width: 600px;
  margin: 0 auto;
}

/* Filters */
.filters-section {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  color: hsl(var(--foreground));
}

/* Resources Grid */
.resources-section {
  margin-bottom: var(--spacing-2xl);
}

.resources-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.resources-count {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.resource-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.resource-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.resource-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-xs);
}

.resource-duration {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.resource-summary {
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.resource-level {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.resource-format {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.resource-topics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
}

.resource-actions {
  display: flex;
  gap: var(--spacing-sm);
}

/* Paths */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-xl);
}

.path-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.path-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.path-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-xs);
}

.path-duration {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
}

.path-summary {
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.path-actions {
  display: flex;
  gap: var(--spacing-sm);
}

/* Path Steps */
.path-steps-section {
  margin-bottom: var(--spacing-2xl);
}

.path-steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.path-step-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.path-step-card.DONE {
  border-color: #22c55e;
  background: hsl(142 76% 36% / 0.05);
}

.path-step-card.IN_PROGRESS {
  border-color: #eab308;
  background: hsl(45 93% 47% / 0.05);
}

.step-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.step-number {
  width: 40px;
  height: 40px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-info {
  flex: 1;
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-xs);
}

.step-resource {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.step-status {
  flex-shrink: 0;
}

.status-badge {
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: calc(var(--radius) - 4px);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-badge.NOT_STARTED {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}

.status-badge.IN_PROGRESS {
  background: #eab308;
  color: white;
}

.status-badge.DONE {
  background: #22c55e;
  color: white;
}

.step-challenge {
  background: hsl(var(--muted) / 0.5);
  border-radius: calc(var(--radius) - 2px);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.step-challenge h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-xs);
}

.step-challenge p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin: 0;
}

.step-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* Tools */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--spacing-xl);
}

.tool-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tool-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.tool-icon {
  width: 48px;
  height: 48px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
}

.tool-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
}

.tool-form {
  margin-bottom: var(--spacing-lg);
}

.tool-response {
  background: hsl(var(--muted) / 0.3);
  border-radius: calc(var(--radius) - 2px);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  display: none;
}

.tool-response.show {
  display: block;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--spacing-lg);
}

.project-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.project-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-xs);
}

.project-actions {
  display: flex;
  gap: var(--spacing-xs);
}

.project-goal {
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.project-repo {
  color: hsl(var(--primary));
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
  display: inline-block;
}

.project-milestones {
  margin-top: var(--spacing-md);
}

.project-milestones h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-sm);
}

.project-milestones ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-milestones li {
  padding: var(--spacing-xs) 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  position: relative;
  padding-left: var(--spacing-lg);
}

.project-milestones li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: hsl(var(--primary));
}

/* Dashboard */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.dashboard-title {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-xs);
}

.dashboard-subtitle {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
}

.dashboard-actions {
  display: flex;
  gap: var(--spacing-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.stat-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 500;
}

.dashboard-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xl);
}

.dashboard-section {
  margin-bottom: var(--spacing-xl);
}

.next-steps-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
}

.next-step-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-sm);
}

.next-step-item p {
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--spacing-lg);
}

.next-step-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.activity-feed {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid hsl(var(--border));
}

.activity-item:last-child {
  border-bottom: none;
}

.activity-icon {
  width: 32px;
  height: 32px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-content {
  flex: 1;
}

.activity-content p {
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-xs);
}

.activity-time {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
}

.projects-preview {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

.quick-action-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  text-align: center;
}

.quick-action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.quick-action-icon {
  width: 48px;
  height: 48px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.quick-action-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-xs);
}

.quick-action-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin: 0;
}

/* Auth Pages */
.auth-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) 0;
}

.auth-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-width: 800px;
  width: 100%;
  overflow: hidden;
}

.auth-header {
  text-align: center;
  padding: var(--spacing-2xl);
  background: linear-gradient(135deg, hsl(var(--primary) / 0.1) 0%, hsl(var(--primary) / 0.05) 100%);
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-sm);
}

.auth-subtitle {
  color: hsl(var(--muted-foreground));
  font-size: 1.125rem;
}

.auth-content {
  padding: var(--spacing-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

.auth-benefits h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-lg);
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) 0;
  color: hsl(var(--muted-foreground));
}

.benefits-list svg {
  color: hsl(var(--primary));
  flex-shrink: 0;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.auth-divider {
  text-align: center;
  position: relative;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: hsl(var(--border));
}

.auth-divider span {
  background: hsl(var(--card));
  padding: 0 var(--spacing-md);
  position: relative;
}

.auth-footer {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid hsl(var(--border));
}

.auth-footer p {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  margin: 0;
}

.auth-footer a {
  color: hsl(var(--primary));
  text-decoration: none;
}

.auth-callback-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) 0;
}

.auth-callback-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-2xl);
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.callback-icon {
  color: hsl(var(--primary));
  margin-bottom: var(--spacing-lg);
}

.callback-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: var(--spacing-sm);
}

.callback-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--spacing-lg);
}

.callback-progress {
  margin-top: var(--spacing-lg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .continue-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .progress-summary {
    flex-direction: row;
    justify-content: space-around;
  }
  
  .quick-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dashboard-content {
    grid-template-columns: 1fr;
  }

  .auth-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
  }
  
  .modules-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .module-card {
    padding: var(--spacing-lg);
  }
  
  .continue-content {
    gap: var(--spacing-md);
  }
  
  .progress-summary {
    flex-direction: column;
  }
}
