/* ============================================================
   PAGE-LEVEL STYLES (courses, mentorship, pricing, about, contact, dashboard)
   ============================================================ */

.page-hero {
  padding-top: 96px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.page-hero-stats > div { display: flex; align-items: baseline; }
@media (max-width: 720px) { .page-hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* —— COURSES —— */
.phase-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.phase-card {
  padding: 48px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}
.phase-card:last-child { border-bottom: 0; }
.phase-card:hover { background: var(--bg-2); }
.phase-num {
  font-size: 56px;
  letter-spacing: -0.04em;
  color: var(--acc);
  font-weight: 300;
  display: inline-block;
  width: 88px;
}
.phase-modules {
  margin-top: 32px;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.phase-modules li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.phase-modules li:nth-child(odd) { padding-right: 24px; }
.phase-modules li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.phase-modules li:nth-last-child(-n+2) { border-bottom: 0; }

@media (max-width: 720px) {
  .phase-card { padding: 28px; }
  .phase-num { font-size: 36px; width: 56px; }
  .phase-modules { grid-template-columns: 1fr; }
  .phase-modules li:nth-child(even) { padding-left: 0; border-left: 0; }
  .phase-modules li:nth-child(odd) { padding-right: 0; }
}

/* —— MENTORSHIP —— */
.mentor-card-stack { position: relative; display: grid; gap: 16px; }
.mentor-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 24px;
  box-shadow: var(--shadow-1);
}
.mentor-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.feat-card {
  padding: 32px;
  background: var(--bg-1);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feat-card:nth-child(3n) { border-right: 0; }
.feat-card:nth-last-child(-n+3) { border-bottom: 0; }
@media (max-width: 900px) {
  .mentor-feats { grid-template-columns: 1fr; }
  .feat-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .feat-card:last-child { border-bottom: 0; }
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step {
  padding: 32px;
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* —— PRICING —— */
.pricing-toggle {
  display: inline-flex;
  margin-top: 40px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-1);
}
.pricing-toggle button {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.18s var(--ease);
}
.pricing-toggle button.active {
  background: var(--bg-3);
  color: var(--ink-0);
}
.save-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--acc-bg);
  color: var(--acc);
  letter-spacing: 0.08em;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price-card {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: linear-gradient(180deg, oklch(20% 0.02 145), var(--bg-1));
  border-color: var(--acc-line);
  box-shadow: 0 0 0 1px var(--acc-line), 0 24px 60px -20px oklch(78% 0.18 145 / 0.15);
}
.featured-tag {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--acc);
  color: oklch(15% 0.012 240);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.price-amount { display: flex; align-items: baseline; margin-top: 24px; }
.price-currency { font-size: 24px; color: var(--ink-2); }
.price-num { font-size: 72px; color: var(--ink-0); letter-spacing: -0.04em; line-height: 1; }
.price-per { font-size: 16px; color: var(--ink-3); margin-left: 4px; }
.feat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feat-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-1);
}
.feat-list li.excl { color: var(--ink-3); }
.feat-list .check {
  font-family: var(--font-mono);
  color: var(--acc);
  width: 16px;
  flex-shrink: 0;
}
.feat-list li.excl .check { color: var(--ink-4); }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.compare-block {
  padding: 32px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}

/* —— ABOUT —— */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.principle {
  padding: 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .principles { grid-template-columns: 1fr; } }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .team-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid-4 { grid-template-columns: 1fr; } }
.team-card {}
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  overflow: hidden;
}
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 12px,
    oklch(100% 0 0 / 0.02) 12px,
    oklch(100% 0 0 / 0.02) 24px
  );
}
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* —— CONTACT —— */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-aside { display: grid; gap: 32px; align-content: start; }
.contact-block {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.contact-block:last-child { border-bottom: 0; }
.office {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.office:first-of-type { border-top: 0; padding-top: 0; }

.book-call-card {
  background: linear-gradient(180deg, oklch(20% 0.02 145), var(--bg-1));
  border: 1px solid var(--acc-line);
  border-radius: var(--r-3);
  padding: 32px;
  box-shadow: 0 0 0 1px var(--acc-line), 0 24px 60px -20px oklch(78% 0.18 145 / 0.15);
}
.book-call-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.book-call-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-left: 0;
  font-size: 15px;
  color: var(--ink-1);
}
.book-call-list li::before {
  content: "→";
  color: var(--acc);
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.contact-form-wrap {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 40px;
}
.contact-form { display: grid; gap: 24px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: grid; gap: 10px; }
.field input, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  padding: 14px 16px;
  font: inherit;
  color: var(--ink-0);
  transition: border-color 0.18s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--acc);
}
.field textarea { resize: vertical; min-height: 120px; }
.topic-row { display: flex; gap: 8px; flex-wrap: wrap; }
.topic-btn {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  transition: all 0.18s var(--ease);
}
.topic-btn:hover { color: var(--ink-0); border-color: var(--ink-3); }
.topic-btn.active {
  background: var(--acc-bg);
  color: var(--acc);
  border-color: var(--acc-line);
}
.form-sent { padding: 32px 8px; }

.contact-disclaimer {
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .field-row { grid-template-columns: 1fr; }
}

/* —— REVIEWS PAGE —— */
.reviews-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.reviews-hero-stat {
  padding-right: 32px;
  border-right: 1px solid var(--line);
  margin-right: 32px;
}
.reviews-hero-stat:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
@media (max-width: 600px) {
  .reviews-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .reviews-hero-stat { border-right: 0; margin-right: 0; padding-right: 0; }
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.review-card {
  aspect-ratio: 3/4;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-1);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.review-card:hover { border-color: var(--acc-line); transform: translateY(-3px); }
.review-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-1);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0, transparent 10px,
    oklch(100% 0 0 / 0.015) 10px, oklch(100% 0 0 / 0.015) 20px
  );
}
.review-ph-inner { display: flex; flex-direction: column; align-items: center; padding: 16px; }
.review-ph-icon { color: var(--ink-4); }

.reviews-coming-soon {
  margin-top: 56px;
  padding: 40px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-3);
  background: var(--bg-1);
}

@media (max-width: 1100px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }

/* —— DASHBOARD —— */
.dashboard { padding: 32px 0; }
.dash-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.dash-side {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 96px;
}
.dash-user {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.dash-nav { display: grid; gap: 4px; }
.dash-nav-btn {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: var(--r-1);
  font-size: 14px;
  color: var(--ink-2);
  text-align: left;
  transition: all 0.18s var(--ease);
}
.dash-nav-btn:hover { background: var(--bg-2); color: var(--ink-0); }
.dash-nav-btn.active { background: var(--bg-2); color: var(--ink-0); }
.dash-nav-btn.active span:first-child { color: var(--acc); }

.dash-progress {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.progress-bar {
  height: 4px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar > div {
  height: 100%;
  background: var(--acc);
}

.dash-main {}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.dash-card {
  padding: 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
}
.dash-card.span-2 { grid-column: span 2; }
@media (max-width: 980px) {
  .dash-shell { grid-template-columns: 1fr; }
  .dash-side { position: static; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-card.span-2 { grid-column: auto; }
}

.watch-table { width: 100%; border-collapse: collapse; }
.watch-table th {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-weight: 500;
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.watch-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-1);
}
.watch-table tr:last-child td { border-bottom: 0; }

.week-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.chat-list { display: grid; gap: 16px; }
.chat-row { display: flex; gap: 12px; align-items: flex-start; }
