/* ================================================================
WORKSTATUS — BRAND DESIGN SYSTEM (LIGHT MODE)
Electric Indigo  #5D2BFF
Midnight Navy    #1A0B4D
Lavender Mist    #F5F3FF
Hover            #4B1DEB
Font             Inter
================================================================ */
:root {
  --ws-indigo:          #5D2BFF;
  --ws-indigo-hover:    #4B1DEB;
  --ws-indigo-deep:     #3A10D4;
  --ws-navy:            #1A0B4D;
  --ws-lavender:        #F5F3FF;
  --ws-lavender-mid:    #EDE9FF;
  --ws-lavender-dark:   #DDD6FF;
  --ws-indigo-10:       rgba(93,43,255,0.08);
  --ws-indigo-15:       rgba(93,43,255,0.12);
  --ws-indigo-25:       rgba(93,43,255,0.2);
  --ws-border:          rgba(93,43,255,0.12);
  --ws-border-hover:    rgba(93,43,255,0.35);
  --ws-text-head:       #1A0B4D;
  --ws-text-body:       #4A3F6B;
  --ws-text-dim:        #8A7BAA;
  --ws-white:           #FFFFFF;
  --ws-surface:         #FAFAFF;
  --ws-card-bg:         #FFFFFF;
  --ws-radius:          16px;
  --ws-radius-lg:       22px;
  --ff:                 'Inter', sans-serif;
}


/* ================================================================
   SHARED UTILITIES
   ================================================================ */
.ws-section {
  width: 100%;
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}
.ws-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ws-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ws-indigo);
  background: var(--ws-indigo-10);
  border: 1px solid rgba(93,43,255,0.2);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.ws-section-title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--ws-navy);
  margin-bottom: 14px;
}
.ws-section-title .accent {
  background: linear-gradient(135deg, var(--ws-indigo) 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ws-section-sub {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ws-text-body);
  max-width: 500px;
}

.ws-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  letter-spacing: -0.01em;
}
.ws-btn-primary {
  background: var(--ws-indigo);
  color: #fff;
  box-shadow: 0 4px 18px rgba(93,43,255,0.3);
}
.ws-btn-primary:hover {
  background: var(--ws-indigo-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(93,43,255,0.38);
  color: #fff;
}
.ws-btn-outline {
  background: transparent;
  color: var(--ws-indigo);
  border: 1.5px solid var(--ws-border-hover);
}
.ws-btn-outline:hover {
  background: var(--ws-indigo-10);
  border-color: var(--ws-indigo);
}

.arrow-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
a:hover .arrow-icon { transform: translateX(3px); }


/* ================================================================
   SECTION 1 — "I CAME HERE FOR…" (WHITE BG)
   ================================================================ */
#ws-came-for {
  background: #fff;
}

/* Subtle dot-grid texture */
#ws-came-for::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(93,43,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 0%, transparent 100%);
}

.ws-cf-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}
.ws-cf-header .ws-section-sub {
  margin: 0 auto 30px;
}

/* Filter tabs */
.ws-cf-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: var(--ws-lavender);
  border: 1px solid var(--ws-border);
  border-radius: 100px;
  padding: 5px;
  width: fit-content;
}
.ws-cf-tab {
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--ws-text-dim);
  cursor: pointer;
  transition: all 0.18s ease;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ws-cf-tab:hover {
  color: var(--ws-indigo);
  background: rgba(93,43,255,0.07);
}
.ws-cf-tab.active {
  background: #fff;
  color: var(--ws-indigo);
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(93,43,255,0.15), 0 1px 3px rgba(0,0,0,0.08);
}

/* Grid — flex so hidden cards collapse with no empty space */
.ws-cf-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.ws-cf-card {
  flex: 1 1 calc(33.333% - 14px);
  min-width: 280px;
  max-width: calc(33.333% - 14px);
}
@media (max-width: 920px) {
  .ws-cf-card { flex: 1 1 calc(50% - 10px); max-width: calc(50% - 10px); }
}
@media (max-width: 560px) {
  .ws-cf-card { flex: 1 1 100%; max-width: 100%; }
}

/* Card */
.ws-cf-card {
  position: relative;
  background: var(--ws-card-bg);
  border: 1.5px solid var(--ws-border);
  border-radius: var(--ws-radius-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  overflow: hidden;
  box-sizing: border-box;
}
.ws-cf-card.ws-hidden { display: none !important; }
.ws-cf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ws-indigo), #8B5CF6);
  opacity: 0;
  transition: opacity 0.24s ease;
}
.ws-cf-card:hover {
  transform: translateY(-6px);
  border-color: rgba(93,43,255,0.28);
  box-shadow: 0 20px 50px rgba(93,43,255,0.1), 0 4px 16px rgba(93,43,255,0.06);
}
.ws-cf-card:hover::before { opacity: 1; }

/* Badge */
.ws-cf-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ws-indigo);
  background: var(--ws-indigo-10);
  border: 1px solid rgba(93,43,255,0.18);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 18px;
  align-self: flex-start;
}

/* Modern icon box */
.ws-cf-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--ws-lavender) 0%, var(--ws-lavender-mid) 100%);
  border: 1.5px solid var(--ws-lavender-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.ws-cf-card:hover .ws-cf-icon {
  background: linear-gradient(145deg, var(--ws-indigo-10), var(--ws-lavender-mid));
  border-color: rgba(93,43,255,0.3);
  box-shadow: 0 4px 14px rgba(93,43,255,0.12);
}
.ws-cf-icon svg {
  width: 24px; height: 24px;
  color: var(--ws-indigo);
  flex-shrink: 0;
}

.ws-cf-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ws-navy);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.ws-cf-desc {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ws-text-body);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.ws-cf-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px solid var(--ws-border);
  margin-bottom: 22px;
}
.ws-cf-features li {
  font-size: 13px;
  font-weight: 400;
  color: var(--ws-text-body);
  display: flex;
  align-items: center;
  gap: 9px;
}
.ws-cf-features li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ws-indigo);
  flex-shrink: 0;
}
.ws-cf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ws-indigo);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.ws-cf-link:hover { color: var(--ws-indigo-hover); gap: 10px; }


/* ================================================================
   SECTION 2 — WORK INTELLIGENCE PLATFORM™ (LAVENDER SURFACE)
   ================================================================ */
#ws-platform {
  background: var(--ws-lavender);
  border-top: 1px solid var(--ws-border);
  border-bottom: 1px solid var(--ws-border);
}

/* Fine grid overlay */
#ws-platform::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(93,43,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,43,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Layout */
.ws-plat-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) { .ws-plat-layout { grid-template-columns: 1fr; gap: 48px; } }

/* Left sticky */
.ws-plat-left {
  /*position: sticky;
  top: 88px;*/
}
.ws-plat-left .ws-section-sub { margin-bottom: 32px; }

/* Stats 2×2 */
.ws-plat-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.ws-stat-card {
  background: #fff;
  border: 1.5px solid var(--ws-border);
  border-radius: 14px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ws-stat-card::after {
  content: '';
  position: absolute;
  bottom: -8px; right: -8px;
  width: 56px; height: 56px;
  background: radial-gradient(circle, rgba(93,43,255,0.1), transparent 70%);
  pointer-events: none;
}
.ws-stat-card:hover {
  border-color: rgba(93,43,255,0.3);
  box-shadow: 0 4px 20px rgba(93,43,255,0.08);
}
.ws-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--ws-indigo), #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 5px;
}
.ws-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ws-text-dim);
  line-height: 1.35;
}

.ws-plat-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Accordion */
.ws-plat-cards { display: flex; flex-direction: column; gap: 10px; }

.ws-plat-card {
  background: #fff;
  border: 1.5px solid var(--ws-border);
  border-radius: var(--ws-radius);
  overflow: hidden;
  transition: border-color 0.24s, box-shadow 0.24s;
}
.ws-plat-card.open {
  border-color: rgba(93,43,255,0.35);
  box-shadow: 0 8px 32px rgba(93,43,255,0.1);
}

.ws-plat-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  user-select: none;
}

.ws-plat-num {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--ws-lavender);
  border: 1.5px solid var(--ws-lavender-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--ws-indigo);
  flex-shrink: 0;
  letter-spacing: 0.03em;
  transition: background 0.2s, border-color 0.2s;
}
.ws-plat-card.open .ws-plat-num {
  background: var(--ws-indigo);
  border-color: var(--ws-indigo);
  color: #fff;
}

.ws-plat-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ws-navy);
  flex: 1;
  letter-spacing: -0.015em;
}
.ws-plat-card-title sup {
  font-size: 8px;
  color: var(--ws-indigo);
  vertical-align: super;
  font-weight: 700;
}

.ws-plat-chev {
  width: 18px; height: 18px;
  color: var(--ws-text-dim);
  transition: transform 0.3s ease, color 0.2s;
  flex-shrink: 0;
}
.ws-plat-card.open .ws-plat-chev {
  transform: rotate(180deg);
  color: var(--ws-indigo);
}

.ws-plat-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.ws-plat-card.open .ws-plat-body { max-height: 300px; }

.ws-plat-inner {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--ws-border);
}

.ws-plat-desc {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ws-text-body);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ws-plat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.ws-plat-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--ws-indigo);
  background: var(--ws-indigo-10);
  border: 1px solid rgba(93,43,255,0.18);
  border-radius: 100px;
  padding: 4px 12px;
}

.ws-plat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ws-indigo);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.ws-plat-link:hover { color: var(--ws-indigo-hover); gap: 10px; }

/* ================================================================
   STAGGER REVEAL ANIMATION
   ================================================================ */
@keyframes ws-fadeup {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ws-reveal { opacity: 0; animation: ws-fadeup 0.5s ease forwards; }
.ws-reveal:nth-child(1) { animation-delay: 0.04s; }
.ws-reveal:nth-child(2) { animation-delay: 0.10s; }
.ws-reveal:nth-child(3) { animation-delay: 0.16s; }
.ws-reveal:nth-child(4) { animation-delay: 0.22s; }
.ws-reveal:nth-child(5) { animation-delay: 0.28s; }
.ws-reveal:nth-child(6) { animation-delay: 0.34s; }