/* ═══════════════════════════════════════
   SUBPAGE STYLES — Pilot Partner Portal
   ═══════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--gray-999);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.breadcrumb a {
  color: var(--purple-primary);
  transition: opacity 0.2s;
}
.breadcrumb a:hover { opacity: 0.7; }
.breadcrumb span:last-child { color: var(--pilot-black); }

/* Page Header */
.page-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  border-radius: 16px;
  margin-bottom: 2rem;
}
.page-header--purple { background: linear-gradient(135deg, var(--pilot-dark-purple), var(--purple-deep)); }
.page-header--cyan   { background: linear-gradient(135deg, #1a3a4a, #2a5a6a); }
.page-header--gold   { background: linear-gradient(135deg, #4a3a00, #6a5a10); }
.page-header--pink   { background: linear-gradient(135deg, #4a1a4f, #6a2a6f); }

.page-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.9);
}

.page-title {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.375rem;
}
.page-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
  max-width: 600px;
}

/* Page Body */
.page-body {
  max-width: 820px;
}

.content-section {
  margin-bottom: 2.5rem;
}

.content-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--pilot-dark-purple);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.content-section p {
  color: var(--pilot-black);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.content-section ul,
.content-section ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.content-section li {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--pilot-black);
  margin-bottom: 0.375rem;
}
.content-section li strong {
  color: var(--pilot-dark-purple);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 1.25rem;
}
.feature-card h3 {
  font-size: 0.9375rem;
  color: var(--pilot-dark-purple);
  margin-bottom: 0.25rem;
}
.feature-card p {
  font-size: 0.8125rem;
  color: var(--gray-dark);
  line-height: 1.6;
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.feature-icon--purple { background: var(--pale-periwinkle); color: var(--purple-primary); }
.feature-icon--cyan   { background: var(--color-trust);     color: var(--purple-deep); }
.feature-icon--gold   { background: var(--color-access);    color: #967000; }
.feature-icon--pink   { background: var(--color-clarity);   color: #9b3aa5; }

/* Highlight List */
.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.highlight-item:hover {
  border-color: rgba(89, 49, 220, 0.2);
}
.highlight-marker {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-primary);
  background: var(--pale-periwinkle);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight-item h3 {
  font-size: 0.9375rem;
  color: var(--pilot-dark-purple);
  margin-bottom: 0.125rem;
}
.highlight-item p {
  font-size: 0.8125rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin: 0;
}

/* Steps */
.steps-list {
  counter-reset: step;
}
.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}
.step-item:hover { border-color: rgba(89, 49, 220, 0.2); }
.step-number {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--purple-primary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-item h3 {
  font-size: 0.9375rem;
  color: var(--pilot-dark-purple);
  margin-bottom: 0.125rem;
}
.step-item p {
  font-size: 0.8125rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin: 0;
}

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(89, 49, 220, 0.2); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--pilot-dark-purple);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
}
.faq-question .faq-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
  color: var(--gray-999);
}
.faq-item.open .faq-question .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.25rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-dark);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* Email Template blocks */
.template-block {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}
.template-header {
  padding: 1rem 1.25rem;
  background: var(--pale-periwinkle);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--pilot-dark-purple);
}
.template-body {
  padding: 1.25rem;
  font-size: 0.875rem;
  color: var(--pilot-black);
  line-height: 1.8;
  white-space: pre-line;
}
.template-body .subject-line {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--purple-primary);
  background: rgba(89, 49, 220, 0.06);
  padding: 6px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* Info cards row */
.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  padding: 1.25rem;
}
.info-card h3 {
  font-size: 0.875rem;
  color: var(--pilot-dark-purple);
  margin-bottom: 0.25rem;
}
.info-card p {
  font-size: 0.8125rem;
  color: var(--gray-dark);
  line-height: 1.6;
  margin: 0;
}

/* Talk track callout */
.callout {
  background: var(--pale-periwinkle);
  border-left: 3px solid var(--purple-primary);
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.callout p {
  font-size: 0.9375rem;
  color: var(--pilot-dark-purple);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .page-header { flex-direction: column; padding: 1.5rem; border-radius: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; }
}
