/**
 * SplitX FinTech Mobile App Case Study Styles
 * Layout design based on reference architecture, adapted for Smit Italiya's portfolio design system.
 */

:root {
  --sx-bg: #f7f7f5;
  --sx-paper: #ffffff;
  --sx-ink: #0a0a0a;
  --sx-muted: #64748b;
  --sx-line: #deded9;
  --sx-green: #70e233;
  --sx-green-soft: #c9f8b2;
  --sx-green-deep: #246d13;
  --sx-black: #090a09;
  --sx-black-2: #171917;
  --sx-orange: #fe370b;
  --sx-purple: #8c70ff;
  --sx-blue: #38bdf8;
  --sx-radius: 20px;
  --sx-max: 1320px;
}

/* Base Wrapper */
.cs-splitx-page {
  background: var(--sx-bg);
  color: var(--sx-ink);
  font-family: var(--font-body, 'Geist', -apple-system, sans-serif);
  line-height: 1.5;
  overflow-x: hidden;
  padding-top: 72px; /* Fixed site header offset */
}

/* Global Headings — Consistent Medium Weight (500) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-weight: 500;
}

.sx-wrap {
  width: min(calc(100% - 48px), var(--sx-max));
  margin: 0 auto;
}

.sx-caps {
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sx-muted);
}

/* Secondary Sub-Bar (Sticky Case Study Navigation) */
.cs-subbar {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cs-subbar-inner {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cs-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 12px;
  font-weight: 600;
  color: var(--sx-ink);
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.cs-back-link:hover {
  color: var(--color-accent, #fe370b);
  transform: translateX(-3px);
}

.cs-section-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cs-section-nav a {
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--sx-ink);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.cs-section-nav a:hover {
  opacity: 1;
  color: var(--color-accent, #fe370b);
}

.cs-subbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cs-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--sx-ink);
  color: #ffffff !important;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cs-live-pill:hover {
  background: var(--sx-green-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(36, 109, 19, 0.35);
}

/* =========================================================================
   1. HERO SECTION
   ========================================================================= */
.sx-hero {
  padding: 48px 0 0;
  position: relative;
}

.sx-hero-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.sx-hero-title {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: clamp(68px, 12vw, 160px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.82;
  margin: 0 0 24px;
  color: var(--sx-ink);
}

.sx-hero-title em {
  font-style: normal;
  color: var(--sx-green-deep);
}

.sx-hero-sub {
  max-width: 680px;
  margin: 36px 0 0 auto;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.25;
  font-weight: 450;
  color: #1e293b;
}

.sx-hero-meta {
  margin-top: 56px;
  padding: 24px 0 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr;
  gap: 28px;
  border-top: 1px solid var(--sx-line);
}

.sx-meta-block small {
  display: block;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sx-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.sx-meta-block b {
  font-size: 15px;
  font-weight: 600;
  color: var(--sx-ink);
}

/* Large Hero Visual Stage */
.sx-hero-visual {
  min-height: 740px;
  background: #e5e5e2;
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.sx-hero-visual::before {
  content: "";
  position: absolute;
  width: 75vw;
  height: 75vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 248, 178, 0.85), rgba(112, 226, 51, 0.15) 45%, transparent 70%);
  top: -35vw;
  right: -20vw;
  pointer-events: none;
}

.sx-phone {
  width: 316px;
  height: 635px;
  border: 11px solid #101110;
  border-radius: 48px;
  background: #f6f6f4;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.22), 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: rotate(-6deg);
  position: relative;
  z-index: 2;
  padding: 12px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.sx-phone:hover {
  transform: rotate(-4deg) translateY(-8px);
}

.sx-phone::before {
  content: "";
  position: absolute;
  width: 105px;
  height: 24px;
  border-radius: 999px;
  background: #111111;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
  z-index: 10;
}

.sx-phone-screen {
  height: 100%;
  border-radius: 34px;
  background: #fbfbfa;
  padding: 44px 14px 16px;
  display: flex;
  flex-direction: column;
}

.sx-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sx-app-title {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.sx-mini-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fe370b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.sx-balance {
  background: var(--sx-black);
  color: #ffffff;
  padding: 18px 18px 20px;
  border-radius: 20px;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.sx-balance small {
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.sx-balance strong {
  display: block;
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: 32px;
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: -0.04em;
}

.sx-balance-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.sx-chip {
  background: #222623;
  border-radius: 999px;
  padding: 6px 10px;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 9px;
  font-weight: 600;
  color: #e2e8f0;
}

.sx-chip.positive {
  color: #86efac;
  border: 1px solid rgba(134, 239, 172, 0.25);
}

.sx-group-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 12px 14px;
  border-radius: 16px;
  margin-top: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.sx-group-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sx-group-title {
  font-size: 13px;
  font-weight: 500;
  color: #0f172a;
}

.sx-group-amt {
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 12px;
  font-weight: 700;
  color: var(--sx-green-deep);
}

.sx-rowline {
  height: 6px;
  border-radius: 99px;
  background: #e2e8f0;
  margin: 6px 0;
}

.sx-rowline.short {
  width: 58%;
}

.sx-fab {
  position: absolute;
  bottom: 26px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sx-green);
  color: #000000;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 400;
  box-shadow: 0 10px 24px rgba(112, 226, 51, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.sx-fab:hover {
  transform: scale(1.08);
}

.sx-float-copy {
  position: absolute;
  left: 8vw;
  bottom: 64px;
  max-width: 360px;
  font-size: 15px;
  line-height: 1.5;
  color: #334155;
  z-index: 3;
}

.sx-float-copy b {
  display: block;
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--sx-ink);
  margin-bottom: 12px;
}

.sx-dummy-label {
  position: absolute;
  right: 28px;
  bottom: 28px;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

/* =========================================================================
   2. EDITORIAL SECTIONS (OVERVIEW & SPLIT COPY)
   ========================================================================= */
.sx-section {
  padding: 120px 0;
  position: relative;
}

.sx-edge-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 56px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sx-line);
}

.sx-split-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  max-width: 1140px;
  margin: 0 auto 90px;
}

.sx-copy-block h3 {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--sx-ink);
}

.sx-copy-block p {
  margin: 0;
  max-width: 480px;
  font-size: 16.5px;
  color: #334155;
  line-height: 1.65;
}

.sx-statement {
  width: min(1140px, 94%);
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin: 100px auto 90px;
  color: var(--sx-ink);
}

.sx-project-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
}

.sx-brand-panel,
.sx-device-panel {
  min-height: 580px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.sx-brand-panel {
  background: #080908;
  display: grid;
  place-items: center;
  color: #ffffff;
}

.sx-splitx-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: 64px;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.sx-splitx-logo i {
  width: 72px;
  height: 72px;
  background: var(--sx-green);
  border-radius: 20px;
  position: relative;
  display: block;
}

.sx-splitx-logo i::before,
.sx-splitx-logo i::after {
  content: "";
  position: absolute;
  background: #080908;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.sx-splitx-logo i::before {
  left: -8px;
  top: 20px;
}

.sx-splitx-logo i::after {
  right: -8px;
  top: 20px;
}

.sx-device-panel {
  background: linear-gradient(135deg, #ebebe8, #d4d5cf);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sx-device-panel .sx-phone {
  transform: rotate(8deg) translateY(36px);
  width: 290px;
  height: 580px;
}

.sx-approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  width: min(1200px, 92%);
  margin: 90px auto 0;
}

.sx-approach h4 {
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--color-accent, #fe370b);
  margin: 0 0 18px;
}

.sx-approach p {
  max-width: 520px;
  font-size: 17px;
  margin: 0;
  color: #334155;
  line-height: 1.65;
}

/* =========================================================================
   3. WIREFRAMES & UX STRUCTURE
   ========================================================================= */
.sx-wireframes {
  background: #f1f1ee;
  padding: 110px 0;
}

.sx-wire-title {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: clamp(36px, 4.5vw, 68px);
  letter-spacing: -0.05em;
  line-height: 1.1;
  max-width: 800px;
  margin: 0 0 55px;
  font-weight: 500;
  color: var(--sx-ink);
}

.sx-wire-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.sx-wire-card {
  min-height: 290px;
  border: 1px solid #d4d4d0;
  border-radius: 12px;
  background: #ffffff;
  padding: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sx-wire-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.sx-wire-top {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.sx-wire-top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.sx-wire-sidebar {
  width: 24%;
  height: 210px;
  background: #f1f5f9;
  border-radius: 6px;
  float: left;
  margin-right: 12px;
}

.sx-wire-main {
  overflow: hidden;
}

.sx-wline {
  height: 8px;
  background: #e2e8f0;
  border-radius: 3px;
  margin-bottom: 8px;
}

.sx-wline.dark {
  background: #94a3b8;
}

.sx-wline.short {
  width: 60%;
}

.sx-wbox {
  height: 64px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin: 10px 0;
}

.sx-wire-color-block {
  margin: 80px auto 0;
  width: 100%;
  min-height: 520px;
  background: linear-gradient(135deg, var(--sx-green-soft), #aaee8e);
  border-radius: 18px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
}

.sx-ui-panel {
  background: #0c0e0c;
  border-radius: 14px;
  min-height: 380px;
  padding: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

.sx-ui-panel .navline {
  height: 34px;
  background: #171a17;
  border-radius: 7px;
  margin-bottom: 12px;
}

.sx-ui-panel .content-line {
  height: 44px;
  background: #181b18;
  border-radius: 8px;
  margin: 8px 0;
}

.sx-ui-panel .content-line.green {
  background: #1b3a17;
}

.sx-mobile-ui {
  width: 220px;
  height: 420px;
  border-radius: 28px;
  background: #0b0d0b;
  border: 6px solid #222222;
  justify-self: center;
  padding: 20px 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.sx-mobile-ui .content-line {
  height: 40px;
  background: #171a17;
  border-radius: 8px;
  margin: 8px 0;
}

.sx-mobile-ui .content-line.green {
  background: #244d1d;
}

/* =========================================================================
   4. USER FLOW & ARCHITECTURE
   ========================================================================= */
.sx-flow-stage {
  min-height: 940px;
  background: #ffffff;
  position: relative;
  padding: 100px 0 0;
  overflow: hidden;
}

.sx-flow-map {
  width: 120%;
  margin-left: -10%;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 60px;
}

.sx-node {
  background: #eff0ec;
  border: 1px solid #d8dad4;
  border-radius: 8px;
  min-height: 56px;
  padding: 12px 8px;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  display: grid;
  place-items: center;
  position: relative;
  color: #1e293b;
}

.sx-node.green {
  background: #c9f8b2;
  border-color: #94dd73;
  color: #14532d;
}

.sx-node.strong {
  background: var(--sx-green);
  border-color: var(--sx-green);
  color: #052e16;
  font-weight: 700;
}

.sx-node::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 16px;
  height: 1px;
  background: #cbd5e1;
}

.sx-node:nth-child(9n)::after {
  display: none;
}

.sx-laptop {
  position: absolute;
  width: min(940px, 76vw);
  height: 520px;
  border-radius: 28px 28px 8px 8px;
  background: #111111;
  left: 50%;
  transform: translateX(-50%) rotate(4deg);
  bottom: -60px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.28);
  padding: 16px;
  z-index: 4;
}

.sx-laptop-screen {
  width: 100%;
  height: 100%;
  background: #0e100f;
  border-radius: 16px;
  padding: 24px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
}

.sx-dash-side {
  background: #161916;
  border-radius: 10px;
}

.sx-dash-main {
  display: grid;
  grid-template-rows: 95px 1fr;
  gap: 14px;
}

.sx-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sx-dash-stat {
  background: #171a18;
  border-radius: 10px;
}

.sx-dash-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.sx-chart,
.sx-activity {
  background: #171a18;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.sx-chart::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 30%;
  height: 2px;
  background: var(--sx-green);
  transform: skewY(-8deg);
  box-shadow: 60px -18px 0 var(--sx-green), 120px 5px 0 var(--sx-green);
}

.sx-rock {
  position: absolute;
  width: 420px;
  height: 210px;
  border-radius: 50%;
  background: #d1d1cd;
  filter: contrast(1.2);
  bottom: -60px;
  right: -130px;
  transform: rotate(-14deg);
}

/* =========================================================================
   5. DESIGN SYSTEM
   ========================================================================= */
.sx-design-system {
  background: #fafafa;
  padding: 110px 0 130px;
}

.sx-type-showcase {
  width: 100%;
  margin: 0 auto;
  padding: 56px;
  min-height: 380px;
  background: #e9e9e7;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.sx-font-name {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: 82px;
  letter-spacing: -0.06em;
  line-height: 0.9;
  font-weight: 500;
  color: var(--sx-ink);
}

.sx-font-copy {
  max-width: 600px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #334155;
}

.sx-weights {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 12px;
}

.sx-weights b:nth-child(1) { font-weight: 300; }
.sx-weights b:nth-child(2) { font-weight: 500; }
.sx-weights b:nth-child(3) { font-weight: 600; }
.sx-weights b:nth-child(4) { font-weight: 800; }

.sx-palette-panel {
  width: 100%;
  margin: 20px auto 0;
  background: #080908;
  border-radius: 16px;
  padding: 36px;
  color: #ffffff;
}

.sx-palette-panel h3 {
  margin: 0 0 28px;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.sx-color-row {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 8px;
  margin: 8px 0;
}

.sx-swatch {
  height: 64px;
  border-radius: 6px;
  padding: 6px;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 9px;
  color: #0b0b0b;
  display: flex;
  align-items: flex-end;
}

.sx-swatch.darktext {
  color: #ffffff;
}

.sx-token-panels {
  width: 100%;
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sx-token-panel {
  min-height: 360px;
  border-radius: 16px;
  padding: 32px;
  color: #ffffff;
}

.sx-token-panel.purple {
  background: #9682ff;
}

.sx-token-panel.orange {
  background: #ff7828;
}

.sx-token-panel h3 {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: 28px;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

.sx-token-table {
  background: #161817;
  color: #ffffff;
  border-radius: 14px;
  padding: 16px;
}

.sx-token-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 6px;
  border-top: 1px solid #30332f;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 11px;
}

.sx-token-line:first-child {
  border-top: 0;
}

/* =========================================================================
   6. DESIGN PHASE & HIGH-FIDELITY UI
   ========================================================================= */
.sx-phase-intro {
  padding: 120px 0;
}

.sx-phase-message {
  max-width: 1000px;
  margin: 0 0 70px;
}

.sx-phase-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--sx-green);
  margin-bottom: 24px;
  position: relative;
}

.sx-phase-icon::before,
.sx-phase-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sx-bg);
  top: 14px;
}

.sx-phase-icon::before { left: -6px; }
.sx-phase-icon::after { right: -6px; }

.sx-phase-message h2 {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.05em;
  font-weight: 500;
  margin: 0;
  color: var(--sx-ink);
}

.sx-main-ui-show {
  width: 100%;
  margin: 0 auto;
  background: #69dc38;
  border-radius: 18px;
  min-height: 650px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: 28px;
  align-items: center;
}

.sx-desktop-frame {
  background: #0b0d0b;
  border-radius: 16px;
  padding: 16px;
  min-height: 490px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.25);
}

.sx-desktop-frame .screen {
  height: 100%;
  background: #111411;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 12px;
  padding: 16px;
}

.sx-mobile-frame {
  width: 230px;
  height: 470px;
  background: #101210;
  border: 7px solid #20231f;
  border-radius: 35px;
  justify-self: center;
  padding: 18px 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.sx-side-ui {
  background: #171a17;
  border-radius: 8px;
}

.sx-main-ui {
  display: grid;
  grid-template-rows: 54px repeat(4, 1fr);
  gap: 10px;
}

.sx-ui-block {
  background: #181b18;
  border-radius: 8px;
}

.sx-ui-block.green {
  background: #234e1b;
}

.sx-mobile-frame .sx-ui-block {
  height: 50px;
  margin: 8px 0;
}

.sx-design-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: min(1120px, 92%);
  margin: 70px auto 0;
}

.sx-design-notes p {
  font-size: 16.5px;
  margin: 0;
  color: #334155;
  line-height: 1.65;
}

/* Screen Wall Gallery */
.sx-screen-wall {
  margin-top: 100px;
  background: linear-gradient(#d9ffc7, #c1f6a7 55%, #eff9ea);
  padding: 80px 0 130px;
  border-radius: 24px;
}

.sx-screen-wall-grid {
  width: min(1180px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.sx-screen-col {
  display: grid;
  gap: 24px;
}

.sx-screen-placeholder {
  min-height: 380px;
  background: #0d0f0d;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 24px 55px rgba(30, 80, 15, 0.16);
  overflow: hidden;
}

.sx-screen-placeholder.tall { min-height: 800px; }
.sx-screen-placeholder.medium { min-height: 520px; }

.sx-fake-ui {
  height: 100%;
  min-height: inherit;
  background: #141714;
  border-radius: 10px;
  padding: 18px;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 12px;
}

.sx-fake-side {
  background: #101210;
  border-radius: 7px;
}

.sx-fake-main {
  display: grid;
  grid-template-rows: 48px repeat(5, 1fr);
  gap: 10px;
}

.sx-fake-main span {
  background: #1c1f1c;
  border-radius: 7px;
}

.sx-fake-main span:nth-child(3) { background: #1f3f19; }
.sx-fake-main span:nth-child(5) { background: #252226; }

/* =========================================================================
   7. FEATURES / CORE PRODUCT DECISIONS
   ========================================================================= */
.sx-feature-section {
  padding: 120px 0;
}

.sx-feature-title {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: clamp(48px, 6.5vw, 98px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 500;
  max-width: 1000px;
  margin: 0;
  color: var(--sx-ink);
}

.sx-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 80px;
}

.sx-feature-card {
  border-top: 1px solid var(--sx-ink);
  padding-top: 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.sx-feature-card .num {
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 11px;
  color: var(--sx-muted);
  margin-bottom: 60px;
  font-weight: 600;
}

.sx-feature-card h3 {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--sx-ink);
}

.sx-feature-card p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================================
   8. OUTCOME & LIVE PRODUCT
   ========================================================================= */
.sx-outcome {
  background: #090a09;
  color: #ffffff;
  padding: 120px 0 100px;
  border-radius: 24px 24px 0 0;
}

.sx-outcome h2 {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: clamp(52px, 7.5vw, 116px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.065em;
  margin: 0;
  max-width: 1050px;
}

.sx-outcome-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  margin-top: 90px;
  align-items: center;
}

.sx-outcome-copy {
  font-size: 19px;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 580px;
}

.sx-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #2a2c29;
  border: 1px solid #2a2c29;
  border-radius: 12px;
  overflow: hidden;
}

.sx-metric {
  background: #111311;
  padding: 28px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sx-metric strong {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: 44px;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: var(--sx-green);
}

.sx-metric span {
  display: block;
  color: #94a3b8;
  font-family: var(--font-mono, 'Geist Mono', monospace);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 14px;
}

/* =========================================================================
   9. NEXT PROJECT NAV & CASE FOOTER
   ========================================================================= */
.sx-next {
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--sx-line);
}

.sx-next h3 {
  font-family: var(--font-heading, 'TASA Orbiter', sans-serif);
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 500;
}

.sx-next-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1.5px solid var(--sx-ink);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: var(--sx-ink);
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.sx-next-btn:hover {
  background: var(--sx-ink);
  color: #ffffff;
  transform: translateX(6px);
}

/* Reveal Observer Animations */
.sx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.sx-reveal.on {
  opacity: 1;
  transform: none;
}

/* =========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 1050px) {
  .cs-section-nav { display: none; }
  .sx-hero-meta { grid-template-columns: 1fr 1fr; }
  .sx-split-copy,
  .sx-approach,
  .sx-outcome-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sx-project-pair { grid-template-columns: 1fr; }
  .sx-wire-grid { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .sx-wire-color-block { grid-template-columns: 1fr; }
  .sx-mobile-ui { display: none; }
  .sx-type-showcase { grid-template-columns: 1fr; }
  .sx-token-panels { grid-template-columns: 1fr; }
  .sx-main-ui-show { grid-template-columns: 1fr; }
  .sx-mobile-frame { display: none; }
  .sx-design-notes { grid-template-columns: 1fr; }
  .sx-features { grid-template-columns: 1fr 1fr; }
  .sx-screen-wall-grid { width: 92%; }
}

@media (max-width: 720px) {
  .cs-splitx-page { padding-top: 64px; }
  .cs-subbar { top: 64px; }
  .cs-subbar-right .sx-caps { display: none; }
  .sx-wrap { width: min(calc(100% - 32px), var(--sx-max)); }
  .sx-hero { padding-top: 28px; }
  .sx-hero-topline { margin-bottom: 20px; }
  .sx-hero-title { font-size: clamp(60px, 20vw, 96px); line-height: 0.85; }
  .sx-hero-sub { margin-top: 28px; font-size: 20px; }
  .sx-hero-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  .sx-hero-visual { min-height: 620px; }
  .sx-phone { width: 260px; height: 530px; }
  .sx-float-copy { left: 20px; bottom: 24px; max-width: 250px; }
  .sx-float-copy b { font-size: 24px; }
  .sx-section { padding: 80px 0; }
  .sx-edge-labels { margin-bottom: 40px; }
  .sx-split-copy { margin-bottom: 50px; }
  .sx-statement { margin: 70px auto 50px; }
  .sx-brand-panel, .sx-device-panel { min-height: 440px; }
  .sx-splitx-logo { font-size: 44px; }
  .sx-splitx-logo i { width: 54px; height: 54px; }
  .sx-device-panel .sx-phone { width: 230px; height: 460px; }
  .sx-wireframes { padding: 70px 0; }
  .sx-wire-grid { grid-template-columns: 1fr; }
  .sx-wire-card:nth-child(n+5) { display: none; }
  .sx-wire-color-block { min-height: 440px; padding: 20px; }
  .sx-flow-stage { min-height: 700px; }
  .sx-flow-map { grid-template-columns: repeat(4, 1fr); width: 170%; margin-left: -35%; }
  .sx-laptop { width: 92vw; height: 380px; }
  .sx-laptop-screen { grid-template-columns: 90px 1fr; padding: 14px; }
  .sx-dash-stats { grid-template-columns: 1fr; }
  .sx-dash-stat:nth-child(n+2) { display: none; }
  .sx-type-showcase { padding: 28px; }
  .sx-font-name { font-size: 56px; }
  .sx-color-row { grid-template-columns: repeat(3, 1fr); }
  .sx-phase-intro { padding: 80px 0; }
  .sx-main-ui-show { padding: 20px; min-height: 440px; }
  .sx-desktop-frame { min-height: 380px; }
  .sx-desktop-frame .screen { grid-template-columns: 90px 1fr; }
  .sx-design-notes { width: 100%; }
  .sx-screen-wall-grid { grid-template-columns: 1fr; }
  .sx-screen-placeholder.tall { min-height: 550px; }
  .sx-features { grid-template-columns: 1fr; }
  .sx-feature-card .num { margin-bottom: 30px; }
  .sx-outcome { padding: 80px 0; }
  .sx-metric-grid { grid-template-columns: 1fr; }
  .sx-next h3 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .sx-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
