/*
 * SenangPAX insertable information pages
 * All product styles are scoped below .spx-info so they can live inside an
 * existing dashboard without changing its navigation, header or base theme.
 */

body.spx-preview-body {
  margin: 0;
  background: #edf2ef;
  color: #10272a;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.spx-public-body { margin: 0; background: #f8faf7; color: #10272a; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.spx-public-mount { min-height: 100vh; }
.spx-public-mount .spx-info { width: 100%; border: 0; border-radius: 0; box-shadow: none; }

.spx-preview-bar {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  min-height: 52px;
  padding: 0 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #d9e2dd;
  background: rgba(255,255,255,.92);
  color: #54686a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.spx-preview-bar a { color: #0c746b; text-decoration: none; }
.spx-preview-mount { padding: 32px; }
.spx-preview-error { max-width: 720px; margin: 70px auto; padding: 28px; border-radius: 18px; background: white; }

.spx-info {
  --spx-ink: #10272a;
  --spx-ink-soft: #284044;
  --spx-muted: #687b7d;
  --spx-paper: #f8faf7;
  --spx-white: #fff;
  --spx-line: #dce5e0;
  --spx-line-soft: #e9efec;
  --spx-orange: #f75a35;
  --spx-orange-dark: #dc4525;
  --spx-orange-soft: #ffebe4;
  --spx-teal: #0c746b;
  --spx-teal-dark: #0d383a;
  --spx-teal-soft: #e1f5ef;
  --spx-mint: #84d8bd;
  --spx-purple: #7459c9;
  --spx-purple-soft: #eee9fb;
  width: min(100%, 1280px);
  margin: 0 auto;
  overflow: clip;
  border: 1px solid rgba(208,221,214,.9);
  border-radius: 28px;
  background: var(--spx-paper);
  color: var(--spx-ink);
  box-shadow: 0 22px 70px rgba(15,48,48,.10);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  isolation: isolate;
}

.spx-info *, .spx-info *::before, .spx-info *::after { box-sizing: border-box; }
.spx-info h1, .spx-info h2, .spx-info h3, .spx-info p { margin: 0; }
.spx-info button, .spx-info input { font: inherit; }
.spx-info button { color: inherit; }
.spx-info a { color: inherit; }
.spx-info strong, .spx-info h1, .spx-info h2, .spx-info h3 { font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif; }

.spx-info__local-nav { min-height: 58px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--spx-line); background: rgba(255,255,255,.94); }
.spx-info__local-nav strong { font-size: 14px; }
.spx-info__local-nav div { display: flex; align-items: center; gap: 10px; }
.spx-info__local-nav a { padding: 9px 12px; border-radius: 9px; color: var(--spx-teal); font-size: 11px; font-weight: 750; text-decoration: none; }
.spx-info__local-nav a:first-child { background: var(--spx-ink); color: white; }

.spx-info__hero {
  position: relative;
  min-height: 570px;
  padding: 74px 70px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: 62px;
  background:
    radial-gradient(circle at 86% 16%, rgba(132,216,189,.28), transparent 29%),
    linear-gradient(135deg, #fff 0%, #f8fbf7 62%, #edf6f1 100%);
}

.spx-info__hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -190px;
  bottom: -240px;
  border: 1px solid rgba(12,116,107,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(12,116,107,.04), 0 0 0 110px rgba(12,116,107,.025);
  pointer-events: none;
}

.spx-info--partner .spx-info__hero {
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(132,216,189,.22), transparent 30%),
    linear-gradient(135deg, #0d3436 0%, #0a4a47 100%);
}

.spx-info__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--spx-teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.spx-info--partner .spx-info__eyebrow { color: var(--spx-mint); }
.spx-info__eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--spx-orange); }
.spx-info__hero h1 { max-width: 720px; margin-top: 18px; font-size: clamp(48px, 5.5vw, 78px); line-height: .98; letter-spacing: -.065em; }
.spx-info__hero h1 em { color: var(--spx-orange); font-style: normal; }
.spx-info__lead { max-width: 650px; margin-top: 24px !important; color: var(--spx-muted); font-size: 17px; line-height: 1.7; }
.spx-info--partner .spx-info__lead { color: rgba(255,255,255,.68); }
.spx-info__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 11px; }

.spx-info__button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #c83d20;
  color: white !important;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.spx-info__button:hover { transform: translateY(-2px); background: #b63319; box-shadow: 0 12px 24px rgba(200,61,32,.24); }
.spx-info__button--secondary { border-color: #cad8d1; background: rgba(255,255,255,.72); color: var(--spx-ink) !important; }
.spx-info--partner .spx-info__button--secondary { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: white !important; }

.spx-flow-card {
  position: relative;
  z-index: 1;
  padding: 26px;
  border: 1px solid rgba(206,222,214,.85);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 28px 55px rgba(16,39,42,.13);
}

.spx-info--partner .spx-flow-card { border-color: rgba(255,255,255,.13); background: rgba(7,35,37,.58); box-shadow: 0 28px 70px rgba(1,20,21,.3); }
.spx-flow-card__label { display: flex; justify-content: space-between; color: var(--spx-muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.spx-info--partner .spx-flow-card__label { color: rgba(255,255,255,.5); }
.spx-flow-card__label i { width: 8px; height: 8px; border-radius: 50%; background: var(--spx-mint); box-shadow: 0 0 0 5px rgba(132,216,189,.16); }
.spx-flow-list { margin-top: 22px; display: grid; gap: 10px; }
.spx-flow-list > div { min-height: 70px; padding: 14px; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--spx-line-soft); border-radius: 14px; background: rgba(248,250,247,.9); }
.spx-info--partner .spx-flow-list > div { border-color: rgba(255,255,255,.09); background: rgba(255,255,255,.05); }
.spx-flow-list b { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--spx-teal-soft); color: var(--spx-teal); font-size: 12px; }
.spx-info--merchant .spx-flow-list b { color: #075c55; }
.spx-info--partner .spx-flow-list b { background: rgba(132,216,189,.13); color: var(--spx-mint); }
.spx-flow-list strong { display: block; font-size: 14px; }
.spx-flow-list small { color: var(--spx-muted); font-size: 11px; }
.spx-info--partner .spx-flow-list small { color: rgba(255,255,255,.48); }
.spx-flow-list span { color: var(--spx-teal); font-size: 16px; font-weight: 800; }
.spx-info--partner .spx-flow-list span { color: var(--spx-mint); }

.spx-info__section { padding: 84px 70px; }
.spx-info__section--white { background: white; }
.spx-info__section--dark { background: var(--spx-teal-dark); color: white; }
.spx-info__section--tint { background: #eef5f1; }
.spx-package-tabs .spx-pillar-tabs__panels { overflow-x: auto; }
.spx-package-tabs .spx-pillar-panel { min-width: 700px; }
.spx-section-head { max-width: 760px; }
.spx-section-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr); gap: 60px; align-items: end; }
.spx-section-head span { color: var(--spx-teal); font-size: 10px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.spx-info__section--dark .spx-section-head span { color: var(--spx-mint); }
.spx-section-head h2 { margin-top: 12px; font-size: clamp(35px, 4vw, 56px); line-height: 1.02; letter-spacing: -.055em; }
.spx-section-head h2 em { color: var(--spx-orange); font-style: normal; }
.spx-section-head p { color: var(--spx-muted); font-size: 15px; line-height: 1.7; }
.spx-info__section--dark .spx-section-head p { color: rgba(255,255,255,.58); }

.spx-pillar-tabs { margin-top: 42px; display: grid; grid-template-columns: 240px minmax(0, 1fr); border: 1px solid var(--spx-line); border-radius: 22px; overflow: hidden; background: white; box-shadow: 0 16px 45px rgba(14,49,48,.06); }
.spx-pillar-tabs__nav { padding: 18px; display: grid; align-content: start; gap: 8px; background: #f2f6f3; }
.spx-pillar-tabs__nav button { min-height: 68px; padding: 13px 15px; display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 11px; border: 0; border-radius: 13px; background: transparent; color: var(--spx-muted); text-align: left; cursor: pointer; }
.spx-pillar-tabs__nav button b { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: white; color: var(--spx-teal); }
.spx-pillar-tabs__nav button strong { display: block; color: inherit; }
.spx-pillar-tabs__nav button small { display: block; margin-top: 2px; color: inherit; opacity: .72; }
.spx-pillar-tabs__nav button[aria-selected="true"] { background: var(--spx-teal-dark); color: white; box-shadow: 0 10px 20px rgba(13,56,58,.14); }
.spx-pillar-tabs__nav button[aria-selected="true"] b { background: var(--spx-orange); color: white; }
.spx-pillar-tabs__panels { min-height: 360px; padding: 42px; }
.spx-pillar-panel[hidden] { display: none; }
.spx-pillar-panel > span { color: var(--spx-orange); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.spx-pillar-panel h3 { max-width: 620px; margin-top: 12px; font-size: 32px; line-height: 1.12; letter-spacing: -.035em; }
.spx-pillar-panel > p { max-width: 700px; margin-top: 14px; color: var(--spx-muted); line-height: 1.65; }
.spx-check-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.spx-check-grid div { min-height: 66px; padding: 14px; display: flex; align-items: center; gap: 11px; border-radius: 13px; background: var(--spx-paper); color: var(--spx-ink-soft); font-size: 13px; font-weight: 650; }
.spx-check-grid i { flex: 0 0 25px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--spx-teal-soft); color: var(--spx-teal); font-style: normal; }

.spx-step-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.spx-step { position: relative; min-height: 220px; padding: 25px; border: 1px solid rgba(255,255,255,.11); border-radius: 18px; background: rgba(255,255,255,.055); }
.spx-step > span { display: block; color: var(--spx-mint); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.spx-step h3 { margin-top: 42px; font-size: 20px; }
.spx-step p { margin-top: 10px; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.65; }
.spx-step::after { content: "→"; position: absolute; top: 22px; right: 20px; color: var(--spx-orange); }
.spx-step:last-child::after { content: "✓"; }

.spx-plan-wrap { margin-top: 42px; overflow-x: auto; border: 1px solid var(--spx-line); border-radius: 20px; background: white; }
.spx-plan-table { width: 100%; min-width: 780px; border-collapse: collapse; }
.spx-plan-table th, .spx-plan-table td { padding: 18px 20px; border-bottom: 1px solid var(--spx-line-soft); text-align: left; }
.spx-plan-table th { color: var(--spx-muted); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.spx-plan-table th:not(:first-child), .spx-plan-table td:not(:first-child) { text-align: center; }
.spx-plan-table tbody tr:last-child td { border-bottom: 0; }
.spx-plan-table td { font-size: 13px; }
.spx-plan-table td strong { display: block; color: var(--spx-ink); font-size: 16px; }
.spx-plan-table .spx-plan-featured { background: #ecf8f3; }
.spx-plan-table thead .spx-plan-featured { color: var(--spx-teal); }
.spx-plan-note { margin-top: 15px !important; color: var(--spx-muted); font-size: 12px; line-height: 1.6; }

.spx-sponsor-card { margin-top: 48px; padding: 30px; display: grid; grid-template-columns: minmax(250px,.75fr) minmax(0,1.25fr); gap: 42px; border-radius: 22px; background: var(--spx-teal-dark); color: white; }
.spx-sponsor-card h3 { font-size: 27px; line-height: 1.1; }
.spx-sponsor-card p { margin-top: 12px; color: rgba(255,255,255,.58); font-size: 13px; }
.spx-range-head { display: flex; align-items: flex-end; justify-content: space-between; }
.spx-range-head span { color: rgba(255,255,255,.55); font-size: 11px; }
.spx-range-head strong { font-size: 28px; }
.spx-sponsor-card input[type="range"] { width: 100%; margin: 18px 0; accent-color: var(--spx-orange); }
.spx-allocation { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.spx-allocation span { padding: 11px; border-radius: 10px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.58); font-size: 10px; }
.spx-allocation b { display: block; margin-top: 4px; color: white; font-size: 14px; }

.spx-value-grid { margin-top: 42px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.spx-value-card { min-height: 235px; padding: 26px; border: 1px solid var(--spx-line); border-radius: 18px; background: white; }
.spx-value-card > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--spx-teal-soft); color: var(--spx-teal); font-size: 11px; font-weight: 850; }
.spx-value-card:nth-child(2n) > span { background: var(--spx-orange-soft); color: var(--spx-orange-dark); }
.spx-value-card:nth-child(3n) > span { background: var(--spx-purple-soft); color: var(--spx-purple); }
.spx-value-card h3 { margin-top: 28px; font-size: 19px; }
.spx-value-card p { margin-top: 9px; color: var(--spx-muted); font-size: 13px; line-height: 1.65; }

.spx-role-path { margin-top: 42px; display: grid; grid-template-columns: 1fr 70px 1fr 70px 1fr; align-items: stretch; }
.spx-role-card { min-height: 300px; padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.055); }
.spx-role-card > b { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--spx-mint); color: var(--spx-teal-dark); }
.spx-role-card:nth-of-type(2) > b { background: var(--spx-orange); color: white; }
.spx-role-card:nth-of-type(3) > b { background: white; color: var(--spx-teal); }
.spx-role-card h3 { margin-top: 36px; font-size: 22px; }
.spx-role-card p { margin-top: 11px; color: rgba(255,255,255,.54); font-size: 13px; line-height: 1.6; }
.spx-role-card small { display: block; margin-top: 24px; color: var(--spx-mint); font-size: 11px; font-weight: 750; }
.spx-role-arrow { display: grid; place-items: center; color: var(--spx-orange); font-size: 22px; }

.spx-journey { margin-top: 44px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.spx-journey > div { position: relative; padding-right: 22px; }
.spx-journey > div:not(:last-child)::after { content: ""; position: absolute; top: 18px; right: 4px; width: calc(100% - 52px); height: 1px; transform: translateX(50%); background: var(--spx-line); }
.spx-journey b { position: relative; z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #c9d9d1; border-radius: 50%; background: white; color: var(--spx-teal); font-size: 11px; }
.spx-journey strong { display: block; margin-top: 18px; font-size: 14px; }
.spx-journey span { display: block; margin-top: 6px; color: var(--spx-muted); font-size: 11px; line-height: 1.5; }

.spx-faq { margin-top: 38px; display: grid; gap: 10px; }
.spx-faq__item { border: 1px solid var(--spx-line); border-radius: 15px; background: white; overflow: hidden; }
.spx-faq__item button { width: 100%; min-height: 66px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; text-align: left; font-weight: 750; cursor: pointer; }
.spx-faq__item button i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--spx-teal-soft); color: var(--spx-teal); font-style: normal; transition: transform .2s ease; }
.spx-faq__item button[aria-expanded="true"] i { transform: rotate(45deg); }
.spx-faq__answer { padding: 0 20px 19px; color: var(--spx-muted); font-size: 13px; line-height: 1.65; }
.spx-faq__answer[hidden] { display: none; }

.spx-info__cta { padding: 62px 70px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 35px; background: #c83d20; color: white; }
.spx-info__cta h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.02; letter-spacing: -.045em; }
.spx-info__cta p { max-width: 650px; margin-top: 12px; color: rgba(255,255,255,.92); }
.spx-info__cta .spx-info__button { background: white; color: var(--spx-ink) !important; }
.spx-info__legal { padding: 18px 70px; background: #0a282a; color: rgba(255,255,255,.48); font-size: 10px; line-height: 1.6; }

.spx-info__toast { position: fixed; z-index: 9999; right: 22px; bottom: 22px; max-width: 320px; padding: 13px 16px; transform: translateY(20px); border-radius: 12px; background: #10272a; color: white; box-shadow: 0 16px 42px rgba(0,0,0,.22); font-size: 12px; opacity: 0; pointer-events: none; transition: .22s ease; }
.spx-info__toast.is-visible { transform: translateY(0); opacity: 1; }

.spx-reveal { transform: translateY(18px); opacity: 0; transition: transform .55s ease, opacity .55s ease; }
.spx-reveal.is-visible { transform: none; opacity: 1; }

@media (max-width: 980px) {
  .spx-preview-mount { padding: 18px; }
  .spx-info__hero { min-height: 0; padding: 60px 42px; grid-template-columns: 1fr; }
  .spx-flow-card { max-width: 650px; }
  .spx-info__section { padding: 70px 42px; }
  .spx-step-grid { grid-template-columns: repeat(2, 1fr); }
  .spx-value-grid { grid-template-columns: repeat(2, 1fr); }
  .spx-role-path { grid-template-columns: 1fr; gap: 12px; }
  .spx-role-arrow { min-height: 34px; transform: rotate(90deg); }
  .spx-role-card { min-height: 0; }
  .spx-journey { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .spx-journey > div::after { display: none; }
  .spx-info__cta { padding: 52px 42px; }
  .spx-info__legal { padding-inline: 42px; }
}

@media (max-width: 680px) {
  .spx-preview-bar { padding-inline: 14px; }
  .spx-preview-bar span { display: none; }
  .spx-preview-mount { padding: 0; }
  .spx-info { border: 0; border-radius: 0; box-shadow: none; }
  .spx-info__hero { padding: 52px 22px; gap: 38px; }
  .spx-info__local-nav { min-height: 54px; padding-inline: 16px; }
  .spx-info__local-nav a { padding: 8px; font-size: 10px; }
  .spx-info__hero h1 { font-size: clamp(42px, 14vw, 58px); }
  .spx-info__lead { font-size: 15px; }
  .spx-info__actions { display: grid; }
  .spx-info__button { width: 100%; }
  .spx-flow-card { padding: 18px; border-radius: 18px; }
  .spx-flow-list > div { grid-template-columns: 34px 1fr; }
  .spx-flow-list span { display: none; }
  .spx-info__section { padding: 58px 22px; }
  .spx-section-head--split { grid-template-columns: 1fr; gap: 18px; }
  .spx-pillar-tabs { grid-template-columns: 1fr; }
  .spx-pillar-tabs__nav { grid-template-columns: repeat(3, 1fr); padding: 10px; }
  .spx-pillar-tabs__nav button { min-height: 74px; padding: 8px; display: grid; grid-template-columns: 1fr; place-items: center; text-align: center; }
  .spx-pillar-tabs__nav button small { display: none; }
  .spx-pillar-tabs__panels { min-height: 0; padding: 28px 20px; }
  .spx-check-grid, .spx-step-grid, .spx-value-grid { grid-template-columns: 1fr; }
  .spx-step { min-height: 180px; }
  .spx-sponsor-card { padding: 22px; grid-template-columns: 1fr; gap: 28px; }
  .spx-allocation { grid-template-columns: repeat(2, 1fr); }
  .spx-journey { grid-template-columns: 1fr 1fr; }
  .spx-info__cta { padding: 48px 22px; grid-template-columns: 1fr; }
  .spx-info__legal { padding: 17px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .spx-info *, .spx-info *::before, .spx-info *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .spx-reveal { transform: none; opacity: 1; }
}
