/* AI Jumpstart — Custom Styles */

/* ── Callout boxes for platform-specific content ── */
.platform-claude,
.platform-chatgpt,
.platform-gemini {
  border-left: 4px solid;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  border-radius: 0 6px 6px 0;
  background: var(--bs-body-bg);
}

.platform-claude {
  border-left-color: #d97706;
}

.platform-chatgpt {
  border-left-color: #10a37f;
}

.platform-gemini {
  border-left-color: #4285f4;
}

.platform-claude::before,
.platform-chatgpt::before,
.platform-gemini::before {
  font-weight: 700;
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platform-claude::before {
  content: "Claude";
  color: #d97706;
}

.platform-chatgpt::before {
  content: "ChatGPT";
  color: #10a37f;
}

.platform-gemini::before {
  content: "Gemini";
  color: #4285f4;
}

/* ── Time estimate badges ── */
.time-estimate {
  display: inline-block;
  background: var(--bs-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ── Prompt boxes — the star of the show ── */
.prompt-box {
  background: #1e1e2e;
  color: #cdd6f4;
  border: 1px solid #45475a;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-family: 'Fira Code', 'Cascadia Code', 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
  white-space: pre-wrap;
}

.prompt-box .placeholder {
  color: #f38ba8;
  font-style: italic;
}

.prompt-box::before {
  content: "Prompt — copy and customize";
  display: block;
  font-family: var(--bs-body-font-family);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a6adc8;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #45475a;
}

/* ── Follow-up prompt styling ── */
.followup-box {
  background: #1e1e2e;
  color: #cdd6f4;
  border: 1px solid #585b70;
  border-left: 4px solid #89b4fa;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
  font-family: 'Fira Code', 'Cascadia Code', 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
  white-space: pre-wrap;
}

.followup-box::before {
  content: "Follow-up prompt";
  display: block;
  font-family: var(--bs-body-font-family);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #89b4fa;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #45475a;
}

/* ── "What to notice" highlight boxes ── */
.notice-box {
  background: rgba(166, 227, 161, 0.08);
  border: 1px solid rgba(166, 227, 161, 0.25);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.notice-box::before {
  content: "👀 What to notice";
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #a6e3a1;
}

/* ── Try-it-yourself boxes ── */
.try-it {
  background: rgba(250, 179, 135, 0.08);
  border: 1px solid rgba(250, 179, 135, 0.25);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.try-it::before {
  content: "🎯 Your turn";
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #fab387;
}

/* ── Module overview cards on homepage ── */
.module-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.module-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.module-card h3 {
  margin-top: 0;
}

.module-card .module-time {
  font-size: 0.85rem;
  color: var(--bs-secondary);
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
  .prompt-box,
  .followup-box {
    font-size: 0.8rem;
    padding: 0.75rem 1rem;
  }
}
