/* =========================================================
   Shared tab / panel patterns
   Kept for backward compatibility — most tab components
   are now in sections-light.css and sections-dark.css
   ========================================================= */

/* Journey tabs — pill-style tab list (legacy, may not be used) */
.journey-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 1040px;
  margin: 0 auto 36px;
  justify-content: center;
}

.journey-tab {
  background: transparent;
  border: 0;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font: 700 13.5px var(--font);
  color: var(--muted);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.journey-tab:hover { color: var(--text); background: rgba(20,33,26,0.04); }
.journey-tab.is-active { color: #fff; background: #14201a; }

/* Panel visibility */
[data-panel][hidden] { display: none; }

/* Solution split — without/with comparison (legacy) */
.solution-split {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0f0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px -22px rgba(7, 16, 12, 0.45);
}

.solution-split__side {
  padding: 32px 32px 30px;
  display: flex;
  flex-direction: column;
}

.solution-split__side--bad {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 60, 60, 0.10) 0%, transparent 55%),
    linear-gradient(135deg, #2a0a0a 0%, #170606 60%, #100404 100%);
}

.solution-split__side--good {
  background:
    radial-gradient(circle at 100% 0%, rgba(58, 239, 136, 0.10) 0%, transparent 55%),
    linear-gradient(135deg, #062a14 0%, #04180a 60%, #02100a 100%);
}

.solution-split__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution-split__side--bad .solution-split__eyebrow { color: rgba(255, 110, 110, 0.72); }
.solution-split__side--good .solution-split__eyebrow { color: rgba(86, 230, 145, 0.72); }

.solution-split__word {
  margin-top: 8px;
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

.solution-split__side--bad .solution-split__word { color: #ff8a8a; text-shadow: 0 0 28px rgba(255, 90, 90, 0.22); }
.solution-split__side--good .solution-split__word { color: #3aef88; text-shadow: 0 0 28px rgba(58, 239, 136, 0.30); }

.solution-split__label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.solution-split__body {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38ch;
}

.solution-split__divider {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-inline: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.solution-split__chev {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(58, 239, 136, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3aef88;
  font-family: var(--mono);
  font-size: 18px;
  line-height: 1;
}

.solution-split__brand {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: rgba(255, 255, 255, 0.42);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

@media (max-width: 720px) {
  .solution-split { grid-template-columns: 1fr; }
  .solution-split__divider {
    border-inline: 0;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    flex-direction: row;
  }
  .solution-split__brand { writing-mode: horizontal-tb; transform: none; }
  .solution-split__side { padding: 26px 22px; }
  .solution-split__body { max-width: none; }
  .solution-split__bigword { font-size: 2.5rem; }
}
