
/* AI Training & Workshops: supplementary styles */
/* Only styles that don't already exist in services/services.css              */

/* ── Intro split (workshop vs training chooser) ── */
.atw-intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .atw-intro-grid { grid-template-columns: repeat(2, 1fr); }
}

.atw-intro-card {
  background: var(--color-graphite, #111213);
  border: 1px solid rgba(0, 229, 192, 0.18);
  border-radius: 1.5rem;
  padding: 2rem;
}
.atw-intro-card-tag {
  display: inline-block;
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00E5C0;
  background: rgba(0, 229, 192, 0.1);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.85rem;
}
.atw-intro-card h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #F0EFF4;
  margin: 0 0 0.6rem;
}
.atw-intro-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(240, 239, 244, 0.7);
  margin: 0 0 1.25rem;
}
.atw-intro-card-anchor {
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  color: #00E5C0;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.atw-intro-card-anchor:hover { opacity: 0.78; }

/* ── Workshop format cards (4 in a row at desktop) ── */
.atw-formats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px)  { .atw-formats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .atw-formats-grid { grid-template-columns: repeat(4, 1fr); } }

/* Workshops section overrides the standard 1100px container so 4 cards fit
   in one row with comfortable title widths. Keeps the page compact. */
#workshops {
  max-width: 1280px;
}

.atw-format-card {
  background: var(--color-graphite, #111213);
  border: 1px solid rgba(0, 229, 192, 0.18);
  border-radius: 1.25rem;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.atw-format-tag {
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00E5C0;
  margin-bottom: 0.75rem;
}
.atw-format-title {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #F0EFF4;
  margin: 0 0 0.5rem;
}
.atw-format-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(240, 239, 244, 0.65);
  margin: 0 0 1.1rem;
  flex: 1;
}
.atw-format-meta {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: rgba(240, 239, 244, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.85rem;
  margin-top: auto;
}
/* arrow prefix only on direct-child spans, not on items inside .atw-format-best */
.atw-format-meta > span::before { content: '→ '; color: #00E5C0; }

/* "Best for:" group: label on its own line, items listed below */
.atw-format-best {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.atw-format-best-label {
  color: rgba(240, 239, 244, 0.8);
  font-weight: 600;
}
.atw-format-best ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: rgba(240, 239, 244, 0.55);
}
.atw-format-best li::before { content: '→ '; color: #00E5C0; }

/* ── Training program cards (2-column grid with bullet lists) ── */
.atw-programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .atw-programs-grid { grid-template-columns: repeat(2, 1fr); } }

.atw-program-card {
  background: var(--color-graphite, #111213);
  border: 1px solid rgba(0, 229, 192, 0.18);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.atw-program-card.featured {
  border-color: rgba(0, 229, 192, 0.45);
  background: linear-gradient(135deg, rgba(0, 229, 192, 0.06), var(--color-graphite, #111213));
}
.atw-program-tag {
  display: inline-block;
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00E5C0;
  background: rgba(0, 229, 192, 0.1);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  margin-bottom: 1rem;
  width: fit-content;
}
.atw-program-card.featured .atw-program-tag {
  background: rgba(0, 229, 192, 0.2);
}
.atw-program-title {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  color: #F0EFF4;
  margin: 0 0 0.5rem;
}
.atw-program-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(240, 239, 244, 0.7);
  margin: 0 0 1.25rem;
}
.atw-program-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.atw-program-includes li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(240, 239, 244, 0.7);
  margin-bottom: 0.45rem;
}
.atw-program-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #00E5C0;
}
.atw-program-meta {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: rgba(240, 239, 244, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.atw-program-meta span::before { content: '→ '; color: #00E5C0; }

/* ── Comparison table ── */
.atw-compare-wrap {
  overflow-x: auto;
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.25rem;
  overflow: hidden;
}
.atw-compare-table {
  width: 100%;
  min-width: 540px; /* forces scroll on small screens rather than squishing */
  border-collapse: collapse;
  font-size: 0.92rem;
  table-layout: fixed;
}
/* Column widths: feature label 46%, each value column 27% */
.atw-compare-table th:first-child,
.atw-compare-table td:first-child  { width: 46%; }
.atw-compare-table th:not(:first-child),
.atw-compare-table td:not(:first-child) { width: 27%; }

.atw-compare-table thead tr {
  background: rgba(0, 229, 192, 0.06);
}
.atw-compare-table th {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #00E5C0;
  font-weight: 600;
  padding: 1rem 1.25rem;
  text-align: left;
}
.atw-compare-table th:not(:first-child) {
  text-align: center;
}
.atw-compare-table td {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(240, 239, 244, 0.65);
  vertical-align: middle;
  word-break: break-word;
}
.atw-compare-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.015);
}
.atw-compare-table td:first-child {
  color: #F0EFF4;
  font-weight: 500;
}
.atw-compare-table td:not(:first-child) {
  text-align: center;
}
.atw-check { color: #00E5C0; font-size: 1.1rem; font-weight: 600; }
.atw-dash  { color: rgba(240, 239, 244, 0.2); }

/* Smooth scroll offset for in-page anchors */
#workshops,
#training {
  scroll-margin-top: 5rem;
}
