/* =============================================
   CUBIX-STYLE SERVICE DETAIL PAGE — FULL DARK
   ============================================= */

/* === HERO === */
.cx-hero {
  background:
    radial-gradient(circle at 72% 30%, rgba(196,30,90,0.2), transparent 26%),
    radial-gradient(circle at 16% 68%, rgba(226,166,55,0.16), transparent 24%),
    linear-gradient(135deg, #08080f 0%, var(--theme-color3) 54%, #11101d 100%);
  display: flex;
  align-items: center;
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
  z-index: 2;
  min-height: 93vh;
}
.cx-hero::before,
.cx-hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.cx-hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 55% 45%, #000 0%, transparent 70%);
  animation: cxGridDrift 18s linear infinite;
  opacity: 0.32;
}
.cx-hero::after {
  width: 460px;
  height: 460px;
  right: 6%;
  top: 16%;
  border-radius: 50%;
  background: conic-gradient(from 120deg, rgba(226,166,55,0), rgba(226,166,55,0.25), rgba(196,30,90,0.3), rgba(226,166,55,0));
  filter: blur(36px);
  opacity: 0.55;
  animation: cxHeroPulse 9s ease-in-out infinite;
}
@keyframes cxGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 76px 76px, 76px 76px; }
}
@keyframes cxHeroPulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.42; }
  50% { transform: translate3d(-28px, 18px, 0) scale(1.1); opacity: 0.72; }
}
.cx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(196,30,90,0.1);
  border: 1px solid rgba(196,30,90,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-color1);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.cx-hero-badge img {
  width: 14px;
  height: auto;
}
@keyframes heroFadeRight {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroFadeLeft {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroBtnPop {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.cx-hero-left { animation: heroFadeRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both; }
.cx-hero-left p { animation: heroFadeRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }
.cx-hero-left .cx-btn { animation: heroBtnPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both; }
.cx-hero-right { animation: heroFadeLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }
.cx-hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}
.cx-hero-left,
.cx-hero-right {
  flex: 0 0 calc(50% - 24px);
  max-width: calc(50% - 24px);
}
.cx-hero-left h1 {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.cx-hero-left p {
  font-size: 18px;
  color: #999;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}
.cx-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.cx-hero-right {
  display: flex;
  justify-content: flex-end;
}
.cx-hero-phone {
  position: relative;
  width: min(100%, 540px);
  min-height: 500px;
  border-radius: 30px;
  isolation: isolate;
}
.cx-hero-phone::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 32px;
  background: linear-gradient(135deg, hsl(39.88deg, 72.93%, 55.1%), hsl(334.77deg, 82.24%, 41.96%));
  z-index: -1;
  opacity: 0.3;
}
.cx-hero-phone::after {
  content: '';
  position: absolute;
  inset: 24px -24px -24px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.025);
  z-index: -2;
}
.cx-hero-phone img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  display: block;
}
img[src=""] { display: none; }

/* === SECTION SUBTITLE (star + text) === */
.sec-title {
  text-align: center;
}
.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-color1);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.sub-title img {
  width: 16px;
  height: auto;
}

/* === CHAR ANIMATION (homepage-style) === */
.char-animation {
  display: inline-block;
}

/* === FLOATING PARTICLES === */

/* === BUTTONS === */
.cx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.cx-btn i {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-btn:hover i {
  transform: translateX(4px);
}
.cx-btn-green {
  background: linear-gradient(135deg, hsl(39.88deg, 72.93%, 55.1%), hsl(334.77deg, 82.24%, 41.96%));
  color: #fff;
  box-shadow: 0 4px 16px rgba(196,30,90,0.2);
}
.cx-btn-green::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(334.77deg, 82.24%, 41.96%), hsl(39.88deg, 72.93%, 55.1%));
  opacity: 0;
  transition: opacity 0.4s;
}
.cx-btn-green:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(196,30,90,0.4);
}
.cx-btn-green:hover::before {
  opacity: 1;
}
.cx-btn-green > * {
  position: relative;
  z-index: 1;
}
.cx-btn-dark {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid #333;
}
.cx-btn-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--theme-color1);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.cx-btn-outline {
  background: transparent;
  color: var(--theme-color1);
  border: 2px solid var(--theme-color1);
}
.cx-btn-outline:hover {
  background: var(--theme-color1);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(196,30,90,0.2);
}
.cx-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-link-arrow i {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-link-arrow:hover {
  gap: 14px;
  color: var(--theme-color1);
}
.cx-link-arrow:hover i {
  transform: translateX(4px);
}

/* === LOGO SLIDER === */
.cx-logos-sec {
  padding: 16px 0;
  background: var(--theme-color3);
  border-bottom: 1px solid #1a1f2e;
}
.cx-logos-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cx-logo-item {
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s;
  filter: grayscale(100%) brightness(2);
}
.cx-logo-item:hover { opacity: 0.7; }
.cx-logo-item img { height: 28px; width: auto; }

/* === SECTION SHARED DARK STYLES === */
.cx-section-dark {
  background: var(--theme-color3);
  position: relative;
}
.cx-section-darker {
  background: var(--theme-color2);
  position: relative;
}
.cx-section-light {
  background: #000;
  position: relative;
}
.cx-section-dark .cx-sec-subtitle,
.cx-section-darker .cx-sec-subtitle,
.cx-section-light .cx-sec-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-color1);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.cx-section-dark .cx-sec-subtitle::before,
.cx-section-darker .cx-sec-subtitle::before,
.cx-section-light .cx-sec-subtitle::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--theme-color1);
  display: inline-block;
}

/* === CHALLENGES / OVERVIEW === */
.cx-challenges {
  padding: 100px 0;
  /* background: var(--theme-color2); */
  position: relative;
}
.cx-challenges-header {
  max-width: 700px;
  margin-bottom: 60px;
}
.cx-challenges-header h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.cx-challenges-header p {
  font-size: 18px;
  color: #888;
  line-height: 1.7;
}
.cx-challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.cx-challenge-card {
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.13);
  background: #000;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.cx-challenge-card:hover {
  border-color: var(--theme-color1);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.cx-challenge-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--theme-color1), transparent);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-challenge-card:hover::after {
  transform: scaleX(1);
}
.cx-challenge-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.cx-challenge-icon {
  width: 40px;
  height: 40px;
  background: rgba(196,30,90,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.4s;
}
.cx-challenge-icon img {
  width: 18px;
  filter: brightness(0) invert(1);
}
.cx-challenge-card:hover .cx-challenge-icon {
  background: rgba(196,30,90,0.2);
  transform: scale(1.1) rotate(5deg);
}
.cx-challenge-card p {
  font-size: 15px;
  color: #888;
  line-height: 1.6;
}

/* === SPLIT SECTIONS (Alternating) === */
.cx-services-sec {
  padding: 100px 0 0;
  background: var(--theme-color3);
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.cx-services-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,30,90,0.2), transparent);
}
.cx-services-header {
  max-width: 700px;
  margin-bottom: 60px;
}
.cx-services-header h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.cx-services-header p {
  font-size: 18px;
  color: #888;
  line-height: 1.7;
}
.cx-split {
  padding: 40px 0;
  /* border-top: 1px solid #1a1f2e; */
  transition: background 0.4s;
  overflow: hidden;
  position: relative;
}
.cx-split:nth-child(even) {
  /* background: var(--theme-color2); */
}
.cx-split:hover {
  /* background: rgba(196,30,90,0.02); */
}
.cx-split-inner {
  display: flex;
  align-items: center;
  gap: 80px;
}
.cx-split-reversed .cx-split-inner {
  flex-direction: row-reverse;
}
.cx-split-text { flex: 1; }
.cx-split-text h3 {
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.cx-split-text p {
  font-size: 16px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 32px;
}
.cx-split-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.cx-split-image { flex: 1; }
.cx-split-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.cx-split-image {
  overflow: hidden;
  border-radius: 20px;
}

/* === RESULTS / STATS === */
.cx-results-sec {
  padding: 100px 0;
  background: var(--theme-color3);
  position: relative;
}
.cx-results-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,30,90,0.2), transparent);
}
.cx-results-header {
  text-align: center;
  margin-bottom: 60px;
}
.cx-results-header h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 700px;
  margin: 0 auto;
}
.cx-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cx-result-item {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid #222;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.cx-result-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--theme-color1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.cx-result-item:hover::before {
  opacity: 1;
}
.cx-result-item:hover {
  border-color: rgba(196,30,90,0.3);
  background: rgba(196,30,90,0.06);
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.cx-result-item:hover .cx-result-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(196,30,90,0.2);
}
.cx-result-icon {
  width: 56px;
  height: 56px;
  background: rgba(196,30,90,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--theme-color1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-result-item h4 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  transform: unset !IMPORTANT;
}
.cx-result-item p {
  font-size: 14px;
  color: #888;
}

/* === PROCESS / EXPERTISE === */
.cx-process-sec {
  padding: 100px 0;
  /* background: var(--theme-color2); */
  position: relative;
}
.cx-process-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,30,90,0.2), transparent);
}
.cx-process-header {
  text-align: center;
  margin-bottom: 60px;
}
.cx-process-header h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cx-process-header p {
  font-size: 18px;
  color: #888;
}
.cx-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.cx-process-card {
  padding: 36px;
  border: 1px solid #222;
  background: rgba(255,255,255,0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.cx-process-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-color1), rgba(196,30,90,0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-process-card:hover::after {
  transform: scaleX(1);
}
.cx-process-card:hover {
  transform: translateY(-6px);
  background: rgba(196,30,90,0.05);
  border-color: rgba(196,30,90,0.2);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.cx-process-num {
  font-size: 48px;
  font-weight: 700;
  color: var(--theme-color1);
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
  transition: all 0.4s;
}
.cx-process-card:hover .cx-process-num {
  opacity: 0.6;
  transform: translateX(8px);
}
.cx-process-card h4 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}
.cx-process-card p {
  font-size: 15px;
  color: #888;
  line-height: 1.6;
}

/* === INDUSTRIES === */
.cx-industries-sec {
  padding: 100px 0;
  background: var(--theme-color3);
  position: relative;
}
.cx-industries-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,30,90,0.2), transparent);
}
.cx-industries-header {
  text-align: center;
  margin-bottom: 60px;
}
.cx-industries-header h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cx-industries-header p {
  font-size: 18px;
  color: #888;
}
.cx-industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cx-industry-card {
  text-align: center;
  padding: 32px 16px;
  border: 1px solid #222;
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.cx-industry-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(196,30,90,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.cx-industry-card:hover::before {
  opacity: 1;
}
.cx-industry-card:hover {
  border-color: rgba(196,30,90,0.3);
  transform: translateY(-8px);
  background: rgba(196,30,90,0.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.cx-industry-icon {
  width: 52px;
  height: 52px;
  background: rgba(196,30,90,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 22px;
  color: var(--theme-color1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}
.cx-industry-card:hover .cx-industry-icon {
  transform: scale(1.15) rotate(5deg);
  background: rgba(196,30,90,0.2);
  box-shadow: 0 8px 20px rgba(196,30,90,0.15);
}
.cx-industry-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  position: relative;
  z-index: 1;
}

/* === TECH STACK === */
.cx-tech-sec {
  padding: 100px 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(196,30,90,0.12), transparent 28%),
    radial-gradient(circle at 16% 85%, rgba(226,166,55,0.09), transparent 30%),
    var(--theme-color2);
  position: relative;
  overflow: hidden;
}
.cx-tech-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,30,90,0.2), transparent);
}
.cx-tech-header {
  text-align: center;
  margin-bottom: 60px;
}
.cx-tech-header h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cx-tech-header p {
  font-size: 18px;
  color: #888;
}
.cx-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.cx-tech-group {
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  box-shadow: 0 18px 44px rgba(0,0,0,0.18);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.cx-tech-group::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(226,166,55,0.12), transparent 42%, rgba(196,30,90,0.12));
  opacity: 0;
  transition: opacity 0.3s;
}
.cx-tech-group:hover {
  border-color: rgba(196,30,90,0.38);
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
}
.cx-tech-group:hover::before {
  opacity: 1;
}
.cx-tech-cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.cx-tech-cat i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--theme-color1);
  background: rgba(196,30,90,0.12);
  border: 1px solid rgba(196,30,90,0.22);
  border-radius: 12px;
  font-size: 16px;
}
.cx-tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.cx-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  background: rgba(9,9,16,0.62);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  font-size: 14px;
  color: #ccc;
  font-weight: 500;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}
.cx-tech-pill:hover {
  border-color: var(--theme-color1);
  color: #fff;
  background: rgba(196,30,90,0.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196,30,90,0.15);
}
.cx-tech-pill i {
  color: var(--theme-color1);
  font-size: 15px;
  width: 16px;
  text-align: center;
}

/* === CASE STUDIES === */
.cx-casestudies-sec {
  padding: 100px 0;
  background: var(--theme-color3);
  position: relative;
}
.cx-casestudies-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,30,90,0.2), transparent);
}
.cx-casestudies-header {
  text-align: center;
  margin-bottom: 60px;
}
.cx-casestudies-header h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cx-casestudies-header p {
  font-size: 18px;
  color: #888;
}
.cx-casestudies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cx-casestudy-card {
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #222;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-casestudy-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  border-color: rgba(196,30,90,0.3);
}
.cx-casestudy-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-casestudy-card:hover .cx-casestudy-img img {
  transform: scale(1.05);
}
.cx-casestudy-info {
  padding: 28px;
}
.cx-casestudy-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-color1);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.cx-casestudy-info h4 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.cx-casestudy-info p {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* === TESTIMONIALS === */
.cx-testimonials-sec {
  padding: 100px 0;
  background: var(--theme-color2);
  position: relative;
}
.cx-testimonials-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,30,90,0.2), transparent);
}
.cx-testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}
.cx-testimonials-header h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
}
.cx-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cx-testimonial-card {
  padding: 32px;
  border: 1px solid #222;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.cx-testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--theme-color1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.cx-testimonial-card:hover::before {
  opacity: 1;
}
.cx-testimonial-card:hover {
  border-color: rgba(196,30,90,0.25);
  background: rgba(196,30,90,0.04);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.cx-testimonial-quote {
  font-size: 24px;
  color: var(--theme-color1);
  opacity: 0.4;
  margin-bottom: 16px;
  transition: all 0.3s;
}
.cx-testimonial-card:hover .cx-testimonial-quote {
  opacity: 0.7;
  transform: scale(1.1);
}
.cx-testimonial-text {
  font-size: 15px;
  color: #bbb;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}
.cx-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cx-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #333;
}
.cx-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cx-testimonial-avatar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--theme-color1);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.cx-testimonial-author h5 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.cx-testimonial-author span {
  font-size: 13px;
  color: #666;
}

/* === FAQ === */
.cx-faq-sec {
  padding: 100px 0;
  background: var(--theme-color3);
  position: relative;
}
.cx-faq-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,30,90,0.2), transparent);
}
.cx-faq-inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.cx-faq-left {
  flex: 1;
  position: sticky;
  top: 120px;
}
.cx-faq-left h2 {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cx-faq-left p {
  font-size: 16px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 32px;
}
.cx-faq-right { flex: 1.2; }
.cx-faq-item {
  border: 1px solid #222;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-faq-item.active {
  border-color: rgba(196,30,90,0.3);
  background: rgba(196,30,90,0.04);
  box-shadow: 0 4px 16px rgba(196,30,90,0.08);
}
.cx-faq-item:hover:not(.active) {
  border-color: #333;
  background: rgba(255,255,255,0.03);
}
.cx-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s;
}
.cx-faq-btn:hover {
  color: var(--theme-color1);
}
.cx-faq-btn i {
  color: var(--theme-color1);
  font-size: 14px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(196,30,90,0.1);
}
.cx-faq-item.active .cx-faq-btn i {
  transform: rotate(45deg);
  background: rgba(196,30,90,0.2);
}
.cx-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.cx-faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: #999;
  line-height: 1.7;
}

/* === CTA === */
.cx-cta-sec {
  padding: 120px 0;
  background: linear-gradient(180deg, #15152a 0%, var(--theme-color3) 100%);
  position: relative;
  text-align: center;
}
.cx-cta-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--theme-color1) 50%, transparent 95%);
  opacity: 0.5;
}
.cx-cta-inner {
  position: relative;
  z-index: 2;
}
.cx-cta-inner h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cx-cta-inner p {
  font-size: 18px;
  color: #888;
  margin-bottom: 40px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
.cx-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* === RELATED SERVICES === */
.cx-related-sec {
  padding: 100px 0;
  /* background: var(--theme-color2); */
  position: relative;
  /* border-bottom: 1px solid rgba(196,30,90,0.15); */
}
.cx-related-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,30,90,0.2), transparent);
}
.cx-related-header {
  text-align: center;
  margin-bottom: 60px;
}
.cx-related-header h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.cx-related-header p {
  font-size: 18px;
  color: #888;
}
.cx-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cx-related-card {
  display: block;
  padding: 32px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid #222;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.cx-related-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-color1), rgba(196,30,90,0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-related-card:hover::after {
  transform: scaleX(1);
}
.cx-related-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
  border-color: rgba(196,30,90,0.3);
  background: rgba(196,30,90,0.05);
}
.cx-related-icon {
  width: 52px;
  height: 52px;
  background: rgba(196,30,90,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 12px;
}
.cx-related-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.cx-related-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.cx-related-card p {
  font-size: 14px;
  color: #888;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* === GSAP Fallback === */
.cx-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.cx-visible {
  opacity: 1;
  transform: translate(0);
}

/* === RESPONSIVE === */
@media (max-width: 1199px) {
  .cx-hero-left h1 { font-size: 56px; }
  .cx-challenges-header h2,
  .cx-services-header h2,
  .cx-results-header h2,
  .cx-process-header h2,
  .cx-industries-header h2,
  .cx-tech-header h2,
  .cx-casestudies-header h2,
  .cx-testimonials-header h2,
  .cx-related-header h2 { font-size: 42px; }
  .cx-industries-grid { grid-template-columns: repeat(3, 1fr); }
  .cx-related-grid { grid-template-columns: 1fr 1fr; }
  .cx-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .cx-hero { padding: 120px 0 60px; }
  .cx-hero-left h1 { font-size: 44px; }
  .cx-hero-inner { flex-direction: column; gap: 40px; }
  .cx-hero-left,
  .cx-hero-right {
    flex-basis: auto;
    max-width: 100%;
    width: 100%;
  }
  .cx-hero-right { justify-content: flex-start; }
  .cx-hero-phone {
    width: 100%;
    min-height: 420px;
  }
  .cx-hero-phone img { height: 420px; }
  .cx-split-inner { flex-direction: column !important; gap: 40px; }
  .cx-results-grid { grid-template-columns: 1fr 1fr; }
  .cx-process-grid { grid-template-columns: 1fr 1fr; }
  .cx-testimonials-grid { grid-template-columns: 1fr 1fr; }
  .cx-casestudies-grid { grid-template-columns: 1fr; }
  .cx-faq-inner { flex-direction: column; gap: 40px; }
  .cx-faq-left { position: static; }
  .cx-challenges-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .cx-hero-left h1 { font-size: 36px; letter-spacing: -1px; }
  .cx-challenges-header h2,
  .cx-services-header h2,
  .cx-results-header h2,
  .cx-process-header h2,
  .cx-industries-header h2,
  .cx-tech-header h2,
  .cx-casestudies-header h2,
  .cx-testimonials-header h2,
  .cx-cta-inner h2,
  .cx-related-header h2 { font-size: 32px; }
  .cx-split-text h3 { font-size: 28px; }
  .cx-challenges-grid { grid-template-columns: 1fr; }
  .cx-results-grid { grid-template-columns: 1fr 1fr; }
  .cx-process-grid { grid-template-columns: 1fr; }
  .cx-industries-grid { grid-template-columns: repeat(2, 1fr); }
  .cx-tech-grid { grid-template-columns: 1fr; }
  .cx-hero {
    min-height: auto;
    padding: 110px 0 44px;
  }
  .cx-hero-phone {
    min-height: 300px;
  }
  .cx-hero-phone img {
    height: 300px;
    border-radius: 20px;
  }
  .cx-hero-phone::before,
  .cx-hero-phone::after {
    border-radius: 22px;
  }
  .cx-testimonials-grid { grid-template-columns: 1fr; }
  .cx-related-grid { grid-template-columns: 1fr; }
  .cx-cta-actions { flex-direction: column; align-items: center; }
}

/* === SCROLL REVEAL ANIMATIONS === */
.cx-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.cx-reveal.cx-visible {
  opacity: 1;
  transform: translateY(0);
}
.cx-reveal-header {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.cx-reveal-header.cx-visible {
  opacity: 1;
  transform: translateY(0);
}
.cx-split.cx-reveal .cx-split-text {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.cx-split.cx-reverse.cx-reveal .cx-split-text {
  transform: translateX(40px);
}
.cx-split.cx-reveal.cx-visible .cx-split-text {
  opacity: 1;
  transform: translateX(0);
}
.cx-split.cx-reveal .cx-split-image {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.cx-split.cx-reverse.cx-reveal .cx-split-image {
  transform: translateX(-40px);
}
.cx-split.cx-reveal.cx-visible .cx-split-image {
  opacity: 1;
  transform: translateX(0);
}

/* ===================================================
   PREMIUM ANIMATIONS — NEXT LEVEL
   =================================================== */

/* === ANIMATED MARQUEE === */
.cx-marquee-sec {
  padding: 10px 0;
  background: linear-gradient(135deg, var(--theme-color1), #a81560);
  overflow: hidden;
  position: relative;
  transform: rotate(0);
  z-index: 3;
  min-height: 7vh;
}
.cx-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}
.cx-marquee-track.reverse {
  animation: marqueeScrollReverse 25s linear infinite;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.cx-marquee-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cx-marquee-item span {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--heading-font-family, sans-serif);
}
.cx-marquee-item .cx-mq-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  flex-shrink: 0;
}

/* === COUNTER BAR === */
.cx-counter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(196,30,90,0.08), rgba(196,30,90,0.02));
  border-top: 1px solid rgba(196,30,90,0.1);
  border-bottom: 1px solid rgba(196,30,90,0.1);
}
.cx-counter-item {
  text-align: center;
  position: relative;
}
.cx-counter-num {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  transform: unset !important;
}
.cx-counter-label {
  font-size: 14px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}
.cx-counter-divider {
  width: 1px;
  height: 60px;
  background: rgba(196,30,90,0.2);
}

/* === HERO ENTRANCE ANIMATIONS === */
@keyframes heroSlideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
.cx-hero-left {
  animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}
.cx-hero-right {
  animation: heroSlideLeft 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.cx-btn-green {
  position: relative;
  overflow: hidden;
}
.cx-btn-green::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s;
}
.cx-btn-green:hover::after {
  transform: rotate(45deg) translateX(100%);
}

/* === SECTION ENTRANCE STAGGER === */
.cx-stagger-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.cx-stagger-item.cx-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* === SPLIT SECTION NUMBER === */
.cx-split-num {
  font-size: 120px;
  font-weight: 900;
  color: rgba(196,30,90,0.18);
  line-height: 1;
  margin-bottom: 10px;
  font-family: var(--heading-font-family, sans-serif);
  position: relative;
}

/* === TECH STACK GLOW === */
.cx-tech-pill {
  position: relative;
  overflow: hidden;
}
.cx-tech-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196,30,90,0.15), transparent);
  transition: left 0.5s;
}
.cx-tech-pill:hover::before {
  left: 100%;
}

/* === TESTIMONIAL FLOATING QUOTE === */
.cx-testimonial-quote {
  position: relative;
}
.cx-testimonial-quote::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--theme-color1);
  border-radius: 2px;
  opacity: 0;
  transition: width 0.4s, opacity 0.4s;
}
.cx-testimonial-card:hover .cx-testimonial-quote::after {
  width: 60px;
  opacity: 0.5;
}

/* === PROCESS CONNECTOR LINE === */
.cx-process-card {
  position: relative;
}
.cx-process-card::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(196,30,90,0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.cx-process-card:last-child::before {
  display: none;
}
.cx-process-card:hover::before {
  opacity: 1;
}

/* === SCROLL PROGRESS === */
.cx-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, hsl(39.88deg, 72.93%, 55.1%), hsl(334.77deg, 82.24%, 41.96%));
  z-index: 9999;
  transition: width 0.1s;
  width: 0%;
}

/* === BACK TO TOP === */
.back-to-top {
  background: linear-gradient(135deg, hsl(39.88deg, 72.93%, 55.1%), hsl(334.77deg, 82.24%, 41.96%)) !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(196,30,90,0.3);
  transition: all 0.3s;
}
.back-to-top:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 30px rgba(196,30,90,0.5) !important;
}

/* === RESPONSIVE UPGRADES === */
@media (max-width: 767px) {
  .cx-marquee-item span { font-size: 20px; }
  .cx-counter-bar { flex-wrap: wrap; gap: 30px; }
  .cx-counter-num { font-size: 40px; }
  .cx-counter-divider { display: none; }
  .cx-split-num { font-size: 80px; }
}

/* Shared cx button polish */
.cx-btn,
.cx-btn-green {
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  background: linear-gradient(135deg, hsl(39.88deg, 72.93%, 55.1%), hsl(334.77deg, 82.24%, 41.96%)) !important;
  color: #fff !important;
  box-shadow: 0 12px 32px rgba(196,30,90,0.24);
  font-weight: 700;
}

.cx-btn-dark,
.cx-btn-outline {
  background: rgba(255,255,255,0.06) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,0.14) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.24);
}

.cx-btn:hover,
.cx-btn-green:hover,
.cx-btn-dark:hover,
.cx-btn-outline:hover {
  background: linear-gradient(135deg, hsl(334.77deg, 82.24%, 41.96%), hsl(39.88deg, 72.93%, 55.1%)) !important;
  color: #fff !important;
  border-color: rgba(226,166,55,0.42) !important;
  box-shadow: 0 18px 44px rgba(196,30,90,0.34);
}
