/* ==========================================================================
   MALIKAXIOM TECHNOLOGY — ENHANCED SERVICE PAGES DESIGN SYSTEM v9.0
   Ultra-Premium, Modern, Technical, Visual & Conversion-Focused
   ========================================================================== */

/* ── Custom Interactive Cursor ─────────────────────────────────────────── */



/* ── Root Body ─────────────────────────────────────────────────────────── */
.sp-clean-body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Scroll Progress ───────────────────────────────────────────────────── */
.scroll-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: #0077ff !important;
  width: 0%;
  z-index: 100000 !important;
  box-shadow: 0 0 10px #0077ff, 0 0 5px rgba(0, 119, 255, 0.8) !important;
  transition: width .08s linear;
  pointer-events: none;
}

/* ── Shared Utility ────────────────────────────────────────────────────── */
.sp-clean-section {
  padding: 70px 0;
  position: relative;
}
.sp-clean-section + .sp-clean-section {
  border-top: 1px solid var(--border-subtle);
}
.text-center { text-align: center; }

/* ── Eyebrow Label ── */
.sp-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(0, 119, 255, 0.25) !important;
  padding: 6px 16px !important;
  border-radius: 9999px !important;
  font-family: var(--font-body, 'Inter', sans-serif) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  color: #0077ff !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.sp-eyebrow-dot {
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #0077ff !important;
  box-shadow: 0 0 8px #0077ff, 0 0 16px rgba(0, 119, 255, 0.6) !important;
  animation: eyebrowPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
  flex-shrink: 0 !important;
}
@keyframes eyebrowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
[data-theme="light"] .sp-eyebrow {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(0, 102, 255, 0.28) !important;
  color: #0066ff !important;
  box-shadow: none !important;
}

/* ── Section Heading System ────────────────────────────────────────────── */
.sp-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; line-height: 1.16;
  color: var(--text-main); margin: 0 0 16px;
  letter-spacing: -.035em;
}
.sp-section-sub {
  font-size: 1.08rem; color: var(--text-muted);
  max-width: 580px; line-height: 1.7; margin: 0;
}
.sp-section-header { margin-bottom: 38px; }
.sp-section-header.text-center { text-align: center !important; }
.sp-section-header.text-center .sp-eyebrow { justify-content: center !important; margin-left: auto !important; margin-right: auto !important; }
.sp-section-header.text-center .sp-section-title { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
.sp-section-header.text-center .sp-section-sub { text-align: center !important; margin: 0 auto !important; max-width: 820px !important; }

/* ── HERO ──────────────────────────────────────────────────────────────── */
.sp-clean-hero {
  padding: 115px 0 45px;
  position: relative; overflow: hidden;
  min-height: auto; display: flex; align-items: center;
}
.sp-hero-container { position: relative; z-index: 1; }
.sp-hero-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .84rem; color: var(--text-muted);
  text-decoration: none; margin-bottom: 44px;
  transition: color .25s, transform .25s; letter-spacing: .3px;
  font-weight: 600;
}
.sp-hero-back-link:hover { color: #0077ff; transform: translateX(-3px); }

.sp-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 44px;
  align-items: stretch;
}

/* Hero Left */
.sp-hero-copy {
  max-width: 860px;
}
.sp-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -.045em; margin: 0 0 22px;
  color: var(--text-main);
}
.electric-blue-text,
.sp-highlight {
  color: #0066ff !important;
  background: none !important;
  background-color: transparent !important;
  -webkit-text-fill-color: #0066ff !important;
  font-weight: 700 !important;
  display: inline-block !important;
  text-shadow: none !important;
  filter: none !important;
}
[data-theme="light"] .electric-blue-text,
[data-theme="light"] .sp-highlight {
  color: #0066ff !important;
  background: none !important;
  background-color: transparent !important;
  -webkit-text-fill-color: #0066ff !important;
  font-weight: 700 !important;
  display: inline-block !important;
  text-shadow: none !important;
  filter: none !important;
}
.sp-hero-lead {
  font-size: 1.1rem; color: var(--text-muted);
  line-height: 1.75; margin: 0 0 32px; max-width: 680px;
}
.sp-hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Visual (Code Editor Only) */
.sp-hero-dual-visual {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: 840px;
}

.sp-hero-code-editor {
  width: 100%;
}

/* IDE Code Editor */
.sp-hero-code-editor {
  background: #0c1017;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
[data-theme="light"] .sp-hero-code-editor {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06);
}
.sp-editor-tab-bar {
  background: #131822; padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.sp-editor-dots { display: flex; gap: 7px; }
.sp-editor-dots span { width: 12px; height: 12px; border-radius: 50%; }
.sp-editor-dots span:nth-child(1){background:#ff5f57}
.sp-editor-dots span:nth-child(2){background:#febc2e}
.sp-editor-dots span:nth-child(3){background:#28c840}
.sp-editor-tab {
  display: flex; align-items: center; gap: 7px;
  background: rgba(0, 119, 255, 0.2);
  border: 1px solid rgba(0, 119, 255, 0.2);
  padding: 4px 14px; border-radius: 8px;
  font-family: 'Fira Code', monospace; font-size: .78rem;
  color: #0077ff; font-weight: 500;
}
.sp-editor-body {
  display: grid; grid-template-columns: 44px 1fr;
  flex: 1;
  min-height: 250px;
  max-height: 320px;
  overflow: hidden; padding: 18px 0;
}

/* UI Mockup Card */
.sp-hero-ui-mockup {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
  transition: border-color .3s, transform .3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.sp-hero-ui-mockup:hover {
  border-color: rgba(0, 119, 255, 0.2);
  transform: translateY(-2px);
}
.sp-ui-mockup-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px; background: rgba(0, 119, 255, 0.2);
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-heading); font-size: .78rem;
  font-weight: 700; color: var(--text-muted);
}

.sp-ui-mockup-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sp-ui-mockup-img {
  width: 100%;
  flex: 1;
  min-height: 180px;
  max-height: 250px;
  display: block;
  object-fit: cover;
}
.sp-ui-mockup-info {
  padding: 14px 18px; border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}
.sp-ui-mockup-title {
  font-family: var(--font-heading); font-size: .88rem;
  font-weight: 700; color: var(--text-main); margin-bottom: 4px;
}
.sp-ui-mockup-sub { font-size: .78rem; color: var(--text-muted); }

/* ── VIDEO SHOWCASE ────────────────────────────────────────────────────── */
.sp-video-section {
  padding: 108px 0;
  background: radial-gradient(circle at 50% 28%, rgba(0, 119, 255, 0.14) 0%, transparent 55%),
              linear-gradient(180deg, #070b1f 0%, #04050a 100%);
  background-color: #04050a;
  position: relative; overflow: hidden;
}
[data-theme="light"] .sp-video-section {
  background: radial-gradient(circle at 50% 25%, rgba(0, 119, 255, 0.11) 0%, transparent 60%),
              linear-gradient(180deg, #eaf2ff 0%, #f8fbff 100%);
  background-color: #eef4ff;
}

.sp-video-showcase-wrap { width: 100%; max-width: 1140px; margin: 0 auto; transition: transform 0.3s ease, max-width 0.3s ease; }
.sp-video-cinematic {
  position: relative; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(0, 119, 255, 0.28);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 48px 140px rgba(0,0,0,.65), 0 0 90px rgba(0, 119, 255, 0.22);
  aspect-ratio: 16/9; background: #000;
}
[data-theme="light"] .sp-video-cinematic {
  border-color: rgba(0, 119, 255, 0.25);
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 44px 90px rgba(0,0,0,.15);
}
.sp-video-cinematic video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.sp-video-badge {
  position: absolute; top: 20px; left: 20px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.7); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  padding: 8px 16px; border-radius: 9999px;
  font-family: var(--font-heading); font-size: .72rem;
  font-weight: 700; letter-spacing: 1.5px; color: #fff;
}
.sp-video-controls {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px; padding: 0 6px;
}
.sp-video-meta h3 {
  font-family: var(--font-heading); font-size: 1.08rem;
  font-weight: 800; color: var(--text-main); margin: 0 0 4px;
}
.sp-video-meta p { font-size: .9rem; color: var(--text-muted); margin: 0; }
.sp-video-toggle-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0, 119, 255, 0.2);
  border: 1px solid rgba(0, 119, 255, 0.2);
  padding: 10px 22px; border-radius: 9999px;
  font-family: var(--font-heading); font-size: .8rem;
  font-weight: 700; color: #0077ff;
  cursor: pointer; transition: all .25s; white-space: nowrap;
}
.sp-video-toggle-btn:hover {
  background: rgba(0, 119, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 255, 0.2);
}

/* ── AI CAPABILITY CARDS GRID ──────────────────────────────────────── */
.sp-capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.sp-capability-card {
  background: var(--surface-elevated, rgba(15, 23, 42, 0.5));
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.sp-capability-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 119, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.sp-capability-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.sp-capability-num {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 5px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.sp-capability-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  line-height: 1.2;
}
.sp-capability-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
[data-theme="light"] .sp-capability-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
[data-theme="light"] .sp-capability-card:hover {
  border-color: rgba(0, 119, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.1);
}

/* ── WHAT WE BUILD ─────────────────────────────────────────────────────── */
.sp-what-build-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.sp-featured-cap {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 22px; overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.sp-featured-cap:hover {
  border-color: rgba(0, 119, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,.3), 0 0 40px rgba(0, 119, 255, 0.2);
}
.sp-featured-cap-content {
  padding: 52px 52px 52px;
  display: flex; flex-direction: column; justify-content: center;
}
.sp-featured-label {
  font-family: var(--font-heading); font-size: .72rem;
  font-weight: 700; letter-spacing: 2px;
  color: #0077ff; text-transform: uppercase; margin-bottom: 18px;
}
.sp-featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 800; line-height: 1.18;
  letter-spacing: -.03em; color: var(--text-main); margin: 0 0 18px;
}
.sp-featured-desc {
  font-size: 1.02rem; color: var(--text-muted);
  line-height: 1.75; margin: 0;
}
.sp-featured-cap-visual {
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.2) 0%, rgba(0, 119, 255, 0.2) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; min-height: 300px;
  border-left: 1px solid var(--border-subtle);
}
.sp-featured-cap-visual img {
  width: 100%; height: 100%; object-fit: cover; opacity: .92;
  transition: transform .6s ease;
}
.sp-featured-cap:hover .sp-featured-cap-visual img { transform: scale(1.04); }

/* Small capability cards */
.sp-cap-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 18px; padding: 36px 30px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  cursor: default;
}
.sp-cap-card:hover {
  border-color: rgba(0, 119, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(0,0,0,.2);
}
.sp-cap-icon {
  width: 48px; height: 48px;
  background: rgba(0, 119, 255, 0.2);
  border: 1px solid rgba(0, 119, 255, 0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
[data-theme="light"] .sp-cap-icon { background: rgba(0, 119, 255, 0.2); border-color: rgba(0, 119, 255, 0.2); }
.sp-cap-card-title {
  font-family: var(--font-heading); font-size: 1.05rem;
  font-weight: 700; color: var(--text-main); margin: 0;
}
.sp-cap-card-desc {
  font-size: .9rem; color: var(--text-muted);
  line-height: 1.68; margin: 0;
}

/* ── 4. WHY IT MATTERS — RED PROBLEM CARD → BLUE ARROW → GREEN SOLUTION CARD ── */
.sp-problems-section {
  padding: 120px 0;
  background: #06080e;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sp-problems-grid-matrix {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 119, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 119, 255, 0.2) 1px, transparent 1px);
  background-size: 36px 36px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.sp-transform-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
  z-index: 2;
  margin-top: 52px;
}

/* Comparison Row (Desktop 43% - 14% - 43%) */
.sp-comparison-row {
  display: grid;
  grid-template-columns: 43% 14% 43%;
  align-items: center;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-comparison-row:hover {
  transform: translateY(-3px);
}

/* Individual Card (#0B0E14, 18px radius) */
.sp-card {
  background: #0B0E14 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 24px 26px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease !important;
}

/* Problem Card (Red Semantic Accent #FF4D5A) */
.sp-problem-card {
  border-left: 2px solid rgba(255, 77, 90, 0.5) !important;
  background: linear-gradient(90deg, rgba(255, 77, 90, 0.04) 0%, rgba(11, 14, 20, 0.95) 80%) !important;
}

.sp-comparison-row:hover .sp-problem-card {
  border-left-color: #FF4D5A !important;
  border-color: rgba(255, 77, 90, 0.3) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 24px rgba(255, 77, 90, 0.12) !important;
}

/* Solution Card (Green Semantic Accent #22C55E) */
.sp-solution-card {
  border-right: 2px solid rgba(34, 197, 94, 0.5) !important;
  background: linear-gradient(-90deg, rgba(34, 197, 94, 0.04) 0%, rgba(11, 14, 20, 0.95) 80%) !important;
}

.sp-comparison-row:hover .sp-solution-card {
  border-right-color: #22C55E !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 24px rgba(34, 197, 94, 0.12) !important;
}

/* Badges */
.sp-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.badge-red { color: #FF4D5A !important; }
.badge-red .dot-red {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF4D5A;
  box-shadow: 0 0 8px rgba(255, 77, 90, 0.8);
}

.badge-green { color: #22C55E !important; }
.badge-green .dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
}

/* Card Body & Content */
.sp-card-body {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.sp-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.icon-red {
  background: rgba(255, 77, 90, 0.08);
  border: 1px solid rgba(255, 77, 90, 0.22);
}

.icon-green {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.sp-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-card-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.3;
}

.sp-card-desc {
  font-family: var(--font-body, sans-serif);
  font-size: 0.9rem;
  color: #94a3b8 !important;
  line-height: 1.58;
  margin: 0;
}

/* Center Blue Engineering Connector Bridge (── ( → ) ──) */
.sp-connector-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.connector-line-left,
.connector-line-right {
  flex: 1;
  height: 2px;
  background: rgba(0, 119, 255, 0.25);
  transition: background 0.35s ease;
}

.connector-line-left {
  background: linear-gradient(90deg, rgba(255, 77, 90, 0.35), rgba(0, 119, 255, 0.4));
}

.connector-line-right {
  background: linear-gradient(90deg, rgba(0, 119, 255, 0.4), rgba(34, 197, 94, 0.35));
}

.sp-comparison-row:hover .connector-line-left {
  background: linear-gradient(90deg, rgba(255, 77, 90, 0.7), rgba(0, 119, 255, 0.8));
}

.sp-comparison-row:hover .connector-line-right {
  background: linear-gradient(90deg, rgba(0, 119, 255, 0.8), rgba(34, 197, 94, 0.7));
}

.connector-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0B0E14 !important;
  border: 1px solid rgba(0, 119, 255, 0.35) !important;
  color: #0077ff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 119, 255, 0.25) !important;
  flex-shrink: 0;
  margin: 0 4px;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.connector-circle-btn svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-comparison-row:hover .connector-circle-btn {
  background: rgba(0, 119, 255, 0.12) !important;
  border-color: #0077ff !important;
  box-shadow: 0 0 25px rgba(0, 119, 255, 0.45) !important;
  transform: scale(1.08);
}

.sp-comparison-row:hover .connector-circle-btn svg {
  transform: translateX(4px);
}

/* Individual Card Hover */
.sp-problem-card:hover {
  border-left-color: #FF4D5A !important;
  border-color: rgba(255, 77, 90, 0.4) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 28px rgba(255, 77, 90, 0.18) !important;
}

.sp-solution-card:hover {
  border-right-color: #22C55E !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65), 0 0 28px rgba(34, 197, 94, 0.18) !important;
}

/* Light Mode Overrides (#F7F8FA) */
[data-theme="light"] .sp-problems-section {
  background: #F7F8FA !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .sp-card {
  background: #FFFFFF !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .sp-problem-card {
  border-left-color: #EF4444 !important;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.04) 0%, #FFFFFF 80%) !important;
}

[data-theme="light"] .sp-problem-card:hover {
  border-color: rgba(239, 68, 68, 0.4) !important;
  box-shadow: 0 16px 36px rgba(239, 68, 68, 0.12) !important;
}

[data-theme="light"] .sp-solution-card {
  border-right-color: #10B981 !important;
  background: linear-gradient(-90deg, rgba(16, 185, 129, 0.04) 0%, #FFFFFF 80%) !important;
}

[data-theme="light"] .sp-solution-card:hover {
  border-color: rgba(16, 185, 129, 0.4) !important;
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.12) !important;
}

[data-theme="light"] .badge-red { color: #DC2626 !important; }
[data-theme="light"] .badge-red .dot-red { background: #DC2626; }

[data-theme="light"] .badge-green { color: #059669 !important; }
[data-theme="light"] .badge-green .dot-green { background: #059669; }

[data-theme="light"] .sp-card-title { color: #0F172A !important; }
[data-theme="light"] .sp-card-desc { color: #475569 !important; }

[data-theme="light"] .connector-circle-btn {
  background: #FFFFFF !important;
  border-color: rgba(0, 102, 255, 0.3) !important;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.1) !important;
}

[data-theme="light"] .sp-comparison-row:hover .connector-circle-btn {
  background: rgba(0, 102, 255, 0.08) !important;
  border-color: #0066ff !important;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.2) !important;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .sp-comparison-row {
    grid-template-columns: 44% 12% 44%;
  }
  .sp-card {
    padding: 20px 22px !important;
  }
}

@media (max-width: 767px) {
  .sp-comparison-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sp-connector-bridge {
    flex-direction: column;
    padding: 6px 0;
  }

  .connector-line-left,
  .connector-line-right {
    display: none;
  }

  .connector-circle-btn {
    width: 38px;
    height: 38px;
  }

  .connector-circle-btn svg {
    transform: rotate(90deg);
  }

  .sp-comparison-row:hover .connector-circle-btn svg {
    transform: rotate(90deg) translateY(4px);
  }
}


/* ── 5. HOW WE WORK — CLEAN PREMIUM PRODUCT JOURNEY ── */
.sp-process-section {
  padding: 120px 0;
  background: #080A0F;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sp-pipeline-experience {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 2;
}

/* Timeline Navigation Track */
.sp-pipeline-nav-container {
  position: relative;
  width: 100%;
  padding-top: 8px;
}

.sp-pipeline-track-line {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 1;
  border-radius: 2px;
}

.sp-pipeline-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0066FF 0%, #0077ff 100%);
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.2), 0 0 26px rgba(0, 102, 255, 0.2);
  border-radius: 2px;
  z-index: 2;
  will-change: width;
}

.sp-pipeline-traveling-light {
  position: absolute;
  top: -4px;
  left: 0%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #0066FF;
  box-shadow: 0 0 16px #0066FF, 0 0 28px rgba(0, 102, 255, 0.2);
  transform: translateX(-50%);
  z-index: 4;
  will-change: left;
}

.sp-pipeline-steps-nav {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  gap: 8px;
}

.sp-pipeline-step-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
  flex: 1;
  text-align: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
  outline: none;
}

.sp-pipeline-step-btn:focus-visible {
  outline: 2px solid #0077ff;
  border-radius: 8px;
}

.sp-step-node {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0d111a;
  border: 2px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.sp-step-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, transform 0.3s ease;
}

.sp-step-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.sp-step-num {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  transition: color 0.3s ease;
}

.sp-step-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.3s ease;
}

/* Hover & Active States */
.sp-pipeline-step-btn:hover .sp-step-meta {
  opacity: 0.9;
}

.sp-pipeline-step-btn.active {
  transform: translateY(-2px);
}

.sp-pipeline-step-btn.active .sp-step-node {
  background: #0066FF;
  border-color: #0066FF;
  box-shadow: 0 0 18px rgba(0, 102, 255, 0.2);
}

.sp-pipeline-step-btn.active .sp-step-dot {
  background: #ffffff;
  transform: scale(1.2);
}

.sp-pipeline-step-btn.active .sp-step-meta {
  opacity: 1;
}

.sp-pipeline-step-btn.active .sp-step-num {
  color: #0066FF;
}

.sp-pipeline-step-btn.active .sp-step-name {
  color: #ffffff;
  text-shadow: none;
}

/* Main Large Canvas (#0B0E14) */
.sp-pipeline-stage-frame {
  background: #0B0E14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  min-height: 480px;
}

.sp-stage-panel {
  display: none;
  flex-direction: column;
  gap: 28px;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-stage-panel.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
}

/* Dominant Visual Canvas Area */
.sp-stage-visual-area {
  background: #06080e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pipe-scene-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.pipe-scene-badge {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0077ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipe-scene-status {
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.08em;
}

/* 01 Discover Visual Layout */
.pipe-disc-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.pipe-disc-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pipe-col-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.66rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.06em;
}

.pipe-req-card {
  background: #0d111b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.req-icon {
  color: #0077ff;
  font-size: 0.75rem;
}

.req-title {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
}

.pipe-disc-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.disc-vector-line {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 119, 255, 0.2), #0077ff, rgba(0, 119, 255, 0.2));
}

.disc-vector-pill {
  font-family: 'Fira Code', monospace;
  font-size: 0.62rem;
  font-weight: 800;
  color: #0077ff;
  background: rgba(0, 119, 255, 0.2);
  border: 1px solid rgba(0, 119, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.pipe-brief-card {
  background: #0d111b;
  border: 1px solid rgba(0, 119, 255, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brief-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.brief-key { color: #94a3b8; }
.brief-val { color: #ffffff; font-weight: 600; }

/* 02 Plan Architecture Topology */
.pipe-arch-topology {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.arch-layer-card {
  background: #0d111b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 0.3s ease;
}

.arch-layer-card:hover {
  border-color: rgba(0, 119, 255, 0.2);
}

.arch-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.arch-arrow {
  color: #0077ff;
  font-weight: 800;
  font-size: 1.1rem;
}

/* 03 Design Visual Grid */
.pipe-design-grid {
  display: grid;
  grid-template-columns: 1fr auto 1.3fr;
  align-items: center;
  gap: 24px;
}

.pipe-wireframe-card {
  background: #0d111b;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wf-header-bar {
  height: 8px;
  width: 50%;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.wf-grid-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wf-block-sm {
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.wf-block-lg {
  grid-column: span 2;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.pipe-hifi-card {
  background: #0d111b;
  border: 1px solid rgba(0, 119, 255, 0.2);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.hifi-browser-top {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.hifi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.hifi-body-mock {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hifi-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hifi-btn-primary {
  background: #0077ff;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
}

.hifi-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.hifi-chart-line {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, #0077ff, #38bdf8, #22C55E);
  border-radius: 2px;
}

/* 04 Build Visual Grid */
.pipe-build-grid {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.pipe-build-terminal {
  background: #06070c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.term-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
}

.term-tab {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  color: #94a3b8;
}

.term-code-body {
  font-family: 'Fira Code', monospace;
  font-size: 0.74rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.c-keyword { color: #f43f5e; }
.c-string { color: #22C55E; }
.c-fn { color: #38bdf8; }
.c-tag { color: #0077ff; }

.pipe-staging-card {
  background: #0d111b;
  border: 1px solid rgba(0, 119, 255, 0.2);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
}

.stage-tag {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0077ff;
}

.stage-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stage-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.sm-label { color: #94a3b8; }
.sm-val { color: #ffffff; font-weight: 600; }

/* 05 Validate Visual Grid */
.pipe-val-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.val-env-box {
  background: #0d111b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}

.env-title {
  font-family: 'Fira Code', monospace;
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
}

.val-checks-matrix {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.val-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: #22C55E;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 5px 12px;
  border-radius: 6px;
}

/* 06 Launch Visual Pipeline */
.pipe-launch-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d111b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 16px;
}

.launch-step-chip {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}

.launch-step-chip.active {
  color: #22C55E;
  font-weight: 800;
}

.launch-arrow { color: #0077ff; font-size: 0.85rem; }

.pipe-launch-card {
  background: #0d111b;
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plc-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  font-weight: 800;
  color: #22C55E;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px #22C55E;
  animation: liveDotPulse 1.8s infinite;
}

@keyframes liveDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* Active Step Information Area */
.sp-stage-info-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sp-stage-meta-tag {
  font-family: 'Fira Code', monospace;
  font-size: 0.74rem;
  font-weight: 800;
  color: #0077ff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sp-stage-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.sp-stage-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0;
  max-width: 800px;
}

.sp-stage-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.sp-deliverable-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #22C55E;
}

/* Light Mode Overrides for Interactive Process Pipeline (#F8FAFC) */
[data-theme="light"] .sp-process-section {
  background: #F8FAFC;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .sp-process-section .sp-section-title {
  color: #0F172A;
}

[data-theme="light"] .sp-process-section .sp-section-sub {
  color: #475569;
}

[data-theme="light"] .sp-pipeline-track-line {
  background: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .sp-pipeline-step-btn .sp-step-node {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.16);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .sp-pipeline-step-btn .sp-step-dot {
  background: #94A3B8;
}

[data-theme="light"] .sp-pipeline-step-btn .sp-step-num {
  color: #64748B;
  font-weight: 700;
}

[data-theme="light"] .sp-pipeline-step-btn .sp-step-name {
  color: #334155;
  font-weight: 700;
}

[data-theme="light"] .sp-pipeline-step-btn.active .sp-step-node {
  background: #0066FF;
  border-color: #0066FF;
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.3);
}

[data-theme="light"] .sp-pipeline-step-btn.active .sp-step-dot {
  background: #FFFFFF;
}

[data-theme="light"] .sp-pipeline-step-btn.active .sp-step-num {
  color: #0066FF;
  font-weight: 800;
}

[data-theme="light"] .sp-pipeline-step-btn.active .sp-step-name {
  color: #0066FF;
  font-weight: 800;
  text-shadow: none;
}

[data-theme="light"] .sp-pipeline-stage-frame {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .sp-stage-visual-area {
  background: #F8FAFC;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .pipe-scene-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .pipe-scene-badge {
  color: #0066FF;
  font-weight: 800;
}

[data-theme="light"] .pipe-scene-status {
  color: #64748B;
  font-weight: 700;
}

[data-theme="light"] .pipe-col-label {
  color: #475569;
  font-weight: 700;
}

[data-theme="light"] .pipe-req-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .req-icon {
  color: #0066FF;
}

[data-theme="light"] .req-title {
  color: #0F172A;
  font-weight: 700;
}

[data-theme="light"] .disc-vector-line {
  background: linear-gradient(90deg, rgba(0, 102, 255, 0.2), #0066FF, rgba(0, 102, 255, 0.2));
}

[data-theme="light"] .disc-vector-pill {
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: #0066FF;
  font-weight: 700;
}

[data-theme="light"] .pipe-brief-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.05);
}

[data-theme="light"] .brief-key {
  color: #64748B;
  font-weight: 600;
}

[data-theme="light"] .brief-val {
  color: #0F172A;
  font-weight: 700;
}

[data-theme="light"] .arch-layer-card {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .arch-layer-card:hover {
  border-color: rgba(0, 102, 255, 0.4);
}

[data-theme="light"] .arch-name {
  color: #0F172A;
  font-weight: 700;
}

[data-theme="light"] .arch-arrow {
  color: #0066FF;
  font-weight: 800;
}

[data-theme="light"] .pipe-wireframe-card {
  background: #FFFFFF;
  border: 1px dashed rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .wf-header-bar {
  background: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .wf-block-sm {
  background: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .wf-block-lg {
  background: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .pipe-hifi-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hifi-browser-top {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .hifi-dot {
  background: rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .hifi-btn-outline {
  border: 1px solid rgba(15, 23, 42, 0.2);
  color: #334155;
  font-weight: 600;
}

[data-theme="light"] .pipe-build-terminal {
  background: #0F172A;
  border: 1px solid #1E293B;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .pipe-staging-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 102, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .stage-card-top {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .stage-tag {
  color: #0066FF;
  font-weight: 800;
}

[data-theme="light"] .sm-label {
  color: #64748B;
  font-weight: 600;
}

[data-theme="light"] .sm-val {
  color: #0F172A;
  font-weight: 700;
}

[data-theme="light"] .val-env-box {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .env-title {
  color: #0F172A;
  font-weight: 800;
}

[data-theme="light"] .val-pill {
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 700;
}

[data-theme="light"] .pipe-launch-track {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .launch-step-chip {
  color: #64748B;
  font-weight: 700;
}

[data-theme="light"] .launch-step-chip.active {
  color: #059669;
  font-weight: 800;
}

[data-theme="light"] .launch-arrow {
  color: #0066FF;
}

[data-theme="light"] .pipe-launch-card {
  background: #FFFFFF;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .plc-live-pill {
  color: #059669;
  font-weight: 800;
}

[data-theme="light"] .live-pulse-dot {
  background: #059669;
  box-shadow: 0 0 10px #059669;
}

[data-theme="light"] .sp-stage-meta-tag {
  color: #0066FF;
  font-weight: 800;
}

[data-theme="light"] .sp-stage-title {
  color: #0F172A;
  font-weight: 800;
}

[data-theme="light"] .sp-stage-desc {
  color: #334155;
  font-size: 1rem;
  line-height: 1.65;
}

[data-theme="light"] .sp-deliverable-tag {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #059669;
  font-weight: 700;
}

/* Responsive Queries */
@media (max-width: 1024px) {
  .pipe-arch-topology {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
  }
  .arch-arrow { display: none; }
  .sp-pipeline-stage-frame { padding: 26px 22px; }
}

@media (max-width: 767px) {
  .pipe-disc-grid,
  .pipe-design-grid,
  .pipe-build-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pipe-disc-connector {
    transform: none;
    padding: 4px 0;
  }

  .pipe-val-grid {
    grid-template-columns: 1fr;
  }

  .sp-pipeline-stage-frame {
    padding: 20px 16px;
    min-height: auto;
  }

  .sp-stage-visual-area {
    min-height: 220px;
  }

  .sp-stage-title {
    font-size: 1.3rem;
  }
}


/* ── TECHNOLOGY STACK ──────────────────────────────────────────────────── */
.sp-tech-section { padding: 90px 0; }
.sp-tech-tabs-bar {
  display: flex;
  gap: 8px;
  background: rgba(13, 16, 28, 0.78);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  width: fit-content;
}
.sp-tech-tab {
  padding: 10px 22px;
  border-radius: 10px;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted, #94a3b8);
  transition: all 0.25s ease;
}
.sp-tech-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
.sp-tech-tab.active {
  background: #0077ff !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 119, 255, 0.35);
}

.sp-tech-panel {
  display: none !important;
}
.sp-tech-panel.active {
  display: block !important;
  animation: techFadeIn 0.35s ease forwards;
}

@keyframes techFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sp-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.sp-tech-item {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
  background: rgba(13, 16, 28, 0.78);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-tech-item:hover {
  border-color: rgba(0, 119, 255, 0.45);
  background: rgba(13, 16, 28, 0.95);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.sp-tech-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.sp-tech-item:hover .sp-tech-item-icon {
  transform: scale(1.05);
}
.sp-tech-item-icon img,
.sp-tech-item-icon svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  object-fit: contain;
  display: block;
}
.sp-tech-item-name {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

/* Light Mode Overrides for Tech Stack Tabs, Cards & Logos */
[data-theme="light"] .sp-tech-tabs-bar {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="light"] .sp-tech-tab {
  color: #64748b !important;
}
[data-theme="light"] .sp-tech-tab:hover {
  color: #0f172a !important;
  background: rgba(0, 102, 255, 0.06) !important;
}
[data-theme="light"] .sp-tech-tab.active {
  background: #0077ff !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.25) !important;
}
[data-theme="light"] .sp-tech-item {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}
[data-theme="light"] .sp-tech-item:hover {
  background: #ffffff !important;
  border-color: rgba(0, 102, 255, 0.35) !important;
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.08) !important;
  transform: translateY(-3px) !important;
}
[data-theme="light"] .sp-tech-item-name {
  color: #0f172a !important;
  font-weight: 700 !important;
}
[data-theme="light"] .sp-tech-item-icon {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.09) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}
[data-theme="light"] .sp-tech-item:hover .sp-tech-item-icon {
  background: #f8fafc !important;
  border-color: rgba(0, 102, 255, 0.3) !important;
  transform: scale(1.05) !important;
}
[data-theme="light"] .sp-tech-item-icon img,
[data-theme="light"] .sp-tech-item-icon svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Brand Emblem Dark/Light Switch */
.dark-emblem {
  display: block;
}
.light-emblem {
  display: none;
}
[data-theme="light"] .dark-emblem {
  display: none !important;
}
[data-theme="light"] .light-emblem {
  display: block !important;
}
[data-theme="light"] .logo-title {
  color: #0f172a !important;
}

/* ── SELECTED WORK — FEATURED PROJECT ──────────────────────────────────── */
.sp-work-section { padding: 108px 0; }

/* Featured Project Composition */
.sp-featured-project {
  margin-bottom: 48px;
}
.sp-featured-project-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 48px 56px;
  transition: border-color .35s, box-shadow .35s, background .35s;
}
.sp-featured-project-grid:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
}

.sp-featured-project-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 24px;
  position: relative;
}
.sp-featured-project-copy::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 119, 255, 0.2) 20%, rgba(0, 119, 255, 0.2) 80%, transparent 100%);
}
.sp-featured-project-cat {
  font-family: var(--font-heading);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #0066FF;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.sp-featured-project-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--text-main);
  margin: 0 0 18px;
}
.sp-featured-project-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0 0 32px;
  max-width: 520px;
}
.sp-featured-project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: .88rem;
  font-weight: 700;
  color: #0066FF;
  text-decoration: none;
  transition: gap .25s, color .25s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.sp-featured-project-link:hover {
  gap: 12px;
  color: #0077ff;
  border-bottom-color: #0066FF;
}
.sp-link-arrow {
  transition: transform .25s;
  display: inline-block;
}
.sp-featured-project-link:hover .sp-link-arrow {
  transform: translateX(3px);
}

/* Visual Side */
.sp-featured-project-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sp-featured-main-img {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0B0E14;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 102, 255, 0.08);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
}

.sp-featured-single-img {
  width: 100%;
}

.sp-featured-img-anchor {
  display: block;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.sp-showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  background: #0f131a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  user-select: none;
}

.sp-bar-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.sp-bar-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.sp-bar-dots span:nth-child(1) { background: #ff5f56; }
.sp-bar-dots span:nth-child(2) { background: #ffbd2e; }
.sp-bar-dots span:nth-child(3) { background: #27c93f; }

.sp-bar-url {
  color: #64748b;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.sp-bar-live {
  color: #10b981;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sp-featured-main-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.sp-featured-project-grid:hover .sp-featured-main-img,
.sp-featured-main-img:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(0, 119, 255, 0.45);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 36px rgba(0, 119, 255, 0.25);
}

.sp-featured-project-grid:hover .sp-featured-main-img img,
.sp-featured-main-img:hover img {
  transform: scale(1.03);
}

.sp-featured-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 11, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-overlay-badge {
  background: rgba(0, 102, 255, 0.92);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.4);
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-featured-project-grid:hover .sp-featured-img-overlay,
.sp-featured-main-img:hover .sp-featured-img-overlay {
  opacity: 1;
}

.sp-featured-project-grid:hover .sp-overlay-badge,
.sp-featured-main-img:hover .sp-overlay-badge {
  transform: translateY(0);
}

/* Light Mode Overrides for Single Image */
[data-theme="light"] .sp-featured-main-img {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .sp-showcase-bar {
  background: #f8fafc;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .sp-bar-url {
  color: #64748b;
}

[data-theme="light"] .sp-featured-project-grid:hover .sp-featured-main-img,
[data-theme="light"] .sp-featured-main-img:hover {
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: 0 30px 70px rgba(0, 102, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.06);
}

.sp-featured-supporting {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sp-supporting-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0a0d12;
  box-shadow: 0 12px 28px rgba(0,0,0,.3);
  aspect-ratio: 16/9;
  transition: transform .35s, box-shadow .35s, border-color .35s;
}
.sp-supporting-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.4), 0 0 24px rgba(0, 119, 255, 0.2);
  border-color: rgba(0, 119, 255, 0.2);
}
.sp-supporting-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1);
}
.sp-supporting-img:hover img {
  transform: scale(1.035);
}

/* Explore All CTA */
.sp-explore-all-cta {
  text-align: center;
  padding-top: 28px;
}
.sp-explore-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 13px 32px !important;
  border-radius: 9999px !important;
  background: rgba(0, 102, 255, 0.12) !important;
  border: 1px solid rgba(0, 102, 255, 0.28) !important;
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  will-change: transform, background, border-color !important;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease !important;
}
.sp-explore-btn .work-btn-arrow,
.sp-explore-btn .sp-link-arrow {
  display: inline-flex !important;
  align-items: center !important;
  color: #0077ff !important;
  transition: transform 0.3s ease, color 0.3s ease !important;
}
.sp-explore-btn:hover {
  background: #0066ff !important;
  border-color: #0066ff !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.25) !important;
}
.sp-explore-btn:hover .work-btn-arrow,
.sp-explore-btn:hover .sp-link-arrow {
  transform: translateX(5px) !important;
  color: #ffffff !important;
}

[data-theme="light"] .sp-explore-btn {
  background: #ffffff !important;
  border: 1px solid rgba(0, 102, 255, 0.25) !important;
  color: #0066ff !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.08) !important;
}
[data-theme="light"] .sp-explore-btn .work-btn-arrow,
[data-theme="light"] .sp-explore-btn .sp-link-arrow {
  color: #0066ff !important;
}
[data-theme="light"] .sp-explore-btn:hover {
  background: #0066ff !important;
  border-color: #0066ff !important;
  color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(0, 102, 255, 0.25) !important;
}
[data-theme="light"] .sp-explore-btn:hover .work-btn-arrow,
[data-theme="light"] .sp-explore-btn:hover .sp-link-arrow {
  color: #ffffff !important;
}

/* Light Mode Overrides */
[data-theme="light"] .sp-featured-project-grid {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.04);
}
[data-theme="light"] .sp-featured-project-grid:hover {
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 20px 48px rgba(0,0,0,.08);
}
[data-theme="light"] .sp-featured-main-img,
[data-theme="light"] .sp-supporting-img {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
[data-theme="light"] .sp-supporting-img:hover {
  box-shadow: 0 16px 36px rgba(0,0,0,.08), 0 0 20px rgba(0, 119, 255, 0.2);
  border-color: rgba(0, 119, 255, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
  .sp-featured-project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 40px;
  }
  .sp-featured-project-copy {
    padding-right: 0;
    padding-bottom: 16px;
  }
  .sp-featured-project-copy::before {
    display: none;
  }
  .sp-featured-project-copy::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 119, 255, 0.2) 50%, transparent 100%);
  }
  .sp-featured-supporting {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .sp-work-section { padding: 80px 0; }
  .sp-featured-project-grid {
    padding: 36px 24px;
    border-radius: 18px;
    gap: 32px;
  }
  .sp-featured-project-title {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }
  .sp-featured-project-desc {
    font-size: 1rem;
    max-width: none;
  }
  .sp-featured-supporting {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .sp-featured-main-img {
    border-radius: 14px;
  }
  .sp-supporting-img {
    border-radius: 10px;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 480px) {
  .sp-featured-supporting {
    grid-template-columns: 1fr;
  }
  .sp-featured-project-link,
  .sp-explore-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .sp-featured-main-img img,
  .sp-supporting-img img {
    transition: none;
  }
  .sp-featured-project-grid:hover .sp-featured-main-img img,
  .sp-supporting-img:hover img {
    transform: none;
  }
  .sp-featured-project-link:hover .sp-link-arrow,
  .sp-explore-btn:hover .sp-link-arrow {
    transform: none;
  }
}

/* ── WHY MALIKAXIOM ────────────────────────────────────────────────────── */
.sp-why-section { padding: 108px 0; }
.sp-why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.sp-why-statement {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -.04em; color: var(--text-main);
  margin: 0 0 24px;
}
.sp-why-statement-sub {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.72; margin: 0;
}
.sp-why-principles { display: flex; flex-direction: column; gap: 20px; }
.sp-why-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px; border-radius: 16px;
  background: var(--card-bg); border: 1px solid var(--border-subtle);
  transition: border-color .3s;
}
.sp-why-item:hover { border-color: rgba(0, 119, 255, 0.2); }
.sp-why-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0, 119, 255, 0.2); border: 1px solid rgba(0, 119, 255, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.sp-why-title {
  font-family: var(--font-heading); font-size: .96rem;
  font-weight: 700; color: var(--text-main); margin: 0 0 5px;
}
.sp-why-desc { font-size: .88rem; color: var(--text-muted); margin: 0; line-height: 1.62; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.sp-faq-section { padding: 108px 0; }
.sp-faq-section .sp-section-header {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}
.sp-faq-wrap {
  max-width: 800px;
  margin: 40px auto 0 auto;
}
.sp-faq-item {
  border-bottom: 1px solid var(--border-subtle); overflow: hidden;
}
.sp-faq-question {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: 20px; padding: 24px 0;
  background: transparent; border: none; cursor: pointer; text-align: left;
}
.sp-faq-question-text {
  font-family: var(--font-heading); font-size: 1.02rem;
  font-weight: 700; color: var(--text-main); flex: 1; transition: color .25s;
}
.sp-faq-question:hover .sp-faq-question-text { color: #0077ff; }
.sp-faq-icon {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--text-muted);
  flex-shrink: 0; transition: all .3s; font-weight: 300;
}
.sp-faq-item.open .sp-faq-icon {
  background: var(--accent-blue); border-color: var(--accent-blue);
  color: #fff; transform: rotate(45deg);
}
.sp-faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .4s ease;
}
.sp-faq-item.open .sp-faq-answer { max-height: 400px; }
.sp-faq-answer-inner {
  padding-bottom: 26px; font-size: .95rem;
  color: var(--text-muted); line-height: 1.78;
}

/* ── FINAL CTA ─────────────────────────────────────────────────────────── */
.sp-cta-section { padding: 108px 0; }
.sp-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative; border-radius: 26px; overflow: hidden;
  padding: 88px 48px; text-align: center;
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.2) 0%, rgba(0, 119, 255, 0.2) 100%);
  border: 1px solid rgba(0, 119, 255, 0.2);
  box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 60px rgba(0, 119, 255, 0.2);
}
[data-theme="light"] .sp-cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(135deg,rgba(0, 119, 255, 0.2),rgba(0, 119, 255, 0.2));
  border-color: rgba(0, 119, 255, 0.2);
}
.sp-cta-inner > * { position: relative; z-index: 1; }
.sp-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  font-weight: 900; letter-spacing: -.045em;
  color: var(--text-main); margin: 0 0 18px;
}
.sp-cta-sub {
  font-size: 1.08rem; color: var(--text-muted);
  max-width: 500px; margin: 0 auto 44px; line-height: 1.72;
}
.sp-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* sp-hero-grid responsive handled below */
  .sp-hero-dual-visual { grid-template-columns: 1fr 1fr; }
  .sp-clean-hero {
    padding: 105px 0 40px;
    position: relative; overflow: hidden;
    min-height: auto; display: flex; align-items: center;
  }
  .sp-featured-cap { grid-template-columns: 1fr; }
  .sp-featured-cap-visual { min-height: 220px; }
  .sp-featured-cap-content { padding: 40px; }
  .sp-why-grid { grid-template-columns: 1fr; gap: 44px; }
  .sp-work-featured { grid-template-columns: 1fr; }
  .sp-work-featured-body { border-left: none; border-top: 1px solid var(--border-subtle); padding: 36px; }
}

@media (max-width: 768px) {
  .sp-clean-section { padding: 50px 0; }
  .sp-problems-section,
  .sp-process-section,
  .sp-tech-section,
  .sp-work-section,
  .sp-cta-section {
    padding: 50px 0 !important;
  }
  .sp-clean-hero {
    padding: 100px 0 30px;
    min-height: auto;
  }
  .sp-hero-dual-visual { grid-template-columns: 1fr; }
  .sp-hero-title { font-size: clamp(2rem, 7.5vw, 3rem); }
  .sp-hero-lead { font-size: 1rem; }
  .sp-process-tabs { display: none; }
  .sp-process-content-wrap { display: none; }
  .sp-process-mobile { display: block; }
  .sp-what-build-grid { grid-template-columns: 1fr; }
  .sp-featured-cap { grid-column: auto; }
  .sp-work-grid { grid-template-columns: 1fr; }
  .sp-cta-inner {
    max-width: 1280px;
    margin: 0 auto; padding: 52px 28px;
  }
  .sp-why-grid { gap: 36px; }
  .sp-video-controls { flex-direction: column; gap: 16px; align-items: flex-start; }
  .sp-transform-row { grid-template-columns: 1fr; gap: 10px; }
  .sp-transform-after { text-align: left; }
  .sp-transform-arrow { display: none; }
  .sp-tech-tabs-bar { gap: 4px; }
  .sp-tech-tab { padding: 8px 16px; font-size: .75rem; }
}

@media (max-width: 480px) {
  .sp-clean-section { padding: 40px 0; }
  .sp-problems-section,
  .sp-process-section,
  .sp-tech-section,
  .sp-work-section,
  .sp-cta-section {
    padding: 40px 0 !important;
  }
  .sp-clean-hero {
    padding: 92px 0 24px;
    position: relative; overflow: hidden;
    min-height: auto; display: flex; align-items: center;
  }
  .sp-section-title { font-size: clamp(1.6rem, 7.5vw, 2.2rem); }
  .sp-hero-ctas { flex-direction: column; }
  .sp-cta-btns { flex-direction: column; align-items: center; }
  .sp-featured-cap-content { padding: 28px; }
  .sp-process-panel { padding: 28px; }
  .sp-work-featured-body { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* ==========================================================================
   STRICT OVERRIDE: BRAND COLOR #0077ff FOR ALL ACCENTS, EYEBROWS & TITLES
   ========================================================================== */
:root {
  --accent-blue: #0077ff !important;
  --accent-blue-light: #0077ff !important;
  --accent-blue-glow: rgba(0, 119, 255, 0.2) !important;
}



.scroll-progress-bar {
  background: #0077ff !important;
  box-shadow: 0 0 10px #0077ff, 0 0 5px rgba(0, 119, 255, 0.8) !important;
}

.sp-eyebrow {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(0, 119, 255, 0.25) !important;
  color: #0077ff !important;
  box-shadow: none !important;
}
.sp-eyebrow-dot {
  background: #0066ff !important;
  box-shadow: 0 0 10px #0066ff !important;
  animation: eyebrowDotBlink 1.6s ease-in-out infinite !important;
}

.sp-highlight {
  color: #0066ff !important;
  background: none !important;
  background-color: transparent !important;
  -webkit-text-fill-color: #0066ff !important;
  font-weight: 700 !important;
  display: inline-block !important;
  text-shadow: none !important;
  filter: none !important;
}

.sp-editor-tab {
  background: transparent !important;
  border-color: rgba(0, 119, 255, 0.2) !important;
  color: #0077ff !important;
}
.sp-code-cursor {
  background: #0077ff !important;
  box-shadow: none !important;
}

.sp-video-toggle-btn {
  background: transparent !important;
  border-color: rgba(0, 119, 255, 0.2) !important;
  color: #0077ff !important;
}

.sp-featured-label,
.sp-cap-card-title span,
.sp-work-cat,
.sp-work-link,
.sp-process-tab-num,
.sp-process-v-num,
.sp-transform-arrow {
  color: #0077ff !important;
}

.sp-process-tab.active .sp-process-tab-dot {
  background: #0077ff !important;
  box-shadow: 0 0 8px #0077ff !important;
}

.sp-tech-tab.active {
  background: #0077ff !important;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 119, 255, 0.2) !important;
}

.sp-faq-question:hover .sp-faq-question-text {
  color: #0077ff !important;
}

.sp-faq-item.open .sp-faq-icon {
  background: #0077ff !important;
  border-color: #0077ff !important;
  color: #ffffff !important;
}

.btn-primary {
  background: #0066ff;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 140, 255, 0.2);
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px;
}
.btn-primary:hover {
  background: #0077ee !important;
  box-shadow: 0 10px 30px rgba(0, 119, 255, 0.2) !important;
}















/* ==========================================================================
   MALIKAXIOM NAVBAR CTA BUTTON SYSTEM — UNIFIED PILL DIMENSIONS & HEIGHT
   ========================================================================== */

.nav-email-btn,
.btn-nav-contact,
.header-actions .btn-nav-contact,
.btn-nav-start,
.header-actions .btn-nav-start {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif) !important;
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 1. EMAIL BUTTON */
.nav-email-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: var(--text-main, #ffffff) !important;
}

.nav-email-btn svg {
  color: #0066ff !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
}

.nav-email-btn:hover {
  background: transparent !important;
  border-color: #0066ff !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(0, 102, 255, 0.2) !important;
  transform: translateY(-1.5px) !important;
}

.nav-email-btn:hover svg {
  transform: scale(1.1) rotate(-5deg) !important;
  color: #3385ff !important;
}

/* 2. SECONDARY CTA — CONTACT US → */
.btn-nav-contact,
.header-actions .btn-nav-contact {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.btn-nav-contact .btn-arrow,
.header-actions .btn-nav-contact .btn-arrow {
  display: inline-block !important;
  transition: transform 220ms ease !important;
  font-size: 0.92rem !important;
  line-height: 1 !important;
}

.btn-nav-contact:hover,
.header-actions .btn-nav-contact:hover {
  background: transparent !important;
  border-color: #0066ff !important;
  color: #0066ff !important;
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.2) !important;
  transform: translateY(-1.5px) !important;
}

.btn-nav-contact:hover .btn-arrow,
.header-actions .btn-nav-contact:hover .btn-arrow {
  transform: translateX(3px) !important;
}

.btn-nav-contact:active,
.header-actions .btn-nav-contact:active {
  transform: translateY(0) scale(0.98) !important;
}

/* 3. PRIMARY CTA — START A PROJECT → */
.btn-nav-start,
.header-actions .btn-nav-start {
  background: #0066ff;
  border: 1px solid #0066ff;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.2) !important;
}

.btn-nav-start .btn-arrow,
.header-actions .btn-nav-start .btn-arrow {
  display: inline-block !important;
  transition: transform 220ms ease !important;
  font-size: 0.92rem !important;
  line-height: 1 !important;
}

.btn-nav-start:hover,
.header-actions .btn-nav-start:hover {
  background: #1a75ff !important;
  border-color: #1a75ff !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.2) !important;
  transform: translateY(-1.5px) !important;
  filter: brightness(1.05) !important;
}

.btn-nav-start:hover .btn-arrow,
.header-actions .btn-nav-start:hover .btn-arrow {
  transform: translateX(3px) !important;
}

.btn-nav-start:active,
.header-actions .btn-nav-start:active {
  transform: translateY(0) scale(0.98) !important;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2) !important;
}

/* 4. LIGHT THEME OVERRIDES */
[data-theme="light"] .nav-email-btn {
  background: transparent !important;
  border-color: rgba(0, 102, 255, 0.2) !important;
  color: #0f172a !important;
}

[data-theme="light"] .nav-email-btn:hover {
  background: #0066ff !important;
  color: #ffffff !important;
  border-color: #0066ff !important;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.2) !important;
}

[data-theme="light"] .btn-nav-contact,
[data-theme="light"] .header-actions .btn-nav-contact {
  background: transparent !important;
  border-color: rgba(0, 102, 255, 0.2) !important;
  color: #0f172a !important;
}

[data-theme="light"] .btn-nav-contact:hover,
[data-theme="light"] .header-actions .btn-nav-contact:hover {
  background: transparent !important;
  border-color: #0066ff !important;
  color: #0066ff !important;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2) !important;
}

[data-theme="light"] .btn-nav-start,
[data-theme="light"] .header-actions .btn-nav-start {
  background: #0066ff !important;
  border-color: #0066ff !important;
  color: #ffffff !important;
}

/* 5. RESPONSIVE BEHAVIOR */
@media (max-width: 1280px) and (min-width: 1080px) {
  .header-actions .btn-nav-contact,
  .nav-email-btn {
    padding: 5px 10px !important;
    font-size: 0.7rem !important;
    height: 32px !important;
    min-height: 32px !important;
  }
  .email-btn-text {
    display: none !important;
  }
  .header-actions .btn-nav-start {
    height: 32px !important;
    min-height: 32px !important;
    padding: 5px 10px !important;
    font-size: 0.7rem !important;
  }
}

@media (max-width: 768px) {
  .header-actions .btn-nav-contact,
  .nav-email-btn {
    display: none !important;
  }
  .header-actions .btn-nav-start {
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    font-size: 0.74rem !important;
  }
}


/* Dedicated Direct Connect WhatsApp Green Styling */
.channel-whatsapp .channel-icon-wrap {
  background: rgba(37, 211, 102, 0.2) !important;
  border: 1px solid rgba(37, 211, 102, 0.2) !important;
  color: #25D366 !important;
}

.channel-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2) !important;
  border-color: #25D366 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 16px rgba(37, 211, 102, 0.2) !important;
}

.channel-whatsapp:hover .channel-icon-wrap {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.2) !important;
}

.channel-whatsapp:hover .channel-arrow {
  color: #25D366 !important;
}

.channel-num {
  display: none !important;
}



/* ==========================================================================
   ENHANCED SMART PROJECT WIZARD MODAL DESIGN SYSTEM
   ========================================================================== */

.wizard-modal-container {
  max-width: 780px !important;
  width: 94% !important;
  background: #0a0d17 !important;
  border: 1.5px solid rgba(0, 102, 255, 0.2) !important;
  border-radius: 26px !important;
  padding: 36px 38px !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 102, 255, 0.2) !important;
  backdrop-filter: blur(24px) !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
}

[data-theme="light"] .wizard-modal-container {
  background: #ffffff !important;
  border-color: rgba(0, 102, 255, 0.2) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.wizard-header {
  margin-bottom: 22px;
}

.wizard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.2);
  padding: 5px 14px;
  border-radius: 9999px;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #0066ff;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.wizard-title {
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: var(--text-main, #ffffff);
  line-height: 1.22;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.wizard-subtitle {
  font-family: var(--font-body, sans-serif);
  font-size: 0.88rem;
  color: var(--text-muted, #94a3b8);
  line-height: 1.6;
  margin: 0;
}

.wizard-step-group {
  margin-bottom: 20px;
}

.wizard-step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
  margin-bottom: 12px;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0066ff;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.required-star {
  color: #0066ff;
}

.wizard-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 230px;
  overflow-y: auto;
  padding-right: 6px;
  padding-bottom: 4px;
}

.wizard-options-grid::-webkit-scrollbar {
  width: 6px;
}

.wizard-options-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.2);
  border-radius: 4px;
}

.wizard-option-card {
  position: relative;
  cursor: pointer;
  margin: 0;
  display: block;
}

.wizard-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.22s ease;
  height: 100%;
  box-sizing: border-box;
}

[data-theme="light"] .option-card-inner {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

.option-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0066ff;
  flex-shrink: 0;
  transition: all 0.22s ease;
}

.option-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.option-card-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main, #ffffff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-core {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  background: #0066ff;
  color: #ffffff;
}

.option-card-desc {
  font-family: var(--font-body, sans-serif);
  font-size: 0.72rem;
  color: var(--text-muted, #94a3b8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wizard-option-card:hover .option-card-inner {
  border-color: rgba(0, 102, 255, 0.2);
  background: rgba(0, 102, 255, 0.2);
}

.wizard-option-card input[type="radio"]:checked + .option-card-inner {
  background: transparent !important;
  border-color: #0066ff !important;
  box-shadow: 0 0 14px rgba(0, 102, 255, 0.2) !important;
}

.wizard-option-card input[type="radio"]:checked + .option-card-inner .option-icon-wrap {
  background: #0066ff !important;
  color: #ffffff !important;
}

.wizard-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wizard-chip-select-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wizard-chip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main, #ffffff);
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--font-body, sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="light"] .wizard-chip-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

.wizard-chip-btn:hover {
  border-color: #0066ff;
  color: #0066ff;
}

.wizard-chip-btn.active {
  background: #0066ff !important;
  border-color: #0066ff !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.2) !important;
}

.wizard-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.wizard-input-full {
  grid-column: span 2;
}

.wizard-mini-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  margin-bottom: 5px;
}

.wizard-input,
.wizard-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  color: var(--text-main, #ffffff) !important;
  font-family: var(--font-body, sans-serif) !important;
  font-size: 0.85rem !important;
  box-sizing: border-box !important;
  transition: all 0.22s ease !important;
}

[data-theme="light"] .wizard-input,
[data-theme="light"] .wizard-textarea {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #0f172a !important;
}

.wizard-input:focus,
.wizard-textarea:focus {
  outline: none !important;
  border-color: #0066ff !important;
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.2) !important;
  background: transparent !important;
}

.wizard-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(0, 102, 255, 0.2);
  padding: 10px 16px;
  border-radius: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-main, #ffffff);
}

.wizard-actions {
  display: flex;
  gap: 12px;
}

.wizard-submit-btn {
  flex: 1.2;
  background: #0066ff !important;
  border-color: #0066ff !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
}

.wizard-whatsapp-btn {
  flex: 1;
  background: #25D366 !important;
  border: 1px solid #25D366 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  padding: 12px 20px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.wizard-whatsapp-btn:hover {
  background: #1ebc59 !important;
  border-color: #1ebc59 !important;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.2) !important;
}

@media (max-width: 640px) {
  .wizard-modal-container {
    padding: 24px 20px !important;
  }
  .wizard-options-grid {
    grid-template-columns: 1fr;
    max-height: 180px;
  }
  .wizard-row-2col {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .wizard-inputs-grid {
    grid-template-columns: 1fr;
  }
  .wizard-input-full {
    grid-column: span 1;
  }
  .wizard-actions {
    flex-direction: column;
  }
  .wizard-trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}



/* Service Hero Side-by-Side & Code Editor Styling */
.sp-hero-grid {
  display: grid !important;
  grid-template-columns: 1.05fr 1fr !important;
  align-items: center !important;
  gap: 40px !important;
  width: 100% !important;
}

.sp-hero-copy {
  max-width: 100% !important;
}

.sp-hero-dual-visual {
  display: flex !important;
  width: 100% !important;
}

.sp-hero-code-editor {
  width: 100% !important;
  background: #080b15 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(20px) !important;
  display: flex !important;
  flex-direction: column !important;
}

@media (max-width: 860px) {
  .sp-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}


/* Ultra-Vibrant High-Contrast Syntax Colors */
.sp-editor-body {
  display: grid !important;
  grid-template-columns: 46px 1fr !important;
  flex: 1;
  min-height: 280px !important;
  padding: 22px 0 !important;
  background: #04060d !important;
  box-sizing: border-box;
}

.sp-editor-line-nums {
  font-family: 'Fira Code', var(--font-code, monospace) !important;
  font-size: 0.83rem !important;
  color: rgba(0, 119, 255, 0.2) !important;
  text-align: right !important;
  padding-right: 14px !important;
  line-height: 1.9 !important;
  user-select: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-weight: 700 !important;
}

.sp-editor-code {
  font-family: 'Fira Code', var(--font-code, monospace) !important;
  font-size: 0.84rem !important;
  line-height: 1.9 !important;
  padding: 0 20px !important;
  color: #ffffff !important;
  overflow: hidden !important;
  word-break: break-all !important;
}

.sp-code-kw {
  color: #ff79c6 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.sp-code-fn {
  color: #50fa7b !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.sp-code-str {
  color: #f1fa8c !important;
  font-weight: 500 !important;
  text-shadow: none !important;
}

.sp-code-attr {
  color: #8be9fd !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

.sp-code-tag {
  color: #bd93f9 !important;
  font-weight: 700 !important;
  text-shadow: none !important;
}

.sp-code-cm {
  color: #6272a4 !important;
  font-style: italic !important;
  text-shadow: none !important;
}

.sp-code-cursor {
  display: inline-block !important;
  width: 3px !important;
  height: 1.15em !important;
  background: #0077ff !important;
  vertical-align: text-bottom !important;
  margin-left: 2px !important;
  animation: codeCursorBlink .9s step-end infinite !important;
  box-shadow: none !important;
}




/* Premium Sleek LIVE RUNTIME Badge */
.sp-editor-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  padding: 4px 14px !important;
  border-radius: 9999px !important;
  font-family: 'Fira Code', var(--font-code, monospace) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #10b981 !important;
  letter-spacing: 0.08em !important;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.2) !important;
}

.sp-editor-status .sp-eyebrow-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 8px #10b981 !important;
  animation: liveRuntimePulse 1.8s ease-in-out infinite !important;
}

@keyframes liveRuntimePulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px #10b981; }
  50% { transform: scale(1.3); opacity: 0.7; box-shadow: 0 0 14px #10b981; }
}


/* ── WHAT WE BUILD REDESIGNED SHOWCASE (SERVICE PAGES) ──────────────────── */
.sp-build-featured-showcase {
  margin-top: 40px;
  margin-bottom: 36px;
  background: #0a0d17;
  border: 1px solid rgba(0, 119, 255, 0.2);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 45px rgba(0, 119, 255, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.sp-build-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 44px;
  align-items: center;
}

.sp-featured-copy-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sp-featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.76rem;
  font-weight: 800;
  color: #0077ff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0077ff;
  box-shadow: 0 0 8px #0077ff;
}

.sp-featured-title {
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.03em;
}

.sp-featured-desc {
  font-family: var(--font-body, sans-serif);
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.68;
  margin: 0;
}

.sp-featured-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.sp-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.sp-highlight-check {
  color: #0077ff;
  font-weight: 800;
  font-size: 0.95rem;
}

.sp-featured-visual-col {
  position: relative;
  width: 100%;
}

/* 4 Supporting Panels */
.sp-build-supporting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.sp-build-support-panel {
  background: #0a0d17;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sp-build-support-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 119, 255, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  background: #0a0d17;
}

.sp-support-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sp-support-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(0, 119, 255, 0.12);
  border: 1px solid rgba(0, 119, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.sp-build-support-panel:hover .sp-support-icon-wrap {
  background: rgba(0, 119, 255, 0.18);
  border-color: rgba(0, 119, 255, 0.4);
}

.sp-build-support-panel:hover .sp-support-icon-wrap svg {
  stroke: #0077ff !important;
}

.sp-support-num {
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0077ff;
  opacity: 0.85;
}

.sp-support-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.sp-support-desc {
  font-family: var(--font-body, sans-serif);
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.sp-support-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sp-support-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #0077ff;
  background: rgba(0, 119, 255, 0.08);
  border: 1px solid rgba(0, 119, 255, 0.22);
  padding: 4px 9px;
  border-radius: 6px;
  line-height: 1.3;
}

/* Light Mode Overrides for Web Dev What We Build */
[data-theme="light"] .sp-build-featured-showcase {
  background: #ffffff;
  border-color: rgba(0, 119, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .sp-featured-title {
  color: #0f172a;
}

[data-theme="light"] .sp-highlight-item {
  color: #334155;
}

[data-theme="light"] .sp-build-support-panel {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .sp-build-support-panel:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.08);
}

[data-theme="light"] .sp-support-title {
  color: #0f172a !important;
}

[data-theme="light"] .sp-support-desc {
  color: #334155 !important;
}

[data-theme="light"] .sp-support-num {
  color: #0066ff !important;
}

[data-theme="light"] .sp-support-icon-wrap {
  background: rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.2);
}

[data-theme="light"] .sp-build-support-panel:hover .sp-support-icon-wrap {
  background: #0066ff;
  border-color: #0066ff;
}

[data-theme="light"] .sp-support-highlights {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .sp-support-tag {
  color: #0055cc !important;
  background: rgba(0, 102, 255, 0.08) !important;
  border-color: rgba(0, 102, 255, 0.22) !important;
  font-weight: 600 !important;
}

/* Service Pages Reveal Safety - Ensure sections below What We Build are always visible and never locked at opacity: 0 */
.sp-clean-section .about-reveal-item,
.sp-clean-section .about-reveal-left,
.sp-clean-section .about-reveal-right,
.sp-clean-section .about-reveal-scale,
.sp-problems-section .about-reveal-item,
.sp-process-section .about-reveal-item,
.sp-tech-section .about-reveal-item,
.sp-tech-section .sp-tech-item,
.sp-tech-panel .sp-tech-item,
.sp-tech-panel.active .sp-tech-item,
.sp-tech-item,
.sp-comparison-row,
.sp-pipeline-experience,
.sp-explore-all-cta {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  visibility: visible !important;
}

@media (max-width: 1200px) {
  .sp-build-supporting-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .sp-build-featured-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .sp-build-featured-showcase {
    padding: 30px 24px;
  }
}

@media (max-width: 640px) {
  .sp-build-supporting-grid {
    grid-template-columns: 1fr;
  }
  .sp-build-featured-showcase {
    padding: 24px 18px;
    border-radius: 20px;
  }
}



/* ── REALISTIC DARK SAAS WEB APP FRAME (SERVICE PAGES) ──────────────────── */
.app-ui-frame {
  background: #080a10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 119, 255, 0.2);
}

.ui-frame-header {
  height: 38px;
  background: #0d111a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.ui-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-red, .dot-yellow, .dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.ui-frame-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 3px 12px;
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  color: #94a3b8;
}

.ui-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Fira Code', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #10b981;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: liveRuntimePulse 1.8s infinite;
}

.ui-app-shell {
  display: grid;
  grid-template-columns: 50px 1fr;
  min-height: 280px;
}

.ui-sidebar {
  background: #0a0d15;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 16px;
}

.sidebar-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0077ff, #0055ff);
}

.ui-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ui-nav-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
}

.ui-nav-item.active {
  background: rgba(0, 119, 255, 0.2);
  color: #0077ff;
}

.ui-main-panel {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #080a10;
}

.ui-dashboard-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ui-title-skeleton {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bar-pill-blue {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #0077ff;
}

.bar-line-wide {
  width: 90px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.ui-controls-group {
  display: flex;
  gap: 6px;
}

.ui-btn-chip {
  width: 28px;
  height: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.ui-btn-chip.primary {
  background: rgba(0, 119, 255, 0.2);
}

.ui-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ui-stat-card {
  background: #0c101a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0077ff;
}

.stat-indicator.green { background: #10b981; }
.stat-indicator.blue { background: #38bdf8; }

.stat-label-stub {
  width: 40px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-visual-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.bar-fill {
  display: block;
  height: 100%;
  background: #0077ff;
  border-radius: 2px;
}

.bar-fill.green { background: #10b981; }
.bar-fill.blue { background: #38bdf8; }

.ui-chart-card {
  background: #0c101a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chart-title-stub {
  width: 60px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.chart-pills {
  display: flex;
  gap: 4px;
}

.chart-pill {
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
}

.chart-pill.active {
  background: rgba(0, 119, 255, 0.2);
}

.chart-svg-wrap {
  width: 100%;
  height: 80px;
}

.analytics-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pulse-node {
  animation: chartNodePulse 2s infinite ease-in-out;
}

@keyframes chartNodePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.8; }
}

.ui-table-card {
  background: #0c101a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.table-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.table-row:last-child {
  border-bottom: none;
}

.row-badge {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.row-badge.active {
  background: #0077ff;
}

.row-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.row-line.w-40 { width: 40%; }
.row-line.w-60 { width: 60%; }
.row-line.w-45 { width: 45%; }
.row-line.w-20 { width: 20%; margin-left: auto; }
.row-line.w-15 { width: 15%; margin-left: auto; }
.row-line.w-25 { width: 25%; margin-left: auto; }

.row-pill {
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background: rgba(0, 119, 255, 0.2);
}

.row-pill.green {
  background: rgba(16, 185, 129, 0.2);
}

/* Light Mode Overrides for UI Frame */
[data-theme="light"] .app-ui-frame {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ui-frame-header {
  background: #f1f5f9;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ui-frame-url {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

[data-theme="light"] .ui-sidebar {
  background: #f1f5f9;
  border-right-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .ui-main-panel {
  background: #f8fafc;
}

[data-theme="light"] .ui-stat-card,
[data-theme="light"] .ui-chart-card,
[data-theme="light"] .ui-table-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .bar-line-wide,
[data-theme="light"] .stat-label-stub,
[data-theme="light"] .chart-title-stub,
[data-theme="light"] .row-line {
  background: rgba(0, 0, 0, 0.06);
}


/* ── MALIKAXIOM CONNECTED WEB PRODUCT ECOSYSTEM SHOWCASE ──────────────── */
.sp-web-ecosystem-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  min-height: 440px;
  background: #07090e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75), 0 0 45px rgba(0, 119, 255, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
}

/* Browser Frame Top Bar */
.eco-frame-bar {
  height: 38px;
  background: #0a0d15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}

.eco-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.eco-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.eco-dot.red { background: #ef4444; }
.eco-dot.yellow { background: #f59e0b; }
.eco-dot.green { background: #10b981; }

.eco-address-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 3px 14px;
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  color: #94a3b8;
}

.eco-status-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #0077ff;
  letter-spacing: 0.06em;
}

.eco-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0077ff;
  box-shadow: 0 0 8px #0077ff;
  animation: ecoPulse 2s infinite ease-in-out;
}

@keyframes ecoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* Ecosystem Main Workspace Canvas */
.eco-canvas {
  position: relative;
  flex: 1;
  padding: 16px;
  display: grid;
  grid-template-columns: 56px 1fr 180px;
  gap: 12px;
  background: #07090e;
  z-index: 2;
  overflow: hidden;
}

/* Connecting Line Overlay SVG */
.eco-nodes-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.eco-node-line {
  stroke: rgba(0, 119, 255, 0.2);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: lineDash 20s linear infinite;
}

@keyframes lineDash {
  to { stroke-dashoffset: -100; }
}

.eco-node-point {
  fill: #0077ff;
  stroke: #ffffff;
  stroke-width: 1.5;
}

/* Sidebar Navigation (SaaS & Custom App Shell) */
.eco-sidebar {
  background: #0a0e18;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  gap: 16px;
  z-index: 3;
}

.eco-sidebar-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #0077ff, #0055ff);
  box-shadow: 0 0 12px rgba(0, 119, 255, 0.2);
}

.eco-nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eco-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.2s ease;
}

.eco-nav-btn.active {
  background: rgba(0, 119, 255, 0.2);
  color: #0077ff;
  border: 1px solid rgba(0, 119, 255, 0.2);
}

/* Center Main Shell (Web App + Dashboard + Portal) */
.eco-center-shell {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}

/* Top App Header Strip (Business Website + Portal Header) */
.eco-header-strip {
  background: #0a0e18;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eco-strip-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.eco-pill-mark {
  font-family: 'Fira Code', monospace;
  font-size: 0.62rem;
  font-weight: 800;
  color: #0077ff;
  background: rgba(0, 119, 255, 0.2);
  border: 1px solid rgba(0, 119, 255, 0.2);
  padding: 2px 7px;
  border-radius: 4px;
}

.eco-strip-text {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #f1f5f9;
}

.eco-strip-chips {
  display: flex;
  gap: 5px;
}

.eco-chip-btn {
  width: 22px;
  height: 12px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
}
.eco-chip-btn.blue { background: rgba(0, 119, 255, 0.2); }

/* Grid of Metrics & Chart */
.eco-metrics-triple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.eco-stat-box {
  background: #0a0e18;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eco-stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eco-label-text {
  font-family: 'Fira Code', monospace;
  font-size: 0.6rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.eco-indicator-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0077ff;
}
.eco-indicator-dot.green { background: #10b981; }
.eco-indicator-dot.cyan { background: #38bdf8; }

.eco-progress-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.eco-progress-fill {
  height: 100%;
  background: #0077ff;
  border-radius: 2px;
}
.eco-progress-fill.green { background: #10b981; }
.eco-progress-fill.cyan { background: #38bdf8; }

/* Real-Time SVG Dashboard Chart */
.eco-chart-panel {
  background: #0a0e18;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.eco-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eco-chart-tag {
  font-family: 'Fira Code', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  color: #f1f5f9;
}

.eco-chart-svg {
  width: 100%;
  height: 90px;
}

/* Right Edge Stack: Portal & Responsive Viewport Panel */
.eco-right-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}

.eco-portal-card {
  background: #0a0e18;
  border: 1px solid rgba(0, 119, 255, 0.2);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.2);
}

.eco-portal-badge {
  font-family: 'Fira Code', monospace;
  font-size: 0.6rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
}

.eco-portal-title {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
}

.eco-portal-desc {
  font-size: 0.68rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* Responsive Viewport Mock (Mobile / Tablet Device Frame) */
.eco-responsive-mini {
  background: #080b12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.eco-mini-header {
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
}

.eco-mini-pill {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 119, 255, 0.2);
}

.eco-mini-blocks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.eco-mini-block {
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px stroke rgba(255, 255, 255, 0.04);
}
.eco-mini-block.highlight {
  background: rgba(0, 119, 255, 0.2);
  border: 1px solid rgba(0, 119, 255, 0.2);
}

/* Light Theme Overrides */
[data-theme="light"] .sp-web-ecosystem-visual {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .eco-frame-bar {
  background: #f1f5f9;
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .eco-address-bar {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  color: #475569;
}

[data-theme="light"] .eco-canvas {
  background: #f8fafc;
}

[data-theme="light"] .eco-sidebar,
[data-theme="light"] .eco-header-strip,
[data-theme="light"] .eco-stat-box,
[data-theme="light"] .eco-chart-panel,
[data-theme="light"] .eco-portal-card,
[data-theme="light"] .eco-responsive-mini {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .eco-strip-text,
[data-theme="light"] .eco-chart-tag,
[data-theme="light"] .eco-portal-title {
  color: #0f172a;
}

@media (max-width: 991px) {
  .eco-canvas {
    grid-template-columns: 44px 1fr;
  }
  .eco-right-panel {
    display: none;
  }
}

.sp-tech-item-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}


/* ==========================================================================
   AI SOLUTIONS & INTEGRATION — CUSTOM AI ENGINE WORKFLOW SECTION
   ========================================================================== */
.ai-engine-section {
  background-color: #080A0F;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .ai-engine-section {
  background-color: #F7F8FA;
  border-top-color: rgba(15, 23, 42, 0.06);
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.ai-engine-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .ai-engine-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Left Panel: Code Editor */
.ai-code-panel {
  background: #0B0E14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

[data-theme="light"] .ai-code-panel {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.ai-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

[data-theme="light"] .ai-code-header {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.ai-code-dots {
  display: flex;
  gap: 6px;
}

.ai-code-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.ai-code-dots span:nth-child(1) { background: #ff5f56; }
.ai-code-dots span:nth-child(2) { background: #ffbd2e; }
.ai-code-dots span:nth-child(3) { background: #27c93f; }

.ai-code-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0077ff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-code-body {
  font-family: 'Fira Code', monospace;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #94A3B8;
  overflow-x: auto;
  white-space: pre;
}

[data-theme="light"] .ai-code-body {
  color: #475569;
}

/* Syntax Highlighting */
.ai-code-kw { color: #38bdf8; font-weight: 600; }
.ai-code-fn { color: #60a5fa; }
.ai-code-str { color: #34d399; }
.ai-code-var { color: #f472b6; }
.ai-code-cls { color: #f59e0b; }

[data-theme="light"] .ai-code-kw { color: #0284c7; }
[data-theme="light"] .ai-code-fn { color: #2563eb; }
[data-theme="light"] .ai-code-str { color: #059669; }

/* Right Panel: Intelligent Workflow */
.ai-workflow-panel {
  background: #0B0E14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .ai-workflow-panel {
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.ai-workflow-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.ai-node-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 14px 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

[data-theme="light"] .ai-node-card {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

.ai-node-card:hover {
  border-color: rgba(0, 119, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 119, 255, 0.2);
  background: rgba(0, 119, 255, 0.2);
}

[data-theme="light"] .ai-node-card:hover {
  background: rgba(0, 119, 255, 0.2);
}

.ai-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.ai-node-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="light"] .ai-node-title {
  color: #0F172A;
}

.ai-node-title-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0077ff;
  box-shadow: 0 0 8px #0077ff;
}

.ai-node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.ai-tag-pill {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 6px;
}

[data-theme="light"] .ai-tag-pill {
  color: #64748B;
  background: #FFFFFF;
  border-color: rgba(15, 23, 42, 0.1);
}

.ai-tag-pill.active {
  color: #0077ff;
  border-color: rgba(0, 119, 255, 0.2);
  background: rgba(0, 119, 255, 0.2);
}

/* Connecting lines and pulse animation */
.ai-flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 20px;
  margin: -8px 0;
}

.ai-connector-line {
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 119, 255, 0.2), #0077ff, rgba(0, 119, 255, 0.2));
  position: relative;
}

.ai-packet-dot {
  position: absolute;
  top: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px #0077ff, 0 0 4px #0077ff;
  animation: aiPacketMove 2.2s infinite ease-in-out;
}

@keyframes aiPacketMove {
  0% { top: 0%; opacity: 0; }
  30% { opacity: 1; }
  70% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}


/* ==========================================================================
   UNIFIED BRAND BLINKING DOT ENGINE FOR ALL SECTION EYEBROWS
   ========================================================================== */
@keyframes eyebrowDotBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px #0077ff, 0 0 4px #0077ff;
  }
  50% {
    opacity: 0.35;
    transform: scale(0.7);
    box-shadow: 0 0 2px #0077ff;
  }
}

.eyebrow-dot,
.sp-eyebrow-dot,
.w-eyebrow-dot,
.kno-eyebrow-dot,
.fof-eyebrow-dot,
.aft-eyebrow-dot,
.eyebrow-mini-dot,
.hero-tag-pulse {
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #0077ff !important;
  box-shadow: 0 0 10px #0077ff, 0 0 4px #0077ff !important;
  animation: eyebrowDotBlink 1.6s ease-in-out infinite !important;
  flex-shrink: 0 !important;
}


/* ==========================================================================
   WHATSAPP MODAL CARD BRAND GREEN HOVER STYLING
   ========================================================================== */
.channel-card.channel-whatsapp:hover {
  background: rgba(37, 211, 102, 0.12) !important;
  border-color: rgba(37, 211, 102, 0.45) !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2) !important;
}

.channel-card.channel-whatsapp:hover .channel-icon-wrap {
  background: #25D366 !important;
  color: #ffffff !important;
  border-color: #25D366 !important;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4) !important;
}

.channel-card.channel-whatsapp:hover .channel-title {
  color: #25D366 !important;
}

.channel-card.channel-whatsapp:hover .channel-arrow {
  color: #25D366 !important;
  transform: translateX(5px) !important;
}




.social-youtube:hover {
  background: rgba(255, 0, 0, 0.15) !important;
  color: #ff0000 !important;
  border-color: rgba(255, 0, 0, 0.4) !important;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.3) !important;
}

.social-tiktok:hover {
  background: rgba(254, 44, 85, 0.15) !important;
  color: #fe2c55 !important;
  border-color: rgba(254, 44, 85, 0.4) !important;
  box-shadow: 0 0 12px rgba(254, 44, 85, 0.3) !important;
}





/* ==========================================================================
   UNIFIED BRAND PILL-BUTTON BADGE STYLING FOR ALL SECTION EYEBROWS
   ========================================================================== */
.services-eyebrow-v3,
.sp-eyebrow,
.metrics-eyebrow,
.tech-eyebrow-v3,
.work-eyebrow-v6,
.why-eyebrow,
.realworld-eyebrow,
.testimonials-eyebrow,
.process-eyebrow,
.founders-eyebrow,
.faq-eyebrow,
.final-cta-eyebrow,
.contact-modal-eyebrow,
.wizard-eyebrow,
.hero-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 18px !important;
  border-radius: 9999px !important;
  background: transparent !important;
  border: 1px solid rgba(0, 119, 255, 0.28) !important;
  color: #0077ff !important;
  font-family: var(--font-heading, 'Inter', sans-serif) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 15px rgba(0, 119, 255, 0.12) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  margin-bottom: 20px !important;
}

[data-theme="light"] .services-eyebrow-v3,
[data-theme="light"] .sp-eyebrow,
[data-theme="light"] .metrics-eyebrow,
[data-theme="light"] .tech-eyebrow-v3,
[data-theme="light"] .work-eyebrow-v6,
[data-theme="light"] .why-eyebrow,
[data-theme="light"] .realworld-eyebrow,
[data-theme="light"] .testimonials-eyebrow,
[data-theme="light"] .process-eyebrow,
[data-theme="light"] .founders-eyebrow,
[data-theme="light"] .faq-eyebrow,
[data-theme="light"] .final-cta-eyebrow,
[data-theme="light"] .contact-modal-eyebrow,
[data-theme="light"] .wizard-eyebrow,
[data-theme="light"] .hero-tag {
  background: rgba(0, 102, 255, 0.08) !important;
  border-color: rgba(0, 102, 255, 0.2) !important;
  color: #0066ff !important;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.06) !important;
}


/* ==========================================================================
   WHY CHOOSE US — LEFT STICKY COLUMN VISUAL CARD (LAPTOP & DESKTOP)
   ========================================================================== */
.why-left-visual-card {
  margin-top: 28px;
  background: rgba(13, 17, 24, 0.75);
  border: 1px solid rgba(0, 119, 255, 0.22);
  border-radius: 18px;
  padding: 22px 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 119, 255, 0.08);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.why-left-visual-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 119, 255, 0.45);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 119, 255, 0.16);
}

.why-visual-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.why-visual-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0077ff;
  box-shadow: 0 0 10px #0077ff;
  animation: eyebrowDotBlink 1.6s ease-in-out infinite;
}

.why-visual-card-tag {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0077ff;
  text-transform: uppercase;
}

.why-visual-metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-metric-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.why-left-visual-card:hover .why-metric-pill {
  background: rgba(0, 119, 255, 0.06);
  border-color: rgba(0, 119, 255, 0.18);
}

.metric-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.metric-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-text strong {
  font-family: var(--font-heading, 'Inter', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.metric-text span {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.72rem;
  color: #94a3b8;
}

.why-visual-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.why-footer-badge {
  font-family: var(--font-code, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.why-footer-arrow {
  font-size: 0.9rem;
  color: #0077ff;
  transition: transform 0.25s ease;
}

.why-left-visual-card:hover .why-footer-arrow {
  transform: translateX(4px);
}

/* Light mode overrides */
[data-theme="light"] .why-left-visual-card {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.18);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .why-metric-pill {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .metric-text strong {
  color: #0f172a;
}

[data-theme="light"] .metric-text span {
  color: #64748b;
}

@media (max-width: 768px) {
  .why-left-visual-card {
    margin-top: 24px;
    padding: 16px 14px;
  }
}


/* ==========================================================================
   EXACT MAIN PAGE EYEBROW DESIGN SYSTEM (GLOWING PILL BADGE & BLINKING DOT)
   ========================================================================== */
.services-eyebrow-v3,
.sp-eyebrow,
.section-eyebrow,
.metrics-eyebrow,
.tech-eyebrow-v3,
.work-eyebrow-v6,
.why-eyebrow,
.realworld-eyebrow,
.testimonials-eyebrow,
.process-eyebrow,
.founders-eyebrow,
.faq-eyebrow,
.about-faq-eyebrow,
.final-cta-eyebrow,
.contact-modal-eyebrow,
.wizard-eyebrow,
.hero-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 16px !important;
  border-radius: 9999px !important;
  background: transparent !important;
  border: 1px solid rgba(0, 119, 255, 0.28) !important;
  color: #0077ff !important;
  font-family: var(--font-heading, 'Inter', sans-serif) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  box-shadow: 0 0 15px rgba(0, 119, 255, 0.12) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  margin-bottom: 20px !important;
}

.eyebrow-dot,
.sp-eyebrow-dot,
.w-eyebrow-dot,
.kno-eyebrow-dot,
.fof-eyebrow-dot,
.aft-eyebrow-dot,
.eyebrow-mini-dot,
.hero-tag-pulse {
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #0077ff !important;
  box-shadow: 0 0 10px #0077ff, 0 0 4px #0077ff !important;
  animation: eyebrowDotBlink 1.6s ease-in-out infinite !important;
  flex-shrink: 0 !important;
}

[data-theme="light"] .services-eyebrow-v3,
[data-theme="light"] .sp-eyebrow,
[data-theme="light"] .section-eyebrow,
[data-theme="light"] .metrics-eyebrow,
[data-theme="light"] .tech-eyebrow-v3,
[data-theme="light"] .work-eyebrow-v6,
[data-theme="light"] .why-eyebrow,
[data-theme="light"] .realworld-eyebrow,
[data-theme="light"] .testimonials-eyebrow,
[data-theme="light"] .process-eyebrow,
[data-theme="light"] .founders-eyebrow,
[data-theme="light"] .faq-eyebrow,
[data-theme="light"] .about-faq-eyebrow,
[data-theme="light"] .final-cta-eyebrow,
[data-theme="light"] .contact-modal-eyebrow,
[data-theme="light"] .wizard-eyebrow,
[data-theme="light"] .hero-tag {
  background: rgba(0, 102, 255, 0.08) !important;
  border-color: rgba(0, 102, 255, 0.2) !important;
  color: #0066ff !important;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.06) !important;
}


/* ==========================================================================
   TRANSPARENT BACKGROUND FOR ALL SECTION EYEBROWS (BLUISH BG REMOVED)
   ========================================================================== */
.services-eyebrow-v3,
.sp-eyebrow,
.section-eyebrow,
.metrics-eyebrow,
.tech-eyebrow-v3,
.work-eyebrow-v6,
.why-eyebrow,
.realworld-eyebrow,
.testimonials-eyebrow,
.process-eyebrow,
.founders-eyebrow,
.faq-eyebrow,
.about-faq-eyebrow,
.final-cta-eyebrow,
.contact-modal-eyebrow,
.wizard-eyebrow,
.hero-tag {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid rgba(0, 119, 255, 0.28) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-theme="light"] .services-eyebrow-v3,
[data-theme="light"] .sp-eyebrow,
[data-theme="light"] .section-eyebrow,
[data-theme="light"] .metrics-eyebrow,
[data-theme="light"] .tech-eyebrow-v3,
[data-theme="light"] .work-eyebrow-v6,
[data-theme="light"] .why-eyebrow,
[data-theme="light"] .realworld-eyebrow,
[data-theme="light"] .testimonials-eyebrow,
[data-theme="light"] .process-eyebrow,
[data-theme="light"] .founders-eyebrow,
[data-theme="light"] .faq-eyebrow,
[data-theme="light"] .about-faq-eyebrow,
[data-theme="light"] .final-cta-eyebrow,
[data-theme="light"] .contact-modal-eyebrow,
[data-theme="light"] .wizard-eyebrow,
[data-theme="light"] .hero-tag {
  background: transparent !important;
  background-color: transparent !important;
  border-color: rgba(0, 102, 255, 0.28) !important;
  color: #0066ff !important;
  box-shadow: none !important;
}

/* ==========================================================================
   SERVICE PAGES MASTER POLISH & VISUAL UPGRADES
   ========================================================================== */

/* Hero Container & Radial Ambient Glow */
.sp-clean-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 15%, rgba(0, 119, 255, 0.08) 0%, transparent 60%);
  padding: 115px 0 45px !important;
  min-height: auto !important;
}

[data-theme="light"] .sp-clean-hero {
  background: radial-gradient(circle at 50% 15%, rgba(0, 102, 255, 0.05) 0%, transparent 60%), #f8fafc;
}

@media (max-width: 991px) {
  .sp-clean-hero {
    padding: 105px 0 35px !important;
    min-height: auto !important;
  }
}

@media (max-width: 576px) {
  .sp-clean-hero {
    padding: 92px 0 24px !important;
    min-height: auto !important;
  }
}

/* 2-Column Hero Grid Desktop */
@media (min-width: 992px) {
  .sp-hero-grid {
    display: grid !important;
    grid-template-columns: 1.08fr 0.92fr !important;
    gap: 40px !important;
    align-items: center !important;
    width: 100% !important;
  }
}

@media (max-width: 991px) {
  .sp-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
  }
}

/* IDE Code Editor Master Styles */
.sp-hero-code-editor {
  width: 100% !important;
  background: #080b15 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.sp-hero-code-editor:hover {
  border-color: rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.75) !important;
}

[data-theme="light"] .sp-hero-code-editor {
  background: #FFFFFF !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .sp-hero-code-editor:hover {
  border-color: rgba(15, 23, 42, 0.18) !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .sp-editor-tab-bar {
  background: #F8FAFC !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .sp-editor-tab {
  background: #FFFFFF !important;
  border: 1px solid rgba(0, 102, 255, 0.3) !important;
  color: #0066FF !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 4px rgba(0, 102, 255, 0.08) !important;
}

[data-theme="light"] .sp-editor-status {
  background: rgba(16, 185, 129, 0.1) !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #059669 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

[data-theme="light"] .sp-editor-status .sp-eyebrow-dot {
  background: #059669 !important;
  box-shadow: 0 0 6px rgba(5, 150, 105, 0.4) !important;
}

[data-theme="light"] .sp-editor-body {
  background: #FFFFFF !important;
}

[data-theme="light"] .sp-editor-line-nums {
  color: #94A3B8 !important;
  border-right: 1px solid rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .sp-editor-code {
  color: #0F172A !important;
}

[data-theme="light"] .sp-code-kw {
  color: #E11D48 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .sp-code-fn {
  color: #0284C7 !important;
  font-weight: 700 !important;
}

[data-theme="light"] .sp-code-str {
  color: #059669 !important;
}

[data-theme="light"] .sp-code-tag {
  color: #0066FF !important;
  font-weight: 700 !important;
}

[data-theme="light"] .sp-code-attr {
  color: #D97706 !important;
}

[data-theme="light"] .sp-code-comment {
  color: #64748B !important;
  font-style: italic !important;
}

[data-theme="light"] .sp-code-cursor {
  background: #0066FF !important;
  box-shadow: none !important;
}

/* Video Showcase Section Master Styles */
.sp-video-section {
  padding: 80px 0 !important;
}

.sp-video-cinematic {
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 1px solid rgba(0, 119, 255, 0.28) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 119, 255, 0.15) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.sp-video-cinematic:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 119, 255, 0.22) !important;
}

/* What We Build Cards Hover & Glow */
.sp-cap-card,
.sp-card-v9 {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.sp-cap-card:hover,
.sp-card-v9:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(0, 119, 255, 0.4) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 119, 255, 0.15) !important;
}

/* Comparison Transformation Rows */
.sp-comparison-row {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sp-comparison-row:hover {
  transform: translateY(-3px) !important;
}

/* Tech Grid Cards */
.sp-tech-category-card,
.tech-category-box {
  background: #080b15 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
  padding: 28px !important;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
}

.sp-tech-category-card:hover,
.tech-category-box:hover {
  border-color: rgba(0, 119, 255, 0.35) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 119, 255, 0.1) !important;
}

[data-theme="light"] .sp-tech-category-card,
[data-theme="light"] .tech-category-box {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
}

/* ==========================================================================
   AI SOLUTIONS — LIVE AI AGENT ENGINE INTERACTIVE VISUAL CARD
   ========================================================================== */
.ai-interactive-engine-card {
  background: #080b15 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

.ai-interactive-engine-card:hover {
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.6) !important;
}

[data-theme="light"] .ai-interactive-engine-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .ai-interactive-engine-card:hover {
  border-color: rgba(0, 102, 255, 0.25) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08) !important;
}

.ai-engine-header-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="light"] .ai-engine-header-bar {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.ai-engine-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  background: rgba(0, 102, 255, 0.12) !important;
  border: 1px solid rgba(0, 102, 255, 0.28) !important;
  color: #0077ff !important;
  font-family: var(--font-heading) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  letter-spacing: 0.5px !important;
}

[data-theme="light"] .ai-engine-badge {
  background: rgba(0, 102, 255, 0.08) !important;
  border-color: rgba(0, 102, 255, 0.25) !important;
  color: #0066ff !important;
}

.ai-engine-status-text {
  font-family: 'Fira Code', monospace !important;
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

[data-theme="light"] .ai-engine-status-text {
  color: #64748b !important;
}

.ai-live-dot {
  width: 7px !important;
  height: 7px !important;
  background: #10b981 !important;
  border-radius: 50% !important;
  animation: aiDotPulse 2s infinite ease-in-out !important;
}

@keyframes aiDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* FLOW CONTAINER */
.ai-flow-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  position: relative !important;
}

/* INDIVIDUAL PIPELINE STAGE CARD */
.ai-pipeline-node {
  background: #0d121f !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 12px !important;
  padding: 12px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;
  position: relative !important;
}

.ai-pipeline-node:hover,
.ai-pipeline-node.is-active {
  border-color: rgba(0, 119, 255, 0.4) !important;
  background: #111827 !important;
  transform: translateX(3px);
}

[data-theme="light"] .ai-pipeline-node {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .ai-pipeline-node:hover,
[data-theme="light"] .ai-pipeline-node.is-active {
  background: #f1f5f9 !important;
  border-color: rgba(0, 102, 255, 0.35) !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.06) !important;
}

.ai-node-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ai-node-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ai-node-icon-box {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.9rem !important;
  flex-shrink: 0 !important;
}

.ai-node-step-label {
  font-family: 'Fira Code', monospace !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

.ai-node-step-title {
  font-family: var(--font-heading) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
}

[data-theme="light"] .ai-node-step-title {
  color: #0f172a !important;
}

.ai-node-step-meta {
  font-family: 'Fira Code', monospace !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  color: #0077ff !important;
}

[data-theme="light"] .ai-node-step-meta {
  color: #0066ff !important;
}

.ai-node-chips-row {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
  padding-left: 44px !important;
}

.ai-node-chip {
  font-family: 'Fira Code', monospace !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 5px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #cbd5e1 !important;
}

[data-theme="light"] .ai-node-chip {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  color: #475569 !important;
}

/* STEP CONNECTOR LINE */
.ai-step-connector {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1px 0 !important;
}

.ai-connector-line {
  width: 2px !important;
  height: 10px !important;
  background: linear-gradient(180deg, rgba(0, 102, 255, 0.5), rgba(16, 185, 129, 0.5)) !important;
  border-radius: 2px !important;
}

/* LIVE LOG STREAM CONSOLE */
.ai-engine-console {
  background: #04060b !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

[data-theme="light"] .ai-engine-console {
  background: #f1f5f9 !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.ai-console-log {
  font-family: 'Fira Code', monospace !important;
  font-size: 0.72rem !important;
  color: #10b981 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

[data-theme="light"] .ai-console-log {
  color: #059669 !important;
}

.ai-console-tag {
  font-family: 'Fira Code', monospace !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  background: rgba(255, 255, 255, 0.05) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  flex-shrink: 0 !important;
}

[data-theme="light"] .ai-console-tag {
  background: #ffffff !important;
  color: #64748b !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

/* ── GAME DEVELOPMENT ENGINE SIMULATION & SHOWCASE ──────────────── */
.game-engine-showcase-frame {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 119, 255, 0.15);
  border: 1px solid rgba(0, 119, 255, 0.3);
  background: #080A0F;
  transition: all 0.3s ease;
}

[data-theme="light"] .game-engine-showcase-frame {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 20px rgba(0, 119, 255, 0.06);
}

.game-showcase-app-bar {
  background: #0d121d;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

[data-theme="light"] .game-showcase-app-bar {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.game-showcase-url {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 16px;
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="light"] .game-showcase-url {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #334155;
}

/* ── GAME ENGINE INTERACTIVE SIMULATION CARD ──────────────── */
.game-sim-card {
  background: linear-gradient(180deg, #090d16 0%, #05080e 100%);
  border: 1px solid rgba(0, 119, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 119, 255, 0.15);
  overflow: hidden;
  transition: all 0.35s ease;
  position: relative;
}

[data-theme="light"] .game-sim-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 30px rgba(0, 119, 255, 0.08);
}

.game-sim-header-bar {
  background: rgba(13, 18, 30, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

[data-theme="light"] .game-sim-header-bar {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.game-sim-url-pill {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  padding: 4px 14px;
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}

[data-theme="light"] .game-sim-url-pill {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #334155;
}

.game-sim-status-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.game-sim-status-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 2s infinite ease-in-out;
}

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

.game-sim-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.game-sim-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .game-sim-top-strip {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.game-sim-pill-badge {
  background: rgba(0, 119, 255, 0.15);
  border: 1px solid rgba(0, 119, 255, 0.4);
  color: #0077ff;
  font-family: 'Fira Code', monospace;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.game-sim-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
}

[data-theme="light"] .game-sim-title {
  color: #0f172a;
}

.game-sim-timer {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: #94a3b8;
}

[data-theme="light"] .game-sim-timer {
  color: #475569;
}

.game-sim-timer strong {
  color: #0077ff;
  font-weight: 700;
}

.sp-cinematic-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: radial-gradient(circle at 50% 30%, #0d1627 0%, #05080e 100%);
  border: 1px solid rgba(0, 119, 255, 0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8), 0 10px 30px rgba(0, 0, 0, 0.5);
  user-select: none;
  cursor: crosshair;
}

[data-theme="light"] .sp-cinematic-stage {
  background: radial-gradient(circle at 50% 30%, #0b1424 0%, #04060b 100%);
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.9), 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Stage HUD Telemetry Overlay */
.game-hud-overlay {
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 6;
  font-family: 'Fira Code', monospace;
  font-size: 0.6rem;
  color: rgba(0, 119, 255, 0.75);
  text-shadow: 0 0 6px rgba(0, 119, 255, 0.4);
}

.game-hud-center-card {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 7;
  text-align: center;
  pointer-events: none;
  background: rgba(8, 12, 22, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 119, 255, 0.3);
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 119, 255, 0.2);
  transition: all 0.3s ease;
  max-width: 90%;
}

.game-hud-sublabel {
  font-family: 'Fira Code', monospace;
  font-size: 0.62rem;
  color: #38bdf8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
  font-weight: 700;
}

.game-hud-mainlabel {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0;
  text-shadow: 0 0 16px rgba(0, 119, 255, 0.6);
}

.game-hud-desc {
  font-family: var(--font-body, sans-serif);
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* Timeline & Stage Buttons */
.game-timeline-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 8, 14, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 6px 12px 8px 12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.game-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.game-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0077ff, #06b6d4, #10b981);
  box-shadow: 0 0 10px #0077ff;
  border-radius: 2px;
  transition: width 0.1s linear;
}

.game-stage-buttons {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.game-stage-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.58rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.game-stage-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.game-stage-btn.is-active {
  color: #38bdf8;
  font-weight: 700;
  background: rgba(0, 119, 255, 0.15);
  border-color: rgba(0, 119, 255, 0.4);
  box-shadow: 0 0 8px rgba(0, 119, 255, 0.3);
}

/* Bottom Metrics Telemetry Bar */
.game-metrics-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

[data-theme="light"] .game-metrics-bar {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.game-metrics-group {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.game-metric-item {
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.game-metric-item strong {
  font-weight: 700;
}

/* ── GAME SYSTEM TOPOLOGY ARCHITECTURE SECTION ──────────────── */
.game-topology-card {
  background: #090d16;
  border: 1px solid rgba(0, 119, 255, 0.25);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 119, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

[data-theme="light"] .game-topology-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05), 0 0 20px rgba(0, 119, 255, 0.04);
}

.game-topology-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 10px;
}

[data-theme="light"] .game-topology-top {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.game-topology-tag-left {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: #0077ff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

[data-theme="light"] .game-topology-tag-left {
  color: #0066ff;
}

.game-topology-tag-right {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
}

.game-topology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px;
  position: relative;
  z-index: 2;
}

.game-node-item {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 119, 255, 0.2);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
}

.game-node-item:hover {
  transform: translateY(-4px);
  border-color: #0077ff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 119, 255, 0.2);
}

[data-theme="light"] .game-node-item {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .game-node-item:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow: 0 12px 24px rgba(0, 102, 255, 0.08);
}

.game-node-item.is-featured {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .game-node-item.is-featured {
  background: #f0fdf4;
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.1);
}

.game-node-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 119, 255, 0.1);
  border: 1px solid rgba(0, 119, 255, 0.2);
  transition: transform 0.25s ease;
}

[data-theme="light"] .game-node-icon {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.game-node-item:hover .game-node-icon {
  transform: scale(1.1);
}

.game-node-item.is-featured .game-node-icon {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}

.game-node-title {
  font-family: var(--font-heading, sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

[data-theme="light"] .game-node-title {
  color: #0f172a;
}

.game-node-badge {
  font-family: 'Fira Code', monospace;
  font-size: 0.65rem;
  color: #0077ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

[data-theme="light"] .game-node-badge {
  color: #0066ff;
}

.game-node-item.is-featured .game-node-badge {
  color: #10b981;
}

[data-theme="light"] .game-node-item.is-featured .game-node-badge {
  color: #059669;
}

.game-node-desc {
  font-family: var(--font-body, sans-serif);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.35;
}

[data-theme="light"] .game-node-desc {
  color: #475569;
}

.game-topology-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  color: var(--text-muted);
}

[data-theme="light"] .game-topology-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  color: #64748b;
}

/* ── E-COMMERCE PLATFORMS SECTION ──────────────── */
.ecom-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.ecom-platform-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(0, 119, 255, 0.25);
  padding: 32px;
  border-radius: 18px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.ecom-platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 119, 255, 0.15);
}

[data-theme="light"] .ecom-platform-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .ecom-platform-card:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.08);
}

/* Card Specific Border Accents */
.ecom-card-shopify { border-color: rgba(0, 119, 255, 0.3); }
.ecom-card-woo { border-color: rgba(16, 185, 129, 0.3); }
.ecom-card-wp { border-color: rgba(56, 189, 248, 0.3); }
.ecom-card-next { border-color: rgba(167, 139, 250, 0.3); }
.ecom-card-custom { border-color: rgba(244, 63, 94, 0.3); }

[data-theme="light"] .ecom-card-shopify { border-color: rgba(0, 102, 255, 0.2); }
[data-theme="light"] .ecom-card-woo { border-color: rgba(16, 185, 129, 0.25); }
[data-theme="light"] .ecom-card-wp { border-color: rgba(14, 165, 233, 0.25); }
[data-theme="light"] .ecom-card-next { border-color: rgba(139, 92, 246, 0.25); }
[data-theme="light"] .ecom-card-custom { border-color: rgba(244, 63, 94, 0.25); }

.ecom-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.ecom-card-badge {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.badge-shopify {
  background: rgba(0, 119, 255, 0.12);
  border: 1px solid rgba(0, 119, 255, 0.35);
  color: #0077ff;
}
[data-theme="light"] .badge-shopify {
  background: #eff6ff;
  border-color: rgba(0, 102, 255, 0.25);
  color: #0066ff;
}

.badge-woo {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
}
[data-theme="light"] .badge-woo {
  background: #f0fdf4;
  border-color: rgba(16, 185, 129, 0.25);
  color: #059669;
}

.badge-wp {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}
[data-theme="light"] .badge-wp {
  background: #f0f9ff;
  border-color: rgba(14, 165, 233, 0.25);
  color: #0284c7;
}

.badge-next {
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #a78bfa;
}
[data-theme="light"] .badge-next {
  background: #faf5ff;
  border-color: rgba(139, 92, 246, 0.25);
  color: #7c3aed;
}

.badge-custom {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.35);
  color: #f43f5e;
}
[data-theme="light"] .badge-custom {
  background: #fff1f2;
  border-color: rgba(244, 63, 94, 0.25);
  color: #e11d48;
}

.ecom-card-platform-name {
  color: #64748b;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
}

[data-theme="light"] .ecom-card-platform-name {
  color: #475569;
}

.ecom-card-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

[data-theme="light"] .ecom-card-title {
  color: #0f172a;
}

.ecom-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

[data-theme="light"] .ecom-card-desc {
  color: #334155;
}

.ecom-card-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  font-family: var(--font-heading, sans-serif);
  font-weight: 600;
}

[data-theme="light"] .ecom-card-features {
  color: #334155;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ecom-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ecom-feature-check {
  font-weight: 800;
}

/* Responsive E-Commerce Platforms Grid (320px - 400px & Mobile) */
@media (max-width: 768px) {
  #platforms {
    padding: 50px 0 !important;
  }
  .ecom-platforms-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .ecom-platform-card {
    padding: 22px 18px !important;
    border-radius: 14px !important;
  }
  .ecom-card-header {
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
  }
  .ecom-card-title {
    font-size: 1.25rem !important;
    margin-bottom: 10px !important;
  }
  .ecom-card-desc {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }
  .ecom-card-features {
    gap: 8px !important;
  }
  .ecom-feature-item {
    font-size: 0.82rem !important;
  }
}

@media (max-width: 400px) {
  #platforms {
    padding: 40px 0 !important;
  }
  .ecom-platform-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
  .ecom-card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }
  .ecom-card-badge {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
  }
  .ecom-card-platform-name {
    font-size: 0.75rem !important;
  }
  .ecom-card-title {
    font-size: 1.12rem !important;
    margin-bottom: 8px !important;
    line-height: 1.25 !important;
  }
  .ecom-card-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }
  .ecom-card-features {
    gap: 6px !important;
  }
  .ecom-feature-item {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 350px) {
  .ecom-platform-card {
    padding: 14px 10px !important;
    border-radius: 10px !important;
  }
  .ecom-card-badge {
    font-size: 0.6rem !important;
    padding: 2px 6px !important;
  }
  .ecom-card-title {
    font-size: 1.05rem !important;
  }
  .ecom-card-desc {
    font-size: 0.78rem !important;
  }
  .ecom-feature-item {
    font-size: 0.74rem !important;
  }
}

/* ── E-COMMERCE TECHNOLOGY CATEGORIES SECTION ──────────────── */
.ecom-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.ecom-tech-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(0, 119, 255, 0.2);
  padding: 26px 24px;
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.ecom-tech-card:hover {
  transform: translateY(-4px);
  border-color: #0077ff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 16px rgba(0, 119, 255, 0.15);
}

[data-theme="light"] .ecom-tech-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .ecom-tech-card:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 16px 32px rgba(0, 102, 255, 0.07);
}

.ecom-tech-badge {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.tech-badge-c1 { color: #0077ff; }
[data-theme="light"] .tech-badge-c1 { color: #0066ff; }

.tech-badge-c2 { color: #10b981; }
[data-theme="light"] .tech-badge-c2 { color: #059669; }

.tech-badge-c3 { color: #38bdf8; }
[data-theme="light"] .tech-badge-c3 { color: #0284c7; }

.tech-badge-c4 { color: #a78bfa; }
[data-theme="light"] .tech-badge-c4 { color: #7c3aed; }

.tech-badge-c5 { color: #f43f5e; }
[data-theme="light"] .tech-badge-c5 { color: #e11d48; }

.ecom-tech-card-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.3;
}

[data-theme="light"] .ecom-tech-card-title {
  color: #0f172a;
}

.ecom-tech-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
  font-family: var(--font-body, sans-serif);
  line-height: 1.45;
}

[data-theme="light"] .ecom-tech-list {
  color: #334155;
}

.ecom-tech-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ecom-tech-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  opacity: 0.8;
}

/* ==========================================================================
   BUSINESS AUTOMATION - AUTOMATION ENGINE SECTION
   ========================================================================== */

/* Visual Flow Badges */
.auto-flow-badge-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  font-weight: 700;
}

.auto-flow-badge {
  padding: 8px 16px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

.auto-flow-badge.badge-trigger {
  background: rgba(0, 119, 255, 0.12);
  color: #0077ff;
  border: 1px solid rgba(0, 119, 255, 0.3);
}
[data-theme="light"] .auto-flow-badge.badge-trigger {
  background: rgba(0, 102, 255, 0.08);
  color: #0066ff;
  border-color: rgba(0, 102, 255, 0.25);
}

.auto-flow-badge.badge-data {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
[data-theme="light"] .auto-flow-badge.badge-data {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.25);
}

.auto-flow-badge.badge-logic {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.3);
}
[data-theme="light"] .auto-flow-badge.badge-logic {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.25);
}

.auto-flow-badge.badge-action {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
[data-theme="light"] .auto-flow-badge.badge-action {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

.auto-flow-badge.badge-notification {
  background: rgba(244, 63, 94, 0.12);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.3);
}
[data-theme="light"] .auto-flow-badge.badge-notification {
  background: rgba(225, 29, 72, 0.08);
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.25);
}

.auto-flow-badge.badge-result {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
[data-theme="light"] .auto-flow-badge.badge-result {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.25);
}

.auto-flow-arrow {
  color: #64748b;
  font-weight: 700;
}
[data-theme="light"] .auto-flow-arrow {
  color: #94a3b8;
}

/* Example Workflow Main Card */
.auto-workflow-card {
  background: #0B0E14;
  border: 1px solid rgba(0, 119, 255, 0.25);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 1380px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .auto-workflow-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

.auto-workflow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}

[data-theme="light"] .auto-workflow-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.auto-workflow-header-title {
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  color: #0077ff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

[data-theme="light"] .auto-workflow-header-title {
  color: #0066ff;
}

.auto-workflow-status-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .auto-workflow-status-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

/* Pipeline Step Row */
.auto-pipeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.auto-pipeline-step {
  flex: 1;
  min-width: 90px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 10px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.25s ease;
}

[data-theme="light"] .auto-pipeline-step {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .auto-pipeline-step:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08);
}

.auto-pipeline-step-num {
  display: block;
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 4px;
  font-weight: 600;
}

[data-theme="light"] .auto-pipeline-step-num {
  color: #64748b;
}

.auto-pipeline-step-name {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

[data-theme="light"] .auto-pipeline-step-name {
  color: #0f172a;
}

.auto-pipeline-step.step-final {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

[data-theme="light"] .auto-pipeline-step.step-final {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.auto-pipeline-step.step-final .auto-pipeline-step-num {
  color: #10b981;
}

[data-theme="light"] .auto-pipeline-step.step-final .auto-pipeline-step-num {
  color: #059669;
}

.auto-pipeline-step.step-final .auto-pipeline-step-name {
  color: #10b981;
}

[data-theme="light"] .auto-pipeline-step.step-final .auto-pipeline-step-name {
  color: #059669;
}

.auto-pipeline-connector {
  color: #0077ff;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

[data-theme="light"] .auto-pipeline-connector {
  color: #0066ff;
}

/* 4 Explanatory Cards Grid */
.auto-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.auto-breakdown-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

[data-theme="light"] .auto-breakdown-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .auto-breakdown-card:hover {
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.06);
  transform: translateY(-2px);
}

.auto-breakdown-title {
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.auto-breakdown-title.title-trigger { color: #0077ff; }
[data-theme="light"] .auto-breakdown-title.title-trigger { color: #0066ff; }

.auto-breakdown-title.title-logic { color: #a78bfa; }
[data-theme="light"] .auto-breakdown-title.title-logic { color: #7c3aed; }

.auto-breakdown-title.title-action { color: #10b981; }
[data-theme="light"] .auto-breakdown-title.title-action { color: #059669; }

.auto-breakdown-title.title-result { color: #22C55E; }
[data-theme="light"] .auto-breakdown-title.title-result { color: #16a34a; }

.auto-breakdown-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.55;
  font-family: var(--font-body, sans-serif);
}

[data-theme="light"] .auto-breakdown-desc {
  color: #475569;
}

/* Responsive Engine for Automation Engine Section (320px - 820px) */
@media (max-width: 820px) {
  #automationFlow {
    padding: 45px 0 !important;
  }

  .auto-flow-badge-group {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    margin-bottom: 28px !important;
    padding: 6px 4px 10px 4px !important;
    width: 100% !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .auto-flow-badge {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    font-size: 0.74rem !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    letter-spacing: 0.3px !important;
  }

  .auto-flow-arrow {
    font-size: 0.75rem !important;
    flex-shrink: 0 !important;
    opacity: 0.7;
  }

  .auto-workflow-card {
    padding: 20px 16px !important;
    border-radius: 14px !important;
    max-width: 100% !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
  }

  .auto-workflow-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
    padding-bottom: 14px !important;
  }

  .auto-workflow-header-title {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }

  .auto-workflow-status-badge {
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
    align-self: flex-start !important;
  }

  .auto-pipeline-row {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    overflow-x: auto !important;
    padding: 4px 2px 10px 2px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .auto-pipeline-step {
    flex: 0 0 auto !important;
    min-width: 105px !important;
    padding: 12px 8px !important;
    border-radius: 8px !important;
  }

  .auto-pipeline-step-num {
    font-size: 0.62rem !important;
    margin-bottom: 2px !important;
  }

  .auto-pipeline-step-name {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }

  .auto-pipeline-connector {
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
  }

  .auto-breakdown-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    margin-top: 28px !important;
    width: 100% !important;
  }

  .auto-breakdown-card {
    padding: 16px 14px !important;
    border-radius: 10px !important;
  }

  .auto-breakdown-title {
    font-size: 0.76rem !important;
    margin-bottom: 6px !important;
  }

  .auto-breakdown-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 520px) {
  .auto-flow-badge-group {
    gap: 6px 8px !important;
  }

  .auto-flow-badge {
    font-size: 0.68rem !important;
    padding: 5px 10px !important;
  }

  .auto-breakdown-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .auto-workflow-card {
    padding: 16px 12px !important;
  }

  .auto-pipeline-step {
    min-width: 95px !important;
    padding: 10px 6px !important;
  }

  .auto-pipeline-step-name {
    font-size: 0.72rem !important;
  }
}

/* ==========================================================================
   07. CONNECTED BUSINESS / ARCHITECTURE SECTION
   ========================================================================== */
.biz-arch-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(8,10,15,0.9) 0%, rgba(15,23,42,0.5) 50%, rgba(8,10,15,0.9) 100%);
  border-top: 1px solid rgba(0, 119, 255,0.2);
  transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .biz-arch-section {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.biz-arch-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 119, 255, 0.3);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .biz-arch-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
}

.biz-arch-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .biz-arch-flow {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.biz-arch-pill {
  padding: 12px 18px;
  border-radius: 8px;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.biz-arch-pill.pill-blue {
  background: rgba(0, 119, 255, 0.12);
  border: 1px solid rgba(0, 119, 255, 0.3);
  color: #0077ff;
}
[data-theme="light"] .biz-arch-pill.pill-blue {
  background: rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.25);
  color: #0066ff;
}

.biz-arch-pill.pill-sky {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}
[data-theme="light"] .biz-arch-pill.pill-sky {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

.biz-arch-pill.pill-green {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}
[data-theme="light"] .biz-arch-pill.pill-green {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: #059669;
}

.biz-arch-pill.pill-purple {
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: #a78bfa;
}
[data-theme="light"] .biz-arch-pill.pill-purple {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.25);
  color: #7c3aed;
}

.biz-arch-pill.pill-rose {
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #f43f5e;
}
[data-theme="light"] .biz-arch-pill.pill-rose {
  background: rgba(225, 29, 72, 0.08);
  border-color: rgba(225, 29, 72, 0.25);
  color: #e11d48;
}

.biz-arch-pill.pill-emerald {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22C55E;
}
[data-theme="light"] .biz-arch-pill.pill-emerald {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.25);
  color: #16a34a;
}

.biz-arch-connector {
  color: #0077ff;
  font-weight: 800;
  flex-shrink: 0;
}
[data-theme="light"] .biz-arch-connector {
  color: #0066ff;
}

.biz-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  text-align: center;
}

.biz-tool-node {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 8px;
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}

[data-theme="light"] .biz-tool-node {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #334155;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .biz-tool-node:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.3);
  color: #0066ff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.08);
  transform: translateY(-2px);
}

/* ==========================================================================
   08. DIGITAL GROWTH SECTION
   ========================================================================== */
.growth-cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.growth-cap-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(0, 119, 255, 0.2);
  padding: 28px;
  border-radius: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.growth-cap-card:hover {
  transform: translateY(-3px);
  border-color: #0077ff;
  box-shadow: 0 12px 30px rgba(0, 119, 255, 0.15);
}

[data-theme="light"] .growth-cap-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .growth-cap-card:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 16px 32px rgba(0, 102, 255, 0.07);
}

.growth-cap-num {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  color: #0077ff;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

[data-theme="light"] .growth-cap-num {
  color: #0066ff;
}

.growth-cap-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px;
  line-height: 1.3;
}

[data-theme="light"] .growth-cap-title {
  color: #0f172a;
}

.growth-cap-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.6;
  font-family: var(--font-body, sans-serif);
}

[data-theme="light"] .growth-cap-desc {
  color: #475569;
}

/* ==========================================================================
   09. GROWTH SYSTEM SECTION
   ========================================================================== */
.growth-conn-section {
  padding: 70px 0;
  background: rgba(15, 23, 42, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .growth-conn-section {
  background: #f8fafc;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.growth-conn-flow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 32px;
  font-family: 'Fira Code', monospace;
  font-size: 0.82rem;
  font-weight: 700;
}

.growth-conn-pill {
  padding: 10px 14px;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.growth-conn-pill-sub {
  font-size: 0.65rem;
  color: #64748b;
  display: block;
}

[data-theme="light"] .growth-conn-pill-sub {
  color: #64748b;
}

.growth-conn-pill.pill-blue {
  background: rgba(0, 119, 255, 0.15);
  color: #0077ff;
  border: 1px solid rgba(0, 119, 255, 0.3);
}
[data-theme="light"] .growth-conn-pill.pill-blue {
  background: rgba(0, 102, 255, 0.08);
  color: #0066ff;
  border-color: rgba(0, 102, 255, 0.25);
}

.growth-conn-pill.pill-sky {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
[data-theme="light"] .growth-conn-pill.pill-sky {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.25);
}

.growth-conn-pill.pill-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
[data-theme="light"] .growth-conn-pill.pill-green {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.25);
}

.growth-conn-pill.pill-purple {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.3);
}
[data-theme="light"] .growth-conn-pill.pill-purple {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
  border-color: rgba(124, 58, 237, 0.25);
}

.growth-conn-pill.pill-rose {
  background: rgba(244, 63, 94, 0.15);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.3);
}
[data-theme="light"] .growth-conn-pill.pill-rose {
  background: rgba(225, 29, 72, 0.08);
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.25);
}

.growth-conn-pill.pill-emerald {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
[data-theme="light"] .growth-conn-pill.pill-emerald {
  background: rgba(22, 163, 74, 0.08);
  color: #16a34a;
  border-color: rgba(22, 163, 74, 0.25);
}

.growth-conn-connector {
  color: #0077ff;
  font-weight: 800;
  flex-shrink: 0;
}
[data-theme="light"] .growth-conn-connector {
  color: #0066ff;
}

.growth-conn-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  font-size: 0.84rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  width: 100%;
}

@media (max-width: 991px) {
  .growth-conn-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .growth-conn-cards {
    grid-template-columns: 1fr;
  }
}

.growth-conn-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(0, 119, 255, 0.2);
  padding: 16px 14px;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.growth-conn-card.card-blue { border-left: 3px solid #0077ff; }
.growth-conn-card.card-sky { border-left: 3px solid #38bdf8; }
.growth-conn-card.card-green { border-left: 3px solid #10b981; }
.growth-conn-card.card-purple { border-left: 3px solid #a78bfa; }
.growth-conn-card.card-emerald { border-left: 3px solid #22C55E; }

[data-theme="light"] .growth-conn-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .growth-conn-card.card-blue { border-left: 3px solid #0066ff; }
[data-theme="light"] .growth-conn-card.card-sky { border-left: 3px solid #0284c7; }
[data-theme="light"] .growth-conn-card.card-green { border-left: 3px solid #059669; }
[data-theme="light"] .growth-conn-card.card-purple { border-left: 3px solid #7c3aed; }
[data-theme="light"] .growth-conn-card.card-emerald { border-left: 3px solid #16a34a; }

.growth-conn-card-title {
  display: block;
  color: #FFFFFF;
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 0.88rem;
}

[data-theme="light"] .growth-conn-card-title {
  color: #0f172a;
}

.growth-conn-card-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
  display: block;
}

[data-theme="light"] .growth-conn-card-desc {
  color: #475569;
}

/* ==========================================================================
   13. BUSINESS SYSTEMS / WORK SECTION
   ========================================================================== */
.biz-sys-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(0, 119, 255, 0.2);
  padding: 28px;
  border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.biz-sys-card:hover {
  transform: translateY(-4px);
  border-color: #0077ff;
  box-shadow: 0 16px 36px rgba(0, 119, 255, 0.15);
}

[data-theme="light"] .biz-sys-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .biz-sys-card:hover {
  background: #ffffff;
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.08);
}

.biz-sys-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.biz-sys-badge {
  font-family: 'Fira Code', monospace;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.biz-sys-badge.badge-blue {
  background: rgba(0, 119, 255, 0.15);
  color: #0077ff;
}
[data-theme="light"] .biz-sys-badge.badge-blue {
  background: rgba(0, 102, 255, 0.08);
  color: #0066ff;
}

.biz-sys-badge.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
[data-theme="light"] .biz-sys-badge.badge-green {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
}

.biz-sys-badge.badge-purple {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
}
[data-theme="light"] .biz-sys-badge.badge-purple {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
}

.biz-sys-subtag {
  color: #64748b;
  font-family: 'Fira Code', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

[data-theme="light"] .biz-sys-subtag {
  color: #64748b;
}

.biz-sys-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px;
  line-height: 1.3;
}

[data-theme="light"] .biz-sys-title {
  color: #0f172a;
}

.biz-sys-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 20px;
  font-family: var(--font-body, sans-serif);
  flex-grow: 1;
}

[data-theme="light"] .biz-sys-desc {
  color: #475569;
}

.biz-sys-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  font-family: 'Fira Code', monospace;
}

.biz-sys-tag {
  padding: 3px 8px;
  border-radius: 4px;
}

.biz-sys-tag.tag-blue {
  background: rgba(0, 119, 255, 0.1);
  color: #0077ff;
}
[data-theme="light"] .biz-sys-tag.tag-blue {
  background: rgba(0, 102, 255, 0.08);
  color: #0066ff;
  border: 1px solid rgba(0, 102, 255, 0.2);
}

.biz-sys-tag.tag-green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
[data-theme="light"] .biz-sys-tag.tag-green {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.biz-sys-tag.tag-purple {
  background: rgba(167, 139, 250, 0.1);
  color: #a78bfa;
}
[data-theme="light"] .biz-sys-tag.tag-purple {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.2);
}









/* ============================================================
   MALIK AXIOM SERVICE PAGES — COMPLETE SCROLL-REVEAL ANIMATION SYSTEM
   60fps GPU-Accelerated Scroll Entrance Transitions
   ============================================================ */

/* 1. Base Reveal Types */
.sp-reveal,
.sp-reveal-up,
.sp-reveal-left,
.sp-reveal-right,
.sp-reveal-scale,
.sp-reveal-header,
.sp-section-header,
.section-header {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-reveal,
.sp-reveal-up,
.sp-section-header,
.section-header {
  transform: translateY(32px);
}

.sp-reveal-header {
  transform: translateY(24px);
  transition-duration: 0.65s;
}

.sp-reveal-left {
  transform: translateX(-36px);
}

.sp-reveal-right {
  transform: translateX(36px);
}

.sp-reveal-scale,
.sp-video-frame,
.game-video-wrap {
  opacity: 0;
  transform: scale(0.96) translateY(24px);
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Active Revealed States */
.sp-reveal.is-revealed,
.sp-reveal-up.is-revealed,
.sp-reveal-left.is-revealed,
.sp-reveal-right.is-revealed,
.sp-reveal-scale.is-revealed,
.sp-reveal-header.is-revealed,
.sp-section-header.is-revealed,
.section-header.is-revealed,
.sp-video-frame.is-revealed,
.game-video-wrap.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* 3. Staggered Items (Cards, Steps, Grids, FAQs, Systems) */
.sp-stagger-item,
.sp-service-card,
.sp-process-step,
.sp-work-card,
.sp-platform-card,
.sp-build-support-panel,
.faq-item,
.game-system-card,
.game-mechanic-card,
.biz-auto-card,
.growth-card,
.cap-card,
.biz-arch-card,
.flow-step-card,
.game-concept-card,
.sp-game-card,
.sp-gameplay-card {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
  transition: opacity 0.68s cubic-bezier(0.16, 1, 0.3, 1), transform 0.68s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-stagger.is-revealed .sp-stagger-item,
.sp-stagger-item.is-revealed,
.sp-service-card.is-revealed,
.sp-process-step.is-revealed,
.sp-tech-item.is-revealed,
.sp-work-card.is-revealed,
.sp-platform-card.is-revealed,
.faq-item.is-revealed,
.game-system-card.is-revealed,
.game-mechanic-card.is-revealed,
.biz-auto-card.is-revealed,
.growth-card.is-revealed,
.cap-card.is-revealed,
.biz-arch-card.is-revealed,
.flow-step-card.is-revealed,
.sp-build-support-panel.is-revealed,
.game-concept-card.is-revealed,
.sp-game-card.is-revealed,
.sp-gameplay-card.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* 4. Sequential Stagger Delays (80ms–120ms intervals) */
.sp-stagger.is-revealed .sp-stagger-item:nth-child(1),
.sp-stagger.is-revealed > *:nth-child(1) { transition-delay: 50ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(2),
.sp-stagger.is-revealed > *:nth-child(2) { transition-delay: 130ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(3),
.sp-stagger.is-revealed > *:nth-child(3) { transition-delay: 210ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(4),
.sp-stagger.is-revealed > *:nth-child(4) { transition-delay: 290ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(5),
.sp-stagger.is-revealed > *:nth-child(5) { transition-delay: 370ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(6),
.sp-stagger.is-revealed > *:nth-child(6) { transition-delay: 450ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(7),
.sp-stagger.is-revealed > *:nth-child(7) { transition-delay: 530ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(8),
.sp-stagger.is-revealed > *:nth-child(8) { transition-delay: 610ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(9),
.sp-stagger.is-revealed > *:nth-child(9) { transition-delay: 690ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(10),
.sp-stagger.is-revealed > *:nth-child(10) { transition-delay: 770ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(11),
.sp-stagger.is-revealed > *:nth-child(11) { transition-delay: 850ms; }
.sp-stagger.is-revealed .sp-stagger-item:nth-child(12),
.sp-stagger.is-revealed > *:nth-child(12) { transition-delay: 930ms; }

/* 5. Supporting 2-Column Sections */
.sp-supporting-content {
  opacity: 0;
  transform: translateX(-30px);
  will-change: opacity, transform;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.sp-supporting-media,
.sp-supporting-img {
  opacity: 0;
  transform: scale(0.96) translateX(30px);
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-supporting-content.is-revealed,
.sp-supporting-grid.is-revealed .sp-supporting-content {
  opacity: 1 !important;
  transform: translateX(0) !important;
}
.sp-supporting-media.is-revealed,
.sp-supporting-img.is-revealed,
.sp-supporting-grid.is-revealed .sp-supporting-media,
.sp-supporting-grid.is-revealed .sp-supporting-img {
  opacity: 1 !important;
  transform: scale(1) translateX(0) !important;
}

/* 6. CTA Boxes */
.final-cta-card,
.sp-cta-box {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.final-cta-card.is-revealed,
.sp-cta-box.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* 7. Tablet & Mobile Responsive Fine-Tuning */
@media (max-width: 1024px) {
  .sp-reveal-left,
  .sp-supporting-content {
    transform: translateY(22px);
  }
  .sp-reveal-right,
  .sp-supporting-media,
  .sp-supporting-img {
    transform: translateY(22px) scale(0.98);
  }
}

@media (max-width: 640px) {
  .sp-reveal,
  .sp-reveal-up,
  .sp-reveal-header,
  .sp-stagger-item,
  .sp-service-card,
  .sp-process-step,
  .sp-tech-item,
  .sp-work-card,
  .faq-item {
    transform: translateY(16px);
    transition-duration: 0.5s;
  }
}

/* 8. Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .sp-reveal,
  .sp-reveal-up,
  .sp-reveal-left,
  .sp-reveal-right,
  .sp-reveal-scale,
  .sp-reveal-header,
  .sp-stagger-item,
  .sp-service-card,
  .sp-process-step,
  .sp-tech-item,
  .sp-work-card,
  .sp-platform-card,
  .faq-item,
  .sp-supporting-content,
  .sp-supporting-media,
  .sp-supporting-img,
  .final-cta-card,
  .sp-cta-box,
  .sp-video-frame,
  .game-video-wrap {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Official Brand Colors for Social Icons (Dark & Light) ─────────────────── */
.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.25s ease,
              background 0.25s ease,
              color 0.25s ease,
              box-shadow 0.25s ease;
}

/* Base icon colors in Dark Mode */
.social-icon-btn.social-linkedin { color: #0a66c2; }
.social-icon-btn.social-whatsapp { color: #25d366; }
.social-icon-btn.social-facebook,
.social-icon-btn.social-facebook-accent { color: #1877f2; }
.social-icon-btn.social-instagram { color: #e4405f; }
.social-icon-btn.social-youtube { color: #ff0000; }
.social-icon-btn.social-tiktok { color: #fe2c55; }
.social-icon-btn.social-github { color: #ffffff; }
.social-icon-btn.social-twitter,
.social-icon-btn.social-x { color: #1da1f2; }

/* Light Mode Base State for Social Icons & FOLLOW US Label */
[data-theme="light"] .social-label {
  color: #0f172a !important;
  font-weight: 800 !important;
}

[data-theme="light"] .social-icon-btn {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .social-icon-btn.social-linkedin { color: #0a66c2 !important; }
[data-theme="light"] .social-icon-btn.social-whatsapp { color: #25d366 !important; }
[data-theme="light"] .social-icon-btn.social-facebook,
[data-theme="light"] .social-icon-btn.social-facebook-accent { color: #1877f2 !important; }
[data-theme="light"] .social-icon-btn.social-instagram { color: #e4405f !important; }
[data-theme="light"] .social-icon-btn.social-youtube { color: #ff0000 !important; }
[data-theme="light"] .social-icon-btn.social-tiktok { color: #000000 !important; }
[data-theme="light"] .social-icon-btn.social-github { color: #181717 !important; }
[data-theme="light"] .social-icon-btn.social-twitter,
[data-theme="light"] .social-icon-btn.social-x { color: #0f1419 !important; }

/* ── Specific Brand Hover States with Original Brand Colors & Glows (Dark & Light) ── */
.social-icon-btn.social-linkedin:hover,
[data-theme="light"] .social-icon-btn.social-linkedin:hover {
  background: #0a66c2 !important;
  border-color: #0a66c2 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(10, 102, 194, 0.5) !important;
}

.social-icon-btn.social-whatsapp:hover,
[data-theme="light"] .social-icon-btn.social-whatsapp:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
}

.social-icon-btn.social-facebook:hover,
.social-icon-btn.social-facebook-accent:hover,
[data-theme="light"] .social-icon-btn.social-facebook:hover,
[data-theme="light"] .social-icon-btn.social-facebook-accent:hover {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.5) !important;
}

.social-icon-btn.social-instagram:hover,
[data-theme="light"] .social-icon-btn.social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: #dc2743 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.5) !important;
}

.social-icon-btn.social-youtube:hover,
[data-theme="light"] .social-icon-btn.social-youtube:hover {
  background: #ff0000 !important;
  border-color: #ff0000 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5) !important;
}

.social-icon-btn.social-tiktok:hover,
[data-theme="light"] .social-icon-btn.social-tiktok:hover {
  background: #000000 !important;
  border-color: #fe2c55 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(254, 44, 85, 0.5), 0 0 10px rgba(37, 244, 238, 0.4) !important;
}

.social-icon-btn.social-github:hover,
[data-theme="light"] .social-icon-btn.social-github:hover {
  background: #24292e !important;
  border-color: #24292e !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
}

.social-icon-btn.social-twitter:hover,
.social-icon-btn.social-x:hover,
[data-theme="light"] .social-icon-btn.social-twitter:hover,
[data-theme="light"] .social-icon-btn.social-x:hover {
  background: #000000 !important;
  border-color: #1da1f2 !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 6px 20px rgba(29, 161, 242, 0.45) !important;
}


/* ==========================================================================
   MALIK AXIOM — UNIVERSAL BI-DIRECTIONAL SCROLL TRANSITIONS
   Silky-Smooth Dual-Direction Easing (Scroll Down & Scroll Up)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .scroll-anim-ready {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease,
                background 0.25s ease;
    transition-delay: calc(var(--stagger-index, 0) * 40ms);
  }

  /* When In-View (Revealed) */
  .scroll-anim-ready.in-view,
  .scroll-anim-ready.is-revealed,
  .kno-section-head, .fof-section-head, .aft-section-head,
  .kno-hero-figure, .fof-hero-frame, .aft-hero-visual,
  .kno-showcase-frame, .fof-showcase-frame, .aft-showcase-frame {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
  }

  /* Subtle Variations based on element types */
  .section-header.scroll-anim-ready,
  .sp-section-header.scroll-anim-ready {
    transform: translate3d(0, 12px, 0);
  }

  .sp-hero-dual-visual.scroll-anim-ready {
    transform: translate3d(0, 14px, 0) scale(0.99);
  }

  .sp-video-frame.scroll-anim-ready {
    transform: translate3d(0, 16px, 0) scale(0.99);
  }

  /* Mobile responsiveness reduction */
  @media (max-width: 768px) {
    .scroll-anim-ready {
      transform: translate3d(0, 10px, 0);
      transition-duration: 0.3s;
      transition-delay: calc(var(--stagger-index, 0) * 30ms);
    }
  }
}


/* ── Hide Navbar 'Start a Project' CTA Button between 320px and 380px across all pages ── */
@media (max-width: 380px) {
  .header .btn-nav-start,
  .header-actions .btn-nav-start,
  .btn-nav-start,
  .header-cta-btn,
  .nav-btn-primary {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}



/* ==========================================================================
   HERO SECTION & CODE EDITOR 320px - 425px MOBILE RESPONSIVE OPTIMIZATION
   ========================================================================== */
@media (max-width: 425px) {
  /* Hero Container & Layout */
  .sp-clean-hero {
    padding: 90px 0 22px !important;
    min-height: auto !important;
  }
  
  .sp-hero-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    width: 100% !important;
  }

  .sp-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
  }

  /* Hero Typography */
  .sp-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .sp-eyebrow {
    font-size: 0.68rem !important;
    padding: 3px 10px !important;
    letter-spacing: 1px !important;
    margin-bottom: 10px !important;
    gap: 6px !important;
  }

  .sp-hero-title {
    font-size: clamp(1.4rem, 6.4vw, 1.85rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.03em !important;
    margin: 0 0 12px !important;
    word-break: break-word !important;
  }

  .sp-hero-lead {
    font-size: 0.85rem !important;
    line-height: 1.55 !important;
    margin: 0 0 18px !important;
    color: var(--text-muted, #94a3b8) !important;
  }

  .sp-hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .sp-hero-ctas .btn,
  .sp-hero-ctas button,
  .sp-hero-ctas a {
    width: 100% !important;
    min-height: 44px !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: 0.86rem !important;
    padding: 10px 16px !important;
    box-sizing: border-box !important;
  }

  /* Visual Column & Dual Visual Wrapper */
  .sp-hero-dual-visual {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
  }

  /* Code Editor / IDE Responsive Refinements */
  .sp-hero-code-editor {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
    overflow: hidden !important;
    margin: 0 auto !important;
  }

  /* Tab Bar */
  .sp-editor-tab-bar {
    padding: 8px 10px !important;
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
  }

  .sp-editor-dots {
    gap: 4px !important;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .sp-editor-dots span {
    width: 8px !important;
    height: 8px !important;
  }

  .sp-editor-tab {
    padding: 2px 8px !important;
    font-size: 0.68rem !important;
    border-radius: 6px !important;
    gap: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 120px !important;
    flex-shrink: 1 !important;
  }

  .sp-editor-status {
    padding: 2px 6px !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.4px !important;
    border-radius: 5px !important;
    gap: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .sp-editor-status .sp-eyebrow-dot {
    width: 5px !important;
    height: 5px !important;
  }

  /* Editor Body & Syntax Area */
  .sp-editor-body {
    display: grid !important;
    grid-template-columns: 24px 1fr !important;
    padding: 10px 0 !important;
    min-height: 190px !important;
    max-height: 250px !important;
    overflow-y: hidden !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .sp-editor-line-nums {
    font-size: 0.7rem !important;
    line-height: 1.6 !important;
    padding-right: 4px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .sp-editor-code {
    font-size: 0.68rem !important;
    line-height: 1.6 !important;
    padding: 0 8px !important;
    white-space: pre-wrap !important;
    word-break: break-all !important;
    overflow: hidden !important;
  }

  .sp-code-cursor {
    width: 2px !important;
    height: 1em !important;
  }
}



/* ==========================================================================
   VIDEO BUTTONS & BADGES PROGRESSIVE SHRINK & MOBILE HIDE ENGINE
   (Scales down below 1024px and completely hides on small screens <= 576px)
   ========================================================================== */
@media (max-width: 1024px) {
  .sp-video-badge,
  .about-video-badge,
  .kno-video-badge,
  .video-pill-badge {
    padding: 6px 12px !important;
    font-size: 0.65rem !important;
    letter-spacing: 1px !important;
    top: 14px !important;
    left: 14px !important;
    transform: scale(0.92);
    transform-origin: top left;
  }

  .sp-video-toggle-btn,
  .about-video-toggle-btn,
  .video-sound-btn,
  .video-expand-btn {
    padding: 7px 16px !important;
    font-size: 0.74rem !important;
  }
}

@media (max-width: 768px) {
  .sp-video-badge,
  .about-video-badge,
  .kno-video-badge,
  .video-pill-badge {
    padding: 4px 9px !important;
    font-size: 0.58rem !important;
    letter-spacing: 0.6px !important;
    top: 10px !important;
    left: 10px !important;
    transform: scale(0.85);
    transform-origin: top left;
  }

  .sp-video-toggle-btn,
  .about-video-toggle-btn,
  .video-sound-btn,
  .video-expand-btn {
    padding: 5px 12px !important;
    font-size: 0.68rem !important;
  }
}

@media (max-width: 576px) {
  .sp-video-badge,
  .about-video-badge,
  .kno-video-badge,
  .video-pill-badge,
  .sp-video-toggle-btn,
  .about-video-toggle-btn,
  .video-sound-btn,
  .video-expand-btn,
  .sp-video-controls .sp-video-toggle-btn,
  .about-video-controls .about-video-toggle-btn {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* ==========================================================================
   WHAT WE BUILD SECTION RESPONSIVE ENGINE (320px - 730px)
   ========================================================================== */
@media (max-width: 730px) {
  #whatWeBuild {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  #whatWeBuild .sp-section-header {
    margin-bottom: 24px !important;
  }

  #whatWeBuild .sp-section-title {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  #whatWeBuild .sp-section-sub {
    font-size: clamp(0.85rem, 2.6vw, 0.95rem) !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  /* Main Featured Showcase Card */
  .sp-build-featured-showcase {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }

  .sp-build-featured-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* Left Column: Copy */
  .sp-featured-copy-col {
    gap: 12px !important;
    width: 100% !important;
  }

  .sp-featured-eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.1em !important;
  }

  .sp-featured-title {
    font-size: clamp(1.3rem, 4.8vw, 1.65rem) !important;
    line-height: 1.25 !important;
  }

  .sp-featured-desc {
    font-size: clamp(0.84rem, 2.5vw, 0.92rem) !important;
    line-height: 1.55 !important;
  }

  .sp-featured-highlights {
    gap: 8px !important;
    margin-top: 4px !important;
  }

  .sp-highlight-item {
    font-size: clamp(0.78rem, 2.4vw, 0.85rem) !important;
    gap: 8px !important;
    line-height: 1.35 !important;
  }

  .sp-highlight-check {
    font-size: 0.88rem !important;
    flex-shrink: 0 !important;
  }

  /* Right Column: Visual Container */
  .sp-featured-visual-col {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* 1. Web / Mobile / Backend / Cloud Ecosystem Visual */
  .sp-web-ecosystem-visual {
    min-height: auto !important;
    aspect-ratio: auto !important;
    width: 100% !important;
    border-radius: 14px !important;
  }

  .eco-frame-bar {
    height: 34px !important;
    padding: 0 10px !important;
    gap: 8px !important;
  }

  .eco-window-controls {
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  .eco-dot {
    width: 6px !important;
    height: 6px !important;
  }

  .eco-address-bar {
    font-size: 0.6rem !important;
    padding: 2px 8px !important;
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .eco-address-bar svg {
    flex-shrink: 0 !important;
  }

  .eco-status-tag {
    font-size: 0.58rem !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .eco-canvas {
    display: flex !important;
    flex-direction: column !important;
    padding: 12px !important;
    gap: 10px !important;
  }

  .eco-nodes-overlay {
    display: none !important;
  }

  .eco-sidebar {
    display: none !important;
  }

  .eco-center-shell {
    width: 100% !important;
    gap: 8px !important;
  }

  .eco-header-strip {
    padding: 6px 10px !important;
    border-radius: 8px !important;
  }

  .eco-strip-text {
    font-size: 0.72rem !important;
  }

  .eco-pill-mark {
    font-size: 0.58rem !important;
    padding: 2px 6px !important;
  }

  .eco-metrics-triple {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .eco-stat-box {
    padding: 6px 8px !important;
    border-radius: 8px !important;
    gap: 4px !important;
  }

  .eco-label-text {
    font-size: 0.54rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .eco-chart-panel {
    padding: 8px 10px !important;
    border-radius: 8px !important;
    gap: 4px !important;
  }

  .eco-chart-tag {
    font-size: 0.58rem !important;
  }

  .eco-chart-svg {
    height: 55px !important;
    max-height: 60px !important;
  }

  .eco-right-panel {
    width: 100% !important;
    gap: 8px !important;
  }

  .eco-portal-card {
    padding: 8px 10px !important;
    border-radius: 8px !important;
    gap: 6px !important;
  }

  .eco-portal-title {
    font-size: 0.72rem !important;
  }

  .eco-portal-desc {
    font-size: 0.65rem !important;
    line-height: 1.35 !important;
  }

  .eco-responsive-mini {
    padding: 6px 8px !important;
    border-radius: 8px !important;
    gap: 4px !important;
  }

  .eco-mini-block {
    height: 14px !important;
  }

  /* 2. AI Interactive Engine Card (AI Solutions Page) */
  .ai-interactive-engine-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
    gap: 12px !important;
  }

  .ai-engine-header-bar {
    padding-bottom: 10px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .ai-engine-badge {
    font-size: 0.65rem !important;
    padding: 3px 9px !important;
  }

  .ai-engine-status-text {
    font-size: 0.65rem !important;
  }

  .ai-pipeline-node {
    padding: 10px 12px !important;
    border-radius: 10px !important;
    gap: 6px !important;
  }

  .ai-node-left {
    gap: 8px !important;
  }

  .ai-node-icon-box {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.78rem !important;
    border-radius: 6px !important;
  }

  .ai-node-icon-box svg {
    width: 13px !important;
    height: 13px !important;
  }

  .ai-node-step-label {
    font-size: 0.56rem !important;
  }

  .ai-node-step-title {
    font-size: 0.74rem !important;
  }

  .ai-node-chips-row {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  .ai-node-chip {
    font-size: 0.58rem !important;
    padding: 2px 6px !important;
  }

  .ai-step-connector {
    height: 8px !important;
  }

  /* 3. Game Sim Card (Game Dev Page) */
  .game-sim-card {
    border-radius: 14px !important;
  }

  .game-sim-header-bar {
    padding: 8px 12px !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .game-sim-url-pill {
    font-size: 0.62rem !important;
    padding: 3px 8px !important;
  }

  .game-sim-status-badge {
    font-size: 0.6rem !important;
    padding: 2px 8px !important;
  }

  .game-hud-center-card {
    padding: 12px !important;
  }

  .game-hud-mainlabel {
    font-size: 0.82rem !important;
  }

  .game-hud-sublabel {
    font-size: 0.68rem !important;
  }

  .game-metrics-bar {
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .game-stage-buttons {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }

  .game-stage-btn {
    font-size: 0.62rem !important;
    padding: 4px 8px !important;
  }
}

@media (max-width: 620px) {
  .game-sim-url-pill,
  .game-sim-status-badge,
  .game-sim-top-strip,
  .game-metrics-bar,
  #gameHudTelemetryLeft,
  #gameHudTelemetryRight {
    display: none !important;
  }

  .game-sim-header-bar {
    padding: 8px 12px !important;
    justify-content: flex-start !important;
  }

  .sp-cinematic-stage {
    min-height: 200px !important;
    width: 100% !important;
  }

  .game-hud-center-card {
    padding: 8px 10px !important;
    max-width: 92% !important;
    background: rgba(8, 10, 15, 0.75) !important;
    backdrop-filter: blur(8px) !important;
  }

  .game-hud-mainlabel {
    font-size: 0.78rem !important;
    letter-spacing: 0.5px !important;
  }

  .game-hud-sublabel {
    font-size: 0.62rem !important;
  }

  .game-hud-desc {
    display: none !important;
  }

  .game-stage-buttons {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding-bottom: 4px !important;
    -webkit-overflow-scrolling: touch;
  }

  .game-stage-btn {
    font-size: 0.62rem !important;
    padding: 4px 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  /* Supporting 4-Card Grid */
  .sp-build-supporting-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 16px !important;
  }

  .sp-build-support-panel {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    gap: 8px !important;
  }

  .sp-support-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }

  .sp-support-icon-wrap svg {
    width: 16px !important;
    height: 16px !important;
  }

  .sp-support-num {
    font-size: 0.76rem !important;
  }

  .sp-support-title {
    font-size: 0.98rem !important;
    line-height: 1.3 !important;
  }

  .sp-support-desc {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  .sp-support-highlights {
    gap: 6px !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
  }

  .sp-support-tag {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
    border-radius: 5px !important;
  }
}

/* Extra Compact Polish for Extra Small Screens (<= 450px down to 320px) */
@media (max-width: 450px) {
  #whatWeBuild {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .sp-build-featured-showcase {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }

  .sp-featured-title {
    font-size: 1.25rem !important;
  }

  .sp-featured-desc {
    font-size: 0.82rem !important;
  }

  .sp-highlight-item {
    font-size: 0.76rem !important;
  }

  .eco-metrics-triple {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
  }

  .eco-status-tag {
    display: none !important;
  }

  .sp-build-support-panel {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }

  .sp-support-title {
    font-size: 0.92rem !important;
  }

  .sp-support-desc {
    font-size: 0.78rem !important;
  }

  .sp-support-tag {
    font-size: 0.68rem !important;
    padding: 2px 6px !important;
  }
}

@media (max-width: 360px) {
  .sp-build-featured-showcase {
    padding: 14px 10px !important;
  }

  .sp-featured-title {
    font-size: 1.15rem !important;
  }

  .sp-build-support-panel {
    padding: 12px 10px !important;
  }
}

/* ==========================================================================
   WHY IT MATTERS (PROBLEM -> SOLUTION ROWS) RESPONSIVE ENGINE (320px - 810px)
   ========================================================================== */
@media (max-width: 810px) {
  .sp-problems-section,
  #problems {
    padding: 40px 0 !important;
  }

  .sp-problems-section .sp-section-header,
  #problems .sp-section-header {
    margin-bottom: 24px !important;
  }

  .sp-problems-section .sp-section-title,
  #problems .sp-section-title {
    font-size: clamp(1.4rem, 5.2vw, 1.85rem) !important;
    line-height: 1.25 !important;
  }

  .sp-problems-section .sp-section-sub,
  #problems .sp-section-sub {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important;
    line-height: 1.55 !important;
    margin-top: 8px !important;
    max-width: 100% !important;
  }

  .sp-transform-list {
    margin-top: 28px !important;
    gap: 20px !important;
  }

  .sp-comparison-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .sp-card {
    width: 100% !important;
    padding: 18px 18px !important;
    border-radius: 14px !important;
    gap: 10px !important;
    box-sizing: border-box !important;
  }

  .sp-problem-card {
    border-left: 2px solid #FF4D5A !important;
  }

  .sp-solution-card {
    border-left: 2px solid #22C55E !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  [data-theme="light"] .sp-solution-card {
    border-left: 2px solid #10B981 !important;
    border-right: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  .sp-card-body {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .sp-card-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
  }

  .sp-card-icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  .sp-card-badge {
    font-size: 0.65rem !important;
  }

  .sp-card-title {
    font-size: clamp(0.98rem, 3.8vw, 1.12rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
  }

  .sp-card-desc {
    font-size: clamp(0.82rem, 2.5vw, 0.88rem) !important;
    line-height: 1.55 !important;
  }

  .sp-connector-bridge {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 2px 0 !important;
    margin: 0 !important;
  }

  .connector-line-left,
  .connector-line-right {
    display: none !important;
  }

  .connector-circle-btn {
    width: 34px !important;
    height: 34px !important;
    margin: 0 auto !important;
    box-shadow: 0 0 12px rgba(0, 119, 255, 0.2) !important;
  }

  .connector-circle-btn svg {
    width: 14px !important;
    height: 14px !important;
    transform: rotate(90deg) !important;
  }

  .sp-comparison-row:hover .connector-circle-btn svg {
    transform: rotate(90deg) translateY(3px) !important;
  }
}

/* Extra Compact Sizing for Smaller Mobile Screens (<= 450px down to 320px) */
@media (max-width: 450px) {
  .sp-problems-section,
  #problems {
    padding: 30px 0 !important;
  }

  .sp-transform-list {
    margin-top: 20px !important;
    gap: 16px !important;
  }

  .sp-comparison-row {
    gap: 8px !important;
  }

  .sp-card {
    padding: 14px 14px !important;
    border-radius: 12px !important;
    gap: 8px !important;
  }

  .sp-card-body {
    gap: 10px !important;
  }

  .sp-card-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 7px !important;
  }

  .sp-card-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  .sp-card-badge {
    font-size: 0.62rem !important;
  }

  .sp-card-title {
    font-size: 0.95rem !important;
  }

  .sp-card-desc {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
  }

  .connector-circle-btn {
    width: 30px !important;
    height: 30px !important;
  }

  .connector-circle-btn svg {
    width: 12px !important;
    height: 12px !important;
  }
}

@media (max-width: 360px) {
  .sp-card {
    padding: 12px 10px !important;
  }

  .sp-card-title {
    font-size: 0.9rem !important;
  }

  .sp-card-desc {
    font-size: 0.75rem !important;
  }
}

/* ==========================================================================
   HOW WE WORK (PROCESS PIPELINE EXPERIENCE) RESPONSIVE ENGINE (320px - 800px)
   ========================================================================== */
@media (max-width: 800px) {
  .sp-process-section,
  #howWeWork {
    padding: 40px 0 !important;
  }

  .sp-process-section .sp-section-header,
  #howWeWork .sp-section-header {
    margin-bottom: 24px !important;
  }

  .sp-process-section .sp-section-title,
  #howWeWork .sp-section-title {
    font-size: clamp(1.4rem, 5.2vw, 1.85rem) !important;
    line-height: 1.25 !important;
  }

  .sp-process-section .sp-section-sub,
  #howWeWork .sp-section-sub {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  .sp-pipeline-experience {
    margin-top: 24px !important;
    gap: 20px !important;
  }

  /* Timeline Navigation Track - Ensure track line & traveling light always display & animate seamlessly */
  .sp-pipeline-nav-container {
    position: relative !important;
    width: 100% !important;
    padding-top: 6px !important;
    overflow: visible !important;
  }

  .sp-pipeline-track-line {
    display: block !important;
    position: absolute !important;
    top: 15px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 2.5px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    z-index: 1 !important;
    border-radius: 2px !important;
  }

  [data-theme="light"] .sp-pipeline-track-line {
    background: rgba(0, 0, 0, 0.1) !important;
  }

  .sp-pipeline-progress-bar {
    display: block !important;
    height: 100% !important;
    background: linear-gradient(90deg, #0066FF 0%, #0077ff 100%) !important;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.4) !important;
  }

  .sp-pipeline-traveling-light {
    display: block !important;
    position: absolute !important;
    top: -3.5px !important;
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid #0066FF !important;
    box-shadow: 0 0 12px #0066FF, 0 0 20px rgba(0, 102, 255, 0.4) !important;
    transform: translateX(-50%) !important;
    z-index: 4 !important;
  }

  .sp-pipeline-steps-nav {
    display: flex !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 2 !important;
    gap: 2px !important;
    width: 100% !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  .sp-pipeline-step-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 2px !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    text-align: center !important;
  }

  .sp-step-node {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    flex-shrink: 0 !important;
  }

  [data-theme="light"] .sp-step-node {
    background: #ffffff !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
  }

  .sp-step-dot {
    width: 5px !important;
    height: 5px !important;
  }

  .sp-pipeline-step-btn.active .sp-step-node {
    background: #0066FF !important;
    border-color: #0066FF !important;
    box-shadow: 0 0 12px rgba(0, 102, 255, 0.4) !important;
  }

  .sp-step-meta {
    gap: 1px !important;
    width: 100% !important;
  }

  .sp-step-num {
    font-size: 0.62rem !important;
    line-height: 1.1 !important;
  }

  .sp-step-name {
    font-size: clamp(0.62rem, 1.8vw, 0.78rem) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  /* Stage Canvas Frame */
  .sp-pipeline-stage-frame {
    padding: 20px 16px !important;
    border-radius: 16px !important;
    min-height: auto !important;
  }

  .sp-stage-panel {
    gap: 18px !important;
  }

  .sp-stage-visual-area {
    padding: 16px 14px !important;
    border-radius: 12px !important;
    min-height: auto !important;
  }

  .pipe-scene-header {
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
    padding-bottom: 8px !important;
  }

  .pipe-scene-badge {
    font-size: 0.64rem !important;
  }

  .pipe-scene-status {
    font-size: 0.6rem !important;
  }

  /* Scene 1: Discover */
  .pipe-disc-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .pipe-disc-connector {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    padding: 4px 0 !important;
    gap: 8px !important;
  }

  .disc-vector-line {
    width: 32px !important;
    height: 2px !important;
  }

  .pipe-req-card,
  .pipe-brief-card {
    padding: 10px 12px !important;
    border-radius: 8px !important;
  }

  .req-title {
    font-size: 0.8rem !important;
  }

  /* Scene 2: Plan */
  .pipe-arch-topology {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .arch-arrow {
    display: none !important;
  }

  .arch-layer-card {
    padding: 10px 8px !important;
    border-radius: 8px !important;
  }

  .arch-name {
    font-size: 0.78rem !important;
  }

  /* Scene 3: Design */
  .pipe-design-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .pipe-wireframe-card,
  .pipe-hifi-card {
    padding: 12px !important;
    border-radius: 8px !important;
  }

  /* Scene 4: Build */
  .pipe-build-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .pipe-build-terminal {
    padding: 12px 14px !important;
    border-radius: 8px !important;
  }

  .term-code-body {
    font-size: 0.68rem !important;
    line-height: 1.5 !important;
  }

  .pipe-staging-card {
    padding: 12px !important;
    border-radius: 8px !important;
  }

  /* Scene 5: Validate */
  .pipe-val-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .val-env-box {
    padding: 10px 8px !important;
    border-radius: 8px !important;
  }

  .env-title {
    font-size: 0.7rem !important;
  }

  .val-checks-matrix {
    gap: 6px !important;
  }

  .val-pill {
    font-size: 0.68rem !important;
    padding: 4px 8px !important;
  }

  /* Scene 6: Launch */
  .pipe-launch-track {
    padding: 10px 14px !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .launch-step-chip {
    font-size: 0.65rem !important;
  }

  .pipe-launch-card {
    padding: 12px 14px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  /* Bottom Stage Info Area */
  .sp-stage-info-area {
    gap: 6px !important;
  }

  .sp-stage-meta-tag {
    font-size: 0.62rem !important;
  }

  .sp-stage-title {
    font-size: clamp(1.15rem, 4.2vw, 1.45rem) !important;
    line-height: 1.25 !important;
  }

  .sp-stage-desc {
    font-size: clamp(0.82rem, 2.4vw, 0.9rem) !important;
    line-height: 1.55 !important;
  }

  .sp-stage-deliverables {
    gap: 6px !important;
    margin-top: 4px !important;
  }

  .sp-deliverable-tag {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
  }
}

/* Extra Compact Polish for Extra Small Screens (<= 450px down to 320px) */
@media (max-width: 450px) {
  .sp-process-section,
  #howWeWork {
    padding: 28px 0 !important;
  }

  .sp-process-section .sp-section-header,
  #howWeWork .sp-section-header {
    margin-bottom: 18px !important;
  }

  .sp-pipeline-experience {
    margin-top: 18px !important;
    gap: 16px !important;
  }

  .sp-pipeline-nav-container {
    padding-top: 4px !important;
  }

  .sp-pipeline-track-line {
    top: 12px !important;
    height: 2px !important;
  }

  .sp-step-node {
    width: 15px !important;
    height: 15px !important;
  }

  .sp-step-dot {
    width: 4px !important;
    height: 4px !important;
  }

  .sp-pipeline-traveling-light {
    top: -2.5px !important;
    width: 7px !important;
    height: 7px !important;
  }

  .sp-step-num {
    font-size: 0.55rem !important;
  }

  .sp-step-name {
    font-size: 0.56rem !important;
    letter-spacing: -0.01em !important;
  }

  .sp-pipeline-stage-frame {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  }

  .sp-stage-visual-area {
    padding: 12px 10px !important;
    border-radius: 10px !important;
  }

  .pipe-scene-header {
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
    gap: 4px !important;
  }

  .pipe-scene-badge {
    font-size: 0.58rem !important;
    padding: 2px 6px !important;
  }

  .pipe-scene-status {
    font-size: 0.55rem !important;
  }

  /* Scene 1: Discover */
  .pipe-disc-grid {
    gap: 8px !important;
  }

  .pipe-col-label {
    font-size: 0.58rem !important;
    margin-bottom: 4px !important;
  }

  .pipe-req-card,
  .pipe-brief-card {
    padding: 7px 10px !important;
    border-radius: 7px !important;
    margin-bottom: 4px !important;
  }

  .req-title {
    font-size: 0.72rem !important;
  }

  .brief-row {
    font-size: 0.68rem !important;
    gap: 4px !important;
  }

  .brief-key,
  .brief-val {
    font-size: 0.65rem !important;
  }

  .disc-vector-line {
    width: 20px !important;
  }

  .disc-vector-pill {
    font-size: 0.55rem !important;
    padding: 2px 6px !important;
  }

  /* Scene 2: Plan — Ultra-smooth connected pill pipeline */
  .pipe-arch-topology {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
  }

  .arch-layer-card {
    padding: 5px 9px !important;
    border-radius: 7px !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }

  .arch-name {
    font-size: 0.68rem !important;
    letter-spacing: 0.03em !important;
  }

  .arch-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.68rem !important;
    color: #0077ff !important;
    opacity: 0.85 !important;
    margin: 0 !important;
  }

  /* Scene 3: Design */
  .pipe-design-grid {
    gap: 8px !important;
  }

  .pipe-wireframe-card,
  .pipe-hifi-card {
    padding: 9px 10px !important;
    border-radius: 7px !important;
  }

  /* Scene 4: Build */
  .pipe-build-grid {
    gap: 8px !important;
  }

  .pipe-build-terminal {
    padding: 8px 10px !important;
    border-radius: 7px !important;
  }

  .term-code-body {
    font-size: 0.62rem !important;
    line-height: 1.4 !important;
  }

  .pipe-staging-card {
    padding: 8px 10px !important;
    border-radius: 7px !important;
  }

  /* Scene 5: Validate */
  .pipe-val-grid {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .val-env-box {
    padding: 7px 9px !important;
    border-radius: 7px !important;
  }

  .env-title {
    font-size: 0.65rem !important;
  }

  .val-pill {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
  }

  /* Scene 6: Launch */
  .pipe-launch-track {
    padding: 7px 10px !important;
    gap: 4px !important;
  }

  .launch-step-chip {
    font-size: 0.58rem !important;
    padding: 2px 6px !important;
  }

  .pipe-launch-card {
    padding: 8px 10px !important;
    border-radius: 7px !important;
  }

  /* Bottom Stage Info Area */
  .sp-stage-info-area {
    gap: 4px !important;
    margin-top: 8px !important;
  }

  .sp-stage-meta-tag {
    font-size: 0.6rem !important;
  }

  .sp-stage-title {
    font-size: clamp(1.05rem, 4.4vw, 1.25rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 2px !important;
  }

  .sp-stage-desc {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }

  .sp-stage-deliverables {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    margin-top: 6px !important;
  }

  .sp-deliverable-tag {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
    max-width: 100% !important;
  }
}

/* Extra Slim Polish specifically for 320px - 370px */
@media (max-width: 370px) {
  .sp-pipeline-experience {
    margin-top: 14px !important;
    gap: 12px !important;
  }

  .sp-pipeline-steps-nav {
    gap: 1px !important;
  }

  .sp-pipeline-step-btn {
    padding: 0 1px !important;
    gap: 4px !important;
  }

  .sp-step-node {
    width: 13px !important;
    height: 13px !important;
  }

  .sp-step-dot {
    width: 3px !important;
    height: 3px !important;
  }

  .sp-pipeline-track-line {
    top: 11px !important;
  }

  .sp-step-num {
    font-size: 0.5rem !important;
  }

  .sp-step-name {
    font-size: 0.5rem !important;
  }

  .sp-pipeline-stage-frame {
    padding: 12px 9px !important;
    border-radius: 12px !important;
  }

  .sp-stage-visual-area {
    padding: 10px 8px !important;
    border-radius: 8px !important;
  }

  .arch-layer-card {
    padding: 4px 7px !important;
    border-radius: 6px !important;
  }

  .arch-name {
    font-size: 0.62rem !important;
  }

  .arch-arrow {
    font-size: 0.62rem !important;
  }

  .sp-stage-title {
    font-size: 1.05rem !important;
  }

  .sp-stage-desc {
    font-size: 0.74rem !important;
    line-height: 1.4 !important;
  }

  .sp-deliverable-tag {
    font-size: 0.65rem !important;
    padding: 2px 6px !important;
  }
}

/* ==========================================================================
   TECHNOLOGY SECTION RESPONSIVE ENGINE (320px - 1020px)
   ========================================================================== */
.sp-tech-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  width: 100%;
}

.sp-tech-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 119, 255, 0.1);
  border: 1px solid rgba(0, 119, 255, 0.3);
  color: #0077ff;
  font-family: var(--font-heading, sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
}

.sp-tech-expand-btn:hover {
  background: rgba(0, 119, 255, 0.2);
  border-color: #0077ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 119, 255, 0.25);
}

.sp-tech-expand-btn .btn-chevron {
  transition: transform 0.25s ease;
}

.sp-tech-expand-btn.is-active .btn-chevron {
  transform: rotate(180deg);
}

[data-theme="light"] .sp-tech-expand-btn {
  background: #f0f7ff;
  border-color: rgba(0, 102, 255, 0.3);
  color: #0066ff;
}

[data-theme="light"] .sp-tech-expand-btn:hover {
  background: #0066ff;
  color: #ffffff;
  border-color: #0066ff;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.2);
}

@media (min-width: 769px) {
  .sp-tech-toggle-wrap {
    display: none !important;
  }
}

@media (max-width: 1020px) {
  .sp-tech-section,
  #technology {
    padding: 50px 0 !important;
  }

  .sp-tech-tabs-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 24px !important;
    justify-content: flex-start !important;
  }

  .sp-tech-tab {
    padding: 9px 18px !important;
    font-size: 0.82rem !important;
  }

  .sp-tech-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
    gap: 14px !important;
  }

  .sp-tech-item {
    padding: 14px 16px !important;
    border-radius: 12px !important;
    gap: 12px !important;
  }

  .sp-tech-item-icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
  }

  .sp-tech-item-icon img,
  .sp-tech-item-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  .sp-tech-item-name {
    font-size: 0.88rem !important;
  }
}

@media (max-width: 768px) {
  .sp-tech-section,
  #technology {
    padding: 40px 0 !important;
  }

  .sp-tech-tabs-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 5px !important;
    margin-bottom: 20px !important;
  }

  .sp-tech-tab {
    padding: 9px 10px !important;
    font-size: 0.8rem !important;
    text-align: center !important;
    border-radius: 8px !important;
  }

  .sp-tech-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .sp-tech-item {
    display: flex !important;
    align-items: center !important;
    padding: 10px 12px !important;
    border-radius: 11px !important;
    gap: 9px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .sp-tech-item-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }

  .sp-tech-item-icon img,
  .sp-tech-item-icon svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }

  .sp-tech-item-name {
    font-size: 0.8rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}

@media (max-width: 480px) {
  .sp-tech-section,
  #technology {
    padding: 30px 0 !important;
  }

  .sp-tech-tabs-bar {
    gap: 5px !important;
    padding: 4px !important;
  }

  .sp-tech-tab {
    padding: 8px 6px !important;
    font-size: 0.74rem !important;
  }

  .sp-tech-grid {
    gap: 8px !important;
  }

  .sp-tech-item {
    padding: 8px 10px !important;
    border-radius: 10px !important;
    gap: 8px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .sp-tech-item-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 7px !important;
    flex-shrink: 0 !important;
  }

  .sp-tech-item-icon img,
  .sp-tech-item-icon svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
  }

  .sp-tech-item-name {
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .sp-tech-expand-btn {
    font-size: 0.76rem !important;
    padding: 7px 15px !important;
  }
}

@media (max-width: 400px) {
  .sp-tech-grid {
    gap: 7px !important;
  }

  .sp-tech-item {
    padding: 8px 7px !important;
    border-radius: 9px !important;
    gap: 6px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .sp-tech-item-icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    border-radius: 6px !important;
    flex-shrink: 0 !important;
  }

  .sp-tech-item-icon img,
  .sp-tech-item-icon svg {
    width: 15px !important;
    height: 15px !important;
    max-width: 15px !important;
    max-height: 15px !important;
  }

  .sp-tech-item-name {
    font-size: 0.72rem !important;
    line-height: 1.18 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}

@media (max-width: 350px) {
  .sp-tech-tabs-bar {
    gap: 3px !important;
    padding: 3px !important;
  }

  .sp-tech-tab {
    padding: 6px 3px !important;
    font-size: 0.68rem !important;
  }

  .sp-tech-grid {
    gap: 5px !important;
  }

  .sp-tech-item {
    padding: 6px 5px !important;
    border-radius: 7px !important;
    gap: 5px !important;
    min-width: 0 !important;
  }

  .sp-tech-item-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border-radius: 5px !important;
    flex-shrink: 0 !important;
  }

  .sp-tech-item-icon img,
  .sp-tech-item-icon svg {
    width: 13px !important;
    height: 13px !important;
    max-width: 13px !important;
    max-height: 13px !important;
  }

  .sp-tech-item-name {
    font-size: 0.66rem !important;
    line-height: 1.15 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
}

/* ==========================================================================
   SELECTED WORK SECTION RESPONSIVE ENGINE (320px - 800px)
   ========================================================================== */
@media (max-width: 800px) {
  .sp-work-section,
  #work {
    padding: 40px 0 !important;
  }

  .sp-work-section .sp-section-header,
  #work .sp-section-header {
    margin-bottom: 24px !important;
  }

  .sp-work-section .sp-section-title,
  #work .sp-section-title {
    font-size: clamp(1.4rem, 5.2vw, 1.85rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }

  .sp-work-section .sp-section-sub,
  #work .sp-section-sub {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
  }

  .sp-featured-project {
    margin-bottom: 24px !important;
  }

  .sp-featured-project-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 22px 18px !important;
    border-radius: 18px !important;
  }

  .sp-featured-project-copy {
    padding: 0 !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .sp-featured-project-copy::before,
  .sp-featured-project-copy::after {
    display: none !important;
  }

  .sp-featured-project-cat {
    font-size: 0.68rem !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 4px !important;
  }

  .sp-featured-project-title {
    font-size: clamp(1.3rem, 5vw, 1.7rem) !important;
    line-height: 1.25 !important;
    margin: 0 0 4px !important;
  }

  .sp-featured-project-desc {
    font-size: clamp(0.84rem, 2.6vw, 0.92rem) !important;
    line-height: 1.55 !important;
    margin: 0 0 10px !important;
    max-width: 100% !important;
  }

  .sp-featured-project-link {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    gap: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    width: fit-content !important;
  }

  /* Visual Container */
  .sp-featured-project-visual {
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
  }

  .sp-featured-main-img {
    width: 100% !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .sp-showcase-bar {
    height: 32px !important;
    padding: 0 10px !important;
    gap: 8px !important;
  }

  .sp-bar-dots {
    gap: 4px !important;
  }

  .sp-bar-dots span {
    width: 6px !important;
    height: 6px !important;
  }

  .sp-bar-url {
    font-size: 0.62rem !important;
    padding: 2px 8px !important;
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .sp-bar-live {
    font-size: 0.58rem !important;
    flex-shrink: 0 !important;
  }

  .sp-featured-main-img img {
    width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Alternative Work Cards */
  .sp-work-featured {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
  }

  .sp-work-featured-body {
    padding: 18px 16px !important;
  }

  .sp-work-title {
    font-size: 1.25rem !important;
  }

  .sp-work-desc {
    font-size: 0.85rem !important;
  }

  .sp-work-tech {
    font-size: 0.74rem !important;
    margin-bottom: 12px !important;
  }

  .sp-work-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .sp-work-card {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .sp-work-card-body {
    padding: 16px 14px !important;
  }

  /* Bottom CTA */
  .sp-explore-all-cta {
    margin-top: 24px !important;
    display: flex !important;
    justify-content: center !important;
  }

  .sp-explore-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 0.84rem !important;
    padding: 10px 22px !important;
    border-radius: 9999px !important;
    width: fit-content !important;
  }
}

/* Extra Compact Polish for Extra Small Screens (<= 480px down to 320px) */
@media (max-width: 480px) {
  .sp-work-section,
  #work {
    padding: 30px 0 !important;
  }

  .sp-featured-project-grid {
    padding: 16px 12px !important;
    border-radius: 14px !important;
    gap: 14px !important;
  }

  .sp-featured-main-img img {
    max-height: 220px !important;
  }

  .sp-explore-btn {
    width: 100% !important;
    max-width: 280px !important;
    font-size: 0.8rem !important;
    padding: 9px 18px !important;
  }
}

@media (max-width: 360px) {
  .sp-featured-project-grid {
    padding: 14px 10px !important;
    border-radius: 12px !important;
  }

  .sp-featured-project-title {
    font-size: 1.2rem !important;
  }

  .sp-featured-main-img img {
    max-height: 180px !important;
  }
}

/* ==========================================================================
   FAQ & READY TO BUILD (FINAL CTA) RESPONSIVE ENGINE (320px - 800px)
   ========================================================================== */
@media (max-width: 800px) {
  /* 1. FAQ SECTION */
  .faq-section,
  #faq {
    padding: 40px 0 !important;
  }

  .faq-container {
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  .faq-header {
    margin-bottom: 24px !important;
  }

  .faq-eyebrow {
    font-size: 0.72rem !important;
    padding: 5px 14px !important;
    margin-bottom: 12px !important;
  }

  .faq-title {
    font-size: clamp(1.4rem, 5.2vw, 1.85rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  .faq-subheading {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
    max-width: 100% !important;
  }

  .faq-list {
    gap: 10px !important;
  }

  .faq-list .faq-item:nth-child(n+4),
  .faq-accordion .faq-item:nth-child(n+4),
  .faq-section .faq-item:nth-child(n+4) {
    display: none !important;
  }

  .faq-item {
    border-radius: 12px !important;
  }

  .faq-question-btn {
    padding: 14px 16px !important;
    gap: 12px !important;
  }

  .faq-question-text {
    font-size: clamp(0.88rem, 2.8vw, 0.98rem) !important;
    line-height: 1.35 !important;
  }

  .faq-chevron {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
  }

  .faq-chevron svg {
    width: 16px !important;
    height: 16px !important;
  }

  .faq-answer-content {
    padding: 0 16px 14px !important;
    font-size: clamp(0.82rem, 2.4vw, 0.88rem) !important;
    line-height: 1.55 !important;
  }

  /* 2. READY TO BUILD / FINAL CTA SECTION */
  .final-cta-section,
  #final-cta,
  .sp-cta-section {
    padding: 40px 0 !important;
  }

  .final-cta-container {
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  .final-cta-card,
  .sp-cta-inner {
    padding: 36px 20px !important;
    border-radius: 20px !important;
  }

  .final-cta-eyebrow {
    font-size: 0.72rem !important;
    padding: 5px 14px !important;
    margin-bottom: 12px !important;
  }

  .final-cta-title,
  .sp-cta-title {
    font-size: clamp(1.4rem, 5.5vw, 1.95rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
    max-width: 100% !important;
  }

  .final-cta-subheading,
  .sp-cta-sub {
    font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important;
    line-height: 1.6 !important;
    margin: 0 auto 24px !important;
    max-width: 100% !important;
  }

  .final-cta-actions-wrap,
  .sp-cta-btns {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 0 !important;
  }

  .btn-cta-primary,
  .btn-cta-secondary,
  .btn-talk-team {
    width: 100% !important;
    max-width: 280px !important;
    padding: 12px 22px !important;
    font-size: 0.85rem !important;
    justify-content: center !important;
  }
}

/* Extra Compact Polish for Extra Small Screens (<= 450px down to 320px) */
@media (max-width: 450px) {
  .faq-section,
  #faq,
  .final-cta-section,
  #final-cta,
  .sp-cta-section {
    padding: 30px 0 !important;
  }

  .faq-question-btn {
    padding: 12px 12px !important;
    gap: 10px !important;
  }

  .faq-answer-content {
    padding: 0 12px 12px !important;
  }

  .final-cta-card,
  .sp-cta-inner {
    padding: 24px 14px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 360px) {
  .faq-question-btn {
    padding: 10px 10px !important;
  }

  .faq-question-text {
    font-size: 0.84rem !important;
  }

  .final-cta-card,
  .sp-cta-inner {
    padding: 20px 10px !important;
  }

  .btn-cta-primary,
  .btn-cta-secondary,
  .btn-talk-team {
    max-width: 100% !important;
    padding: 11px 16px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 630px) {
  .sp-telemetry-details {
    display: none !important;
  }
}

/* E-Commerce Projects Grid & Cards (COMMERCE EXPERIENCES) */
.sp-ecom-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.ecom-project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.ecom-project-num {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
}

.badge-proj-01 { background: rgba(0, 119, 255, 0.12); color: #0077ff; }
.badge-proj-02 { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.badge-proj-03 { background: rgba(167, 139, 250, 0.12); color: #a78bfa; }

.ecom-project-tag {
  color: #64748b;
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  font-weight: 700;
}

.ecom-project-hashtags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  font-family: 'Fira Code', monospace;
  margin-top: 16px;
}

.ecom-project-hashtags span {
  padding: 3px 8px;
  border-radius: 4px;
}

.hashtags-proj-01 { color: #0077ff; }
.hashtags-proj-01 span { background: rgba(0, 119, 255, 0.08); }

.hashtags-proj-02 { color: #10b981; }
.hashtags-proj-02 span { background: rgba(16, 185, 129, 0.08); }

.hashtags-proj-03 { color: #a78bfa; }
.hashtags-proj-03 span { background: rgba(167, 139, 250, 0.08); }

/* Responsive E-Commerce Projects (320px - 400px & Mobile) */
@media (max-width: 768px) {
  .sp-ecom-projects-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 400px) {
  .ecom-project-card {
    padding: 16px 14px !important;
    border-radius: 12px !important;
  }
  .ecom-project-header {
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }
  .ecom-project-num {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
  }
  .ecom-project-tag {
    font-size: 0.72rem !important;
  }
  .ecom-project-hashtags {
    gap: 6px !important;
    font-size: 0.68rem !important;
    margin-top: 12px !important;
  }
  .ecom-project-hashtags span {
    padding: 2px 6px !important;
  }
}

@media (max-width: 350px) {
  .ecom-project-card {
    padding: 14px 10px !important;
    border-radius: 10px !important;
  }
  .ecom-project-header {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* ==========================================================================
   SERVICE PAGES: LARGE SCREEN & 4K OPTIMIZATION
   ========================================================================== */

/* ── Section 1: Fluid Desktop Optimization (1440px - 1999px) ── */
@media (min-width: 1440px) and (max-width: 1999px) {
  .container {
    max-width: clamp(1340px, 84vw, 1580px) !important;
  }
  .sp-clean-hero {
    min-height: clamp(680px, 72vh, 860px);
  }
  .sp-hero-title {
    font-size: clamp(3.2rem, 3.8vw, 4.4rem);
  }
  .sp-hero-lead {
    font-size: clamp(1.1rem, 1.15vw, 1.28rem);
    max-width: 620px;
  }
  .sp-cta-inner {
    max-width: clamp(1240px, 80vw, 1520px);
  }
}

/* ── Section 2: 2K Viewport Optimization (2000px - 3199px) ── */
@media (min-width: 2000px) {
  .container {
    max-width: 1780px !important;
    padding-left: 48px;
    padding-right: 48px;
  }
  .sp-clean-hero {
    min-height: 740px;
    padding: 140px 0 80px;
  }
  .sp-hero-title {
    font-size: clamp(3.8rem, 3.2vw, 4.8rem);
    line-height: 1.1;
  }
  .sp-hero-lead {
    font-size: 1.35rem;
    line-height: 1.7;
    max-width: 700px;
  }
  .sp-clean-hero-video-wrap {
    border-radius: 24px;
    min-height: 480px;
  }
  .sp-capabilities-grid {
    gap: 32px;
  }
  .sp-capability-card,
  .sp-card {
    padding: 44px 38px;
    border-radius: 24px;
  }
  .sp-capability-card h3,
  .sp-card-title {
    font-size: 1.45rem;
  }
  .sp-capability-card p,
  .sp-card-desc {
    font-size: 1.05rem;
    line-height: 1.68;
  }
  .sp-pipeline-stage-frame {
    min-height: 520px;
    border-radius: 26px;
    padding: 44px;
  }
  .sp-tech-grid {
    gap: 28px;
  }
  .sp-tech-card {
    padding: 36px 28px;
    border-radius: 20px;
  }
  .sp-work-grid {
    gap: 36px;
  }
  .sp-work-card {
    border-radius: 24px;
  }
  .sp-ecom-projects-grid {
    gap: 32px;
  }
  .ecom-project-card {
    padding: 36px 30px !important;
    border-radius: 22px !important;
  }
  .sp-faq-wrap,
  .faq-accordion-root {
    max-width: 1080px;
  }
  .sp-faq-question-text,
  .faq-question-text {
    font-size: 1.2rem;
  }
  .sp-faq-answer-inner,
  .faq-answer-content {
    font-size: 1.05rem;
    line-height: 1.75;
  }
  .sp-cta-inner,
  .final-cta-card {
    max-width: 1720px;
    padding: 96px 64px;
    border-radius: 32px;
  }
  .sp-cta-title,
  .final-cta-title {
    font-size: clamp(2.8rem, 3vw, 4rem);
  }
  .sp-cta-sub,
  .final-cta-subtitle {
    font-size: 1.25rem;
    max-width: 720px;
  }
}

/* ── Section 3: Ultra-Wide 21:9 Viewports (3440px / 5120px) ── */
@media (min-width: 2560px) and (min-aspect-ratio: 21/10) {
  .sp-clean-section,
  .sp-problems-section,
  .sp-process-section,
  .sp-tech-section,
  .sp-work-section,
  .sp-cta-section,
  .faq-section {
    padding: clamp(80px, 7vh, 120px) 0 !important;
  }
  .container {
    max-width: 2160px !important;
  }
  .sp-hero-grid {
    gap: 60px;
  }
  .sp-cta-inner,
  .final-cta-card {
    max-width: 2100px;
  }
}

/* ── Section 4: 4K Ultra-High Density Optimization (3840px / 4K) ── */
@media (min-width: 3200px) {
  .container {
    max-width: 2380px !important;
    padding-left: 64px;
    padding-right: 64px;
  }
  .sp-clean-hero {
    min-height: 860px;
    padding: 170px 0 110px;
  }
  .sp-hero-title {
    font-size: clamp(4.4rem, 3.4vw, 5.6rem);
  }
  .sp-hero-lead {
    font-size: 1.6rem;
    line-height: 1.75;
    max-width: 860px;
  }
  .sp-hero-ctas .btn,
  .sp-cta-btns .btn {
    padding: 20px 42px !important;
    font-size: 1.25rem !important;
    border-radius: 9999px !important;
  }
  .sp-clean-hero-video-wrap {
    min-height: 600px;
    border-radius: 30px;
  }
  .sp-section-title,
  .sp-heading-title {
    font-size: 3.4rem !important;
  }
  .sp-section-lead,
  .sp-heading-lead {
    font-size: 1.5rem !important;
    max-width: 900px;
  }
  .sp-capabilities-grid {
    gap: 44px;
  }
  .sp-capability-card,
  .sp-card {
    padding: 56px 48px;
    border-radius: 30px;
  }
  .sp-capability-card h3,
  .sp-card-title {
    font-size: 1.75rem;
  }
  .sp-capability-card p,
  .sp-card-desc {
    font-size: 1.22rem;
    line-height: 1.75;
  }
  .sp-pipeline-stage-frame {
    min-height: 640px;
    border-radius: 32px;
    padding: 56px;
  }
  .sp-stage-visual-area {
    min-height: 480px;
    border-radius: 24px;
  }
  .sp-tech-grid {
    gap: 36px;
  }
  .sp-tech-card {
    padding: 44px 34px;
    border-radius: 24px;
  }
  .sp-tech-card h4 {
    font-size: 1.45rem;
  }
  .sp-tech-card p {
    font-size: 1.15rem;
  }
  .sp-work-grid {
    gap: 44px;
  }
  .sp-work-card {
    border-radius: 30px;
  }
  .sp-work-body {
    padding: 44px;
  }
  .sp-work-title {
    font-size: 1.7rem;
  }
  .sp-work-desc {
    font-size: 1.18rem;
  }
  .sp-ecom-projects-grid {
    gap: 40px;
  }
  .ecom-project-card {
    padding: 44px 36px !important;
    border-radius: 26px !important;
  }
  .sp-faq-wrap,
  .faq-accordion-root {
    max-width: 1300px;
  }
  .sp-faq-question-text,
  .faq-question-text {
    font-size: 1.4rem;
  }
  .sp-faq-answer-inner,
  .faq-answer-content {
    font-size: 1.2rem;
    line-height: 1.8;
  }
  .sp-cta-inner,
  .final-cta-card {
    max-width: 2300px;
    padding: 120px 80px;
    border-radius: 36px;
  }
  .sp-cta-title,
  .final-cta-title {
    font-size: clamp(3.6rem, 3.5vw, 4.8rem);
  }
  .sp-cta-sub,
  .final-cta-subtitle {
    font-size: 1.45rem;
    max-width: 900px;
  }
}

/* ==========================================================================
   MASTER VIDEO BACKGROUND SYSTEM (ALL PAGES POST-HERO)
   - Light Mode: Pure White (#ffffff) background with outer side floating blue dots
   - Dark Mode: Pure Black (#04050a) background with outer side floating subtle dots
   - Dots strictly in far side margins only — ZERO dots on top of or near the video
   ========================================================================== */

/* Ultra-smooth slow floating keyframes */
@keyframes floatDotSmooth1 {
  0%   { transform: translate(0px, 0px); opacity: 0.45; }
  33%  { transform: translate(14px, -16px); opacity: 0.8; }
  66%  { transform: translate(-10px, 10px); opacity: 0.55; }
  100% { transform: translate(0px, 0px); opacity: 0.45; }
}

@keyframes floatDotSmooth2 {
  0%   { transform: translate(0px, 0px); opacity: 0.5; }
  33%  { transform: translate(-16px, 14px); opacity: 0.85; }
  66%  { transform: translate(12px, -12px); opacity: 0.45; }
  100% { transform: translate(0px, 0px); opacity: 0.5; }
}

@keyframes floatDotSmooth3 {
  0%   { transform: translate(0px, 0px); opacity: 0.4; }
  50%  { transform: translate(12px, 16px); opacity: 0.75; }
  100% { transform: translate(0px, 0px); opacity: 0.4; }
}

@keyframes floatDotSmooth4 {
  0%   { transform: translate(0px, 0px); opacity: 0.5; }
  50%  { transform: translate(-14px, -16px); opacity: 0.8; }
  100% { transform: translate(0px, 0px); opacity: 0.5; }
}

/* Base Dark Mode Video Section Backgrounds (Pure Black) */
.sp-video-section,
.kno-video-section,
.about-video-section,
#videoFullscreenSection,
.fullscreen-video-outer,
.w-showcase-section,
.fof-hero-section,
.fof-showcase-section,
.vbg-effects-enabled {
  background-color: #04050a !important;
  background: #04050a !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Disable section-wide pseudo-element grids so no dots ever cover the video area */
.sp-video-section::before,
.kno-video-section::before,
.about-video-section::before,
#videoFullscreenSection::before,
.fullscreen-video-outer::before,
.w-showcase-section::before,
.fof-hero-section::before,
.fof-showcase-section::before,
.vbg-effects-enabled::before,
.sp-video-section::after,
.kno-video-section::after,
.about-video-section::after,
#videoFullscreenSection::after,
.fullscreen-video-outer::after,
.w-showcase-section::after,
.fof-hero-section::after,
.fof-showcase-section::after,
.vbg-effects-enabled::after {
  display: none !important;
  content: none !important;
}

/* All video cards, wrappers, containers and controls sit firmly ABOVE background */
.sp-video-section .container,
.about-video-section .container,
.about-video-showcase-wrap,
.sp-video-showcase-wrap,
.sp-video-cinematic,
.about-video-cinematic,
.kno-video-frame,
.kno-video-wrapper,
.fullscreen-video-wrapper,
.video-expand-container,
.fof-hero-media,
.w-showcase-media,
.kno-video-container {
  position: relative !important;
  z-index: 20 !important;
}

/* Background dots layer stays strictly below video content */
.video-bg-dots-wrap {
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

/* Base Dot Styling (Dark Mode) */
.vbg-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  background: #0099ff;
  box-shadow: 0 0 6px rgba(0, 153, 255, 0.45);
  opacity: 0.5;
}

/* Discrete floating dots placed ONLY on the FAR LEFT and FAR RIGHT flanks (outside video) */
/* Far Left Flank */
.vbg-dot.dot-1  { top: 15%; left: 2%;   width: 6px; height: 6px; animation: floatDotSmooth1 22s ease-in-out infinite; }
.vbg-dot.dot-2  { top: 32%; left: 3.5%; width: 7px; height: 7px; animation: floatDotSmooth2 26s ease-in-out infinite 2s; }
.vbg-dot.dot-3  { top: 50%; left: 1.8%; width: 6px; height: 6px; animation: floatDotSmooth3 24s ease-in-out infinite 1s; }
.vbg-dot.dot-4  { top: 68%; left: 3.2%; width: 7px; height: 7px; animation: floatDotSmooth4 28s ease-in-out infinite 3s; }
.vbg-dot.dot-5  { top: 85%; left: 2%;   width: 6px; height: 6px; animation: floatDotSmooth1 25s ease-in-out infinite 1.5s; }

/* Far Right Flank */
.vbg-dot.dot-6  { top: 16%; right: 2%;   width: 6px; height: 6px; animation: floatDotSmooth2 24s ease-in-out infinite 1.5s; }
.vbg-dot.dot-7  { top: 34%; right: 3.5%; width: 7px; height: 7px; animation: floatDotSmooth1 27s ease-in-out infinite 3.5s; }
.vbg-dot.dot-8  { top: 52%; right: 1.8%; width: 6px; height: 6px; animation: floatDotSmooth4 23s ease-in-out infinite 0.5s; }
.vbg-dot.dot-9  { top: 70%; right: 3.2%; width: 7px; height: 7px; animation: floatDotSmooth3 29s ease-in-out infinite 2.5s; }
.vbg-dot.dot-10 { top: 86%; right: 2%;   width: 6px; height: 6px; animation: floatDotSmooth2 26s ease-in-out infinite 4s; }

/* Video Card / Media Wrappers in Dark Mode */
.sp-video-cinematic,
.about-video-cinematic,
.kno-video-frame,
.kno-video-wrapper,
.fullscreen-video-wrapper,
.video-expand-container,
.fof-hero-media,
.w-showcase-media {
  background: #04050a !important;
  background-color: #04050a !important;
  z-index: 20 !important;
}

/* ==========================================================================
   LIGHT MODE OVERRIDES ([data-theme="light"])
   ========================================================================== */

/* Pure White Background in Light Mode for Video Sections (NO Blue Tint) */
[data-theme="light"] .sp-video-section,
[data-theme="light"] .kno-video-section,
[data-theme="light"] .about-video-section,
[data-theme="light"] #videoFullscreenSection,
[data-theme="light"] .fullscreen-video-outer,
[data-theme="light"] .w-showcase-section,
[data-theme="light"] .fof-hero-section,
[data-theme="light"] .fof-showcase-section,
[data-theme="light"] .vbg-effects-enabled {
  background-color: #ffffff !important;
  background: #ffffff !important;
  background-image: none !important;
  position: relative !important;
}

/* Light Mode Dynamic Dots Styling (Far Side Flanks) */
[data-theme="light"] .vbg-dot {
  background: #0070f3 !important;
  box-shadow: 0 0 6px rgba(0, 112, 243, 0.4) !important;
  opacity: 0.6 !important;
}

/* Pure White inner containers in Light Mode */
[data-theme="light"] .sp-video-cinematic,
[data-theme="light"] .about-video-cinematic,
[data-theme="light"] .kno-video-frame,
[data-theme="light"] .kno-video-wrapper,
[data-theme="light"] .fullscreen-video-wrapper,
[data-theme="light"] .video-expand-container,
[data-theme="light"] .fof-hero-media,
[data-theme="light"] .w-showcase-media {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: rgba(0, 119, 255, 0.2) !important;
  box-shadow: 0 0 0 1px rgba(0, 119, 255, 0.08), 0 25px 60px rgba(0, 119, 255, 0.12) !important;
  z-index: 20 !important;
}

[data-theme="light"] .fullscreen-video-element,
[data-theme="light"] .sp-video-cinematic video,
[data-theme="light"] .about-video-cinematic video,
[data-theme="light"] .kno-video-frame video,
[data-theme="light"] .fof-hero-media video {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* ==========================================================================
   REFINED CINEMATIC HERO VIDEO OVERLAY & EDITORIAL TYPOGRAPHY
   Continuous Moving Video Background + Dominant Hero Headline
   Accent: #0077FF | 100% Fluid Responsive | Dark & Light Contrast
   ========================================================================== */
/* AfroTech-Inspired Enhanced Cinematic Video Overlay */
.afro-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 3.5vw, 40px) clamp(24px, 4.5vw, 56px);
  pointer-events: none;
  box-sizing: border-box;
}

/* Layered cinematic scrim */
.afro-dark-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg,
      rgba(3, 4, 9, 0.85) 0%,
      rgba(3, 4, 9, 0.64) 30%,
      rgba(3, 4, 9, 0.34) 58%,
      rgba(3, 4, 9, 0.14) 100%),
    linear-gradient(180deg,
      rgba(3, 4, 9, 0.24) 0%,
      rgba(3, 4, 9, 0.03) 38%,
      rgba(3, 4, 9, 0.24) 74%,
      rgba(2, 3, 8, 0.78) 100%),
    radial-gradient(70% 85% at 88% 28%, rgba(0, 119, 255, 0.1) 0%, transparent 66%);
  pointer-events: none;
}

[data-theme="light"] .afro-dark-scrim {
  background:
    linear-gradient(100deg,
      rgba(9, 13, 26, 0.8) 0%,
      rgba(9, 13, 26, 0.58) 30%,
      rgba(9, 13, 26, 0.26) 58%,
      rgba(9, 13, 26, 0.1) 100%),
    linear-gradient(180deg,
      rgba(9, 13, 26, 0.2) 0%,
      rgba(9, 13, 26, 0.02) 38%,
      rgba(9, 13, 26, 0.22) 74%,
      rgba(7, 10, 22, 0.74) 100%),
    radial-gradient(70% 85% at 88% 28%, rgba(0, 119, 255, 0.09) 0%, transparent 66%);
}

/* Service Pages Videos — Ultra-light 5% Black Layer */
.sp-video-cinematic .afro-dark-scrim,
.sp-video-cinematic .cinematic-overlay-gradient,
.sp-video-cinematic .video-gradient-overlay {
  background: rgba(0, 0, 0, 0.05) !important;
  opacity: 1 !important;
}

[data-theme="light"] .sp-video-cinematic .afro-dark-scrim,
[data-theme="light"] .sp-video-cinematic .cinematic-overlay-gradient,
[data-theme="light"] .sp-video-cinematic .video-gradient-overlay {
  background: rgba(0, 0, 0, 0.05) !important;
  opacity: 1 !important;
}

.sp-video-cinematic .afro-hero-title,
.sp-video-cinematic .cinematic-quote-text {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 1px 4px rgba(0, 0, 0, 0.9) !important;
}

.sp-video-cinematic .afro-hero-subtag,
.sp-video-cinematic .cinematic-subtag {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75) !important;
}

.afro-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  position: relative;
  z-index: 3;
  margin-bottom: auto;
}

.cinematic-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(3, 6, 16, 0.85);
  border: 1px solid rgba(0, 119, 255, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 119, 255, 0.25);
}

.cinematic-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0077FF;
  box-shadow: 0 0 8px #0077FF, 0 0 14px rgba(0, 119, 255, 0.8);
  animation: pulseCyanDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseCyanDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 8px #0077FF, 0 0 14px rgba(0, 119, 255, 0.8);
  }
  50% {
    transform: scale(1.3);
    opacity: 0.75;
    box-shadow: 0 0 14px #0077FF, 0 0 22px rgba(0, 119, 255, 0.95);
  }
}

.cinematic-status-text {
  font-family: 'Fira Code', -apple-system, BlinkMacSystemFont, monospace;
  font-size: clamp(0.68rem, 0.85vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #ffffff;
  text-transform: uppercase;
}

.cinematic-tech-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 9999px;
  background: rgba(0, 119, 255, 0.14);
  border: 1px solid rgba(0, 119, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'Fira Code', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0077FF;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.afro-main-content {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
}

.afro-text-col {
  max-width: 760px;
}

.afro-eyebrow-text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Fira Code', monospace;
  font-size: clamp(0.66rem, 0.85vw, 0.76rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.afro-eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0077FF;
  box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.16);
  flex-shrink: 0;
}

.afro-hero-title {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(2.1rem, 4.1vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: #ffffff;
  margin: 0 0 18px 0;
  text-wrap: balance;
}

.afro-accent-word {
  color: #0077FF;
  font-weight: 600;
}

.afro-hero-subtag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: clamp(0.98rem, 1.55vw, 1.24rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
}

.afro-subtag-sep {
  color: #0077FF;
  font-weight: 500;
  font-size: 0.94em;
  line-height: 1;
  opacity: 0.9;
}

/* Right-Side Capability Badge */
.afro-emblem-badge {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
  padding: 2px 0 2px 16px;
  border-left: 1px solid rgba(0, 119, 255, 0.4);
  flex-shrink: 0;
}

.afro-emblem-label {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.afro-emblem-sub {
  font-family: 'Fira Code', monospace;
  font-size: 0.64rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.cinematic-quote-text {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1.75rem, 3.8vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  text-wrap: balance;
}

.sp-accent-word {
  color: #0077FF;
  font-weight: 600;
  display: inline-block;
}

.cinematic-subtag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: clamp(0.82rem, 1.25vw, 1.05rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.cinematic-subtag-sep {
  color: #0077FF;
  font-weight: 600;
  font-size: 1.05em;
  opacity: 0.9;
}

.cinematic-brand-text {
  font-family: 'Fira Code', monospace, sans-serif;
  font-size: clamp(0.6rem, 0.8vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
  display: block;
}

.cinematic-brand-tech {
  color: #0077FF;
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .cinematic-video-overlay {
    padding: 24px;
  }
}

/* Mobile Screens (<= 991px): Stationary Contained Frame (No Jump/Squish) */
@media (max-width: 991px) {
  .sp-video-section {
    padding: 40px 0 50px 0;
  }
  .sp-video-showcase-wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px;
  }
  .sp-video-cinematic {
    width: 100% !important;
    min-height: 440px !important;
    aspect-ratio: auto !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 119, 255, 0.18) !important;
  }
  .sp-video-cinematic video {
    width: 100% !important;
    height: 100% !important;
    min-height: 440px !important;
    object-fit: cover !important;
  }
}

/* Mobile (<= 768px) */
@media (max-width: 768px) {
  .sp-video-section {
    padding: 30px 0 40px 0;
  }
  .sp-video-showcase-wrap {
    padding: 0 12px;
  }
  .sp-video-cinematic {
    min-height: 360px !important;
    border-radius: 18px !important;
  }
  .sp-video-cinematic video {
    min-height: 360px !important;
  }
  .afro-hero-overlay {
    padding: 16px 18px;
  }
  .afro-dark-scrim {
    opacity: 0.62 !important;
  }
  [data-theme="light"] .afro-dark-scrim {
    opacity: 0.42 !important;
  }
  .cinematic-overlay-gradient {
    opacity: 0.58 !important;
  }
  .afro-top-row {
    display: none !important;
  }
  .afro-eyebrow-text {
    display: none !important;
  }
  .afro-emblem-badge {
    display: none !important;
  }
  .afro-subtag-item-3,
  .afro-subtag-sep-3 {
    display: none !important;
  }
  .afro-main-content {
    margin-top: auto;
    margin-bottom: 8px;
    padding-bottom: 0;
  }
  .afro-hero-title {
    font-size: clamp(1.6rem, 5.8vw, 2.1rem);
    margin-bottom: 8px;
  }
  .afro-hero-subtag {
    font-size: clamp(0.78rem, 2.6vw, 0.95rem);
    gap: 2px 8px;
  }
  .sp-video-controls {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding: 0 4px !important;
  }
  .sp-video-meta h3 {
    font-size: 0.92rem !important;
    margin-bottom: 0 !important;
  }
  .sp-video-meta p {
    display: none !important;
  }
  .sp-video-toggle-btn {
    padding: 8px 18px !important;
    font-size: 0.76rem !important;
  }
}

/* Ultra-Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .sp-video-cinematic {
    min-height: 320px !important;
    border-radius: 16px !important;
  }
  .sp-video-cinematic video {
    min-height: 320px !important;
  }
  .afro-hero-overlay {
    padding: 12px 14px;
  }
  .afro-hero-title {
    font-size: 1.48rem;
    margin-bottom: 6px;
  }
  .afro-hero-subtag {
    font-size: 0.74rem;
    gap: 2px 6px;
  }
  .sp-video-meta h3 {
    font-size: 0.88rem !important;
  }
  .sp-video-meta p {
    display: none !important;
  }
}

/* Micro Mobile (<= 360px) */
@media (max-width: 360px) {
  .sp-video-cinematic {
    min-height: 290px !important;
    border-radius: 14px !important;
  }
  .sp-video-cinematic video {
    min-height: 290px !important;
  }
  .afro-hero-overlay {
    padding: 10px 10px;
  }
  .afro-hero-title {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }
  .afro-hero-subtag {
    font-size: 0.68rem;
    gap: 2px 4px;
  }
}
