/* ========================================
   Tutorial Page Styles
   ======================================== */

/* Breadcrumb */
.breadcrumb {
  margin-top: var(--header-height);
  padding: 16px 32px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 500;
}

/* Tutorial Page Layout */
.tutorial-page {
  max-width: 800px;
  padding: 40px 32px 80px;
}

.tutorial-article {
  animation: fadeInUp 0.5s ease-out;
}

/* Tutorial Header */
.tutorial-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.tutorial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.tutorial-phase {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  background: rgba(0, 184, 148, 0.1);
  border-radius: var(--radius-sm);
}

.tutorial-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.tutorial-status.completed {
  color: var(--accent);
  background: rgba(0, 184, 148, 0.1);
}

.tutorial-status.pending {
  color: var(--accent-secondary);
  background: rgba(196, 155, 39, 0.1);
}

.tutorial-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.tutorial-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Notice Box */
.notice-box {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.notice-box.important {
  background: rgba(0, 184, 148, 0.08);
  border: 1px solid rgba(0, 184, 148, 0.2);
  border-left: 4px solid var(--accent);
}

.notice-box.warning {
  background: rgba(196, 155, 39, 0.08);
  border: 1px solid rgba(196, 155, 39, 0.2);
  border-left: 4px solid var(--accent-secondary);
}

.notice-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.notice-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.notice-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 4px 0;
  line-height: 1.6;
}

/* Tutorial Sections */
.tutorial-section {
  margin-bottom: 40px;
}

.tutorial-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
}

.tutorial-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.tutorial-section .highlight-text {
  padding: 16px 20px;
  background: var(--border-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* Info Card */
.info-card {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.info-card-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.info-card-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.info-card-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Entry Grid */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.entry-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.entry-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.entry-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.entry-card.required .entry-badge {
  color: #fff;
  background: var(--accent);
}

.entry-card.common .entry-badge {
  color: var(--accent);
  background: rgba(0, 184, 148, 0.15);
}

.entry-card.advanced .entry-badge {
  color: var(--accent-secondary);
  background: rgba(196, 155, 39, 0.15);
}

.entry-card.auxiliary .entry-badge {
  color: var(--text-secondary);
  background: var(--border-light);
}

.entry-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.entry-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Task Checklist */
.tasks-section {
  background: var(--bg-card);
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.task-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}

.task-item:hover {
  border-color: var(--accent);
  background: var(--border-light);
}

.task-item input {
  display: none;
}

.task-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.task-item input:checked + .task-checkbox {
  background: var(--accent);
  border-color: var(--accent);
}

.task-item input:checked + .task-checkbox::after {
  content: '✓';
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.task-item input:checked ~ .task-text {
  text-decoration: line-through;
  opacity: 0.6;
}

.task-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  flex: 1;
}

/* Tutorial Navigation */
.tutorial-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.tutorial-nav a {
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
}

.tutorial-nav a:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.nav-prev {
  text-align: left;
}

.nav-next {
  text-align: right;
  margin-left: auto;
}

.nav-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.nav-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Tool Cards */
.tool-cards {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.tool-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.tool-card.recommended {
  border-left: 4px solid var(--accent);
}

.tool-card.not-recommended {
  opacity: 0.7;
  border-left: 4px solid var(--text-muted);
}

.tool-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.tool-badge.beginner {
  color: var(--accent);
  background: rgba(0, 184, 148, 0.15);
}

.tool-badge.strong {
  color: #fff;
  background: var(--accent);
}

.tool-badge.not-recommended {
  color: var(--text-muted);
  background: var(--border-light);
}

.tool-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.tool-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Project Cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.project-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.project-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.project-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  display: inline-block;
}

.project-card.recommended .project-badge {
  color: #fff;
  background: var(--accent);
}

.project-card.lightweight .project-badge {
  color: var(--accent-secondary);
  background: rgba(196, 155, 39, 0.15);
}

.project-card.practical .project-badge {
  color: var(--text-secondary);
  background: var(--border-light);
}

.project-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.project-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Comparison Table */
.comparison-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.comparison-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.comparison-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.comparison-value {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Coming Soon */
.coming-soon {
  text-align: center;
  padding: 60px 40px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.coming-soon h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  border: none;
  padding: 0;
}

.coming-soon p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.coming-soon .notify-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: all var(--transition);
}

.coming-soon .notify-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Responsive */
@media (max-width: 768px) {
  .breadcrumb {
    padding: 12px 16px;
    font-size: 0.8rem;
  }
  
  .tutorial-page {
    padding: 24px 16px 60px;
  }
  
  .tutorial-title {
    font-size: 1.6rem;
  }
  
  .entry-grid {
    grid-template-columns: 1fr;
  }
  
  .tutorial-nav {
    flex-direction: column;
  }
  
  .nav-next {
    margin-left: 0;
  }
  
  .comparison-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
