/* Learn Hub Page Styles */

.learn-hub {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}

/* Hub Header */
.hub-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.hub-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hub-header .subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Hub Sections */
.hub-section {
  margin-bottom: 64px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.section-header i {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.section-header h2 {
  font-size: 1.5rem;
  margin: 0;
}

.section-description {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
  text-align: center;
}

/* Hub Grid */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* Hub Cards */
.hub-card {
  display: flex;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}

.hub-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.hub-card.coming-soon {
  opacity: 0.6;
  pointer-events: none;
}

.hub-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.1));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-card-icon i {
  color: var(--primary);
  width: 24px;
  height: 24px;
}

.hub-card-content h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--fg);
}

.hub-card-content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.hub-card-meta {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.hub-card.coming-soon .hub-card-meta {
  color: var(--muted);
}

/* Hub CTA */
.hub-cta {
  background: linear-gradient(135deg, var(--card-bg), #000);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.hub-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at top, rgba(249, 115, 22, 0.15), transparent 60%);
  pointer-events: none;
}

.hub-cta h3 {
  position: relative;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.hub-cta p {
  position: relative;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 24px;
}

.hub-cta .app-store-badge {
  position: relative;
}

/* Responsive */
@media (max-width: 768px) {
  .learn-hub {
    padding-top: 100px;
  }

  .hub-header h1 {
    font-size: 2.25rem;
  }

  .hub-header .subtitle {
    font-size: 1.1rem;
  }

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

  .hub-card {
    flex-direction: column;
    gap: 16px;
  }

  .hub-cta {
    padding: 32px 20px;
  }
}
