/* assets/css/workstation.css */

html, body { overflow-x: hidden; }

.ws-hero{
  padding: 3rem 0 2.25rem;
  background: linear-gradient(#f7f7f8, #ffffff);
}

.ws-hero__inner{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.ws-kicker{
  display: inline-block;
  font-weight: 800;
  color: #b11226;
  letter-spacing: .02em;
  margin-bottom: .6rem;
}

.ws-hero__title{
  font-size: clamp(1.9rem, 2.6vw + 1rem, 3rem);
  line-height: 1.1;
  margin: 0 0 .75rem;
}

.ws-hero__subtitle{
  font-size: 1.05rem;
  color: #374151;
  margin: 0 0 1.25rem;
  max-width: 62ch;
}

.ws-hero__cta{
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.ws-hero__bullets{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.ws-pill{
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .65rem;
  border-radius: 999px;
  border: 2px solid rgba(177, 18, 38, .25);
  background: rgba(255,255,255,.8);
  color: #111827;
  font-weight: 600;
  font-size: .92rem;
}

.ws-pill i{ color: #b11226; }

.ws-hero__visual{
  justify-self: end;
}

/* Screenshot cards */
.ws-shot{
  position: relative;
  border-radius: 14px;
  border: 4px solid #b11226;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  overflow: hidden;
}

.ws-shot img{
  display: block;
  width: 100%;
  height: auto;
}

.ws-shot__zoom{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  background: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ws-shot__zoom:hover{ transform: scale(1.04); }

.ws-caption{
  margin-top: .7rem;
  font-size: .92rem;
  color: #6b7280;
  text-align: center;
}

/* Overview */
.ws-overview{
  padding: 2.2rem 0 2.2rem;
  background: #fff;
}

.ws-h2{
  font-size: 1.75rem;
  margin: 0 0 .35rem;
  text-align: center;
}

.ws-lead{
  text-align: center;
  color: #374151;
  margin: 0 auto 1.25rem;
  max-width: 70ch;
}

.ws-overview__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.ws-mini{
  border: 3px solid rgba(177, 18, 38, .25);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.ws-mini h3{
  margin: 0 0 .35rem;
  color: #111827;
  font-weight: 800;
}

.ws-mini p{
  margin: 0;
  color: #374151;
  line-height: 1.45;
}

.ws-jumps{
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}

.ws-jump{
  text-decoration: none;
  font-weight: 700;
  color: #b11226;
  border: 2px solid rgba(177, 18, 38, .25);
  background: #fff;
  border-radius: 999px;
  padding: .45rem .75rem;
}

.ws-jump:hover{
  box-shadow: 0 0 18px rgba(177, 18, 38, .2);
}

/* Feature sections */
.ws-section{
  padding: 2.4rem 0;
  background: #fff;
}

.ws-section--alt{
  background: #f7f7f8;
}

.ws-section__inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: center;
}

.ws-section__copy h2{
  margin: .25rem 0 .65rem;
  font-size: 1.6rem;
  line-height: 1.15;
}

.ws-section__copy p{
  margin: 0 0 .8rem;
  color: #374151;
  line-height: 1.55;
}

.ws-tag{
  display: inline-block;
  font-weight: 800;
  color: #b11226;
  letter-spacing: .02em;
  border-left: 5px solid #b11226;
  padding-left: .6rem;
}

.ws-list{
  margin: .75rem 0 0;
  padding-left: 1.15rem;
  color: #111827;
}

.ws-list li{
  margin: .35rem 0;
  color: #374151;
}

/* Reveal animation */
[data-reveal]{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
}
[data-reveal].is-visible{
  opacity: 1;
  transform: none;
}

/* Differentiators */
.ws-diff{
  padding: 2.6rem 0 3rem;
  background: #fff;
}

.ws-diff__grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.ws-diff__card{
  border: 3px solid rgba(177, 18, 38, .25);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.ws-diff__card h3{
  margin: 0 0 .35rem;
  font-weight: 800;
}

.ws-diff__card p{
  margin: 0;
  color: #374151;
  line-height: 1.45;
}

.ws-finalcta{
  margin-top: 1.7rem;
  border: 4px solid #b11226;
  border-radius: 16px;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 0 22px rgba(177, 18, 38, .15);
  text-align: center;
}

.ws-finalcta h3{ margin: 0 0 .4rem; }
.ws-finalcta p{
  margin: 0 auto 1rem;
  color: #374151;
  max-width: 70ch;
}

.ws-finalcta__btns{
  display: flex;
  justify-content: center;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Modal */
.ws-modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.ws-modal.is-open{ display: block; }

.ws-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

.ws-modal__panel{
  position: relative;
  width: min(1100px, calc(100vw - 28px));
  margin: 6vh auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
}

.ws-modal__panel img{
  display: block;
  width: 100%;
  height: auto;
}

.ws-modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  background: rgba(255,255,255,.92);
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* Responsive */
@media (max-width: 1024px){
  .ws-hero__inner{
    grid-template-columns: 1fr;
  }
  .ws-hero__visual{
    justify-self: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ws-overview__grid,
  .ws-diff__grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .ws-section__inner{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .ws-overview__grid,
  .ws-diff__grid{
    grid-template-columns: 1fr;
  }
}
