/* ApprenticePage.css - Main Apprentice Hub Styles */

/* Base Styles */
.apprentice-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #FEF9C3, #FACC15);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  color: #1F2937;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-title h1 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #713F12;
}

.page-title p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin: 0;
  color: #92400E;
  font-style: italic;
}

.header-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.3);
  padding: 1rem;
  border-radius: 8px;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: bold;
  color: #713F12;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
  text-align: center;
  color: #92400E;
}

/* Reality Check Section */
.reality-check-section {
  margin-bottom: 2rem;
}

.reality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.struggles-card,
.bright-side-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid #E5E7EB;
}

.struggles-card {
  border-left: 4px solid #EF4444;
}

.bright-side-card {
  border-left: 4px solid #10B981;
}

.reality-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.reality-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #F3F4F6;
  color: #4B5563;
}

/* Data Center Alert */
.data-center-alert {
  margin-bottom: 2rem;
}

.alert-banner {
  background: linear-gradient(135deg, #DBEAFE, #3B82F6);
  border-radius: 12px;
  padding: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.alert-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.alert-icon {
  font-size: 2rem;
  animation: pulse 2s infinite;
}

.alert-badge {
  margin-left: auto;
  background: #EF4444;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.875rem;
}

.data-center-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dc-facts {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
}

.dc-facts ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.dc-facts li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dc-info {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
}

.info-block {
  margin-bottom: 1rem;
}

.info-block strong {
  display: block;
  margin-bottom: 0.5rem;
}

/* Quick Links */
.quick-links-section {
  margin-bottom: 2rem;
}

.quick-links-section h2 {
  margin-bottom: 1rem;
  color: #1F2937;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #1F2937;
}

.quick-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #FACC15;
}

.quick-link.trades { border-left: 4px solid #3B82F6; }
.quick-link.alis { border-left: 4px solid #10B981; }
.quick-link.jobbank { border-left: 4px solid #F59E0B; }
.quick-link.reddit { border-left: 4px solid #8B5CF6; }

.link-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.link-content {
  display: flex;
  flex-direction: column;
}

.link-title {
  font-weight: 600;
  display: block;
}

.link-desc {
  font-size: 0.875rem;
  color: #6B7280;
}

/* Apprentice Sections */
.apprentice-sections {
  margin-bottom: 2rem;
}

.apprentice-sections h2 {
  margin-bottom: 1rem;
  color: #1F2937;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.section-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.section-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--section-color);
}

.section-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--section-color);
}

.section-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.section-card h3 {
  margin: 0 0 0.5rem 0;
  color: #1F2937;
}

.section-card p {
  margin: 0 0 1rem 0;
  color: #6B7280;
  font-size: 0.875rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.feature-list li {
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: #6B7280;
  position: relative;
  padding-left: 1.25rem;
}

.feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--section-color);
}

.section-arrow {
  color: var(--section-color);
  font-weight: bold;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}

/* Generation Gap Section */
.generation-gap-section {
  background: #F9FAFB;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.generation-gap-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1F2937;
}

.gap-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.your-reality,
.their-reality {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
}

.your-reality {
  border: 2px solid #EF4444;
}

.their-reality {
  border: 2px solid #10B981;
}

.vs-divider {
  font-size: 2rem;
  font-weight: bold;
  color: #6B7280;
}

.reality-stats {
  margin-top: 1rem;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #F3F4F6;
}

.stat-label {
  font-weight: 600;
  color: #4B5563;
}

.stat-value {
  color: #1F2937;
}

.gap-note {
  background: #FEF3C7;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
}

/* Hope Section */
.hope-section {
  margin-bottom: 2rem;
}

.hope-container {
  background: linear-gradient(135deg, #ECFDF5, #10B981);
  border-radius: 12px;
  padding: 2rem;
  color: white;
}

.hope-container h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.hope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.hope-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 1.5rem;
  color: #1F2937;
}

.hope-card h3 {
  margin: 0 0 1rem 0;
  color: #059669;
}

.hope-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hope-card li {
  padding: 0.25rem 0;
  color: #4B5563;
}

.hope-note {
  font-size: 0.875rem;
  font-style: italic;
  color: #6B7280;
  margin-top: 0.5rem;
}

/* Footer */
.apprentice-footer {
  background: #F3F4F6;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.motivation-box,
.resources-box {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
}

.motivation-box h3,
.resources-box h3 {
  margin: 0 0 1rem 0;
  color: #1F2937;
}

.motivation-box p {
  margin: 1rem 0;
  line-height: 1.6;
  color: #4B5563;
}

.resources-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resources-box li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #F3F4F6;
}

.resources-box a {
  color: #3B82F6;
  text-decoration: none;
}

.resources-box a:hover {
  text-decoration: underline;
}

.final-note {
  background: #FEF3C7;
  border: 2px solid #F59E0B;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}

/* Back Button */
.btn-back {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #713F12;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background: #FACC15;
  color: #713F12;
}

.btn-primary:hover {
  background: #FBBf24;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #6B7280;
  color: white;
}

.btn-secondary:hover {
  background: #4B5563;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  .page-title h1 {
    font-size: 2rem;
  }
  
  .header-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .reality-grid,
  .data-center-grid,
  .gap-comparison,
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .vs-divider {
    text-align: center;
    padding: 1rem 0;
  }
  
  .sections-grid {
    grid-template-columns: 1fr;
  }
}