/* ============================================
   pages.css — Page-specific overrides
   Warraq · Anthropic brand aesthetic
   ============================================ */

/* --- Landing Page (index.html) --- */
.landing-title {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-text-primary);
  text-align: center;
  margin-bottom: 4px;
  position: relative;
}

.landing-tagline {
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.landing-desc {
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- MCQ Page (mcq.html) --- */
.mcq-page .app {
  padding-top: 1rem;
}

/* --- Flashcard Page (flashcards.html) --- */
.flashcard-page .app {
  padding-top: 1rem;
}

.flashcard-page .fc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
  align-items: center;
}

.flashcard-page .fc-filters select {
  font-size: 13px;
  font-family: var(--font-heading);
  padding: 6px 10px;
  border-radius: var(--border-radius-md);
  height: 34px;
  border: 1px solid var(--color-border-secondary);
  background: var(--color-background-primary);
  color: var(--color-text-primary);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%23b0aea5' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.flashcard-page .fc-filters select:hover {
  border-color: var(--anthropic-blue);
}

.flashcard-page .fc-filters select:focus {
  outline: none;
  border-color: var(--anthropic-blue);
  box-shadow: 0 0 0 2px rgba(55,138,221,0.2);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 480px) {
  .app {
    padding: 1rem 0.75rem;
  }

  .landing-title {
    font-size: 28px;
  }

  .home-title {
    font-size: 24px;
  }

  .stat-card {
    min-width: 80px;
    padding: 8px 12px;
  }

  .stat-card .val {
    font-size: 18px;
  }

  .q-card {
    padding: 1rem;
  }

  .subject-card {
    padding: 1rem;
  }

  .flashcard {
    min-height: 280px;
  }

  .warraq-bubble {
    max-width: 280px;
  }
}