/* Synergy Case Study Stylesheet — Figma-Matched Design */

/* Layout Constants */
:root {
  --cs-width: 1032px;
  --cs-blue: #1B5EBF;
  --cs-grey-body: #757575;
  --cs-grey-label: #B3B3B3;
  --cs-text-dark: #1E1E1E;
  --cs-cyan: #30E0C8;
  --cs-light-blue: #80C6FC;
}

/* Base Body & Container for Case Study */
/* Base Body & Container for Case Study */
html {
  scroll-behavior: smooth;
}

.synergy-page {
  background-color: #FFFFFF;
  color: #1E1E1E;
  font-family: 'Product Sans', 'Inter', -apple-system, sans-serif;
  margin: 0;
  padding: 0;
}

/* Site Header Override for Synergy Page */
.synergy-header {
  height: 56px;
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 19px;
  box-sizing: border-box;
}

.synergy-header .brand-logo {
  position: absolute;
  left: 19px;
  top: 7px;
}

.synergy-header .site-nav {
  position: absolute;
  left: 252px;
  top: 18px;
  display: flex;
  gap: 48px;
  align-items: center;
}

.synergy-header .header-right {
  position: absolute;
  left: 1186px;
  top: 11px;
}

/* Sticky Left Section Nav */
.cs-side-nav {
  position: fixed;
  left: 19px;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 100;
}

.cs-side-link {
  font-family: 'Product Sans', sans-serif;
  font-size: 15px;
  line-height: 19px;
  color: #000000;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cs-side-link.back-link {
  color: #FE5EAE;
  font-weight: 400;
}

.cs-side-link:hover {
  color: #1B5EBF;
}

.cs-side-link.active {
  color: #1B5EBF;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .cs-side-nav {
    display: none;
  }
}

/* Main Content Column */
.case-study-container {
  width: var(--cs-width);
  max-width: min(1032px, calc(100vw - 48px));
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 120px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* Sections */
.cs-section,
.cs-hero,
.cs-wt-section {
  margin-bottom: 90px;
  position: relative;
  scroll-margin-top: 90px;
}

/* Labels & Headings */
.cs-tag {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 19px;
  font-weight: 400;
  color: #B3B3B3;
  margin-bottom: 10px;
  display: block;
}

.cs-heading-blue {
  font-family: 'Product Sans', sans-serif;
  font-size: 36px;
  line-height: 44px;
  font-weight: 400;
  color: #1B5EBF;
  margin-bottom: 12px;
}

.cs-heading-dark {
  font-family: 'Product Sans', sans-serif;
  font-size: 36px;
  line-height: 44px;
  font-weight: 400;
  color: #1E1E1E;
  margin-bottom: 12px;
}

.cs-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #757575;
  margin-bottom: 24px;
}

/* Hero Section */
.cs-hero {
  margin-bottom: 80px;
}

.cs-hero-banner-img {
  width: 100%;
  max-width: 1033px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin-bottom: 28px;
}

.cs-hero-title {
  font-family: 'Product Sans', sans-serif;
  font-size: 48px;
  line-height: 58px;
  font-weight: 400;
  color: #000000;
  margin-bottom: 40px;
}

/* Metadata Row (4 Columns) */
.cs-meta-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 60px;
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .cs-meta-row {
    flex-direction: column;
    gap: 24px;
  }
}

.cs-meta-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.cs-meta-label {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  color: #1E1E1E;
  text-transform: uppercase;
}

.cs-meta-val {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: #757575;
  white-space: pre-line;
}

/* Flow Process Box (Context) */
.cs-process-panel {
  box-sizing: border-box;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(48, 224, 200, 0.4);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.cs-process-title {
  font-family: 'Product Sans', sans-serif;
  font-size: 16px;
  line-height: 18px;
  text-align: center;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #757575;
  margin-bottom: 24px;
}

.cs-process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

@media (max-width: 900px) {
  .cs-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 550px) {
  .cs-process-grid {
    grid-template-columns: 1fr;
  }
}

.cs-process-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  padding-right: 12px;
  border-right: 1px solid #30E0C8;
}

.cs-process-col:last-child {
  border-right: none;
}

@media (max-width: 900px) {
  .cs-process-col {
    border-right: none;
    border-bottom: 1px solid #30E0C8;
    padding-bottom: 16px;
  }
}

.cs-process-num {
  font-family: 'Satoshi Variable', 'Product Sans', sans-serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 23px;
  background: linear-gradient(180deg, #30E0C8 9.62%, #80C6FC 76.92%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cs-process-stage {
  font-family: 'Product Sans', sans-serif;
  font-size: 18px;
  line-height: 23px;
  color: #1E1E1E;
  margin-bottom: 4px;
}

.cs-process-steps {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 22px;
  color: #757575;
  white-space: pre-line;
}

/* Dictionary Grid */
.cs-dict-wrap {
  margin-top: 36px;
}

.cs-dict-heading {
  font-family: 'Product Sans', sans-serif;
  font-size: 24px;
  line-height: 31px;
  color: #1E1E1E;
  margin-bottom: 16px;
}

.cs-dict-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .cs-dict-row {
    grid-template-columns: 1fr;
  }
}

.cs-dict-item {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 22px;
  color: #757575;
}

.cs-dict-term {
  font-family: 'Product Sans', sans-serif;
  font-style: italic;
  font-weight: 700;
  color: #1E1E1E;
}

/* Highlight Text for HMW */
.cs-hmw-text {
  font-family: 'Product Sans', sans-serif;
  font-size: 36px;
  line-height: 44px;
  color: #000000;
  margin-top: 24px;
}

.cs-hl {
  background-color: #80C6FC;
  color: #000000;
  font-weight: 700;
  padding: 0 4px;
  border-radius: 2px;
}

/* Sam Persona Card */
.cs-persona-card {
  box-sizing: border-box;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(48, 224, 200, 0.5);
  border-radius: 0px;
  padding: 32px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.cs-persona-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.cs-persona-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.cs-persona-header-text h3 {
  font-family: 'Satoshi Variable', 'Product Sans', sans-serif;
  font-size: 32px;
  line-height: 38px;
  color: #000000;
  margin: 0 0 4px 0;
}

.cs-persona-meta-line {
  font-family: 'Satoshi Variable', 'Inter', sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: #374151;
}

.cs-persona-grid {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .cs-persona-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.cs-persona-col-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 16px;
  color: #374151;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cs-action-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cs-action-chip {
  background: rgba(128, 198, 252, 0.25);
  border-radius: 6px;
  padding: 8px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 15px;
  color: #1F2937;
}

.cs-persona-quote {
  font-family: 'Product Sans', sans-serif;
  font-size: 20px;
  line-height: 24px;
  color: #1B5EBF;
  margin-bottom: 16px;
}

.cs-persona-scenario-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #374151;
  margin-bottom: 12px;
}

.cs-persona-bullets {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 20px;
  color: #000000;
}

.cs-marker {
  background: linear-gradient(269.31deg, rgba(48, 224, 200, 0.4) 15.62%, rgba(128, 198, 252, 0.4) 78.46%);
  padding: 1px 3px;
}

/* Time Saved Journey Image */
.cs-journey-img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 24px;
  margin-bottom: 40px;
  border-radius: 8px;
}

/* Insight Callout Gradient Box */
.cs-insight-box {
  background: linear-gradient(270deg, #D8FBF3 0%, #DDEEFD 100%);
  border-radius: 16px;
  padding: 24px 32px;
  margin-top: 8px;
  margin-bottom: 36px;
}

.cs-insight-text {
  font-family: 'Product Sans', 'Inter', sans-serif;
  font-size: 20px;
  line-height: 28px;
  color: #1E1E1E;
  margin: 0;
}

/* Plain Images (Interview Insights, G2) */
.cs-full-img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  margin-bottom: 36px;
}

/* Pain Points 4x2 Grid */
.cs-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 241px);
  gap: 24px;
  row-gap: 50px;
  margin-top: 28px;
  margin-bottom: 40px;
}

@media (max-width: 1080px) {
  .cs-pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .cs-pain-grid {
    grid-template-columns: 1fr;
  }
}

.cs-pain-card {
  box-sizing: border-box;
  width: 241px;
  height: 337px;
  background: #FFFFFF;
  border: 1px solid #80C6FC;
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1080px) {
  .cs-pain-card {
    width: 100%;
    height: auto;
    min-height: 300px;
  }
}

.cs-pain-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 67px;
  height: 67px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 224, 200, 0.7), rgba(128, 198, 252, 0.7));
  filter: blur(20px);
  pointer-events: none;
}

.cs-pain-card-content {
  margin-top: 90px;
}

.cs-pain-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 12px;
}

.cs-pain-sub {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  color: #80C6FC;
  margin-top: 8px;
  margin-bottom: 4px;
}

.cs-pain-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #1E1E1E;
}

/* Solution Statement Text */
.cs-solution-statement-text {
  font-family: 'Product Sans', sans-serif;
  font-size: 40px;
  line-height: 49px;
  font-weight: 400;
  color: #1B5EBF;
  margin-top: 16px;
  margin-bottom: 40px;
}

/* Full Width SVG Wrappers */
.cs-full-svg-wrap {
  width: 100%;
  margin-top: 24px;
  margin-bottom: 48px;
  text-align: center;
}

.cs-point-wrap {
  width: 100%;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 48px;
}

.cs-point-img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* Walkthrough Section Component */
.cs-wt-section {
  margin-bottom: 90px;
}

.cs-wt-header {
  margin-bottom: 24px;
}

/* Action Timeline Component */
.cs-action-timeline {
  width: 100%;
  margin-top: 28px;
  margin-bottom: 36px;
}

.cs-at-grid {
  display: grid;
  grid-template-columns: 97px repeat(5, 1fr);
  gap: 16px;
  align-items: start;
}

@media (max-width: 850px) {
  .cs-at-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.cs-at-label-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 6px;
}

.cs-at-label {
  font-family: 'Product Sans', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-transform: uppercase;
  color: #B3B3B3;
}

/* Horizontal Line & Glowing Nodes Row */
.cs-at-node-row {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  align-items: center;
  height: 40px;
}

@media (max-width: 850px) {
  .cs-at-node-row {
    grid-column: 1;
    display: none;
  }
}

.cs-at-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #30E0C8;
  z-index: 1;
}

.cs-at-node {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(48, 224, 200, 0.7), rgba(128, 198, 252, 0.7));
  filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-at-node-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #30E0C8;
}

/* Steps Row */
.cs-at-steps-row {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 850px) {
  .cs-at-steps-row {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
}

.cs-at-step-title {
  font-family: 'Product Sans', sans-serif;
  font-size: 20px;
  line-height: 24px;
  color: #1B5EBF;
}

/* Resolved Pain Points Row */
.cs-at-resolved-row {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 850px) {
  .cs-at-resolved-row {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
}

.cs-at-mint-box {
  box-sizing: border-box;
  background: #E8FAF7;
  border: 0.64px solid #30E0C8;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 17px;
  color: #757575;
  width: 100%;
}

/* Video Frame Container */
.cs-video-wrap {
  width: 100%;
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
}

.cs-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
}

.cs-video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #F3F4F6;
  border: 1px dashed #B3B3B3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  color: #757575;
}

/* Learnings Section */
.cs-learnings-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 32px;
}

.cs-learning-item h3 {
  font-family: 'Product Sans', sans-serif;
  font-size: 32px;
  line-height: 40px;
  color: #1B5EBF;
  margin: 0 0 8px 0;
}

.cs-learning-item p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #757575;
  margin: 0;
}

/* Responsive Desktop vs Mobile Display Rules */
@media (min-width: 901px) {
  .cs-desktop-only {
    display: block !important;
  }
  .cs-mobile-only {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .cs-desktop-only {
    display: none !important;
  }
  div.cs-mobile-only.cs-pain-grid {
    display: grid !important;
  }
  .cs-mobile-only {
    display: block !important;
  }
}

/* Artwork Image Styles */
.cs-persona-img-artwork {
  width: 100%;
  max-width: 1033px;
  height: auto;
  display: block;
  margin-top: 24px;
  margin-bottom: 40px;
  border-radius: 8px;
}

.cs-pain-points-svg-wrap {
  width: 100%;
  overflow: visible;
  margin-top: 28px;
  margin-bottom: 40px;
}

.cs-pain-points-svg {
  width: calc(100% * 1080 / 1033);
  margin-left: calc(-100% * 47 / 1033);
  max-width: none;
  display: block;
  height: auto;
}

.cs-action-strip-svg-wrap {
  width: 100%;
  margin-top: 28px;
  margin-bottom: 36px;
}

.cs-action-strip-svg {
  width: 100%;
  max-width: 1033px;
  height: auto;
  display: block;
}

/* HTML Action Strip Alignment Adjustments */
.cs-at-mint-box {
  min-height: 71px;
  display: flex;
  align-items: center;
}

.cs-at-empty-box {
  min-height: 71px;
  width: 100%;
}

