.wsMain { --svc: var(--ws-blue, #0066ff); }
.wsServiceUseCases { background: color-mix(in srgb, var(--svc) 7%, #fff); border-color: color-mix(in srgb, var(--svc) 22%, #fff); }

.wsSvcSection { padding: 72px 24px; }
.wsSvcSection:nth-of-type(even) { background: color-mix(in srgb, var(--svc) 4%, #f8fafc); }
.wsSvcInner { max-width: 1120px; margin: 0 auto; }
.wsSvcSection .wsSectionKicker { color: var(--svc); }

.wsSvcJs .wsTabPanel:not(.isActive),
.wsSvcJs .wsStepPanel:not(.isActive),
.wsSvcJs .wsChooserResult:not(.isActive),
.wsSvcJs .wsSliderResult:not(.isActive),
.wsSvcJs .wsVerdict:not(.isActive) { display: none; }

.wsTabPanelIcon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--svc), color-mix(in srgb, var(--svc) 55%, #0b1a38)); flex: none; }

/* Tabs */
.wsTabs { display: grid; gap: 24px; }
.wsTabList { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.wsTabBtn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dbe4f3; background: #fff; color: #334155; border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; cursor: pointer; transition: all 0.2s; }
.wsTabBtn:hover { border-color: var(--svc); color: var(--svc); }
.wsTabBtn.isActive { background: var(--svc); border-color: var(--svc); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--svc) 30%, transparent); }
.wsTabPanels { background: #fff; border: 1px solid #e2eaf6; border-radius: 20px; padding: 32px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); }
.wsTabPanel { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; align-items: start; animation: wsFade 0.35s ease; }
.wsTabPanel h3 { grid-column: 2; margin: 0 0 8px; font-size: 22px; color: #0b1a38; }
.wsTabPanel p { grid-column: 2; margin: 0 0 16px; color: #475569; line-height: 1.7; }
.wsTabPanel .wsTabPanelIcon { grid-row: 1 / span 3; }
.wsTabPoints { grid-column: 2; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wsTabPoints li { display: flex; gap: 10px; color: #1e293b; font-size: 15px; }
.wsTabs[data-layout="side"] { grid-template-columns: 260px 1fr; align-items: start; }
.wsTabs[data-layout="side"] .wsTabList { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; }
.wsTabs[data-layout="side"] .wsTabBtn { border-radius: 14px; padding: 16px 18px; justify-content: flex-start; }

/* Stepper */
.wsStepper { max-width: 920px; margin: 0 auto; }
.wsStepperTrack { height: 4px; background: #e2e8f0; border-radius: 4px; margin: 0 40px -17px; position: relative; top: 15px; }
.wsStepperFill { height: 100%; width: 0; background: var(--svc); border-radius: 4px; transition: width 0.4s ease; }
.wsStepperNav { display: flex; justify-content: space-between; gap: 8px; position: relative; }
.wsStepBtn { flex: 1; background: none; border: 0; cursor: pointer; display: grid; justify-items: center; gap: 10px; padding: 0 4px; color: #64748b; font-weight: 700; font-size: 13px; line-height: 1.3; font-family: inherit; }
.wsStepDot { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid #cbd5e1; transition: all 0.3s; }
.wsStepBtn.isDone .wsStepDot { background: var(--svc); border-color: var(--svc); }
.wsStepBtn.isActive { color: var(--svc); }
.wsStepBtn.isActive .wsStepDot { border-color: var(--svc); box-shadow: 0 0 0 6px color-mix(in srgb, var(--svc) 18%, transparent); }
.wsStepperPanels { margin-top: 28px; background: #fff; border: 1px solid #e2eaf6; border-radius: 20px; padding: 28px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); }
.wsStepPanel { display: flex; gap: 22px; align-items: center; animation: wsFade 0.35s ease; }
.wsStepBody h3 { margin: 0 0 6px; font-size: 21px; color: #0b1a38; }
.wsStepBody p { margin: 0; color: #475569; line-height: 1.7; }
.wsStepperActions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.wsStepPrev, .wsStepNext { border-radius: 10px; padding: 10px 20px; font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; cursor: pointer; border: 1px solid #cbd5e1; background: #fff; color: #334155; }
.wsStepNext { background: var(--svc); border-color: var(--svc); color: #fff; }
.wsStepPrev:disabled, .wsStepNext:disabled { opacity: 0.4; cursor: not-allowed; }

/* Sliders */
.wsSlider, .wsRevenue { max-width: 860px; margin: 0 auto; display: grid; gap: 24px; }
.wsSliderControl { background: #fff; border: 1px solid #e2eaf6; border-radius: 18px; padding: 22px 26px; }
.wsSliderHead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 10px; }
.wsSliderLabel { font-weight: 700; color: #334155; }
.wsSliderValue { font-size: 28px; font-weight: 800; color: var(--svc); }
.wsRange { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline: none; cursor: pointer; --fill: 50%; background: linear-gradient(to right, var(--svc) var(--fill), #e2e8f0 var(--fill)); }
.wsRange::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--svc); box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25); }
.wsRange::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--svc); }
.wsSliderResult, .wsChooserResult, .wsVerdict { background: #fff; border: 1px solid color-mix(in srgb, var(--svc) 30%, #fff); border-left: 6px solid var(--svc); border-radius: 18px; padding: 26px 28px; animation: wsFade 0.35s ease; margin-top: 14px; }
.wsSliderResults .wsSliderResult, .wsChooserResults .wsChooserResult { margin-top: 0; }
.wsSliderResult h3, .wsChooserResult h3, .wsVerdict h3 { margin: 8px 0; font-size: 22px; color: #0b1a38; }
.wsSliderResult p, .wsChooserResult p, .wsVerdict p { margin: 0 0 14px; color: #475569; line-height: 1.7; }
.wsVerdict p { margin: 0; }
.wsResultBadge { display: inline-block; background: color-mix(in srgb, var(--svc) 12%, #fff); color: var(--svc); font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 5px 10px; border-radius: 999px; text-transform: uppercase; }

/* Chooser */
.wsChooser { max-width: 900px; margin: 0 auto; display: grid; gap: 20px; }
.wsChooserQuestion { text-align: center; font-size: 18px; font-weight: 700; color: #0b1a38; margin: 0; }
.wsChooserOptions { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.wsChoiceBtn { display: grid; justify-items: center; gap: 10px; padding: 22px 16px; background: #fff; border: 2px solid #e2eaf6; border-radius: 18px; cursor: pointer; font-weight: 700; font-size: 15px; line-height: 1.3; font-family: inherit; color: #334155; transition: all 0.2s; }
.wsChoiceBtn span:first-child { font-size: 26px; color: var(--svc); }
.wsChoiceBtn:hover { transform: translateY(-3px); border-color: var(--svc); }
.wsChoiceBtn.isActive { border-color: var(--svc); background: color-mix(in srgb, var(--svc) 8%, #fff); box-shadow: 0 10px 24px color-mix(in srgb, var(--svc) 22%, transparent); }

/* Checklist */
.wsChecklist { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: start; }
.wsChecklistItems { display: grid; gap: 10px; }
.wsCheckItem { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #e2eaf6; border-radius: 14px; padding: 14px 18px; cursor: pointer; transition: all 0.2s; position: relative; }
.wsCheckItem input { position: absolute; opacity: 0; pointer-events: none; }
.wsCheckBox { width: 24px; height: 24px; border-radius: 8px; border: 2px solid #cbd5e1; flex: none; display: grid; place-items: center; transition: all 0.2s; }
.wsCheckItem.isChecked { border-color: var(--svc); background: color-mix(in srgb, var(--svc) 6%, #fff); }
.wsCheckItem.isChecked .wsCheckBox { background: var(--svc); border-color: var(--svc); }
.wsCheckItem.isChecked .wsCheckBox::after { content: "\2713"; color: #fff; font-size: 14px; font-weight: 800; }
.wsCheckText { color: #1e293b; font-size: 15px; }
.wsChecklistResult { position: sticky; top: 110px; }
.wsMeter { height: 12px; background: #e2e8f0; border-radius: 12px; overflow: hidden; }
.wsMeterFill { height: 100%; width: 0; background: linear-gradient(90deg, var(--svc), color-mix(in srgb, var(--svc) 50%, #f59e0b)); transition: width 0.35s ease; }
.wsMeterCount { margin: 10px 0 0; font-weight: 700; color: #475569; font-size: 14px; }

/* Stats */
.wsStatsRow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.wsStatItem { background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--svc) 8%, #fff)); border: 1px solid #e2eaf6; border-radius: 20px; padding: 28px 20px; text-align: center; }
.wsStatFigure { font-size: 44px; font-weight: 900; color: var(--svc); line-height: 1; }
.wsStatPrefix, .wsStatSuffix { font-size: 0.5em; font-weight: 800; }
.wsStatLabel { display: block; margin-top: 10px; color: #475569; font-weight: 600; font-size: 14px; }

/* Revenue */
.wsRevenueControls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wsRevenueResults { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wsRevCard { background: #fff; border: 1px solid #e2eaf6; border-radius: 16px; padding: 20px; text-align: center; display: grid; gap: 6px; }
.wsRevCard span { color: #64748b; font-size: 13px; font-weight: 700; }
.wsRevCard strong { font-size: 28px; color: #0b1a38; }
.wsRevCard.isProfit { background: linear-gradient(135deg, var(--svc), color-mix(in srgb, var(--svc) 60%, #0b1a38)); }
.wsRevCard.isProfit span, .wsRevCard.isProfit strong { color: #fff; }
.wsRevCard.isLoss { background: #fee2e2; }
.wsRevCard.isLoss span, .wsRevCard.isLoss strong { color: #b91c1c; }
.wsRevenueNote { text-align: center; font-size: 13px; color: #64748b; margin: 0; }

/* Accordion */
.wsAccordion { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.wsAccItem { border: 1px solid #e2eaf6; border-radius: 14px; background: #fff; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.wsAccItem.isOpen { border-color: var(--svc); box-shadow: 0 8px 22px color-mix(in srgb, var(--svc) 14%, transparent); }
.wsAccBtn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; background: none; border: 0; padding: 18px 22px; cursor: pointer; font-weight: 700; font-size: 16px; line-height: 1.4; font-family: inherit; color: #0b1a38; }
.wsAccIcon { color: var(--svc); transition: transform 0.3s; flex: none; }
.wsAccItem.isOpen .wsAccIcon { transform: rotate(45deg); }
.wsSvcJs .wsAccBody { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.wsSvcJs .wsAccItem.isOpen .wsAccBody { max-height: 400px; }
.wsAccBody p { margin: 0; padding: 0 22px 20px; color: #475569; line-height: 1.7; font-size: 15px; }

@keyframes wsFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .wsChecklist { grid-template-columns: 1fr; }
  .wsChecklistResult { position: static; }
  .wsTabs[data-layout="side"] { grid-template-columns: 1fr; }
  .wsTabs[data-layout="side"] .wsTabList { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .wsSvcSection { padding: 48px 16px; }
  .wsTabPanels, .wsStepperPanels { padding: 20px; }
  .wsTabPanel { grid-template-columns: 1fr; }
  .wsTabPanel h3, .wsTabPanel p, .wsTabPoints { grid-column: 1; }
  .wsTabPanel .wsTabPanelIcon { grid-row: auto; margin-bottom: 14px; }
  .wsStepPanel { flex-direction: column; align-items: flex-start; }
  .wsStepLabel { display: none; }
  .wsRevenueControls, .wsRevenueResults { grid-template-columns: 1fr; }
  .wsStatFigure { font-size: 36px; }
}

/* Pricing: monthly / yearly billing toggle */
.wsSvcBillingToggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid #dae6f6; box-shadow: 0 10px 30px rgb(0 102 255 / 8%); }
.wsSvcBillingToggle::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 7px); border-radius: 999px; background: var(--svc); box-shadow: 0 6px 16px rgb(0 102 255 / 30%); transform: translateX(calc(100% + 4px)); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.wsSvcBillingToggle[data-period="monthly"]::before { transform: translateX(0); }
.wsSvcBillingOption { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px; padding: 11px 22px; border: 0; border-radius: 999px; background: none; color: #234c8a; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: color .25s ease; }
.wsSvcBillingOption.isActive { color: #fff; }
.wsSvcBillingSave { padding: 3px 8px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 11px; font-weight: 800; }
.wsPlanRenews:empty { min-height: 1em; }
@media (max-width: 520px) {
  .wsSvcBillingToggle { width: 100%; }
  .wsSvcBillingOption { min-width: 0; padding: 10px 12px; font-size: 14px; }
}
