/* AUREA Portal — /ai-about (About AUREA AI explainer).
   Page-specific styles only; shell, cards (.rw-card), pills and
   buttons come from styles.css / rewards.css / ai-local.css. */

.aia-kicker {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.55);
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.16), rgba(179, 136, 255, 0.14));
  color: #FFD700;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.aia-p { line-height: 1.8; color: #D8DAE6; margin: 0 0 14px; max-width: 860px; }

/* --- Live growth stage card --- */
.aia-stage-card {
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.45);
  background: linear-gradient(170deg, rgba(23, 28, 51, 0.92), rgba(10, 15, 30, 0.94));
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.10), 0 0 28px rgba(255, 215, 0, 0.10);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .aia-stage-card { grid-template-columns: 1.15fr 1fr; } }
.aia-stage-media { position: relative; }
.aia-stage-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aia-stage-badge {
  position: absolute; left: 14px; top: 14px;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.65);
  background: rgba(10, 15, 30, 0.78);
  color: #FFE97A; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.05em;
}
.aia-stage-info { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.aia-now-lab { margin: 0; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; color: var(--faint, #8B90A5); text-transform: uppercase; }
.aia-stage-name { margin: 0; font-size: 1.6rem; color: #FFE97A; }
.aia-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.aia-stat { display: flex; flex-direction: column; gap: 2px; }
.aia-stat-num { font-size: 1.7rem; font-weight: 900; color: #FFD700; line-height: 1.1; }
.aia-stat-lab { font-size: 0.78rem; color: var(--muted, #A7ACC2); }
.aia-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.aia-bar > span { display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #FFD700, #B388FF); border-radius: 999px;
  transition: width .5s ease; }
.aia-next { margin: 0; font-size: 0.86rem; color: var(--muted, #A7ACC2); }

/* --- Step / feedback cards --- */
.aia-steps { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
@media (min-width: 760px) { .aia-steps { grid-template-columns: repeat(3, 1fr); } }
.aia-step {
  position: relative;
  border-radius: 16px;
  border: 1px solid #39415F;
  background: linear-gradient(170deg, rgba(23, 28, 51, 0.92), rgba(10, 15, 30, 0.94));
  box-shadow: 0 0 0 1px rgba(179, 136, 255, 0.10), 0 10px 26px rgba(0, 0, 0, 0.32);
  padding: 20px 20px 18px;
}
.aia-step h3 { margin: 0 0 8px; font-size: 1.05rem; color: #EDEFF7; }
.aia-step p { margin: 0; color: var(--muted, #A7ACC2); line-height: 1.65; }
.aia-step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 215, 0, 0.65);
  background: linear-gradient(120deg, rgba(255, 215, 0, 0.28), rgba(179, 136, 255, 0.20));
  color: #FFE97A; font-weight: 900; margin-bottom: 12px;
}

.aia-quality { margin-top: 18px; padding: 22px 24px; }
.aia-quality h3 { margin: 0 0 8px; color: #FFE97A; }
.aia-quality p { margin: 0; color: var(--muted, #A7ACC2); line-height: 1.7; }

/* --- Three forms --- */
.aia-forms { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
@media (min-width: 760px) { .aia-forms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .aia-forms { grid-template-columns: repeat(3, 1fr); } }
.aia-form {
  border-radius: 18px; overflow: hidden;
  border: 1px solid #39415F;
  background: linear-gradient(170deg, rgba(23, 28, 51, 0.92), rgba(10, 15, 30, 0.94));
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.08), 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex; flex-direction: column;
}
.aia-form > img { display: block; width: 100%; aspect-ratio: 1600 / 760; object-fit: cover; }
.aia-form-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.aia-form-body h3 { margin: 0; font-size: 1.08rem; }
.aia-form-body p { margin: 0; color: var(--muted, #A7ACC2); line-height: 1.6; flex: 1; }
.aia-form-body .btn { align-self: flex-start; }

/* --- Native app (in development) wide card --- */
.aia-form-wide { margin-top: 18px; }
@media (min-width: 760px) {
  .aia-form-wide { flex-direction: row; }
  .aia-form-wide > img { width: 42%; aspect-ratio: auto; min-height: 100%; }
  .aia-form-wide .aia-form-body { justify-content: center; }
}

/* --- Cloud / local roles table --- */
.aia-table-t { margin: 30px 0 12px; font-size: 1.15rem; color: #EDEFF7; }
.aia-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid #39415F; }
.aia-table { width: 100%; border-collapse: collapse; min-width: 560px;
  background: linear-gradient(170deg, rgba(23, 28, 51, 0.92), rgba(10, 15, 30, 0.94)); }
.aia-table th, .aia-table td { padding: 13px 16px; text-align: left; vertical-align: top;
  border-bottom: 1px solid rgba(57, 65, 95, 0.6); line-height: 1.6; }
.aia-table thead th { color: #FFE97A; font-size: 0.95rem; background: rgba(255, 215, 0, 0.06); }
.aia-table tbody th { color: #EDEFF7; font-weight: 800; white-space: nowrap; width: 18%; }
.aia-table tbody td { color: var(--muted, #A7ACC2); }
.aia-table tbody tr:last-child th, .aia-table tbody tr:last-child td { border-bottom: none; }

/* === Roles table stacks vertically on phones (user rule, 2026-12-03) ===
   At <=700px the cloud/local roles table stops being a wide table:
   the header row is hidden, each row becomes a block whose row
   heading (<th>) comes first, and every value cell shows its column
   label (.aia-lab — same wording as the <th>) above the value.
   No sideways scrolling; the desktop table is unchanged. */
.aia-lab { display: none; }
@media (max-width: 700px) {
  .aia-table { min-width: 0; }
  .aia-table thead { display: none; }
  .aia-table tbody, .aia-table tr, .aia-table th, .aia-table td { display: block; }
  .aia-table tr { padding: 10px 0 12px; border-bottom: 1px solid rgba(57, 65, 95, 0.6); }
  .aia-table tbody tr:last-child { border-bottom: none; }
  .aia-table tbody th { width: auto; white-space: normal; border-bottom: none; padding: 2px 16px 4px; font-size: 1.02rem; }
  .aia-table td { border-bottom: none; padding: 2px 16px; }
  .aia-lab {
    display: block; margin-top: 6px;
    font-size: .7rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
    color: #FFE97A;
  }
}

/* Growth stage strip (image enrichment 2026-12-03) */
.aia-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 6px}
.aia-strip img{width:100%;height:auto;display:block;border-radius:12px;border:1px solid var(--border)}
.aia-cta-img{width:100%;height:auto;display:block;border-radius:12px;margin:4px 0 14px}
@media(max-width:640px){.aia-strip{grid-template-columns:1fr}}
