/* ====== Performance page-specific styles (extends brand/global style.css) ====== */

/* Pain point cards */
.att-pain-card {
  background: #fff;
  border: 1px solid rgba(235, 80, 23, 0.12);
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.att-pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(235, 80, 23, 0.1);
  border-color: rgba(235, 80, 23, 0.35);
}

.att-pain-card .pain-num {
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  color: rgba(235, 80, 23, 0.1);
  position: absolute;
  top: 10px;
  right: 18px;
  letter-spacing: -2px;
}

.att-pain-card .pain-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #fdeee7;
  color: #eb5017;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

/* Pain -> solution bridge */
.pain-solution-bridge {
  text-align: center;
  margin: 30px 0 10px;
}

.pain-solution-bridge .bridge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

.pain-solution-bridge .bridge-pill .bi {
  color: #ff7849;
  font-size: 18px;
}

/* Module / capability grid */
.module-card {
  background: #fff;
  border: 1px solid #f0e6df;
  border-radius: 18px;
  padding: 26px 22px;
  height: 100%;
  transition: all 0.25s ease;
}

.module-card:hover {
  border-color: #eb5017;
  box-shadow: 0 14px 28px rgba(235, 80, 23, 0.08);
  transform: translateY(-3px);
}

.module-card .mod-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fdeee7;
  color: #eb5017;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.module-card h6 {
  font-weight: 600;
  margin-bottom: 8px;
}

/* Modules "show more" toggle */
.modules-toggle-wrap {
  text-align: center;
  margin-top: 36px;
}

.modules-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px dashed rgba(235, 80, 23, 0.3);
  color: #eb5017;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modules-toggle:hover {
  background: #eb5017;
  color: #fff;
  border-color: #eb5017;
  box-shadow: 0 14px 28px rgba(235, 80, 23, 0.25);
  transform: translateY(-2px);
}

.modules-toggle .chev {
  transition: transform 0.3s ease;
  font-size: 16px;
}

.modules-toggle.is-open .chev {
  transform: rotate(180deg);
}

/* Lifecycle journey infographic */
.journey-wrap {
  background: linear-gradient(180deg, #fff 0%, var(--paper-cream) 100%);
  border: 1px solid var(--line-2);
  border-radius: 28px;
  padding: 36px;
}

.journey-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 30px;
  position: relative;
}

.journey-step {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 18px 14px 16px;
  position: relative;
  text-align: left;
  transition: 0.2s;
  min-height: 170px;
}

.journey-step:hover {
  border-color: var(--brand-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.journey-step .js-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #1d1b1a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.journey-step .js-ic {
  font-size: 1.3rem;
  color: var(--brand-orange);
  margin-bottom: 6px;
}

.journey-step h6 {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 4px 0 6px;
}

.journey-step p {
  font-size: 0.78rem;
  color: var(--text-2);
  margin: 0;
  line-height: 1.45;
}

.journey-step.alt {
  background: var(--paper-warm);
  border-color: var(--line);
}

.journey-step.alt .js-num {
  background: var(--brand-orange);
}

.journey-step.dark {
  background: #1d1b1a;
  border-color: #1d1b1a;
  color: #f5f0eb;
}

.journey-step.dark h6 {
  color: #fff;
}

.journey-step.dark p {
  color: #bdb6b0;
}

.journey-step.dark .js-num {
  background: var(--brand-lime);
  color: #1d1b1a;
}

.journey-step.dark .js-ic {
  color: var(--brand-lime);
}

.journey-arrow {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brand-orange);
  font-size: 0.85rem;
  z-index: 2;
}

@media (max-width: 1100px) {
  .journey-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey-step .journey-arrow:nth-child(odd) {
    display: none;
  }
}

@media (max-width: 640px) {
  .journey-row {
    grid-template-columns: 1fr;
  }

  .journey-arrow {
    display: none;
  }
}

.journey-row-2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 14px;
}

@media (max-width: 1100px) {
  .journey-row-2 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .journey-row-2 {
    grid-template-columns: 1fr;
  }
}

/* Flagship-style cards (reused for competency framework) */
.att-flagship {
  background: #fff;
  border: 1px solid #f1e2d8;
  border-radius: 24px;
  padding: 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.att-flagship:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(235, 80, 23, 0.12);
}

.att-flagship .flag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdeee7;
  color: #eb5017;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.att-flagship.dark {
  background: #1a1a1a;
  color: #fff;
  border-color: #2a2a2a;
}

.att-flagship.dark .flag-eyebrow {
  background: rgba(235, 80, 23, 0.18);
  color: #ffb89a;
}

/* Competency lists */
.perf-comp-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.perf-comp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #faf3ee;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: #1a1a1a;
}

.perf-comp-row i {
  color: #eb5017;
  font-size: 1.1rem;
}

.perf-comp-list.dark .perf-comp-row {
  background: rgba(255, 255, 255, 0.05);
  color: #f5f0eb;
}

.perf-comp-list.dark .perf-comp-row i {
  color: #ff7849;
}

@media (max-width: 575px) {
  .perf-comp-list {
    grid-template-columns: 1fr;
  }
}

/* Rating scale card */
.perf-rating-card {
  background: #fff;
  border: 1px solid #f1e2d8;
  border-radius: 22px;
  padding: 28px;
  height: 100%;
}

.perf-rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(235, 80, 23, 0.12);
  font-size: 0.93rem;
}

.perf-rating-row:last-child {
  border-bottom: 0;
}

.perf-rating-row .pct {
  flex: 0 0 94px;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.85rem;
}

.perf-rating-row .nm {
  flex: 1;
  font-weight: 600;
  color: #1a1a1a;
}

.badge-r {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  letter-spacing: 0.04em;
}

.badge-r.exc {
  background: #1a1a1a;
  color: #cddb37;
}

.badge-r.over {
  background: #f1fcc8;
  color: #3a4112;
}

.badge-r.ach {
  background: #fdeee7;
  color: #eb5017;
}

.badge-r.par {
  background: #fff3cd;
  color: #7a5a00;
}

.badge-r.ni {
  background: #ffd0bf;
  color: #a13c12;
}

/* Bell curve card */
.perf-bell-card {
  background: #1a1a1a;
  color: #fff;
  border-radius: 22px;
  padding: 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.perf-bell-svg {
  width: 100%;
  height: auto;
  display: block;
}

.perf-bell-legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.perf-bell-legend > div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}

.perf-bell-legend .lg-name {
  font-size: 0.72rem;
  color: #cccccc;
  font-weight: 600;
}

.perf-bell-legend .lg-pct {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff7849;
  margin-top: 4px;
}

@media (max-width: 575px) {
  .perf-bell-legend {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Promotion / PIP path cards */
.path-card {
  border-radius: 22px;
  padding: 34px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.path-promo {
  background: linear-gradient(135deg, var(--brand-lime-soft), #fff);
  border: 1px solid var(--line-2);
}

.path-pip {
  background: linear-gradient(135deg, var(--paper-warm), #fff);
  border: 1px solid var(--line);
}

.path-card .p-ic {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.path-promo .p-ic {
  background: linear-gradient(135deg, var(--brand-lime), var(--brand-gold));
  color: #3a4112;
}

.path-pip .p-ic {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-2));
  color: #fff;
}

.path-card h3 {
  font-weight: 700;
  margin-bottom: 6px;
}

.path-card .p-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.path-promo .p-tag {
  background: #3a4112;
  color: var(--brand-lime);
}

.path-pip .p-tag {
  background: var(--brand-orange);
  color: #fff;
}

.path-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.path-card li {
  display: flex;
  gap: 0.6rem;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text);
}

.path-card li i {
  color: var(--brand-orange);
  margin-top: 3px;
}

.path-promo li i {
  color: #3a7d18;
}

/* AI assist section */
.ai-section {
  background: linear-gradient(135deg, #1d1b1a 0%, #2a2421 100%);
  border-radius: 32px;
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  color: #f5f0eb;
}

.ai-section h2,
.ai-section h3 {
  color: #fff;
}

.ai-section .pill {
  background: rgba(205, 219, 55, 0.2);
  color: #cddb37;
}

.ai-section .pill .dot {
  background: #cddb37;
}

.ai-section .pill .dot::after {
  background: var(--ink);
}

.ai-section::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(205, 219, 55, 0.15), transparent 65%);
}

.ai-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  height: 100%;
  position: relative;
}

.ai-card .ai-ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.ai-card.l .ai-ic {
  background: linear-gradient(135deg, var(--brand-lime), var(--brand-gold));
  color: #1d1b1a;
}

.ai-card.g .ai-ic {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-orange-2));
  color: #1d1b1a;
}

.ai-card h6 {
  color: #fff;
  font-weight: 600;
}

.ai-card p {
  color: #bdb6b0;
  font-size: 0.88rem;
  margin: 6px 0 0;
}

.ai-spark {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--brand-lime);
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Comparison table */
.compare-wrap {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #f1e2d8;
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  border-bottom: 1px solid #f5ece5;
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row > div {
  padding: 18px 22px;
  font-size: 14.5px;
}

.compare-row.head > div {
  font-weight: 700;
  background: #faf3ee;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.compare-row.head .col-trackk {
  background: #eb5017;
  color: #fff;
}
.compare-row.head .col-trackk {
    position: relative;
}

.compare-row.head .col-trackk::before {
    content: "RECOMMENDED";
    position: absolute;
    top: 17px;
    right: 135px;
    font-size: 0.6rem;
    background: #f1fcc8;
    color: #1a1a1a;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.compare-row .col-old {
  color: #8a6f64;
}

.compare-row .col-trackk {
  color: #1a1a1a;
  font-weight: 500;
  background: #fffaf6;
}

.compare-row .col-trackk .bi {
  color: #eb5017;
  margin-right: 6px;
}

.compare-row .col-old .bi {
  color: #c97a5b;
  margin-right: 6px;
}

@media (max-width: 768px) {
  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-row.head .col-old,
  .compare-row.head .col-trackk {
    display: none;
  }

  .compare-row > div {
    padding: 12px 18px;
  }

  .compare-row .col-old::before {
    content: "Old way: ";
    font-weight: 700;
    color: #c97a5b;
  }

  .compare-row .col-trackk::before {
    content: "With Trackk: ";
    font-weight: 700;
    color: #eb5017;
  }
}
