/* ========================================================
   Uistudioz — Service Pages CSS
   All styles for individual service page templates.
   Indigo-only theme. Zero inline styles.
   ======================================================== */

/* -------------------------------------------------------
   SHARED SECTION UTILITIES
   ------------------------------------------------------- */

.sp-section          { padding: 96px 24px; }
.sp-section-sm       { padding: 64px 24px; }
.sp-section-lg       { padding: 128px 24px; }
.sp-section-slate    { background: #f8fafc; }
.sp-section-dark     { background: #0f172a; color: #fff; }
.sp-section-indigo   { background: #312e81; color: #fff; }
.sp-section-indigobg { background: #1e1b4b; color: #fff; }
.sp-wrap             { max-width: 1280px; margin: 0 auto; }
.sp-wrap-md          { max-width: 896px; margin: 0 auto; }
.sp-center           { text-align: center; }

/* -------------------------------------------------------
   EYEBROW / BADGE LABELS
   ------------------------------------------------------- */

.sp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: #0f172a;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}

.sp-eyebrow--indigo {
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
  border: none;
}

.sp-eyebrow-text {
  color: #4f46e5;
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 16px;
}

.sp-eyebrow-text--light {
  color: #a5b4fc;
}

/* -------------------------------------------------------
   HEADINGS
   ------------------------------------------------------- */

.sp-h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}

.sp-h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 24px;
}

.sp-h2--white { color: #fff; }

.sp-h3 {
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.sp-h3--white { color: #fff; }

.sp-h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.sp-accent { color: #4f46e5; }
.sp-lead {
  font-size: clamp(17px, 2vw, 20px);
  color: #475569;
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 520px;
}
.sp-lead--wide { max-width: 640px; }
.sp-lead--center { max-width: 640px; margin-left: auto; margin-right: auto; }
.sp-body { font-size: 16px; color: #64748b; line-height: 1.75; }
.sp-body--white { color: rgba(255,255,255,0.75); }

/* -------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------- */

.sp-hero {
  position: relative;
  padding: 128px 24px 96px;
  overflow: hidden;
  background: #fff;
}

.sp-hero__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1280px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
}

.sp-hero__glow-blob {
  position: absolute;
  top: 0;
  left: 25%;
  width: 600px;
  height: 600px;
  background: #4f46e5;
  filter: blur(150px);
  border-radius: 50%;
}

.sp-hero__inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }

.sp-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .sp-hero__grid { grid-template-columns: 1fr 1fr; }
}

.sp-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

/* Buttons */
.sp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #4f46e5;
  color: #fff;
  padding: 18px 36px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 900;
  font-family: 'Manrope', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 20px 40px rgba(79,70,229,0.25);
  white-space: nowrap;
}

.sp-btn-primary:hover {
  background: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(79,70,229,0.35);
}

.sp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #0f172a;
  padding: 18px 36px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 900;
  font-family: 'Manrope', sans-serif;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.sp-btn-secondary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.sp-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 18px 36px;
  border-radius: 9999px;
  font-size: 16px;
  font-weight: 900;
  font-family: 'Manrope', sans-serif;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.sp-btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* -------------------------------------------------------
   HERO MOCK WIDGETS (Design System, Code Terminal, UX Flow)
   ------------------------------------------------------- */

/* --- Figma/Design Mock (light) --- */
.hero-mock-figma {
  background: #f8fafc;
  border-radius: 32px;
  padding: 16px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.15);
  border: 1px solid #e2e8f0;
  position: relative;
  animation: heroFadeIn 0.8s ease 0.2s both;
}

.hero-mock-figma__titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 8px;
}

.hero-mock-figma__dots { display: flex; gap: 6px; }
.hero-mock-figma__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
}

.hero-mock-figma__filename {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero-mock-figma__canvas {
  aspect-ratio: 16/10;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero-mock-figma__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-mock-figma__bar {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
}

.hero-mock-figma__bar--accent { background: #e0e7ff; }

.hero-mock-figma__content { display: flex; gap: 24px; align-items: flex-start; }

.hero-mock-figma__icon {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-mock-figma__lines { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.hero-mock-figma__line--title {
  height: 16px;
  background: #0f172a;
  border-radius: 4px;
  width: 75%;
}

.hero-mock-figma__line {
  height: 8px;
  background: #f1f5f9;
  border-radius: 4px;
}

.hero-mock-figma__line--w5 { width: 83%; }
.hero-mock-figma__line--w4 { width: 67%; }

.hero-mock-figma__badges {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.hero-mock-figma__badge {
  padding: 4px 12px;
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #4f46e5;
}

.hero-mock-figma__badge--gray {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #94a3b8;
}

.hero-mock-figma__cursor {
  position: absolute;
  top: 50%;
  right: 25%;
  animation: cursorBounce 1.5s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero-mock-figma__cursor-label {
  background: #4f46e5;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 12px;
}

/* --- Dark Terminal Mock --- */
.hero-mock-terminal {
  background: #0f172a;
  border-radius: 32px;
  padding: 16px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
  border: 1px solid #1e293b;
  position: relative;
  animation: heroFadeIn 0.8s ease 0.2s both;
}

.hero-mock-terminal__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 0 8px;
}

.hero-mock-terminal__dot-r { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.hero-mock-terminal__dot-y { width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; }
.hero-mock-terminal__dot-g { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }

.hero-mock-terminal__filename {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-family: 'Courier New', monospace;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-mock-terminal__screen {
  aspect-ratio: 16/10;
  background: rgba(30,41,59,0.5);
  border-radius: 16px;
  border: 1px solid #334155;
  padding: 24px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
  overflow: hidden;
}

.code-comment  { color: #6366f1; }
.code-white    { color: #f8fafc; }
.code-indent   { padding-left: 24px; color: #94a3b8; }
.code-green    { color: #22c55e; }
.code-pulse    { color: #6366f1; animation: codeTyping 1.5s step-end infinite; }

@keyframes codeTyping {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- UX Flow Mock --- */
.hero-mock-ux {
  background: #f8fafc;
  border-radius: 32px;
  padding: 16px;
  box-shadow: 0 32px 64px rgba(0,0,0,0.12);
  border: 1px solid #e2e8f0;
  position: relative;
  animation: heroFadeIn 0.8s ease 0.2s both;
}

.hero-mock-ux__canvas {
  aspect-ratio: 16/10;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero-mock-ux__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-mock-ux__card {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 12px;
}

.hero-mock-ux__card-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #4f46e5;
  margin-bottom: 8px;
}

.hero-mock-ux__card-lines { display: flex; flex-direction: column; gap: 4px; }
.hero-mock-ux__card-line { height: 6px; background: #e2e8f0; border-radius: 3px; }
.hero-mock-ux__card-line--sm { width: 60%; }

.hero-mock-ux__flow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-mock-ux__flow-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.hero-mock-ux__flow-arrow { color: #94a3b8; font-size: 12px; }

.hero-mock-ux__annotation {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #0f172a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: annotationPulse 2s ease-in-out infinite;
}

@keyframes annotationPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Floating metric badge (bottom-right of hero mock) */
.hero-mock-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: #4f46e5;
  color: #fff;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(79,70,229,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  display: none;
}

@media (min-width: 768px) { .hero-mock-badge { display: block; } }

.hero-mock-badge__inner { display: flex; align-items: center; gap: 12px; }
.hero-mock-badge__stat { font-size: 24px; font-weight: 900; line-height: 1; }
.hero-mock-badge__label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }

/* Animations */
@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes cursorBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* -------------------------------------------------------
   HERO CONTENT ANIMATIONS (JS-triggered)
   ------------------------------------------------------- */

.hero-left-animate {
  animation: slideInLeft 0.6s ease both;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* -------------------------------------------------------
   PHILOSOPHY / TWO-COL SECTIONS
   ------------------------------------------------------- */

.sp-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .sp-two-col { grid-template-columns: 1fr 1fr; }
  .sp-two-col--reverse .sp-two-col__visual { order: -1; }
}

.sp-two-col__checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.sp-two-col__check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #334155;
  font-size: 16px;
}

.sp-two-col__check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-two-col__visual { position: relative; }

.sp-img-rounded {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0,0,0,0.12);
}

.sp-img-rounded img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  display: block;
}

.sp-floating-badge {
  position: absolute;
  bottom: -32px;
  left: -32px;
  background: #fff;
  padding: 24px 32px;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  border: 1px solid #f1f5f9;
  display: none;
}

@media (min-width: 768px) { .sp-floating-badge { display: block; } }

.sp-floating-badge--dark {
  background: #0f172a;
  border-color: rgba(255,255,255,0.1);
}

.sp-floating-badge__stat {
  font-size: 36px;
  font-weight: 900;
  color: #4f46e5;
  margin-bottom: 4px;
  line-height: 1;
}

.sp-floating-badge__stat--white { color: #fff; }

.sp-floating-badge__label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* -------------------------------------------------------
   CARD GRID SECTIONS
   ------------------------------------------------------- */

.sp-card-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .sp-card-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sp-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.sp-card-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .sp-card-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sp-card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.sp-card-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .sp-card-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* White card */
.sp-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 28px;
  padding: 40px;
  transition: all 0.3s ease;
}

.sp-card:hover {
  border-color: #e0e7ff;
  box-shadow: 0 16px 48px rgba(79,70,229,0.08);
  transform: translateY(-4px);
}

.sp-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all 0.3s;
  color: #4f46e5;
}

.sp-card:hover .sp-card__icon {
  background: #4f46e5;
  color: #fff;
}

.sp-card__title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 12px;
}

.sp-card__desc { font-size: 15px; color: #64748b; line-height: 1.7; }

/* Dark card */
.sp-card--dark {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 40px;
  transition: all 0.3s;
}

.sp-card--dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(99,102,241,0.4);
}

.sp-card--dark .sp-card__icon {
  background: rgba(79,70,229,0.3);
  color: #a5b4fc;
}

.sp-card--dark .sp-card__title { color: #fff; }
.sp-card--dark .sp-card__desc  { color: rgba(255,255,255,0.6); }

/* Stat card */
.sp-stat-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 32px;
  text-align: center;
}

.sp-stat-card__value {
  font-size: 40px;
  font-weight: 900;
  color: #4f46e5;
  line-height: 1;
  margin-bottom: 8px;
}

.sp-stat-card__label {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Image card (with overlay) */
.sp-img-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #0f172a;
}

.sp-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: transform 0.5s ease;
}

.sp-img-card:hover img { transform: scale(1.08); }

.sp-img-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0f172a 0%, transparent 60%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.sp-img-card__tag {
  font-size: 10px;
  font-weight: 900;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.sp-img-card__title {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
}

/* -------------------------------------------------------
   DARK INDIGO SECTION (Research, CMS Architecture etc.)
   ------------------------------------------------------- */

.sp-dark-section {
  background: #1e1b4b;
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}

.sp-dark-section--slate { background: #0f172a; }
.sp-dark-section--gradient {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.sp-dark-section__skew {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.04);
  transform: skewX(-12deg) translateX(50%);
}

.sp-dark-section__checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.sp-dark-check {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  font-size: 16px;
}

.sp-dark-check__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(99,102,241,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* CMS Widget */
.sp-cms-widget {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 40px;
  backdrop-filter: blur(12px);
}

.sp-cms-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.sp-cms-widget__title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-cms-widget__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-cms-widget__status {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sp-cms-row {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sp-cms-row__left { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.8); font-size: 14px; }
.sp-cms-row__icon { color: #a5b4fc; }
.sp-cms-btn {
  background: #4f46e5;
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 16px;
  width: 100%;
  transition: background 0.2s;
}

.sp-cms-btn:hover { background: #4338ca; }

/* Progress bar widget */
.sp-perf-widget {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  padding: 40px;
  backdrop-filter: blur(12px);
}

.sp-perf-big {
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  line-height: 1;
}

.sp-perf-big span { font-size: 28px; color: #a5b4fc; margin-bottom: 8px; }
.sp-perf-label { text-align: center; font-size: 11px; font-weight: 700; color: #a5b4fc; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 32px; }

.sp-progress-track {
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 12px;
}

.sp-progress-fill {
  height: 100%;
  background: #4f46e5;
  border-radius: 9999px;
  transition: width 1s ease;
}

.sp-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Split stats row */
.sp-stats-row {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}

.sp-stats-row__item { padding-left: 24px; border-left: 2px solid #4f46e5; }
.sp-stats-row__val { font-size: 13px; font-weight: 900; color: #a5b4fc; margin-bottom: 4px; display: block; }
.sp-stats-row__label { font-size: 18px; font-weight: 700; color: #fff; }

/* -------------------------------------------------------
   PLATFORM/INTEGRATION GRID
   ------------------------------------------------------- */

.sp-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}

.sp-platform-cell {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sp-platform-cell--accent { background: #4f46e5; }

.sp-platform-cell__inner {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #f8fafc;
}

.sp-platform-cell--accent .sp-platform-cell__inner { background: rgba(255,255,255,0.2); }

/* Integration list */
.sp-integration-list { display: flex; flex-direction: column; gap: 8px; }
.sp-integration-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #334155;
  font-size: 15px;
}

.sp-integration-item--col { flex: 1; }

.sp-integration-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
}

/* -------------------------------------------------------
   QA CHECKLIST / PROCESS STEPS
   ------------------------------------------------------- */

.sp-qa-list { display: flex; flex-direction: column; gap: 12px; max-width: 768px; margin: 0 auto; }

.sp-qa-item {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.2s;
  cursor: default;
}

.sp-qa-item:hover {
  border-color: #e0e7ff;
  box-shadow: 0 4px 16px rgba(79,70,229,0.06);
}

.sp-qa-item__left { display: flex; align-items: center; gap: 24px; }

.sp-qa-item__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #94a3b8;
  font-size: 15px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.sp-qa-item:hover .sp-qa-item__num {
  background: #4f46e5;
  color: #fff;
}

.sp-qa-item__title { font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.sp-qa-item__desc  { font-size: 13px; color: #64748b; }

.sp-qa-item__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  flex-shrink: 0;
  transition: all 0.2s;
}

.sp-qa-item:hover .sp-qa-item__dot {
  background: #4f46e5;
  border-color: #4f46e5;
}

/* Process timeline */
.sp-process { display: flex; flex-direction: column; gap: 40px; }

.sp-process__step { position: relative; padding-left: 56px; }

.sp-process__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.sp-process__line {
  position: absolute;
  left: 17px;
  top: 48px;
  width: 2px;
  height: 32px;
  background: rgba(79,70,229,0.3);
}

.sp-process__label {
  font-size: 10px;
  font-weight: 900;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.sp-process__title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sp-process__desc  { font-size: 14px; color: #94a3b8; line-height: 1.6; }

/* -------------------------------------------------------
   WHY UISTUDIOZ (dark grid section)
   ------------------------------------------------------- */

.sp-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .sp-why-grid { grid-template-columns: 1fr 1fr; }
}

.sp-why-list { display: flex; flex-direction: column; gap: 40px; margin-top: 48px; }

.sp-why-item { display: flex; gap: 24px; }

.sp-why-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.sp-why-item__title { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sp-why-item__desc  { color: #94a3b8; line-height: 1.7; }

.sp-why-visual {
  position: relative;
  aspect-ratio: 1;
}

.sp-why-visual__glow {
  position: absolute;
  inset: 0;
  background: rgba(79,70,229,0.2);
  border-radius: 50%;
  filter: blur(80px);
}

.sp-why-visual__img {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.sp-why-visual__img img { width: 100%; height: 100%; object-fit: cover; }

/* Optimization loop visual */
.sp-orbit {
  position: relative;
  aspect-ratio: 1;
  display: none;
}

@media (min-width: 1024px) { .sp-orbit { display: block; } }

.sp-orbit__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(79,70,229,0.2);
  animation: orbitPulse 3s ease-in-out infinite;
}

.sp-orbit__ring--outer {
  inset: 0;
  background: rgba(79,70,229,0.06);
  animation-delay: 0s;
}

.sp-orbit__ring--mid {
  inset: 20%;
  background: rgba(79,70,229,0.1);
  border-color: rgba(79,70,229,0.3);
  animation-delay: 0.5s;
}

.sp-orbit__ring--inner {
  inset: 40%;
  background: rgba(79,70,229,0.25);
  border-color: rgba(79,70,229,0.5);
  box-shadow: 0 0 60px rgba(79,70,229,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation-delay: 1s;
}

.sp-orbit__center { text-align: center; }
.sp-orbit__text  { font-size: clamp(14px, 2vw, 20px); font-weight: 900; color: #fff; }
.sp-orbit__sub   { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(255,255,255,0.4); }

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.03); opacity: 0.85; }
}

/* -------------------------------------------------------
   PORTFOLIO / VISUAL PROOF SECTION
   ------------------------------------------------------- */

.sp-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 1024px) {
  .sp-portfolio-grid { grid-template-columns: 8fr 4fr; }
}

.sp-portfolio-main {
  aspect-ratio: 16/10;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.sp-portfolio-main img { width: 100%; height: 100%; object-fit: cover; }

.sp-portfolio-side {
  aspect-ratio: 10/16;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  display: none;
}

@media (min-width: 1024px) { .sp-portfolio-side { display: block; } }

.sp-portfolio-side img { width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------------
   DELIVERABLES SECTION
   ------------------------------------------------------- */

.sp-deliverables-list { display: flex; flex-direction: column; gap: 10px; }

.sp-deliverable {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.sp-deliverable__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(79,70,229,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #4f46e5;
}

/* -------------------------------------------------------
   TESTIMONIALS
   ------------------------------------------------------- */

.sp-testimonials { padding: 96px 24px; background: #f8fafc; }

.sp-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) { .sp-testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.sp-testimonial-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.sp-testimonial-stars { display: flex; gap: 4px; margin-bottom: 24px; }

.sp-testimonial-text {
  color: #334155;
  font-size: 16px;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 32px;
}

.sp-testimonial-author { display: flex; align-items: center; gap: 12px; }

.sp-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.sp-testimonial-name  { font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.sp-testimonial-role  { font-size: 13px; color: #64748b; }

/* -------------------------------------------------------
   FINAL CTA SECTION
   ------------------------------------------------------- */

.sp-cta {
  padding: 96px 24px;
  padding-bottom: 128px;
}

.sp-cta__card {
  max-width: 896px;
  margin: 0 auto;
  background: #4f46e5;
  border-radius: 48px;
  padding: 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(79,70,229,0.35);
}

.sp-cta__card--dark { background: #0f172a; box-shadow: none; }

.sp-cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}

.sp-cta__h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.sp-cta__sub { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 48px; max-width: 560px; margin-left: auto; margin-right: auto; }

.sp-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* -------------------------------------------------------
   SECTION HEADER (centered)
   ------------------------------------------------------- */

.sp-section-header {
  text-align: center;
  margin-bottom: 64px;
}

.sp-section-header .sp-h2 { margin-bottom: 16px; }
.sp-section-header .sp-body { max-width: 640px; margin: 0 auto; }

/* Section header flex (left + right button) */
.sp-section-header-flex {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .sp-section-header-flex {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

/* -------------------------------------------------------
   SCALABILITY VISUAL (CMS blocks mock)
   ------------------------------------------------------- */

.sp-cms-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sp-cms-col { display: flex; flex-direction: column; gap: 16px; }
.sp-cms-col--offset { margin-top: 48px; }

.sp-cms-block {
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}

.sp-cms-block--light { background: #f8fafc; }
.sp-cms-block--indigo { background: #4f46e5; }
.sp-cms-block--dark { background: #0f172a; }

.sp-cms-block__bar { height: 8px; border-radius: 4px; margin-bottom: 16px; }
.sp-cms-block__bar--slate { background: #e2e8f0; width: 48px; }
.sp-cms-block__line { height: 32px; border-radius: 8px; background: #e0e7ff; margin-bottom: 16px; }
.sp-cms-block__line-sm { height: 8px; border-radius: 4px; background: #e2e8f0; width: 67%; }

.sp-cms-block__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 16px;
}

.sp-cms-block__w-full { width: 100%; height: 16px; border-radius: 4px; background: rgba(255,255,255,0.4); margin-bottom: 8px; }
.sp-cms-block__w-half { width: 50%; height: 16px; border-radius: 4px; background: rgba(255,255,255,0.2); }

.sp-cms-block__dots { display: flex; gap: 6px; margin-bottom: 16px; }
.sp-cms-block__dot  { width: 12px; height: 12px; border-radius: 50%; }
.sp-cms-block__code-lines { display: flex; flex-direction: column; gap: 8px; }
.sp-cms-block__code-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.sp-cms-block__code-line-sm { width: 67%; }

.sp-cms-block__dashed {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: 2px dashed #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  color: #cbd5e1;
}

/* -------------------------------------------------------
   WHITE LABEL FAQ
   ------------------------------------------------------- */

.sp-faq { display: flex; flex-direction: column; gap: 0; border-radius: 24px; overflow: hidden; border: 1px solid #f1f5f9; }

.sp-faq__item {
  border-bottom: 1px solid #f1f5f9;
  background: #fff;
}

.sp-faq__item:last-child { border-bottom: none; }

.sp-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
  gap: 16px;
  user-select: none;
}

.sp-faq__q:hover { background: #fafafa; }
.sp-faq__icon { flex-shrink: 0; transition: transform 0.3s; color: #94a3b8; }
.sp-faq__item.open .sp-faq__icon { transform: rotate(180deg); color: #4f46e5; }
.sp-faq__a { display: none; padding: 0 28px 24px; color: #64748b; line-height: 1.7; }
.sp-faq__item.open .sp-faq__a { display: block; }

/* -------------------------------------------------------
   MOBILE SPECIFIC
   ------------------------------------------------------- */

.sp-mobile-frame {
  width: 280px;
  margin: 0 auto;
  background: #0f172a;
  border-radius: 48px;
  padding: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  border: 6px solid #1e293b;
}

.sp-mobile-screen {
  background: #fff;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 9/19;
  position: relative;
}

.sp-mobile-screen__header {
  height: 64px;
  background: #4f46e5;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
}

.sp-mobile-screen__title { color: #fff; font-weight: 700; font-size: 14px; }

.sp-mobile-screen__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.sp-mobile-card {
  background: #f8fafc;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-mobile-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #4f46e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-mobile-card__lines { flex: 1; }
.sp-mobile-card__l1 { height: 8px; background: #0f172a; border-radius: 4px; margin-bottom: 6px; width: 70%; }
.sp-mobile-card__l2 { height: 6px; background: #e2e8f0; border-radius: 3px; width: 50%; }

/* -------------------------------------------------------
   CASE STUDIES GRID (White Label)
   ------------------------------------------------------- */

.sp-cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) { .sp-cases-grid { grid-template-columns: repeat(3, 1fr); } }

.sp-case-card {
  border-radius: 28px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  transition: all 0.3s;
}

.sp-case-card:hover { box-shadow: 0 16px 48px rgba(79,70,229,0.1); transform: translateY(-4px); }

.sp-case-card__img { aspect-ratio: 16/10; overflow: hidden; }
.sp-case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.sp-case-card:hover .sp-case-card__img img { transform: scale(1.06); }

.sp-case-card__body { padding: 28px; }
.sp-case-card__tag  {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4f46e5;
  background: rgba(79,70,229,0.08);
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.sp-case-card__title { font-size: 18px; font-weight: 900; color: #0f172a; margin-bottom: 8px; }
.sp-case-card__desc  { font-size: 14px; color: #64748b; line-height: 1.6; margin-bottom: 16px; }
.sp-case-card__result { font-size: 22px; font-weight: 900; color: #4f46e5; }
.sp-case-card__result-label { font-size: 11px; color: #94a3b8; font-weight: 600; }

/* -------------------------------------------------------
   RESPONSIVE UTILITIES
   ------------------------------------------------------- */

.sp-hidden-mobile { display: none; }
@media (min-width: 768px) { .sp-hidden-mobile { display: block; } }

.sp-order-visual-first { order: -1; }
@media (min-width: 1024px) { .sp-order-visual-first { order: 0; } }

/* -------------------------------------------------------
   MISC
   ------------------------------------------------------- */

.sp-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
  font-size: 14px;
  transition: gap 0.2s;
}

.sp-link-arrow:hover { gap: 10px; }

.sp-border-left { border-left: 2px solid #4f46e5; padding-left: 24px; padding-top: 8px; padding-bottom: 8px; }
.sp-border-left__label { font-size: 10px; font-weight: 900; color: #a5b4fc; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 4px; }
.sp-border-left__title { font-size: 18px; font-weight: 700; color: #fff; }

/* -------------------------------------------------------
   LAYOUT UTILITIES (replace remaining inline styles)
   ------------------------------------------------------- */

.sp-mb-0   { margin-bottom: 0 !important; }
.sp-mb-8   { margin-bottom: 8px; }
.sp-mb-16  { margin-bottom: 16px; }
.sp-mb-24  { margin-bottom: 24px; }
.sp-mb-32  { margin-bottom: 32px; }
.sp-mb-40  { margin-bottom: 40px; }
.sp-mb-48  { margin-bottom: 48px; }
.sp-mb-64  { margin-bottom: 64px; }
.sp-mt-8   { margin-top: 8px; }
.sp-mt-16  { margin-top: 16px; }
.sp-mt-32  { margin-top: 32px; }
.sp-mt-40  { margin-top: 40px; }
.sp-p-32   { padding: 32px; }
.sp-p-48   { padding: 48px; }
.sp-p-64   { padding: 64px; }
.sp-gap-32 { gap: 32px; }
.sp-mw-480 { max-width: 480px; }
.sp-mw-640 { max-width: 640px; }
.sp-mw-700 { max-width: 700px; margin-bottom: 64px; }
.sp-rel-z10 { position: relative; z-index: 10; }
.sp-overflow-hidden { overflow: hidden; }
.sp-aspect-img { aspect-ratio: 16/10; overflow: hidden; }

/* Image card no-pad (for What We Design section) */
.sp-card--img { padding: 0; overflow: hidden; }
.sp-card--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
  transition: transform 0.5s ease;
}
.sp-card--img:hover img { transform: scale(1.08); }
.sp-card--img .sp-card__body { padding: 32px; }

/* Dark rounded box (Post-Launch section) */
.sp-dark-rounded-box {
  background: #0f172a;
  border-radius: 40px;
  padding: 64px;
  overflow: hidden;
  position: relative;
}

/* Section heading left-aligned, max-width */
.sp-section-lead { max-width: 700px; margin-bottom: 64px; }

/* Stats row inline widget */
.sp-stat-inline {
  display: inline-flex;
  gap: 32px;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 24px 32px;
  margin-top: 8px;
}

.sp-stat-inline__value { font-size: 32px; font-weight: 900; color: #4f46e5; margin-bottom: 4px; }
.sp-stat-inline__label { font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; }
.sp-stat-inline__divider { width: 1px; background: #f1f5f9; }

/* Dark section z-index inner */
.sp-dark-inner { position: relative; z-index: 10; }

/* Debug dots (OS chrome for terminal) */
.dot-red   { background: #ef4444; }
.dot-amber { background: #f59e0b; }
.dot-green { background: #22c55e; }

/* Mock icons (Figma titlebar icons) */
.mock-icon { width: 16px; height: 16px; border-radius: 4px; }
.mock-icon--indigo { background: #e0e7ff; }
.mock-icon--gray   { background: #f8fafc; }

/* Section that goes edge to edge and needs outer mb */
.sp-section-inset {
  padding-top: 96px;
  padding-bottom: 0;
  padding-left: 24px;
  padding-right: 24px;
  margin-bottom: 96px;
}

/* Specific height helpers for CMS visual blocks */
.sp-h-192 { height: 192px; }
.sp-h-256 { height: 256px; }
.sp-col-end { display: flex; flex-direction: column; justify-content: flex-end; padding-top: 64px; }
.sp-col-between { display: flex; flex-direction: column; justify-content: space-between; }

/* Specific max-width section wrappers */
.sp-wrap-5xl { max-width: 896px; margin: 0 auto; }

/* Integration list in 2 cols */
.sp-integrations-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
  margin-top: 32px;
}

/* Card with indigo bg button override */
.sp-cta-btn-white {
  background: #fff;
  color: #4f46e5;
  font-weight: 900;
}
/* Specific one-off utility classes */
.sp-body--xl   { font-size: 18px !important; }
.sp-progress-fill--85 { width: 85%; }
.sp-text-muted-lg { color: #94a3b8; font-size: 18px; margin-bottom: 48px; line-height: 1.75; }

/* Stat inline widget */
.sp-stat-inline-widget {
  display: inline-flex;
  gap: 32px;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 24px 32px;
  margin-top: 8px;
  align-items: center;
}
.sp-stat-inline-widget__val  { font-size: 32px; font-weight: 900; color: #4f46e5; }
.sp-stat-inline-widget__lbl  { font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; }
.sp-stat-inline-widget__div  { width: 1px; background: #f1f5f9; height: 40px; }

/* Dark floating badge inner content */
.sp-dark-badge-inner { display: flex; align-items: center; gap: 16px; }
.sp-dark-badge-icon  { width: 48px; height: 48px; border-radius: 16px; background: #4f46e5; display: flex; align-items: center; justify-content: center; }
.sp-dark-badge-title { font-weight: 900; font-size: 18px; color: #fff; }
.sp-dark-badge-sub   { font-size: 10px; color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }

/* Text-centered card icon */
.sp-card--center { text-align: center; }
.sp-card--center .sp-card__icon { margin: 0 auto 24px; }

/* Section center subtext */
.sp-center-sub {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.75;
}

/* Numbered step icon (process cards) */
.sp-card__icon--num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 900;
  color: #4f46e5;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Alternate icon colors for design format cards */
.sp-card__icon--blue   { background: #eff6ff; color: #3b82f6; }
.sp-card__icon--purple { background: #faf5ff; color: #8b5cf6; }
.sp-card__icon--amber  { background: #fffbeb; color: #f59e0b; }

/* Small dot accent */
.sp-dot-dark  { width: 8px; height: 8px; border-radius: 50%; background: #0f172a; }
.sp-dot-green { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; display: inline-block; }
.sp-dot-white { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); }

/* Flow node green */
.sp-flow-node--green { background: #22c55e; }

/* Mobile icon variants */
.sp-mobile-icon--dark   { background: #0f172a; }
.sp-mobile-icon--indigo { background: #6366f1; }

/* Hero wrapper centered with relative pos */
.sp-hero-mobile-wrap { display: flex; justify-content: center; position: relative; }

/* Widget header title */
.sp-widget-title { font-weight: 900; color: #fff; }

/* Badge absolute position override */
.sp-badge--bottom-right { bottom: -24px; right: 0; }

/* Deliverables with constrained width */
.sp-deliverables-wrap { max-width: 700px; margin: 0 auto; }

/* Dark section section-lead (for webflow-dev) */
.sp-section-lead-md { max-width: 700px; margin-bottom: 64px; }

/* -------------------------------------------------------
   SCROLL ANIMATION STATES
   ------------------------------------------------------- */

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="left"] {
  transform: translateX(-24px);
}

[data-animate="right"] {
  transform: translateX(24px);
}

[data-animate="zoom"] {
  transform: scale(0.92);
}

[data-animate].sp-visible,
[data-animate="left"].sp-visible,
[data-animate="right"].sp-visible,
[data-animate="zoom"].sp-visible {
  opacity: 1;
  transform: none;
}

/* Hero left always visible (animated via CSS keyframe) */
.hero-left-animate {
  opacity: 1;
  transform: none;
}


.sp-hero-badge-lg { display: none; }
@media (min-width: 768px) { .sp-hero-badge-lg { display: flex !important; } }
@keyframes cursorBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* -------------------------------------------------------
   HERO SCREEN CONTENT — Figma to Webflow conversion visual
   ------------------------------------------------------- */
.hm-figma-convert {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hm-figma-convert__icons {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 32px;
}
.hm-figma-convert__icon-box {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.hm-figma-convert__icon-box--dark {
  background: #334155;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
  color: #818cf8;
}
.hm-figma-convert__icon-box--indigo {
  background: #4f46e5;
  box-shadow: 0 10px 20px rgba(99,102,241,0.2);
  color: #fff;
}
.hm-figma-convert__arrow { color: #475569; }
.hm-figma-convert__arrow svg { width: 24px; height: 24px; }
.hm-perf-bar { display: flex; flex-direction: column; gap: 12px; }
.hm-perf-bar__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.hm-perf-bar__label { font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; }
.hm-perf-bar__val { font-size: 10px; font-weight: 700; text-transform: uppercase; }
.hm-perf-bar__val--green { color: #4ade80; }
.hm-perf-bar__val--indigo { color: #818cf8; }
.hm-perf-bar__track { height: 6px; background: #1e293b; border-radius: 999px; overflow: hidden; }
.hm-perf-bar__fill { height: 100%; border-radius: 999px; }
.hm-perf-bar__fill--full { width: 100%; background: #818cf8; animation: barGrow 1.5s ease forwards; }
.hm-perf-bar__fill--most { width: 85%; background: #6366f1; animation: barGrow 1.5s ease 0.2s forwards; }
@keyframes barGrow { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); } }

/* -------------------------------------------------------
   HERO SCREEN CONTENT — Migration database visual
   ------------------------------------------------------- */
.hm-migration { height: 100%; display: flex; flex-direction: column; }
.hm-migration__header {
  display: flex; align-items: center; gap: 12px;
  color: #818cf8; margin-bottom: 24px;
}
.hm-migration__header svg { width: 20px; height: 20px; }
.hm-migration__rows { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.hm-migration__row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px;
}
.hm-migration__from { color: #fff; font-weight: 600; }
.hm-migration__arrow { color: #475569; }
.hm-migration__arrow svg { width: 12px; height: 12px; }
.hm-migration__to { color: #818cf8; font-weight: 700; }
.hm-migration__progress { margin-top: 20px; }
.hm-migration__prow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-size: 11px; }
.hm-migration__plabel { color: #94a3b8; font-weight: 600; }
.hm-migration__pval { color: #4ade80; font-weight: 700; }
.hm-migration__bar { height: 6px; background: #1e293b; border-radius: 999px; overflow: hidden; }
.hm-migration__bar-fill { height: 100%; width: 95%; background: linear-gradient(90deg, #818cf8, #4ade80); border-radius: 999px; }

/* -------------------------------------------------------
   SERVICES PAGE — section glow (replaces inline styles)
   ------------------------------------------------------- */
.svc-hero-section {
  padding: 128px 24px 192px;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.svc-hero-bg {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 1280px; height: 100%;
  z-index: 0; pointer-events: none; opacity: 0.1;
}
.svc-hero-bg-circle {
  position: absolute; top: 0; left: 25%;
  width: 600px; height: 600px;
  background: #6366f1; filter: blur(150px); border-radius: 50%;
}
.svc-hero-relative { position: relative; z-index: 1; }

/* Blog hero accent color */
.blog-accent { color: #4f46e5; }

/* Why us card (services page) */
.why-card {
  background: #fff; padding: 40px; border-radius: 24px; border: 1px solid #f1f5f9;
}
.why-card-icon {
  width: 56px; height: 56px; background: #eef2ff; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: #4f46e5;
}
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 64px; }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

/* CTA section in services */
.svc-cta-box {
  background: #4f46e5; border-radius: 40px; padding: 80px 48px;
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.svc-cta-box__glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}
.svc-cta-title { font-size: clamp(32px,4vw,48px); font-weight: 900; margin-bottom: 24px; position: relative; }
.svc-cta-sub { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto 48px; line-height: 1.75; position: relative; }
.svc-cta-btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; position: relative; }
